Anytime-Valid PAC-Bayes Certificates for Adaptive Test-Time Scaling
Xiaoyu Li, Jiangxuan Long
NeurIPS 2026
TL;DR. Time-uniform PAC-Bayes certificates keep test-time scaling risk and compute claims valid after adaptive recipe search and optional stopping, at a log M/n price unavoidable in the worst case.
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 , 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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper conducts theoretical analysis on adaptive test-time scaling and provides a time-uniform PAC-Bayes certificate to address the problem of using the standard confidence interval in repeated tests.
Reviewers agree that the paper is well presented, clearly written, and it provides insightful theoretical results for a relevant problem.
The reviewers raise common concerns in their initial reviews on the following aspets:
- Limited novelty: This paper applies existing theoretical techniques to a new setting, and thus leads to limited novelty
- Limited empirical results: Limited empirical results on a small dataset and only four candidate budgets. This is not sufficient to show generality of the theoretical results. Also the certificate gap is too loose to distinguish between budgets in practice.
- Question on the submission category: It appears to be a theory paper but submitted in the general category that requires typically more evaluations than a theory paper.
During the discussion period, the authors clarified the novelty in their theoretical contribution. Additionally, they conducted an additional larger scale of experiments with on the full GSM8K test split and MATH-500 with two models, and more recipes. They provided more analysis and demonstrated non-degenerate cases on real data. Lastly, the the authors also clarified their intention to submit the paper under the general category, and justified their contributions beyond theoretical results.
The authors' response, especially the additional experiments, is helpful to alleviate the main concern on the limited empirical results and supports their argument to be considered under the general submission rubric, confirmed by one reviewer. Their explanation on the theoretical contribution partially addresses the concern on the novelty. The proposed method is a timely solution to misuses of standard validation error bars in adapative selection and could be a useful tool for the LLM community.
Final justification
Explained in the metareview.
- Final justification
- Explained in the metareview.
Read meta-review
Meta-review
This paper conducts theoretical analysis on adaptive test-time scaling and provides a time-uniform PAC-Bayes certificate to address the problem of using the standard confidence interval in repeated tests.
Reviewers agree that the paper is well presented, clearly written, and it provides insightful theoretical results for a relevant problem.
The reviewers raise common concerns in their initial reviews on the following aspets:
- Limited novelty: This paper applies existing theoretical techniques to a new setting, and thus leads to limited novelty
- Limited empirical results: Limited empirical results on a small dataset and only four candidate budgets. This is not sufficient to show generality of the theoretical results. Also the certificate gap is too loose to distinguish between budgets in practice.
- Question on the submission category: It appears to be a theory paper but submitted in the general category that requires typically more evaluations than a theory paper.
During the discussion period, the authors clarified the novelty in their theoretical contribution. Additionally, they conducted an additional larger scale of experiments with on the full GSM8K test split and MATH-500 with two models, and more recipes. They provided more analysis and demonstrated non-degenerate cases on real data. Lastly, the the authors also clarified their intention to submit the paper under the general category, and justified their contributions beyond theoretical results.
The authors' response, especially the additional experiments, is helpful to alleviate the main concern on the limited empirical results and supports their argument to be considered under the general submission rubric, confirmed by one reviewer. Their explanation on the theoretical contribution partially addresses the concern on the novelty. The proposed method is a timely solution to misuses of standard validation error bars in adapative selection and could be a useful tool for the LLM community.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
When practitioners tune test-time scaling systems (self-consistency, best-of-N, verifier search), they sweep budgets, prompts, and stopping rules on a calibration set and report the best-looking configuration. Ordinary confidence intervals are invalid after this adaptive selection. This paper provides a distribution-free PAC-Bayes certificate that remains valid throughout the entire adaptive search, covering all calibration times, posterior mixtures, and stopping rules simultaneously, with the selection penalty reducing to log M/n for a finite grid of M recipes. The paper's most insightful contribution is a per-example margin law for self-consistency that shows when the correct answer is the generator's unique mode, voting error decays exponentially with more samples, but when a wrong answer is the mode, more compute provably amplifies errors. This yields an oracle water-filling allocation rule and is complemented by a matching lower bound showing the log M/n penalty is unavoidable. Validation includes a synthetic audit and a 192-example GSM8K audit with gpt-4.1-mini.
Strengths and weaknesses
Strengths
-
The problem is well formulated.
-
The self-consistency margin law (Proposition 6.1) is very insightful.
Weaknesses
- The core theorem (4.1) is a known technique applied to a new setting.
- The empirical validation is minimal.
Questions
- The certificate gap (0.219 vs 0.010 held-out risk) is large. At what calibration size n would the certificate become tight enough to distinguish between budgets in practice? Can you estimate the n needed for the certificate to be operationally useful (e.g., within 2x of true risk)?
- For the cost bound, how should C_max be chosen when token counts have heavy tails? Is there a principled way to set C_max that is both safe (no costs exceed 1) and not too loose?
Limitations
yes
Formatting concerns
no
1 comment
Rebuttal
We thank the reviewer for a careful and constructive review, and we are grateful to the reviewer for highlighting our well-formulated problem setting, the insights of the self-consistency margin law, and for raising such thoughtful questions regarding our work.
Both Q1 and Q2 admitted exact answers, which we give first, together with new larger-scale audits run during the discussion period.
Q1: at what does the certificate become operationally useful?
Inverting the certificate at (empirical risk true risk , grid size ) gives the calibration size at which the certified upper bound is within of the true risk:
| true risk | 0.01 | 0.02 | 0.05 | 0.10 | 0.20 |
|---|---|---|---|---|---|
| () | 8,917 | 4,076 | 1,387 | 571 | 201 |
| () | 9,546 | 4,388 | 1,507 | 626 | 223 |
Two structural facts follow:
- scales like (binary-kl behaves like a Poisson tail near zero), so the 0.219-vs-0.010 gap in our audit is a small-, small- phenomenon, not a property of the method at deployment-relevant scales.
- Grid size is second-order: moves by only 7–11%, because selection costs while the time-uniform term costs .
We verified both on real data during the discussion period:
- Rerunning the paper's own pipeline (gpt-4.1-mini, App.-C protocol, Table-2 budget grid) on the full GSM8K test split (659 calibration / 660 held-out): the audit selects with calibration risk , certificate , held-out risk , versus against at . The value is exactly the table's formula evaluated at the realized risk.
- A parallel audit with an open-weights model (Qwen2.5-7B-Instruct, so the audit is reproducible by anyone; grid plus two early-stopping recipes, ) gives certificate against held-out at the same : a ratio of , consistent with the table's scaling at its higher risk level.
Distinguishing budgets is a stronger ask than certifying the selected budget, and here the honest answer changed how we think about the audit. Marginal certificates separate true risks vs only at , and vs at . The right tool for ranking is a paired comparison: with common random numbers, the per-example loss difference of two budgets is zero on most examples, and a variance-adaptive anytime confidence sequence (empirical-Bernstein, from the same supermartingale toolkit as Thm. 4.1; Howard et al., 2021; Waudby-Smith & Ramdas, 2024) certifies the sign of the risk difference far earlier. On the new transcripts (common random numbers, dataset-order stream, over three predeclared pairs):
- GSM8K: the paired CS certifies from (gpt-4.1-mini, gap ) and from (Qwen, gap ).
- The smaller gaps are not separable at : vs (gap –, lower confidence limit just below zero on both models) and vs . This is the honest outcome at those effect sizes.
- MATH-500: with Qwen, where the budget effect is larger (pooled over 500 examples: risk at vs at ), the CS certifies the ordering from ; with gpt-4.1-mini the gap is only and does not certify at .
We will add this distinction (certifying the selected recipe vs certifying a ranking) and the paired-comparison certificate to the revision. Certifying selected-recipe risk remains the audit's primary object; budget choice under near-ties is what the risk-cost tie-breaking already handles (Table 4: the audit picks the cheapest of the tied budgets).
Q2: choosing under heavy-tailed token counts.
Two regimes:
- The recipe enforces its envelope. Real inference stacks cap generation via
max_tokens, so C_{\max}=b\cdot\text{max_tokens} is exact by construction: the cap is part of the recipe (Def. 3.1), the normalized cost never exceeds 1, and there is no looseness to trade. This is the recommendation for practice. - Costs are unbounded. No single guessed envelope reconciles safety and tightness, but a predeclared scale family does: fix a dyadic grid with scale prior and treat the pair (recipe, envelope) as a recipe in the localized certificate (Thm. 4.4). The audit reports, for the selected , both the certified clipped mean and the certified exceedance probability ; the latter is a loss, so Theorem 4.1 applies verbatim. The scale-selection price is , i.e., choosing the envelope after seeing the tails costs almost nothing. One honest caveat: at calibration size , the exceedance certificate cannot go below its zero-error floor , so rare tail events are certified at the resolution.
On the new GSM8K transcript: the recipe's realized cost has median and p99 tokens under its structural envelope (regime 1: exact). Running the regime-2 dyadic audit anyway at certifies, e.g., clipped mean with exceedance at ; the exceedance certificates for larger envelopes are floored at –, the zero-error floor at this , as stated. We verified the construction separately on heavy-tailed lognormal costs and will add it, with this guidance, to Appendix B/C.
W1: Theorem 4.1 is a known technique applied to a new setting.
We agree about the technique and want to be precise about what is and is not new.
- What is standard. The proof of Theorem 4.1 assembles Maurer's moment bound, the PAC-Bayes change of measure, and a union bound over . Chugg et al. (2023) (Cor. 5.3) already give a time-uniform binary-kl PAC-Bayes bound by dyadic stitching, and our allocation is an instance of the same stitching idea at the densest grid. Neither form dominates numerically: theirs has a smaller additive term (roughly half of ours at ), ours keeps coefficient exactly on at every , the regime that matters when dominates. We will cite their Cor. 5.3 next to Theorem 4.1. Likewise, the forward half of Prop. 6.1 coincides with Thm. 2.2 of Cordero-Encinar & Duncan (2025), whom we cite for mode-recovery certificates; we will make that attribution explicit in the statement.
- What is new. The certified object, which to our knowledge no prior work provides: a labeled, population-level certificate holding simultaneously over all calibration times, all posterior mixtures over recipes, and all stopping rules, with bounded realized cost certified jointly. That is, validity for the recipe-selection process itself. The nearest works certify different objects: per-instance, label-free mode recovery for a fixed recipe (Cordero-Encinar & Duncan, 2025) and fixed- pointwise risk control over a declared grid (Learn-Then-Test; Quach et al., ICLR 2024, for a sampling budget).
- Also specific to this paper: the labeled decomposition, the quantitative -ary amplification converse ( when a wrong answer holds the margin), the water-filling allocation (Thm. 6.2) driven by the certified surrogate, and the matching selection lower bound (Prop. 7.1).
W2: empirical validation is minimal.
This was a fair description of the submission. The new audits completed during the discussion period: the full GSM8K test split (1319 examples, the reported transcript) and MATH-500, each on two models; a 27-recipe audit spanning prompts, temperatures, budgets, verifier-based selection, early stopping, and routing; a real-data miscoverage study of naive selected-best error bars; and the paired-comparison certificates above (results in the reviewer-ST1y and reviewer-fBGd threads).
The margin law the reviewer highlighted is also now visible on real data. On MATH-500: the correct answer is the 9-trace mode on of examples (the exponential-decay regime), while on a wrong answer is a stable mode with votes (the amplification regime). Separately, on of examples the correct answer appears among the 9 traces yet plurality voting returns a wrong answer: sampling reached the truth and voting discarded it.
We are grateful for questions that genuinely sharpened the paper: the table, the ranking-vs-selection distinction, and the scale family all enter the revision because of this review. We would be glad to run any further check the reviewer considers useful within the discussion window.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies adaptive test-time scaling, where practitioners inspect a calibration set multiple times while selecting among inference recipes such as different sampling budgets, prompts, verifiers, or aggregation rules. The paper proposes many theoretical result, including an anytime-valid PAC-Bayes certificate for the risk and cost of adaptively selected recipes, a margin-based analysis of when self-consistency helps or hurts, an oracle compute-allocation rule, and a lower bound showing that adaptive finite sweeps necessarily incur a selection penalty. Further, the paper conducts empirical demonstrations on synthetic data and a small GSM8K audit using gpt-4.1-mini.
Strengths and weaknesses
Strengths:
-
This paper is well motivated. It studies the common and practically relevant problem of adaptive test-time scaling in language model generation. The proposed framework provides statistically valid risk and cost certificates for the final selected recipe, helping mitigate the optimism introduced by adaptive model selection.
-
The theoretical contribution of this paper is clear. The paper presents several theoretical results, centered on an anytime-valid PAC-Bayes certificate for adaptive test-time scaling. The experiments also clearly illustrate the selection-bias issue caused by choosing the empirically best budget.
Weaknesses:
-
Although the paper proposes many theoretical results, the main novelty appears to lie in adapting and packaging established tools for this setting, rather than in developing fundamentally new theoretical techniques.
-
The practical scalability of the framework is insufficiently tested. Auditing a large recipe family may require evaluating many prompt, budget, verifier, and stopping-rule combinations on the calibration set, leading to substantial token and latency costs. The experiments consider only four budgets and do not quantify this overhead or explore scalable alternatives.
Questions
- The contribution of this paper appears to be primarily theoretical. Could the authors clarify why it is submitted as a general contribution? This may lead to a biased evaluation of the paper’s contribution.
- Could the authors conduct experiments beyond a small finite sweep over self-consistency budgets? For example, evaluating prompt selection, temperature selection, verifier-based methods, early stopping, or routing would better support the claimed applicability of the framework to adaptive test-time scaling.
- Could the authors provide more discussion on how to choose the prior over test-time recipes in practice, especially when the recipe space includes different budgets, prompts, or aggregation rules?
Limitations
Yes
Final justification
The rebuttal has addressed most of my concerns, particularly through the expanded evaluation of diverse test-time recipes and the clarification of prior selection and contribution positioning. I hope these additions will be incorporated into the revised manuscript. Based on this, I have decided to keep my rating.
Formatting concerns
No formatting issues are found in this paper.
2 comments
Rebuttal
We thank the reviewer for a thorough and genuinely actionable review: the strengths were stated generously, and the questions were concrete enough that we could answer every one of them with completed experiments during the discussion period. The new experiments below cover exactly the recipe dimensions listed in Q2, and the overhead question in W2 now has an explicit accounting.
Q2/W2: experiments beyond a budget sweep; scalability and overhead.
New audits were run during the discussion period on both the paper's model (gpt-4.1-mini) and a second, open-weights model, with a second dataset. The central one is a single audit over recipes (3 prompt templates 2 temperatures budgets , a vote-margin early-stopping rule with adaptive per-example cost, a length-based router, and an LLM-as-verifier best-of-3) on GSM8K with Qwen2.5-7B-Instruct at :
- The audit selects prompt-P1/temperature-1.0/: calibration risk , held-out , certificate .
- Near-tied recipes from all three prompt families sit within of the winner; this is precisely the near-tie structure under which naive selected-best reporting fails (miscoverage table in the fBGd thread). The verifier and early-stopping recipes audit at .
- The same grid audit rerun on gpt-4.1-mini (, no judge pass) selects P1/T1.0/ at certificate , with the early-stopping recipe again in the top three.
This covers every dimension the reviewer listed: prompt selection, temperature selection, verifier-based selection, early stopping, and routing.
At larger scale: rerunning the paper's own pipeline (gpt-4.1-mini, Table-2 protocol and grid) on the full test split gives certificate against held-out risk at (from vs at ). The parallel Qwen2.5-7B-Instruct audit (open weights, so exactly reproducible end to end; the certificate itself is model-agnostic) gives, at the same :
| recipe | cal. risk | held-out | certificate | mean tokens |
|---|---|---|---|---|
| 0.102 | 0.097 | 0.198 | 257 | |
| 0.082 | 0.085 | 0.172 | 767 | |
| 0.070 | 0.083 | 0.156 | 1277 | |
| 0.067 | 0.073 | 0.152 | 2298 | |
| (selected) | 0.062 | 0.073 | 0.145 | 4338 |
| early-stop (lead 3, cap 9) | 0.068 | 0.073 | 0.154 | 909 |
| early-stop (lead 2, cap 5) | 0.070 | 0.080 | 0.156 | 582 |
MATH-500 likewise certifies the selected at against calibration risk at ; the ratio is already at 250 examples because the risk level is higher. Note the early-stopping recipe matches 's held-out risk at of its token cost. The risk-first tie-break still selects (certificate vs ), but an auditor with a cost constraint reads the same report and deploys early-stop: the certified report, not the selection rule, is the deliverable.
On overhead, the reviewer is right that auditing a recipe family costs generation. We now quantify it, and the framework already provides four mechanisms to control it:
- Trace reuse. Budgets are nested, so auditing a full budget grid costs traces per example, the price of the largest budget rather than the sum (paper's grid: 9 rather than 18 traces; new grid: 17 rather than 35). The early-stopping and router recipes reuse the same traces at zero extra generation.
- Statistical width is nearly free in . Going from to recipes changes the certificate radius by nats at . The binding constraint is generation cost, not the penalty.
- Localized priors (Thm. 4.4) price structured families: declare scales (e.g., prompt families) with weights , pay for the scale plus the within-scale complexity.
- Anytime stopping. Calibration can stop the moment the certificate reaches a target, with validity unaffected (Cor. 4.2). On the full-test transcript, a certify-until-target audit reaches certificate after only about a third of the calibration split (), and at .
Realized accounting for everything reported here: the four Qwen audits (49,923 generations, $\approx$19M tokens) took $\approx$50 L40S GPU-minutes, under \$2 of compute; the three gpt-4.1-mini mirrors (38,871 calls, 11.8M tokens) cost \$14 of API spend in 31 minutes. The dominant term is generations per calibration example, i.e., the audit costs deployment-passes over the calibration set, plus one judge call per example for the verifier recipe. We will add this accounting and guidance to Appendix C.
W1: novelty lies in adapting established tools.
We agree about the tools, and the sharper statement is about where the contribution actually sits. The proof technique of Theorem 4.1 is standard (Maurer's moment bound + change of measure + a union bound over ; Chugg et al. 2023, Cor. 5.3, give a time-uniform binary-kl bound by the same stitching idea, which we will cite next to the theorem). The contribution is the certified object and its consequences, none of which appear in the works above:
- validity for the selection process: one event covering all calibration times, all posterior mixtures over recipes, and all stopping rules, so the certificate survives the sweep that produced the recipe;
- joint certification of bounded realized cost, which is what lets fixed budgets, early-exit rules, and routers be compared inside one audit;
- the -ary amplification converse of Prop. 6.1 and the water-filling law (Thm. 6.2) built on the certified surrogate;
- the matching selection lower bound (Prop. 7.1).
For calibrated context: Learn-Then-Test (Angelopoulos et al., 2025) certifies fixed-, pointwise selections over a declared grid and has been applied to a sampling-budget knob (Quach et al., ICLR 2024); per-instance mode-recovery certificates exist for a fixed recipe (Cordero-Encinar & Duncan, 2025). Neither is anytime over the calibration transcript, neither covers posterior mixtures, and neither certifies cost. We will state this positioning, with these citations, in Sec. 9.
Q1: why submitted as a General contribution?
We chose General deliberately: the deliverable we care about is the audit protocol (Sec. 5), a reporting standard for adaptive inference pipelines, with the theory as its justification, aimed at the language-model community (hence the primary area). General seemed the honest label for a theory-plus-protocol-plus-audit paper rather than a pure-theory one. Procedurally, this cycle's guidelines state the contribution type cannot be changed after submission, so the paper stands under the General bar. Rather than argue the label, we have tried to meet that bar during the discussion period with the expanded evaluation above. We accept that this was the risk of the label; we do not ask for the Theory rubric.
Q3: choosing the prior over recipes in practice.
The working recipe we use and will add to Sec. 5:
- For small predeclared grids: uniform. At realistic audit sizes the price is dominated by the time-uniform term (numbers above).
- For structured grids: product priors with a complexity tilt per coordinate, e.g. over budgets, which converts dependence on the largest explored budget from linear to logarithmic (Cor. 4.3 discussion; App. E Table 7 quantifies this kind of reallocation with its log-complexity prior: the cheap-budget certificate tightens from 0.073 to 0.067 after zero errors while larger budgets are charged more).
- For searches organized in families (prompt templates, verifier depths): localized scales (Thm. 4.4) with favoring the default family; the scale is then selected after calibration at price . In the 27-recipe audit above, the flat and localized certificates essentially coincide ( vs ) because the audit selected outside the favored default family; localization is insurance that pays when defaults win or when scale counts grow large, and costs almost nothing when they don't.
- Never let the posterior leave the support of the declared prior; anything not in the prior is a new audit round.
The principle behind all four: the prior is the audit's declared search plan, so mass should follow what the auditor would have tried first (cheap, simple, historically default recipes), because that is exactly when the certificate is tightest where deployment actually lands.
We thank the reviewer again for a review that directly expanded the paper's empirical scope; Q2's list became the design of our largest new audit. We are happy to provide further detail or run additional checks within the discussion window.
Thanks for the detailed response. Most of my concerns are addressed, and I would like to keep my rating.
- Rating
- 4/6
- Confidence
- 1/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses how we can statistically validate adaptive TTS approaches. Typically practitioners repeatedly inspect the same calibration set while selection between various degrees of freedom. The paper proposes an anytime-valid PAC-Bayes certificate that remains valid under adaptive posterior selection and optional stopping, extends the framework to certify inference cost, and presents a margin analysis explaining when self-consistency benefits from additional sampling.
Strengths and weaknesses
Strengths -
1.The problem is interesting and timely at a high level because standard confidence intervals generally do not account for repeated model/budget selection on a calibration set.
-
The paper is well written and cleanly presented.
-
The proposed framework seems fairy general.
Weaknesses -
-
The empirical evaluation does not demonstrate clear practical impact. The audit is limited to a small GSM8K experiment with only four candidate budgets, and the resulting certificates remain quite loose.
-
It might be useful to establish that existing evaluation protocols (held out validation) do not work sufficiently well in practical settings.
Questions
Please see weaknesses
Limitations
yes
Formatting concerns
n/a
1 comment
Rebuttal
We thank the reviewer for the encouraging assessment of the problem and the framework, and for two weaknesses that pointed at the same important gap: evidence that the audit matters in practice. We ran new experiments during the discussion period; the headline results first:
- Full-scale, same-model audit. Rerunning the paper's own gpt-4.1-mini pipeline (identical App.-C protocol, budgets , ) on the full GSM8K test split ( / ): the audit selects with calibration risk , certificate , held-out risk , compared with certificate vs held-out at in the paper.
- Naive reporting fails on real data; the certificate does not. Reporting the selected configuration with a Wilson interval miscovers 21.6% of the time (27-recipe Qwen grid) and 22.5% (25-recipe gpt-4.1-mini grid) at nominal 5%; the certificate miscovers 0% (table below).
- Breadth. MATH-500 audited on both models; recipe grids up to 27 recipes (prompts, temperatures, budgets, verifier, early stopping, routing); an open-weights model (Qwen2.5-7B-Instruct) so the entire audit is exactly reproducible.
W2: establish that held-out validation does not work sufficiently well in practice.
The submission already contains a synthetic version of this experiment. Appendix E, Table 6 constructs sweeps where every recipe has true risk : the fixed-recipe Hoeffding interval's coverage falls from at to at , while the selection-aware certificate stays at .
The new real-data version repeats this on actual LLM transcripts (3000 random calibration splits of size ; the selected recipe's risk proxied on the disjoint remainder):
| naive report at , 3000 splits | miscoverage (nominal 5%) |
|---|---|
| selected-best + Wilson UCB, grid (Qwen) | 21.6% |
| selected-best + Wilson UCB, grid (gpt-4.1-mini) | 22.5% |
| selected-best + Wilson UCB, budgets | 8.1% |
| selected-best + Hoeffding UCB (any grid) | 0.0% (width 0.10) |
| PAC-Bayes certificate (ours, any grid) | 0.0% |
Mean selection optimism is on the 27-recipe grid, and the failure grows with sweep size exactly as Prop. 7.1 predicts. Two remarks so the comparison is fair:
- The Hoeffding row survives only because its width dwarfs the selection bias at this ; Table 6 shows it too collapses as the sweep grows. Passing this test is not merely a matter of width: Prop. 7.1 lower-bounds what any selection-valid distribution-free interval must pay, so the certificate is within a constant of the narrowest interval that could pass.
- If the reviewer means the two-split protocol (select on calibration, report from a fresh held-out split): that is valid at fixed time for the one selected recipe, but it spends labeled data, certifies nothing about the search, and is invalidated the moment the split is consulted a second time or the recipe is revised. The certificate is valid on the calibration transcript itself under unlimited reuse; Sec. 5 keeps a held-out split for diagnostics only.
We will add the real-data miscoverage table next to Table 6.
W1: practical impact; small audit; loose certificates.
Scale. Covered by the new audits above: full GSM8K test split ( the reported transcript) and MATH-500, each on two models, plus the recipe grids.
Looseness. The -vs- gap at is the price any distribution-free selection-valid bound must pay at that scale: Prop. 7.1 shows a penalty of order in risk scale ( in binary-kl scale) is unavoidable. It contracts exactly as the theory predicts as grows:
- the paper's own prefix sweep: (Table 3);
- inverting the bound: within of true risk at for -risk pipelines, at risk ();
- realized on real data: vs held-out (gpt-4.1-mini, ); vs (Qwen, same ); on MATH-500 at , within of calibration risk on both models ( vs Qwen; vs gpt-4.1-mini).
Small audits are transparent about their width; larger audits are operationally tight.
Impact. The intended practical role is a reporting standard, not an accuracy gain. An inference stack that publishes "risk X at cost Y" after a tuning sweep currently has no valid way to make that claim from the sweep's own data. The certificate is the missing object: it prices the search (), the peeking (anytime), and the compute (cost bound) explicitly, and the audit report of Sec. 5 is designed to be attachable to a model card. The new multi-recipe audit shows the same ledger covering prompt/temperature/stopping/routing choices, the selections practitioners actually tune.
We hope these results demonstrate the practical relevance the reviewer asked about, and we thank the reviewer for pushing on exactly the point (real-data failure of naive reporting) that most strengthened the empirical section. We are glad to answer any follow-up within the discussion window.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses post-selection validity for test-time scaling, practitioners sweep budgets, prompts, verifiers, and stopping rules while repeatedly inspecting the same calibration set, which invalidates ordinary confidence intervals. The authors model a test-time recipe as a randomized predictor with a bounded random cost and prove a time-uniform PAC-Bayes-kl certificate (Theorm. 4.1) that holds simultaneously over all calibration times, posterior mixtures, and data-dependent stopping rules, with a localized variant over predeclared prior families (Theorm. 4.4). They turn this into an audit protocol certifying both risk and normalized cost (Cor. 5.3). Complementary results include a per-example margin law for self-consistency showing plurality voting helps exponentially only when the correct answer is the generator's unique mode and provably amplifies errors otherwise (Prop. 6.1), an oracle water-filling compute-allocation rule (Theorm. 6.2), and a lower bound showing the log M selection penalty is unavoidable (Prop. 7.1). Experiments comprise a synthetic audit isolating selection optimism and a 192-example GSM8K audit with gpt-4.1-mini, plus calibration-size and random-split sensitivity analyses.
Strengths and weaknesses
Strengths:
- The problem is real and underappreciated - test-time scaling recipes are certified after exactly the kind of adaptive sweep that invalidates standard validation intervals, and the paper gives a single certificate covering posterior mixtures, optional stopping, and localized priors, with cost certified alongside risk.
- The margin law (Prop. 6.1) is conceptually valuable - it makes precise that self-consistency stabilizes the generator's mode whether or not that mode is correct, so more compute can provably amplify errors; the water-filling allocation (Theorm. 6.2) and the lower bound (Prop. 7.1) round out the picture.
- The paper is clearly written, the assumptions are honestly minimal, and the proofs are correct.
Weaknesses:
- Technical novelty is modest - Theorm. 4.1 assembles Maurer's moment bound, standard change of measure, and a summable union bound, and Chugg et al. (2023) already give a general time-uniform PAC-Bayes recipe; the contribution is mainly framing and application, and the delta is not clearly delineated.
- The empirical validation is thin - the real audit has 96 calibration examples, 4 budgets, and near-zero error, so the certificate (0.219) is ~20× the held-out risk, and the localized certificate, is never exercised on a large structured sweep.
- The margin-law results require the unobservable modal margin ∆x; the oracle allocation is non-implementable and no estimable surrogate is evaluated, leaving a gap between Section 6 and the audit protocol.
Questions
- Can you state precisely which components of Theorm. 4.1/4.4 do not follow from Chugg et al. (2023)'s general recipe?
- Can you run one audit, real or semi-synthetic, with a large structured sweep (e.g., hundreds of prompt × budget × verifier combinations) where the localized certificate demonstrably beats the flat log M certificate? This would substantiate the claimed benefit of Theorm. 4.4.
- Is there an estimable proxy for the modal margin ∆x (e.g., plug-in vote margins with their own certificate) that makes the water-filling rule deployable, and how does it compare empirically to uniform allocation?
- In the GSM8K audit, budgets 3/5/9 have identical calibration risk and identical certificates; selection reduces to the cost tie-break. Do you have a task where the risk-cost trade-off is non-degenerate, so the joint (U^L, U^G) reporting does real work?
Limitations
Yes
Formatting concerns
None
1 comment
Rebuttal
We thank the reviewer for an unusually careful review: verifying the proofs, and asking questions precise enough that each one could be answered with a computation, is the kind of reviewing one hopes for. All four questions have concrete answers; Q2 and Q3 are answered with new experiments computed on the discussion-period transcripts described in the other threads (no new generation was needed: the recipes below are deterministic functions of recorded traces).
Q1/W1: which components of Thm. 4.1/4.4 do not follow from Chugg et al. (2023)?
Component by component, against their paper:
- Follows from their recipe: time-uniformity itself. Their Thm. 3.1 delivers "all , all posteriors " from a supermartingale plus mixtures; their Cor. 5.3 gives a time-uniform Maurer-constant binary-kl bound via dyadic stitching, and our allocation satisfies their own stitching-function condition (), i.e., it is their construction at the densest grid. Optional stopping and post-hoc posterior choice follow in both frameworks. We will cite Cor. 5.3 next to Thm. 4.1 and say exactly this.
- Not in their paper, form: the coefficient-1-at-every- statement. Their stitched bound (eq. 35) holds at , so inside an epoch it pays up to a factor on while winning on the additive term (about half of ours at ). Neither form dominates; ours is preferable exactly when dominates at moderate , the audit regime, and it is the form that inverts transparently into the tables in the qetL thread.
- Not in their paper, localization (Thm. 4.4): a static countable family with weights and scale choice made after seeing the transcript, at price , with no additional union bound. Their nearest device (Thm. 6.5) is sequential prior updating at stopping times, a different object. We do not claim the mixture-prior trick is deep (it is textbook PAC-Bayes); we claim it is the right audit primitive and, per Q2 below, that it does real work.
- Not in their paper, the certified object: bounded realized cost as a jointly certified quantity (their framework covers bounded processes in principle but never frames cost), and the audit semantics (Defs. 5.1–5.2, Cor. 5.3). Prop. 6.1's converse, Thm. 6.2, and Prop. 7.1 are outside their scope entirely.
We will add this delineation to Secs. 4/9, together with the parallel attribution for Prop. 6.1's forward half (Thm. 2.2 of Cordero-Encinar & Duncan, 2025).
Q2/W2: a large structured sweep where localization beats the flat certificate.
We ran exactly this on the recorded GSM8K/Qwen transcripts (). Recipe space: recipes in 6 (prompt, temperature) scales; the default scale is the paper's protocol configuration (67 recipes: budgets trace offsets, plus early-stopping variants); five speculative scales carry 54 recipes each. Scale prior: on the default scale, on each speculative scale; uniform within scales.
- Flat audit ( nats): selects a speculative-scale recipe at calibration risk , certificate (held-out ).
- Localized audit (default-scale penalty nats): selects a default-scale recipe at the same calibration risk , certificate (held-out ).
The gap is modest at because is divided by . The structural claim shows up when the speculative sweep grows, which is Thm. 4.4's intended regime ("a broad audit that sweeps many templates but expects only a few to be plausible", Sec. 5). Extending the same sweep with seeded trace-subset recipes in the speculative scales (real traces; up to distinct recipes):
| flat audit: sel. cal risk / held / cert | flat cert of the same default-scale winner | localized cert | |
|---|---|---|---|
| 337 | 0.052 / 0.076 / 0.203 | 0.203 | 0.199 |
| 1012 | 0.048 / 0.056 / 0.201 | 0.207 | 0.199 |
| 2787 | 0.044 / 0.072 / 0.198 | 0.212 | 0.199 |
Two readings, both instructive. For the same default-scale recipe, the flat charge degrades as the sweep inflates while the localized certificate is invariant at : that is the demonstrable beat, and it grows with . The flat audit's headline certificate meanwhile appears stable only because its selection drifts to increasingly lucky speculative draws (calibration risk while held-out risk stays , i.e., growing winner's-curse optimism of exactly the order of Prop. 7.1); the bound stays valid precisely because it charges for that drift. Localization buys both the smaller penalty and selection stability. We will add this audit to App. C.
Q3/W3: an estimable proxy for ; is water-filling deployable?
Yes, and the reviewer's parenthetical is the right construction: plug-in vote margins, with the deployed rule certified by the same audit. Two-stage recipe : draw traces, estimate from the vote split and from the distinct answers, set , then allocate rounded to odd, with set by the average-budget constraint (Thm. 6.2's rule with plug-in constants). This is fully implementable, and because it is just another recipe with example-dependent cost, it drops into the audit. On all 1319 GSM8K/Qwen examples:
- At average budget : WF risk at realized mean budget vs uniform- risk ; certified in a predeclared grid, WF-avg9 gets certificate (calibration risk , held-out ) vs for uniform-, at fewer tokens (2169 vs 2298).
- At average budget : plug-in WF is worse (risk vs uniform). With only stage-1 traces the margin estimate is noisy, and misallocation costs more than adaptivity gains on a task where most margins are large.
So the honest summary is: deployable yes, certified yes, and on GSM8K the gains over uniform are modest (positive at , negative at ). This is consistent with Prop. 6.1: water-filling pays off under margin heterogeneity near the threshold, and the label-aware bound cannot promise that plug-in estimates inherit the oracle's guarantee. We will state this scope honestly when adding the experiment (and the two-stage recipe) to Sec. 6/App. C; tuning and the floor belongs inside the audited grid, not outside it.
Q4: a task where the risk-cost trade-off is non-degenerate.
The discussion-period audits provide several. On full GSM8K with Qwen (, table in the ST1y thread), the frontier is real: (risk , 257 tokens), early-stop (risk , 909 tokens), (risk , 4338 tokens); the early-stopping recipe matches 's held-out risk at of its cost, so reporting with a cost weight changes the selection, which is exactly the "real work" asked about. On MATH-500 the trade-off is likewise non-degenerate on both models (calibration risks – against mean token costs – as goes ). The paper's audit had a degenerate tie among because near-zero error counts cannot separate budgets; that is a small- artifact, not a property of the reporting.
On W2's first half (0.219 vs held-out at ): the quantitative resolution is in the qetL thread ( table) and realized at scale in all threads; rerunning the paper's own gpt-4.1-mini pipeline on the full test split gives certificate against held-out risk at .
We thank the reviewer again: all three requests (the delineation, the large-sweep localized audit, and the deployable allocation rule) measurably strengthened the paper and will appear in the revision. We would be glad to run any further check the reviewer considers decisive within the discussion window.
Comments on the paper
1 comment
Global Response
We thank all four reviewers and the AC for reviews that were concrete enough to act on. Every weakness and question across the four reviews now has a posted answer in its thread, and all experimental results below were completed during the discussion period (nothing is promised-only). This comment collects them in one place before the window closes.
New experiments (88,794 generations; two models; both datasets; full protocol of App. C):
- Full-scale, same-model audit. The paper's gpt-4.1-mini pipeline on the full GSM8K test split (): selects , calibration risk , certificate , held-out risk , versus vs at in the submission. A parallel open-weights audit (Qwen2.5-7B-Instruct, reproducible end to end for under \$2 of GPU time) gives vs at the same . MATH-500 is audited on both models (certificates within of calibration risk at ).
- Beyond a budget sweep (ST1y Q2): one audit over recipes (prompts temperatures budgets, verifier best-of-3, vote-margin early stopping, and a router), plus a structured sweep scaled to recipes exercising the localized certificate (9RWU Q2): for the same default-scale recipe, the flat charge degrades as the sweep grows while the localized certificate stays .
- Why naive reporting fails on real data (fBGd W2): across 3000 random calibration splits, reporting the selected configuration with a one-sided Wilson interval miscovers 21.6% (Qwen grid) and 22.5% (gpt-4.1-mini grid) of the time at nominal 5%; the certificate miscovers 0% on every grid tested.
- Certificate tightness, answered exactly (qetL Q1, meta item 2): inverting the bound, the certificate is within of true risk at for 2%-risk pipelines and at 10% (; grid size is second-order). Distinguishing budgets is a stronger ask: a paired variance-adaptive confidence sequence from the same toolkit certifies the vs ordering from (Qwen) and (gpt-4.1-mini) on GSM8K, and on MATH-500.
- The margin law on real data (qetL's highlighted result): on MATH-500, the correct answer is the 9-trace mode on 71% of examples (decay regime); on 12% a wrong answer is a stable $\ge$6/9 mode (amplification regime); on 8% the correct answer appears among the traces yet voting discards it.
- Section 6 made deployable (9RWU Q3): a two-stage plug-in water-filling recipe (vote-margin estimates, Thm. 6.2's rule) is implementable and drops into the audit as just another recipe: certified at vs for uniform- at 6% fewer tokens; at low budgets it underperforms uniform, reported as-is.
- Cost machinery in practice (qetL Q2, ST1y W2): real token-tail audits with the dyadic scale family (envelope selection after seeing tails costs ); full audit-overhead accounting: the entire new experimental suite cost under $2 of GPU time plus \$14 of API spend.
Positioning made exact (meta item 1; 9RWU Q1, component by component in that thread): the Thm. 4.1 technique is standard and will carry a citation to Chugg et al. (2023, Cor. 5.3); Prop. 6.1's forward inequality is credited to Cordero-Encinar & Duncan (2025, Thm. 2.2). The paper's contribution is the certified selection-process object with cost, the amplification converse, the allocation law, and the matching lower bound; none of these appear in prior work we or the reviewers have identified.
Revision plan (all changes drafted): attributions in Secs. 4/6/9; new audit tables, the miscoverage study, and overhead accounting in Sec. 8/App. C; prior-choice guidance in Sec. 5; the table, paired-comparison certificate, scale family, and localized-sweep audit as new appendices.
We would be glad to answer any remaining question or run any further check before the discussion closes; if a concern stands after our responses, we would genuinely like to know which one, while there is still time to address it.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for the focused initial meta-review; it structured our entire discussion period. Before the window closes, here is a map of what was done, item by item. Every number below is a completed, posted result (no promised-but-unrun work), and all four reviewer threads have full responses.
1. Novelty. We made the attribution exact in the threads and will state it in the paper: the proof technique of Thm. 4.1 is standard and sits inside the stitching family of Chugg et al. (2023, Cor. 5.3), which we will cite next to the theorem; the forward inequality of Prop. 6.1 coincides with Thm. 2.2 of Cordero-Encinar & Duncan (2025), credited in the statement. What no prior work provides, stated component by component in the 9RWU and ST1y threads, is the certified object: a labeled, population-level certificate valid for the recipe-selection process itself (all calibration times, all posterior mixtures, all stopping rules, with realized cost certified jointly), plus the quantitative error-amplification converse, the water-filling allocation, and the matching selection lower bound.
2. Empirical results and certificate tightness. The discussion-period experiments total 88,794 generations across two models and two datasets: the paper's own gpt-4.1-mini pipeline on the full GSM8K test split gives certificate 0.109 against held-out risk 0.039 at n=659 (versus 0.219 against 0.010 at n=96 in the submission); MATH-500 is audited on both models; recipe sweeps reach M=27 real recipes (prompts, temperatures, budgets, verifier, early stopping, routing) and a structured M=2787 sweep exercising the localized certificate; naive selected-best Wilson reporting miscovers 21.6–22.5% at nominal 5% while the certificate never miscovers; a paired confidence sequence certifies budget orderings from n=572; and the n∗ table in the qetL thread answers "at what n is the certificate operationally useful" exactly. The 0.219 figure the meta-review cites was the transparency of a small audit, not the method's operating point.
3. Category. We chose General deliberately (the deliverable is the audit protocol, aimed at the LLM community), the type is immutable this cycle, and rather than argue the label we used the discussion period to meet the General bar with the evaluation above.
The additional review (9RWU, posted 27 Jul) raised the same novelty and empirics themes plus three concrete requests; all four of its questions were answered with completed computations in that thread, including the large-sweep localized-vs-flat audit and a deployable, certified plug-in version of the allocation rule.
Committed revision changes (all drafted): attribution sentences in Secs. 4/6/9; the new audit tables and the miscoverage study in Sec. 8/App. C; overhead accounting and prior-choice guidance in Sec. 5/App. C; the n∗ table, paired-comparison certificate, Cmax scale-family guidance, and the localized-sweep audit as new appendix material.
We are glad to run any further check the AC considers decisive before the window closes, and we thank the AC and reviewers for a process that concretely improved the paper.