Sequential Anytime Valid Tests for Efficient Inference-Time Alignment
Vishesh Kumar Singh, Sayak Ray Chowdhury
Key points
From the paper's conclusion- We aggregate candidates by final answer with a reward-weighted self-consistency (RWSC) score and treat stopping as a sequential test over the resulting clusters.
Abstract
Inference-time alignment methods, such as Best-of-N (BoN), improve language model outputs by generating multiple candidates per prompt and selecting among them using a reward model. Much of this cost is wasted: a fixed budget is applied to every prompt, although the computation required by prompts varies widely. Adaptive methods halt once sampled answers appear settled, but their thresholds are tuned heuristics with no statistical control over early-stopping errors. We instead seek an anytime-valid stopping rule that takes an error tolerance $\alpha$ as input and halts only once an answer is certified to hold a majority ($\theta_a > 1/2$) under the generator's distribution. We aggregate candidates by final answer with a reward-weighted self-consistency (RWSC) score and treat stopping as a sequential test over the resulting clusters. Applying Wald's sequential probability ratio test to these clusters yields SPRT-RWSC, which performs well empirically, but its guarantee fails because the leading answer shifts during sampling, and the run is continuously monitored. Our main contribution, e-RWSC, replaces Wald's test with a betting supermartingale (an e-process) for every answer the policy produces, bounding the probability of ever certifying a non-dominant answer by $\alpha$, uniformly over time and across all answers. The RWSC scores drive the bets, so they affect only how quickly a dominant answer $a^\star$ is certified, not validity; certification takes $O(\log(1/\alpha)/d_{\mathrm{KL}}(\theta_{a^\star}\|1/2))$ samples. Experiments across several language models, datasets, and reward models confirm the predicted $1/d_{\mathrm{KL}}$ scaling of cost and show that accuracy improves over baselines at substantially lower token cost.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards a theory of inference-time alignment with unknown rewardsarXiv · 2026
- Anytime-Valid PAC-Bayes Certificates for Adaptive Test-Time ScalingarXiv · 2026
- Optimal Labelling Designs for Sequential Decisions on Language Model UpdatesarXiv · 2026
- Calibration-Free Early Stopping for Chain-of-Thought Reasoning via E-processesarXiv · 2026
- Efficient Best-of-N policy evaluation for inference-time alignmentarXiv · 2026
- Valid Stopping in Adaptive Generator-Verifier LoopsarXiv · 2026