{"id":"arxiv:2203.11171","kind":"preprint","title":"Self-Consistency Improves Chain of Thought Reasoning in Language Models","authors":["Xuezhi Wang","Wei, Jason","Dale Schuurmans","Quoc Viet Le","Ed H.","Narang, Sharan","Aakanksha Chowdhery","Zhou, Denny"],"author_count":8,"year":2022,"published":"2022-03-21","venue":null,"cited_by":809,"doi":null,"arxiv_id":"2203.11171","nct_id":null,"source_url":"http://arxiv.org/abs/2203.11171","archive_url":"https://space-kitty.com/papers/arxiv:2203.11171","updated":"2023-03-07","pmid":null,"pmcid":null,"openalex_id":"W4221161695","pdf_url":"https://arxiv.org/pdf/2203.11171","abstract":"Chain-of-thought prompting combined with pre-trained large language models has achieved encouraging results on complex reasoning tasks. In this paper, we propose a new decoding strategy, self-consistency, to replace the naive greedy decoding used in chain-of-thought prompting. It first samples a diverse set of reasoning paths instead of only taking the greedy one, and then selects the most consistent answer by marginalizing out the sampled reasoning paths. Self-consistency leverages the intuition that a complex reasoning problem typically admits multiple different ways of thinking leading to its unique correct answer. Our extensive empirical evaluation shows that self-consistency boosts the performance of chain-of-thought prompting with a striking margin on a range of popular arithmetic and commonsense reasoning benchmarks, including GSM8K (+17.9%), SVAMP (+11.0%), AQuA (+12.2%), StrategyQA (+6.4%) and ARC-challenge (+3.9%).","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":true,"retracted":false,"peer_reviewed":false,"categories":["Topic Modeling"],"details":null,"provenance":"openalex+arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"reasoning-models","name":"Reasoning Models & Test-Time Compute","domain_slug":"ai"}],"cited_in_dossiers":[]}