GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
NeurIPS 2022

Large Language Models are Zero-Shot Reasoners

One sentence, "Let's think step by step", took text-davinci-002 from 17.7% to 78.7% on MultiArith with no examples. The paper also shows how much a second answer-extraction call matters.

Breakdown by FDE Interviews · 12 min read · Updated

About the original · 2022
AUTHORS
Kojima, Gu, Reid, Matsuo, Iwasawa
FROM
University of Tokyo, Google Research
PUBLISHED
May 2022 · NeurIPS 2022
CITED BY
8,501Semantic Scholar · Nov 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 17% of this breakdown.

01

The paper in one minute

Chain-of-thought prompting, published a few months earlier, showed that large models solve multi-step problems far better when the prompt contains worked examples whose answers spell out the intermediate steps. That needs someone to write those examples for each task. Kojima and colleagues asked whether the examples were doing the work, or whether the model only needed to be told to reason before answering.

Their method, Zero-shot-CoT, makes two calls to the same model. The first formats the question as "Q: [question] A: Let's think step by step." and generates text greedily, which produces a written reasoning path. The second call feeds back the question, that reasoning and a short answer trigger chosen for the answer type, for example "Therefore, the answer (arabic numerals) is" for arithmetic or "Therefore, among A through E, the answer is" for multiple choice. A simple parser then takes the first number, or the first capital letter, in the reply.

On text-davinci-002, MultiArith accuracy rose from 17.7% to 78.7% and GSM8K from 10.4% to 40.7%. Symbolic tasks moved even more: last-letter concatenation went from 0.2% to 57.6% and coin flip from 12.8% to 91.4%. PaLM 540B showed similar jumps. Easy one-step arithmetic stayed about the same, and two commonsense benchmarks did not improve. The gains appeared only in large models; small models stayed flat with or without the trigger.

THE IDEA, VISUALLY
TWO CALLS, ONE TRIGGER (FIGURE 2) Q: Joe throws 25 punches a minute; 5 rounds of 3 minutes. How many punches? A: Let's think step by step. call 1 (greedy): 25 x 3 = 75 per round ... 5 x 75 = 375 punches. call 2: [question] [reasoning] + 'Therefore, the answer (arabic numerals) is' -> '375.' parser: first number after the trigger = 375 TEXT-DAVINCI-002, ACCURACY % (TABLE 1) MultiArith 17.7 -> 78.7 GSM8K 10.4 -> 40.7 Last Letter 0.2 -> 57.6 CommonsenseQA 68.8 -> 64.6 zero-shot zero-shot-CoT WHICH SENTENCE? MULTIARITH, 600 PROBLEMS (TABLE 4) Let's think step by step. 78.7 First, 77.3 Let's think about this logically. 74.5 Let's be realistic and think step by step. 70.8 Let's think 57.5 The answer is after the proof. 45.7 Don't think. Just feel. 18.8 Abrakadabra! 15.5 (no trigger) 17.7 instructive triggers help; misleading and irrelevant ones do not. 95% interval at 78.7% is about +/- 3.3 points, so the top two rows are a tie (our check). arXiv 2205.11916, University of Tokyo and Google, 2022
Zero-shot-CoT makes two calls. The first appends "Let's think step by step" and lets the model write its reasoning; the second appends that reasoning plus a format sentence such as "Therefore, the answer (arabic numerals) is", and a parser keeps the first number. On the right, the trigger sentence matters: instructive phrasings score 46-79% on MultiArith, while misleading or irrelevant ones stay near the 17.7% of plain zero-shot.
Research notes: the problem, approach and results
78.7%

MultiArith accuracy with the trigger, up from 17.7% zero-shot (text-davinci-002, Table 1)

40.7%

GSM8K accuracy with the trigger, up from 10.4%; 8-shot chain of thought reached 48.7% (Table 2)

16

trigger sentences compared on MultiArith, ranging from 78.7% down to 9.3% (Table 4)

THE PROBLEM

Chain-of-thought prompting worked, but it needed hand-written worked examples for each task, and their format had to match the task's answer format. Zero-shot baselines on multi-step arithmetic were very weak, and nobody had measured whether the examples themselves were necessary.

THE IDEA

Replace the examples with one fixed sentence, "Let's think step by step", that makes the model write its reasoning first. Then make a second call that appends the reasoning and a format-specific trigger, and parse the first answer that matches the expected format.

THE RESULT

On text-davinci-002, MultiArith rose from 17.7% to 78.7% and GSM8K from 10.4% to 40.7%, recovering about 80% of the gain from eight hand-written chain-of-thought examples. Gains held on PaLM 540B and grew with model size; commonsense tasks did not improve.

02

Why it matters to an FDE

Almost every reasoning prompt in production descends from this paper, and three of its findings still shape how you build one.

A reasoning instruction is a cheap first baseline. Before writing few-shot examples for a customer's task, try a plain instruction to reason first. On MultiArith the single sentence recovered about 81% of what eight hand-written chain-of-thought examples gained, and on GSM8K about 79%. Examples still won, so treat the trigger as the baseline to beat, not the final prompt.

Separate the reasoning from the answer. The method works because the second call asks for the answer in a fixed format after the model has finished thinking. Asking for free reasoning and a parseable answer in one breath is where many production prompts fail. The same split can be done today with a structured output field for the final answer.

The parser is part of the score. In Table 1, plain zero-shot scored 12.7% on StrategyQA and 12.8% on coin flip, both yes-or-no tasks where guessing gives about 50%. With a generic "The answer is" trigger instead, the same model scored 54.3% and 53.8%. Before you conclude that a model cannot do a task, check how many answers your parser failed to find.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 290 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

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    What the trigger does, where it fails, how much the wording matters and two misreadings

    Free account
  2. 04How it works

    The two prompts, decoding, answer cleansing and the experimental setup

    Premium
  3. 05The numbers that matter

    Table 1, Table 2 against few-shot baselines, Table 4 triggers and the scale study

    Premium
  4. 06Try it yourself

    Recompute the gains, test Table 4 for noise, measure the extraction swing and build the parser

    Premium
  5. 07Where it breaks

    Model scale, commonsense tasks, extra reasoning steps, closed models and slips

    Premium
  6. 08Using it on a deployment

    When to add a reasoning instruction, how to extract answers, and how to compare prompts honestly

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →