Category · Models and how they work
What is chain of thought?
Chain of thought is the intermediate, step-by-step reasoning a model writes before concluding. It was long requested in the prompt. Today, reasoning models produce it on their own, often without showing it.
By Laurent Poupet, Claude trainer and artificial intelligence architect · Updated
How it works
- The technique was described in 2022 by a Google team, with Jason Wei. Showing the model worked examples, step by step, clearly improved its results in arithmetic and reasoning.
- The effect only appeared above a certain model size. Small models wrote fluent but illogical reasoning, and answered worse than with a simple instruction.
- To control an agent, judge its actions and results, recorded in the logs, rather than its explanation. The displayed reasoning remains useful for debugging.
The trap to avoid
The trap is taking the displayed reasoning for the real reasoning. An Anthropic study showed that models often left out a hint that had actually guided their answer.
Related terms
- Reasoning modelModels and how they work
- AnthropicModels and how they work
- ClaudeModels and how they work
Where this is taught
This idea comes up throughout the lessons; we work on it with your own examples during a lesson.
Lesson content (step-by-step instructions, exercises with solutions, quizzes) is for students only, with an access code received after the first lesson.