Self-Consistency: Sample Many Reasoning Paths, Then Take the Majority Vote
ICLR 2023 · arXiv 2203.11171
An engineering dissection of Self-Consistency — a decoding strategy that replaces greedy chain-of-thought with sampling many diverse reasoning paths and marginalizing over them by majority vote on the final answer. Covers the sample-and-marginalize procedure, the marginalization math and why unweighted majority vote matches the normalized-weighted variant, why diversity (sampling) beats beam search and sample-and-rank, the large accuracy gains on GSM8K/AQuA/SVAMP/StrategyQA, robustness to sampling parameters and imperfect prompts, the consistency-as-confidence signal, and the honest limits: it only works for fixed-answer tasks and multiplies inference cost.
- Replaces greedy decoding in chain-of-thought with a sample-and-marginalize procedure: draw many diverse reasoning paths, then pick the answer most of them agree on — no training, no verifier, no extra annotation
- A plain unweighted majority vote over final answers matches the more elaborate normalized-probability-weighted aggregation, because the model rates its diverse-but-correct paths as near-equally likely
- Diversity is the active ingredient: sampling beats beam search and sample-and-rank at the same compute budget, and gains grow with the number of sampled paths (1 to 40)
- Large, scale-dependent gains — GSM8K +17.9%, AQuA +12.2%, SVAMP +11.0%, StrategyQA +6.4% — and the fraction of paths that agree doubles as a calibrated confidence signal