Chain-of-Thought Prompting: Step-by-Step Reasoning in Large Language Models
How asking models to "show their work" unlocks reasoning abilities and dramatically improves performance on multi-step tasks.
Abstract
Chain-of-Thought (CoT) prompting is a technique that dramatically improves the reasoning capabilities of large language models by asking them to show their work step by step. Instead of jumping directly to an answer, the model is encouraged to generate intermediate reasoning steps, mimicking how humans solve complex problems.
This video demonstrates CoT using a simple "apples" word problem where standard prompting fails but chain-of-thought succeeds. The technique is then validated on real benchmarks: on the GSM8K math benchmark, PaLM 540B jumps from about 18% accuracy with standard prompting to approximately 57% with chain-of-thought—a 3× improvement that illustrates an emergent ability unlocked by model scale.
You can apply CoT today in any mainstream LLM: add a short instruction like "Let's think step by step" or "Show your work," and when possible include a compact example in the question → reasoning → answer format. CoT not only improves performance on multi-step tasks (math word problems, planning, rule following) but also makes the model's logic auditable so you can verify each step—not just the final answer.
Video Timeline
- 00:00 Introduction: Why AI Sometimes Gives Wrong Answers?
- 00:17 The Apple Problem: An Example Where AI Fails
- 00:46 The Real Reason for AI Failure: A Reasoning Error
- 01:04 Google's Simple Solution: How to Prompt Better
- 01:31 What is Chain-of-Thought (CoT) Prompting?
- 02:18 Performance Boost: The Astounding Results of CoT
- 02:54 Emergent Abilities: A Surprising Trait of Large AI Models
- 03:26 Why CoT is a Game-Changer
- 04:03 How to Use Chain-of-Thought: A 3-Step Practical Guide
arXiv Paper
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, Denny Zhou (2022)
Read on arXiv