Verifier-Guided Self-Consistency: Test-Time Reasoning with Imperfect Generators and Verifiers
Organizations: ETH Zürich · Max Planck Institute for Intelligent Systems · MBZUAI
Abstract
Large language models can solve many multi-step reasoning problems, but their reasoning remains brittle: plausible intermediate steps often lead to incorrect answers. Improving reasoning at test time requires balancing two imperfect signals: the generator, which provides diversity, and the verifier, which guides correctness. Existing approaches largely favor one side of this tradeoff. Verifier-weighted voting relies on trajectories sampled from the generator and cannot steer generation toward correct ones. By contrast, beam-style verifier-guided search can steer generation, but may over-concentrate on narrow trajectory sets and amplify verifier errors. We propose Verifier-Guided Self-Consistency (VGSC), a stochastic decoding framework that combines step-level correctness and future-outcome estimates to guide reasoning during generation. VGSC repeatedly proposes candidate next steps from the base language model and uses both signals in an acceptance/resampling procedure, while maintaining multiple trajectories for final answer-level self-consistency. We provide a probabilistic interpretation of VGSC as approximate sampling from a verifier-tilted trajectory distribution. Across multiple reasoning benchmarks, generator models, and verifier families, VGSC achieves higher average accuracy than representative baselines.
Figures & tables
| Dataset | Domain | # Samples | Mean # Steps | Answer format |
|---|---|---|---|---|
| MATH | Math | 500 | 8.4 | numeric |
| OlympiadBench | Math | 675 | 4.6 | numeric |
| ScienceQA (SciQA) | Science reasoning | 500 | 3.0 | multiple-choice |
| CommonsenseQA (CsQA) | Commonsense reasoning | 500 | 9.9 | multiple-choice |
| Knights&Knaves (K&K) | Logic | 100 | 10.5 | multiple-choice |
| Method | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average Accuracy | Average Tokens | Estimated TFLOPs |
| No-verifier baselines | ||||||||
| Single sample | 70.6 0.4 | 33.6 0.4 | 56.0 0.4 | 35.1 0.7 | 44.2 3.0 | 47.9 0.6 | 587 | 2.1 |
| SC | 75.2 0.6 | 35.4 0.3 | 59.0 0.7 | 40.9 1.2 | 54.6 1.4 | 53.0 0.4 | 2,928 | 9.1 |
| SC | 76.5 0.5 | 38.7 0.3 | 63.4 0.5 | 46.6 0.3 | 56.0 1.0 | 56.2 0.3 | 14,778 | 44.6 |
| Post-hoc verifier aggregation | ||||||||
| WSC | 78.0 0.2 | 38.6 0.3 | 61.5 0.6 | 43.2 0.5 | 51.4 1.6 | 54.5 0.4 | 2,964 | 52.0 |
| Method | Guidance | Avg. acc. | |
|---|---|---|---|
| BS | — | 46.0 | |
| BS | — | 53.6 | |
| BS+SC | — | 57.0 | |
| BS+SC | — | 60.8 | |
| VGSC | only | 5 | 61.0 |
| VGSC | only | 5 | 57.5 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Verifier Aggregation | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average Accuracy |
|---|---|---|---|---|---|---|---|
| Post-hoc verifier aggregation | |||||||
| WSC | product | 80.5 | 43.6 | 67.0 | 49.8 | 56.2 | 59.4 |
| WSC | min | 80.1 | 43.2 | 67.5 | 49.6 | 65.3 | 61.1 |
| WSC | mean | 77.5 | 39.3 | 64.0 | 48.0 | 55.7 | 56.9 |
| DLE | product | 78.6 | 43.8 | 67.5 | 52.8 | 60.4 | 60.6 |
| DLE | min | 79.2 | 42.7 | 67.2 | 52.4 | 58.0 | 59.9 |
| Dataset | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average |
|---|---|---|---|---|---|---|
| 10.76% | 43.66% | 57.15% | 63.54% | 56.23% | 46.27% | |
| 16.88% | 73.97% | 72.00% | 78.26% | 68.01% | 61.82% | |
| 20.45% | 80.79% | 76.34% | 82.59% | 73.21% | 66.68% | |
| 26.12% | 85.49% | 80.27% | 85.59% | 77.48% | 70.99% |
| Method | MATH | OlympiadBench | ||||
|---|---|---|---|---|---|---|
| Accuracy | Pass@N | Diversity | Accuracy | Pass@N | Diversity | |
| No-verifier baselines | ||||||
| SC | 76 | 80 | 0.487 | 40 | 46 | 0.551 |
| Post-hoc verifier aggregation | ||||||
| WSC | 78 | 80 | 0.487 | 45 | 46 | 0.551 |
| Verifier-guided search baselines | ||||||
| Benchmark(s) | Task format | Prompt template | Expected final answer |
| MATH500, OlympiadBench | Open-ended | Please reason step by step, and put your final answer within \boxed{} . | \boxed{<answer>} |
| ScienceQA, CommonsenseQA | Multiple choice | Solve the problem carefully. Show your reasoning in short numbered steps. Then on the last line, output only the positive integer of the answer choice in exactly this format: \boxed{(1|2|3|…)} . | \boxed{k} , |
| Knights&Knaves | Multiple choice (binary) | Solve the problem carefully. Show your reasoning in short numbered steps. Then on the last line, output only the positive integer of the answer choice in exactly this format: \boxed{(1|2)} . | \boxed{k} , |
| Dataset | Example input question | Gold answer |
|---|---|---|
| MATH500 | Convert the point in rectangular coordinates to polar coordinates. Enter your answer in the form , where and . | |
| OlympiadBench | Xenia and Sergey play the following game. Xenia thinks of a positive integer not exceeding 5000. Then she fixes 20 distinct positive integers such that, for each , the numbers and are congruent modulo . By a move, Sergey tells Xenia a set of positive integers not exceeding 20, and she tells him back the set without spelling out which number corresponds to which index. How many moves does Sergey need to determine for sure the number Xenia thought of? | |
| ScienceQA | Which figure of speech is used in this text? Sing, O goddess, the anger of Achilles son of Peleus, that brought countless ills upon the Achaeans. — Homer, The Iliad Options: (1) chiasmus (2) apostrophe | 2 |
| CommonsenseQA | A revolving door is convenient for two direction travel, but it also serves as a security measure at a what? Choices: (1) bank (2) library (3) department store (4) mall (5) new york | 1 |
| Knights&Knaves | A very special island is inhabited only by knights and knaves. Knights always tell the truth, and knaves always lie. You meet 2 inhabitants: Zoey, and Oliver. Zoey remarked, “Oliver is not a knight”. Oliver stated, “Oliver is a knight if and only if Zoey is a knave”. So who is Zoey? Choices: (1) knight (2) knave | 2 |
| Setting | Value |
|---|---|
| Minimum tokens per step | 10 |
| Maximum tokens per step | 2048 |
| Maximum reasoning steps per trajectory | 50 |
| Total maximum tokens | 4096 |
| Temperature | 1.0 |
| Top- , top- | 1.0, 1000 |
| Method | Inference budget |
|---|---|
| SC | reasoning chains |
| WSC | reasoning chains |
| DLE | reasoning chains |
| TSMC | particles |
| BS | chains, candidate expansions |
| BS+SC | chains, candidate expansions |
| Parameter | PRM verifier | ReProbe verifier |
|---|---|---|
| Architecture details | LoRA fine-tuning of Qwen2.5 Math PRM 7B; last layers only; rank ; alpha ; dropout ; attentions and MLP projections | Last hidden layer from LLM as features; ReProbe uses a 2-layer transformer head with dim. 768, 8 heads, and dropout |
| Trainable parameters | 46.1M | 15m - 19m depending on base LLM |
| Maximum length | 2048 | 2048 |
| Batch size | 32 (1 per device, 32 accumulation steps) | 16 |
| Learning rate | ||
| Epochs | 5 | 6 |
| Generator + | Qwen2.5 Math 1.5B Instruct + | Llama 3.2 3B Instruct + | Qwen2.5 Math 1.5B Instruct + | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Verifier | Qwen2.5 Math PRM 7B | Qwen2.5 Math PRM 7B | ReProbe | ||||||
| Method | Tokens | Params | TFLOPs | Tokens | Params | TFLOPs | Tokens | Params | TFLOPs |
| Single sample | 587 | 1.5B | 2.1 | 754 | 3.0B | 5.1 | 638 | 1.5B | 2.2 |
| SC ( ) | 2,928 | 1.5B | 9.1 | 3,058 | 3.0B | 18.9 | 3,206 | 1.5B | 9.9 |
| SC ( ) | 14,778 | 1.5B | 44.6 | 15,288 | 3.0B | 92.3 | 16,021 | 1.5B | 48.4 |
| WSC ( ) | 2,964 | 8.5B | 52.0 | 3,029 | 10.0B | 62.5 | 3,243 | 1.519B | 10.1 |
| Method | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average Accuracy | Average Tokens | Estimated TFLOPs |
| No-verifier baselines | ||||||||
| Single sample | 36.2 0.5 | 11.2 0.3 | 51.7 0.6 | 42.3 0.3 | 29.0 1.9 | 34.1 0.4 | 754 | 5.1 |
| SC | 38.6 0.9 | 10.0 0.2 | 69.5 0.7 | 59.8 0.2 | 36.6 2.0 | 42.9 0.5 | 3,058 | 18.9 |
| SC | 50.9 0.1 | 16.4 0.3 | 82.7 0.5 | 71.4 0.2 | 49.4 1.7 | 54.2 0.4 | 15,288 | 92.3 |
| Post-hoc verifier aggregation | ||||||||
| WSC | 46.4 0.5 | 13.7 0.3 | 68.5 0.7 | 61.1 0.6 | 34.8 1.3 | 44.9 0.3 | 3,029 | 62.5 |
| Method | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average Accuracy | Average Tokens | Estimated TFLOPs |
| No-verifier baselines | ||||||||
| Single sample | 67.2 0.5 | 29.6 0.3 | 68.9 0.5 | 68.1 0.7 | 60.0 1.6 | 58.8 0.4 | 845 | 7.5 |
| SC | 74.7 0.4 | 36.7 0.2 | 75.1 0.7 | 70.4 0.4 | 66.8 1.0 | 64.7 0.3 | 4,315 | 35.3 |
| SC | 78.6 0.4 | 41.6 0.2 | 74.3 0.3 | 72.9 0.3 | 67.6 1.1 | 67.0 0.2 | 21,581 | 173.4 |
| Post-hoc verifier aggregation | ||||||||
| WSC | 76.0 0.4 | 37.9 0.4 | 79.3 0.4 | 72.8 0.3 | 68.4 1.0 | 66.9 0.3 | 4,308 | 96.9 |
| Method | MATH | Olympiad Bench | SciQA | CsQA | K&K | Average Accuracy | Average Tokens |
| No-verifier baselines | |||||||
| Single sample | 66.8 0.4 | 29.9 0.4 | 46.2 0.4 | 29.8 0.4 | 38.0 1.0 | 42.1 0.2 | 638 |
| SC ( ) | 70.0 0.4 | 34.2 0.4 | 57.0 0.4 | 39.8 0.4 | 53.0 1.0 | 50.8 0.2 | 3,206 |
| SC ( ) | 73.6 0.4 | 38.5 0.4 | 63.8 0.4 | 47.8 0.4 | 54.0 1.0 | 55.5 0.2 | 16,021 |
| Post-hoc verifier aggregation | |||||||
| WSC ( ) | 72.7 0.4 | 35.3 0.4 | 56.8 0.4 | 38.0 0.4 | 51.2 1.0 | 50.8 0.2 | 3,243 |
Language Model Decoding
Language model decoding studies how models choose and generate outputs, balancing quality, reliability, diversity, and inference cost.
See all 174 papers