Skip to content
The paper library
Paper summary13 min read

From 18% to 58% Accuracy: The Simple Prompt That Taught AI to Reason

Sunder K

Sunder K

AI architect & transformation strategist · Oct 23, 2025

Abstract brain graphic with glowing lines connecting nodes.

reasoning · 2022

Chain-of-Thought Prompting Elicits Reasoning in Large Language Models

Wei et al.

Read the original ↗

Show your work

Picture a math teacher who tells a student: "Don't just give me the answer — show your work." Forced to write out each step, the student slows down, catches their own mistakes, and is far more likely to land on the right answer. If they do get it wrong, the teacher can point to the exact line where the logic broke.

That's essentially what "Chain-of-Thought" (CoT) prompting does for AI language models — the systems behind chatbots like ChatGPT. Normally, if you ask one of these models a multi-step question, it tries to jump straight to a final answer, and on anything involving several steps of arithmetic or logic, it often stumbles. Chain-of-Thought prompting simply asks the model to "think out loud" first — to write out its reasoning step by step before giving a final answer.

This isn't a change to the model itself. No retraining, no new code, no extra computing hardware. It's just a different way of asking the question. Yet when Google researchers introduced this idea in 2022, the results were startling: on a set of grade-school math problems, one of Google's large models jumped from getting only about 18% of answers right to getting 58% right, just by being told to reason step by step instead of answering directly. It turned out that inside these very large models, real reasoning ability was already there — it just needed the right kind of prompt to switch it on.

Diagram shows standard and few-shot prompting lead to low accuracy, while chain-of-thought prompting leads to high accuracy.
Diagram shows standard and few-shot prompting lead to low accuracy, while chain-of-thought prompting leads to high accuracy.

How it works

The magic of Chain-of-Thought lies not in changing the model, but in changing how we ask questions. To understand it, we first need to understand the standard way of interacting with LLMs at the time of its invention: few-shot prompting.

The Foundation: Few-Shot Prompting

Before CoT, the state of the art for guiding an LLM was few-shot prompting. This involves giving the model a handful of examples (the "shots") of the task you want it to perform before you ask your actual question. The model uses these examples as a template for its own answer.

For a simple sentiment analysis task, a few-shot prompt might look like this:

Q: This movie was incredible. The acting was superb.
A: Positive

Q: I would not recommend this restaurant. The food was cold.
A: Negative

Q: I'm not sure how I feel about the book. It was okay.
A: Neutral

Q: The concert was a blast! I can't wait for the next one.
A:

The model sees the pattern and will almost certainly complete the last line with Positive. This is effective for simple pattern matching, but it falls apart when a problem requires multiple logical steps. For multi-step math problems, this same pattern-matching habit would often produce a plausible-sounding but incorrect final answer.

The Breakthrough: Wei et al. 2022

In January 2022, a team of Google researchers published the paper that changed everything: "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models". Their insight was to embed the reasoning process inside the examples.

Instead of just providing the question and the final answer in the "shots," they included a step-by-step explanation.

Here's a comparison using a typical word problem from the paper.

Standard Few-Shot Prompting (The Old Way):

Q: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?
A: 11

Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?
A: 4

Q: The cafeteria had 23 apples. If they used 20 to make lunch and bought 6 more, how many apples do they have?
A: 9

When given a new problem, the model tries to leap directly to the answer and often fails.

Few-Shot Prompting with Chain-of-Thought (The New Way):

Q: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?
A: Roger started with 5 balls. 2 cans of 3 tennis balls each is 6 tennis balls. 5 + 6 = 11. The answer is 11.

Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?
A: The juggler can juggle 16 balls. Half of the balls are golf balls, so there are 16 / 2 = 8 golf balls. Half of the golf balls are blue, so there are 8 / 2 = 4 blue golf balls. The answer is 4.

Q: The cafeteria had 23 apples. If they used 20 to make lunch and bought 6 more, how many apples do they have?
A:

By providing examples that "think out loud," the model learns to imitate that behavior. When it sees the new question, it doesn't just output a number. It first generates its own chain of thought, breaking the problem down into sequential, manageable parts. This allocates more computation to the problem, mimicking a more deliberate thought process and dramatically increasing the odds of arriving at the correct answer.

The results were stunning. On the GSM8K benchmark, a set of grade-school math problems, Google's 540-billion parameter PaLM model went from 17.9% accuracy with standard prompting to 58.1% accuracy using Chain-of-Thought [3]. That's a 224% relative improvement from a simple change in the prompt.

An "Emergent Ability" of Scale

Crucially, the researchers found that CoT is an emergent ability. This is a property that doesn't exist in smaller-scale systems but appears once a certain threshold of complexity or size is reached. Chain-of-Thought prompting provides no benefit to smaller models; in fact, it often makes them perform worse [2].

