Reproduce “Self-Consistency Improves Chain of Thought Reasoning in Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, Denny Zhou
The paper introduces self-consistency, a training-free way to improve chain-of-thought answers by sampling multiple reasoning paths from one model and selecting the most frequent final answer. On a grade-school math benchmark, PaLM-540B accuracy rose from 56.5% with greedy decoding to 74.4% using 40 samples. Gains were not universal, and voting does not verify reasoning.
Key insights
- Complex reasoning problems often have multiple valid reasoning paths that converge on the same correct answer, which can be leveraged to improve LLM accuracy.
- Diversity in sampled reasoning paths is crucial for self-consistency's effectiveness, outperforming less diverse methods like beam search.
- The consistency of answers among sampled paths correlates with accuracy, offering a potential mechanism for uncertainty estimation in LLMs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.