IN THIS BREAKDOWN · 10 SECTIONS
You can read 20% of this breakdown.
The paper in one minute
GPT-3 showed that a few examples in a prompt could teach a model a task. But on problems that need several steps, such as a math word problem, few-shot prompting did poorly, and making the model bigger did not help much. The examples showed the question and the answer, and the model was expected to jump straight from one to the other.
The Google team changed one thing: they rewrote the examples to include the working. Instead of "A: The answer is 11", the example says "Roger started with 5 balls. 2 cans of 3 tennis balls each is 6 tennis balls. 5 + 6 = 11. The answer is 11." The model, seeing eight examples like that, writes out its own steps before answering. They called this a chain of thought.
On GSM8K, a benchmark of grade-school math word problems, PaLM 540B went from 17.9% correct to 56.9%, beating the previous best, a GPT-3 model fine-tuned on the training set with a separate verifier. Similar gains showed up on commonsense and symbolic tasks.
Two findings travel further than the headline. The trick only works on large models: below roughly 100 billion parameters, models wrote fluent nonsense and did worse. And the paper's ablations show that what helps is the reasoning in language, not just extra tokens or a written equation. This is the idea under every "think step by step" prompt and every reasoning model since.
Research notes: the problem, approach and results
GSM8K accuracy for PaLM 540B, from 17.9% with standard prompting to 56.9% with chain of thought
hand-written chains of thought in the prompt, and no fine-tuning at all
roughly where the benefit appears; smaller models wrote fluent but illogical chains and got worse
Few-shot prompting worked for lookups and pattern tasks but stalled on problems that need several steps, and bigger models barely helped.
Write the few-shot examples with their intermediate reasoning in plain language, so the model writes its own reasoning before answering.
PaLM 540B went from 17.9% to 56.9% on GSM8K math word problems, past a fine-tuned model with a verifier, using eight hand-written examples.
Why it matters to an FDE
Chain of thought is now built into the models: reasoning models do it without being asked, and many APIs expose a setting for how much they "think". The paper is still the best guide to when that thinking is worth paying for.
It helps on multi-step problems and not much else. The paper's own breakdown shows gains were largest on the hardest problems and "either negative or very small" on single-step ones. A customer's pipeline that routes, extracts or classifies may get slower and more expensive with reasoning turned on and no more accurate. Measure it on their task before switching it on everywhere.
Reasoning costs tokens. Each chain adds output tokens, which are slower and usually pricier than input tokens. A worked answer that is ten times longer than a bare answer is roughly ten times the generation time for that request.
A plausible chain is not a correct one. The authors say plainly that there is "no guarantee of correct reasoning paths". In their own error review, a wrong answer often came with a chain that was nearly right. For any workflow where the reasoning is shown to a user or an auditor, the steps need checking, not just the final answer.
Understand the mechanism. Try it on a real problem.
Unlock this breakdown and 49 more papers.
Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.
6 months · One payment · No auto-renewal
- ◇1 architecture diagram
- </>1 runnable code experiment
- ▦3 results tables
- ?5 interview questions with answers
- 03Key takeaways
The ideas to keep, what the ablations ruled out, and the misreadings to avoid
Free account - 04How it works
The prompt format, the setup, the error analysis and the calculator trick, with a diagram
Premium - 05The numbers that matter
The gains by model and benchmark, and the cases where chain of thought hurt
Premium - 06Try it yourself
The paper's calculator trick as an auditor for any chain of thought, run on three model outputs
Premium - 07Where it breaks
The limits the authors list, and what the field learned afterwards
Premium - 08Using it on a deployment
Where to turn reasoning on, how to keep it from leaking, and how to verify it
Premium - 09Interview angles
Five questions this paper prepares you for, with answer hints
Premium - 10Read next
Where to go from here on this site
Premium
