O&O ConsultingBook a free call

Home / Insights / AI in Practice

Chain-of-Thought: Do Language Models Reason?

Why step-by-step output improves answers, and why the written steps are not always the real ones.

O&O Consulting · · 2 min read

Students solving a problem step by step

In 2022 researchers at Google showed that giving a large model worked examples with intermediate steps greatly improved its performance on grade-school mathematics and other reasoning tasks. The technique was named chain-of-thought prompting.

Why it might help

A transformer produces one token at a time. Writing out intermediate results gives it somewhere to hold partial work, and each later step can build on earlier text. The benefit appeared mainly in larger models and on problems that need several steps; for simple lookups it adds little.

Two ways of asking for an answerIllustrative diagram, not data
Direct answerQuestionOne-step guessHard to inspectStep by stepQuestionIntermediate stepsAnswer you can check
Direct answerQuestionOne-step guessHard to inspectStep by stepQuestionIntermediate stepsAnswer you can check

Diagram by O&O Consulting.

Developments

Variants sample several reasoning paths and take the most common answer, which tends to reduce random errors. Others have the model break a problem into subproblems, or write code that a computer then runs, so that arithmetic is done exactly. Some recent models are trained to spend extra computation reasoning before they reply.

Reasonable-looking is not reliable

A chain of steps can be fluent and wrong, with an error in the middle that carries through. More subtly, research on faithfulness has found that explanations can omit the factor that actually influenced a model, such as a hint planted in the question. The text is another output of the model, not a direct window into its computation.

How to use it well

  • Verify results with an independent method where possible: recompute a total, run a test, check a source.
  • Do not treat a detailed explanation as evidence of correctness.
  • Weigh the extra time and cost against the gain for your task.

Limitations and open questions

Whether this behaviour amounts to reasoning in the human sense is debated. Performance can fall sharply when a familiar problem is reworded or includes irrelevant details. Understanding when written steps reflect the underlying process is an important question for safety, since people may rely on them for oversight.

References

This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.