A stopping rule certifies dominant answers while sampling adapts
Sequential Anytime Valid Tests for Efficient Inference-Time Alignment · arXiv:2611.26413

In plain words
A language model can give several answers to the same prompt. A fixed number of tries may be wasteful for easy prompts, while stopping as soon as one answer seems ahead can stop on a temporary lead.
e-RWSC groups matching answers, uses reward scores and answer counts to guide its checks, and stops when the evidence supports a majority under the model’s response pattern.
On one math test with one model and reward model, it scored more problems correctly than fixed-budget Best-of-N while using fewer responses on average.
The research
Choosing how many responses to generate means balancing wasted computation against the risk of stopping too soon.
This method changes the stopping decision: it can wait for evidence that an answer has majority support under the model’s response pattern, while bounding the chance of certifying an answer below the chosen threshold.
e-RWSC uses reward informed, per answer evidence to stop sampling once an answer has certified majority support under the model’s response policy.
In e-RWSC, responses with the same final answer are grouped and scored using their frequency and reward scores. The method tracks evidence separately for each answer, so a changing leader does not erase earlier evidence or rely on a stopping guarantee that assumes one fixed hypothesis.
The theorem bounds the chance of ever certifying an answer below the chosen dominance threshold. In one MATH500 comparison, e-RWSC had higher accuracy and used fewer responses on average than fixed-budget Best-of-N, supporting adaptive sampling in that setting.
The certificate establishes that an answer is common under the model’s response policy, not that it is factually correct. The reported accuracy and response-count comparison covers one model, reward model, math test, and maximum budget.
What the evidence shows
- The question is when to stop
e-RWSC is an inference-time stopping method that builds on Reward-Weighted Self-Consistency (RWSC), which groups generated responses by their final answer and scores each group using both its size and members’ reward scores.
The question is whether sampling can stop adaptively without treating a shifting early leader as proof of a majority. The method’s answer is to track evidence for each answer over time.
- A bounded accuracy comparison
A fixed response budget applies the same number of generations to every prompt, though prompts can differ in how quickly one answer becomes common. In the paper’s MATH500 comparison, e-RWSC answered 74.4% of prompts correctly, while fixed-budget Vanilla Best-of-N answered 71.0%.
MATH500 tests math problem solving, and these percentages are the shares of its evaluated prompts answered correctly.
- Fewer responses on average
In this comparison, e-RWSC answered a larger share of prompts correctly while averaging fewer generated responses per prompt than fixed-budget Vanilla Best-of-N. With Qwen2.5-3B-Instruct and ArmoRM on MATH500 under a 24-response cap, the results show higher average accuracy with lower average response use; they do not describe every prompt.
- What the certificate establishes
The statistical guarantee and the empirical comparison answer different questions. The theorem bounds the chance of ever certifying an answer that does not exceed the chosen probability threshold under the response policy.
The MATH500 result shows how the method compared on measured task accuracy and response count in one setting; it does not turn policy dominance into a guarantee of correctness.
Deep
- Original paper authors
- Vishesh Kumar Singh, Sayak Ray Chowdhury
- Submitted to arXiv
- License
- CC BY 4.0