跳到正文
arXiv (AI + Vision + Imaging)· Xiaoyu Li, Jiangxuan Long·· 8 天前AI 评分18

自适应测试时扩展的随时有效PAC-Bayes证书

Anytime-Valid PAC-Bayes Certificates for Adaptive Test-Time Scaling

AI 导读

研究将测试时扩展方案建模为带随机成本的随机预测器,证明了一种时间一致PAC-Bayes证书,可同时覆盖所有校准时刻、后验混合与数据依赖的停止规则。针对有限预算与验证器网格,惩罚项为log M/n,非均匀先验与局部后验混合可给出更紧证书。在GSM8K与MATH-500上,双模型随机划分中最多22.5%的情况下selected-best误差棒低于out-of-split风险,而证书始终不会。

正文 · 原文

arXiv:2611.21241v1 Announce Type: new Abstract: Test-time scaling systems often choose how much to sample, which prompt to use, and which verifier or aggregation rule to trust after repeatedly inspecting a calibration set. Standard validation error bars are not valid after this adaptive selection. We model a test-time scaling recipe as a randomized predictor with a random cost and prove a time-uniform PAC-Bayes certificate that holds simultaneously over all calibration times, all posterior mixtures over recipes, and all data-dependent stopping rules. Thus the same event covers the recipe search that precedes deployment, not merely the fixed recipe finally reported. For a finite grid of budgets and verifiers, the penalty is the familiar $\log M/n$, which in the worst case no certificate valid after selection can avoid, while non-uniform priors and localized posterior mixtures can give sharper certificates for structured searches. We specialize the result to self-consistency and show a complementary margin law: plurality voting improves exponentially in the sample budget only on examples where the correct answer is the generator's unique mode; otherwise more compute can provably amplify errors. The same margin analysis yields an oracle water-filling law for compute allocation. A synthetic audit quantifies the optimism caused by adaptive budget selection, and a 192-example GSM8K audit using gpt-4.1-mini generations illustrates risk-cost reporting for a real inference pipeline. At scale, with two models on GSM8K and MATH-500, selected-best error bars fall below the out-of-split GSM8K risk in up to 22.5% of random splits at a nominal 5% while the certificate never does, and on the full GSM8K test split it tightens to 0.109 (held-out risk 0.039). The results give a lightweight, distribution-free way to report risk and compute claims for adaptive inference systems.

来源:arXiv (AI + Vision + Imaging) · arxiv.org