Back to the shelf
Read
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Wei et al.
This Google Research paper investigates chain-of-thought prompting, a technique in which few-shot exemplars provided to a large language model include explicit intermediate reasoning steps alongside final answers. Experiments across arithmetic, commonsense, and symbolic reasoning benchmarks demonstrate that this approach substantially improves performance on complex tasks and that the capability emerges as a property of model scale, appearing primarily in models with roughly 100 billion or more parameters.
Key takeaways
- Chain-of-thought prompting augments standard few-shot prompting by including a series of natural language intermediate reasoning steps in each exemplar, requiring no model fine-tuning or architectural changes.
- The ability to benefit from chain-of-thought prompting is an emergent property of model scale: smaller models produce fluent but illogical chains of thought and show no performance gain or even degradation, while gains appear reliably only at approximately 100B parameters and above.
- On the GSM8K math word problem benchmark, PaLM 540B with eight chain-of-thought exemplars achieves a solve rate of 57%, surpassing the prior best of 55% from fine-tuned GPT-3 175B with a verifier, without any task-specific training.
- Performance gains are largest on the most difficult multi-step problems: on GSM8K, performance more than doubled for the largest GPT and PaLM models compared to standard prompting, while single-step problems showed minimal or no gain.
- Ablation studies show that neither equation-only prompting nor variable-length compute alone accounts for the gains, and that providing the chain of thought only after the answer does not help, confirming that sequential intermediate reasoning in natural language is the operative mechanism.
- Chain-of-thought prompting is robust across different annotators, different sets of exemplars, and different exemplar orderings, and it also facilitates out-of-distribution length generalization for symbolic tasks such as coin flip tracking and letter concatenation.
Reflections
No notes on this one yet. I add reflections as I finish or revisit a book.