The paper found that CoT only began improving performance in models of around 100 billion parameters or more [2, 3]. Smaller models tended to generate reasoning chains that were "fluent but illogical," leading them further away from the correct answer. Only the largest models had enough latent reasoning capacity to benefit from being prompted to use it — suggesting that the ability was always there, waiting on a prompting method that could activate it.

Zero-Shot CoT: The "Let's think step by step" Hack

While few-shot CoT is powerful, crafting good, diverse examples takes manual effort. A follow-up paper in 2022 by Kojima et al. discovered something even more remarkable: you could trigger a chain of thought with a simple instruction, no examples needed [5].

This technique, called Zero-Shot CoT, involves appending a simple phrase to the end of a question. The most famous one is:

"Let's think step by step."

Let's revisit a problem where a model might fail:

Prompt: I went to the market and bought 10 apples. I gave 2 apples to the neighbor and 2 to the repairman. I then went and bought 5 more apples and ate 1. How many apples did I have left?

A model might incorrectly output 10.

Zero-Shot CoT Prompt: I went to the market and bought 10 apples. I gave 2 apples to the neighbor and 2 to the repairman. I then went and bought 5 more apples and ate 1. How many apples did I have left? Let's think step by step.

Model Output: `Okay, let's break this down:

  1. You start with 10 apples.

  2. You give away 2 apples to the neighbor, so you have 10 - 2 = 8 apples.

  3. You give away 2 more apples to the repairman, so you have 8 - 2 = 6 apples.

  4. You buy 5 more apples, so you have 6 + 5 = 11 apples.

  5. You eat 1 apple, so you have 11 - 1 = 10 apples. The answer is 10.`

At first glance this looks right, but step 5 appears to contain a reasoning error — a useful reminder that CoT chains, however fluent, aren't automatically sound. Here's a second attempt:

Corrected Model Output with CoT: `Okay, let's break this down:

  1. Start with 10 apples.

  2. Give away 2 to the neighbor: 10 - 2 = 8.

  3. Give away 2 to the repairman: 8 - 2 = 6.

  4. Buy 5 more: 6 + 5 = 11.

  5. Eat 1: 11 - 1 = 10. You have 10 apples left.`

On closer inspection, though, the model's logic was fine all along — the error was in this article's own working, not the model's. That the mistake was so easy to catch is itself the point: it highlights a key benefit of CoT, namely interpretability.

This zero-shot approach is incredibly useful when you don't have well-crafted examples or when prompt length is a concern.

Advanced Variants

The original idea has spawned several powerful variants:

Diagram shows how prompts guide AI language models through reasoning processes.
Diagram shows how prompts guide AI language models through reasoning processes.

What this means in practice

For developers building on LLMs, Chain-of-Thought was one of the first and most important tools in the prompt engineering toolkit.

The Upside:

The Trade-offs:

Where this is heading

The original Chain-of-Thought technique is now a basic, well-established part of working with LLMs, but the cutting edge of research has moved on. As of late 2025, the focus is shifting from how to reason to making sure the model has the right information to reason about in the first place.

The Problem with Implicit Information A key limitation of CoT is that it struggles when essential facts aren't spelled out [1]. A model can walk through its steps flawlessly, but if it misses an important, unstated connection buried in the original question, the whole chain of reasoning is built on a shaky foundation. CoT is good at the "reasoning" part of a problem but doesn't help much with the "understanding what's actually being asked" part.

Next-Generation: Iterative Summarization Recognizing this weakness, researchers are building new preparatory steps that run before the reasoning starts. One proposal from early 2025 is called Iterative Summarization Pre-Prompting (ISP²) [1]. Think of it as a step the model takes to organize its notes before it starts "showing its work."

The ISP² process, as described by its authors, works like this:

  1. Extract: The model first pulls out all the people, objects, and facts mentioned in the question, pairing each with its description — these become candidate "key information pairs."

  2. Rate: It then rates how reliable and important each pair seems, prioritizing ones that look significant but whose connections to the rest of the problem are still unclear.

  3. Summarize & Iterate: It takes the two weakest-ranked pairs and asks the model to merge them into a single summary, which forces any hidden relationship between them out into the open. This repeats, pair by pair, until everything has been folded into one consolidated summary.

  4. Reason: That final summary — now containing the previously implicit information stated explicitly — is fed back in with the original question, and a standard Chain-of-Thought prompt can then solve it.

The authors claim this method yields a 7.1% performance improvement over existing methods on tasks where information is implicit [1].

What to Watch Based on these trends, here is a reading of what's next:

Chain-of-Thought was a monumental discovery. It taught us that inside these giant neural networks, there are latent capabilities waiting to be unlocked. It moved the goalposts for what we thought was possible with prompting alone. Now, in 2025, it serves as the foundation upon which more complex, reliable, and powerful reasoning structures are being built.

References

1 reads

Related reading

Discussion (0)

Loading discussion…