Self-consistency: choose among answers from multiple reasoning paths
Self-consistency is a decoding method that samples several reasoning paths with chain-of-thought (CoT) prompting, then selects the final answer that appears most often instead of relying on one generated path. Agreement among different solutions can improve accuracy, but a majority vote does not guarantee truth. Because it generates multiple outputs, the method adds token cost and latency and is best suited to tasks with answers that can be compared consistently.
Self-consistency is a decoding method that samples several reasoning paths with chain-of-thought (CoT) prompting, then selects the final answer that appears most often instead of relying on one generated path. Agreement among different solutions can improve accuracy, but a majority vote does not guarantee truth. Because it generates multiple outputs, the method adds token cost and latency and is best suited to tasks with answers that can be compared consistently.
How does it differ from generating CoT once?
Ordinary CoT follows one selected path in a single generation. Self-consistency samples several diverse paths for the same question, extracts the final answer from each output, and aggregates the answers. The paper describes this as “sample-and-marginalize.” A common simple aggregation is to choose the normalized final answer with the highest frequency, or majority vote.
What matters is whether the final answers agree, not whether the explanation sentences look alike. If the answers are numeric, normalize “18,” “$18,” and “18 dollars per day” to the same value. For a multiple-choice task, parse each response into a predefined option ID or value. Counting different formats as different answers can distort the vote.
What does it look like in a small example?
The paper illustrates the method with a duck-egg problem. A duck lays 16 eggs each day; 3 are eaten for breakfast and 4 are used for muffins, and the remaining eggs are sold for $2 each. Of three sampled paths, two arrive at $18 and one incorrectly gives $26. Majority voting selects $18. This example from the paper shows how agreement guides selection; the vote itself does not verify the arithmetic. Here, the result can be checked directly: (16 − 3 − 4) × $2 = $18.
A general workflow is:
**Fix the question and output format.** Define the final answer clearly and specify a marker or format from which it can be extracted.
**Sample multiple paths.** Keep the question and prompt the same; record the sampling settings and number of samples.
**Normalize final answers.** Standardize differences in units, spacing, capitalization, and option labels.
**Aggregate answers.** Choose the most frequent normalized value, or use a weighted method only when the task supports a defensible weighting rule.
**Verify independently.** When available, check the answer with a calculator, rule checker, source document, or test rather than treating the vote as verification.
What did the research find?
Wang et al. (2022, ICLR 2023) evaluated self-consistency across four language models on arithmetic and commonsense reasoning tasks. The paper’s abstract reports gains over greedy CoT decoding of 17.9 percentage points on GSM8K, 11.0 on SVAMP, 12.2 on AQuA, 6.4 on StrategyQA, and 3.9 on ARC-Challenge in experiments based on PaLM-540B or GPT-3. These are comparisons under that study’s data, models, prompts, and decoding setup, not guarantees for current models or every problem.
The main experiments averaged 10 runs, sampling 40 independent outputs per run. The paper found a trend toward better performance with more sampled paths, which also means greater call and token use. The method assumes that multiple paths can offset individual errors, but paths from the same model may share biases and fail together. Agreement alone does not establish that an answer is true or that the generated explanation faithfully reflects how it was produced.
When should you use it, and when should you avoid it?
| Task characteristics | How to decide |
|---|---|
| Fixed-answer math, rule, or classification task with reliably extractable answers | Try a bounded number of samples and add independent verification where possible. |
| Open-ended writing where several answers may be valid | Simple majority voting may not fit; first define a quality criterion or semantic-similarity evaluator. |
| Current facts, citations, or high-stakes legal, medical, or financial conclusions | Use authoritative sources and domain checks rather than relying on sample consensus. |
| Strict cost or latency limits, or one result is sufficient | Compare against greedy output or a simple procedure with direct verification. |
Before adopting the method, evaluate how accuracy, agreement rate, cost, and latency change as sample count grows on the same input set. Agreement can be a confidence signal, but its relationship to actual accuracy must be validated separately. Low agreement may indicate uncertainty; high agreement can still be wrong because of shared errors or bias. Do not let majority voting replace external verification.
Commonly missed limitations
**“The most common answer is the correct one.”** A repeated model error or bias can still win. Voting is an aggregation rule, not a verifier.
**“Different paths are independent.”** Samples from the same model and prompt may share the same source of error.
**“More samples are always better.”** The study found a trend toward gains, but calls and tokens also increase. Measure diminishing returns.
**“Aggregate the long explanations.”** Usually the final answers are what get aggregated. Do not assume the explanation is a complete record of internal computation.
References
[Wang et al., Self-Consistency Improves Chain of Thought Reasoning in Language Models (ICLR 2023)](https://arxiv.org/abs/2203.11171) — describes diverse path sampling, final-answer aggregation, benchmark results, and sample-count experiments. Read 2026-11-22.
[Full ICLR 2023 paper](https://sites.ualberta.ca/~daes/papers/iclr23b.pdf) — provides the method, experimental setup, aggregation comparisons, and appendix. Read 2026-11-22.