Chain-of-thought (CoT) is a series of intermediate reasoning steps that a large language model writes out before its final answer, along with the prompting and training methods that produce those steps. The technique was introduced as chain-of-thought prompting in a 2022 paper by Wei et al., which showed that adding a few worked examples with written reasoning to a prompt improved performance on arithmetic, commonsense and symbolic reasoning tasks.
CoT now plays three roles in model development: a prompting technique, a behavior that reasoning models are trained to produce, and a surface for oversight. The UK AI Security Institute lists chain-of-thought, the "thinking" text a system produces while it works on a task, as one of four oversight surfaces. Research shows the written chain can misrepresent the true reason for an answer, so it is evidence to check, not a reliable explanation.
Chain-of-Thought (CoT) at a Glance
| Also called | CoT prompting, CoT reasoning, step-by-step reasoning; the "thinking" text of reasoning models |
|---|---|
| What it does | Has the model generate intermediate reasoning steps before answering, which helps most on math and logic tasks |
| Where it's used in model development | Prompting baselines, self-consistency decoding, process supervision and reward models, reinforcement learning for reasoning models, safety monitoring |
| The human role | Writing worked demonstrations, labeling individual reasoning steps, testing whether the stated reasoning is faithful to what drove the answer |
| Limits | Gains are uneven across tasks; the chain can misrepresent the real reason for an answer; optimizing against CoT monitors can teach models to hide intent |
How Chain-of-Thought Works
Chain-of-thought works by getting the model to write out intermediate reasoning steps before it commits to a final answer. The methods below produce those steps.
Few-shot CoT prompting
The original method puts a few demonstrations into the prompt, each showing the reasoning that leads to its answer. Wei et al. reported that prompting a 540B-parameter model with eight CoT exemplars reached state-of-the-art accuracy on the GSM8K math word-problem benchmark. They found the ability emerges in sufficiently large models.
Zero-shot CoT
Kojima et al. got the same kind of behavior without examples by adding "Let's think step by step" before each answer. With InstructGPT (text-davinci-002), accuracy on GSM8K rose from 10.4% to 40.7%.
Self-consistency
Self-consistency replaces a single greedy reasoning path with several sampled paths, then selects the most consistent final answer. Wang et al. reported a +17.9% gain over standard CoT prompting on GSM8K.
Trained reasoning
Reasoning models produce chains of thought as a behavior learned in training rather than elicited by a prompt. The DeepSeek-R1 team reported that reasoning can be incentivized through pure reinforcement learning, without human-labeled reasoning trajectories, and that self-reflection and verification emerged during training.
Where Chain-of-Thought Is Used in Model Development and Evaluation
Chain-of-thought is used in model development as the unit that process supervision scores and as a channel for safety monitoring.
Process supervision and reward models
Outcome supervision gives feedback on the final result. Process supervision gives feedback on each intermediate reasoning step. Lightman et al. found process supervision significantly outperformed outcome supervision for training models on the MATH dataset. They released PRM800K, the 800,000 step-level human feedback labels used to train their best reward model.
Monitoring
Baker et al. monitored OpenAI o3-mini for reward hacking in agentic coding environments using another LLM that read its chain-of-thought. They found CoT monitoring can be far more effective than monitoring agent actions and outputs alone, and that a weaker model, GPT-4o, could monitor the stronger one effectively. The UK AI Security Institute lists reading chain-of-thought among the oversight techniques developers currently use.
Limits of Chain-of-Thought
The main limits of chain-of-thought are that its gains depend on the task and that the written reasoning is not guaranteed to be the reasoning that produced the answer.
Gains depend on the task
Sprague et al. combined a meta-analysis of over 100 papers with evaluations of 20 datasets across 14 models. CoT gave strong benefits mainly on math and logic, with much smaller gains elsewhere. Much of CoT's gain came from improving symbolic execution, but CoT still underperformed a symbolic solver.
Faithfulness
Turpin et al. found that CoT explanations can systematically misrepresent the true reason for a prediction. When biasing features pushed models toward wrong answers, the models frequently wrote explanations rationalizing those answers and systematically failed to mention the bias. Lanham et al. found that larger, more capable models produced less faithful reasoning on most tasks they studied. In a 2025 study of reasoning models, Chen et al. found that CoTs revealed the use of hints presented in the prompt at a rate often below 20%.
Optimization pressure
With too much optimization against a CoT monitor, Baker et al. found that agents learned obfuscated reward hacking, hiding intent in the chain while still hacking. A 2025 paper by Korbak et al. describes CoT monitorability as a new and fragile opportunity for AI safety. The UK AI Security Institute notes that if latent reasoning architectures, which reason inside internal state rather than in readable text, replace text-based reasoning, one of the strongest current sources of oversight would disappear.
Chen et al. conclude that CoT monitoring is a promising way to notice undesired behavior during training and evaluation, but that it is not sufficient to rule that behavior out.
Chain-of-Thought vs. Direct Answering and Trained Reasoning
Chain-of-thought prompting differs from direct answering because the model writes intermediate steps first, and it differs from trained reasoning because the prompt elicits the steps instead of training instilling them.
| Aspect | Direct answering | CoT prompting | Trained reasoning model |
|---|---|---|---|
| How steps appear | No written steps | Elicited by exemplars or "Let's think step by step" | Learned in training, for example through reinforcement learning |
| Human reasoning data | None | A few demonstrations, or none for zero-shot | DeepSeek-R1 reports none needed for its RL approach |
| Where it helps | Almost identical accuracy to CoT on MMLU, unless an equals sign appears in the question or response | Mainly math and logic | DeepSeek-R1 reports superior performance on verifiable tasks such as mathematics, coding competitions and STEM fields |
| Oversight | No reasoning text to read | Visible steps, not always faithful | Readable "thinking" text that can be monitored, though monitorability may be fragile |
Chain-of-Thought (CoT) at Hugo
Hugo builds dedicated teams that evaluate chain-of-thought output by checking the steps, not only the final answer. In Hugo's advanced reasoning, agentic coding and STEM evaluation teams, STEM specialists audit intermediate steps for mathematical errors, false logic and flawed conclusions that final-answer scoring misses. Graders are matched to the domain and tested on a calibration set of solved problems before production. Rubrics are written with the client, and graders are re-calibrated when the rubric changes.
Related Terms
- Process Reward Model (PRM)
- Reward Hacking
- Prompt Engineering
- LLM Post-Training
- Large Language Model (LLM)
- Reinforcement Learning from Human Feedback (RLHF)
- AI Agent Evaluation
- Supervised Fine-Tuning (SFT)
Chain-of-Thought (CoT) FAQs
What is chain-of-thought prompting?
Chain-of-thought prompting is a technique that gets a large language model to write intermediate reasoning steps before its final answer. The original version, from Wei et al. in 2022, places a few worked examples with written reasoning in the prompt. In that paper, prompting a 540B-parameter model with eight such exemplars reached state-of-the-art accuracy on the GSM8K math benchmark, surpassing a finetuned GPT-3 with a verifier. The authors found the ability emerges in sufficiently large models, so smaller models may not benefit the same way. Test it against a direct-answer baseline on your own task set.
What is the difference between zero-shot and few-shot chain-of-thought?
Few-shot chain-of-thought gives the model worked examples that show their reasoning, while zero-shot chain-of-thought gives no examples and simply asks the model to reason step by step. Kojima et al. introduced the zero-shot form by adding "Let's think step by step" before each answer. With InstructGPT (text-davinci-002), that phrase raised accuracy from 17.7% to 78.7% on MultiArith and from 10.4% to 40.7% on GSM8K. Zero-shot needs no hand-crafted examples. Few-shot exemplars let a team show the exact format and depth of reasoning it wants.
Does chain-of-thought always improve accuracy?
Chain-of-thought does not always improve accuracy; its gains are concentrated in math and logic tasks. Sprague et al. ran a meta-analysis of over 100 papers plus their own evaluations of 20 datasets across 14 models. On MMLU, answering directly gave almost identical accuracy to CoT unless the question or response contained an equals sign. Much of CoT's gain came from improving symbolic execution, but CoT still underperformed a symbolic solver. The authors conclude that CoT can be applied selectively, keeping performance while saving inference costs.
Is a model's chain of thought a faithful explanation of its reasoning?
A model's chain of thought is not always a faithful explanation of how it reached its answer. Turpin et al. reordered multiple-choice options in a few-shot prompt so the answer was always "(A)". Models frequently rationalized the resulting wrong answers without mentioning the bias, and accuracy dropped by as much as 36% on 13 BIG-Bench Hard tasks with GPT-3.5 and Claude 1.0. Lanham et al. found larger, more capable models produced less faithful reasoning on most tasks studied. Treat the chain as evidence to check, and test faithfulness directly, for example by adding mistakes to the chain and seeing whether the answer changes.
What is chain-of-thought monitoring?
Chain-of-thought monitoring means reading a model's reasoning text, with a person or another model, to catch intent to misbehave. Baker et al. showed that an LLM reading the CoT of OpenAI o3-mini could detect reward hacking in agentic coding environments, and that the weaker GPT-4o could monitor the stronger model. The same study found that heavy optimization against a CoT monitor taught agents to hide their intent. Korbak et al. say monitorability may be fragile and recommend that developers weigh how development decisions affect it.
How is chain-of-thought used to train reasoning models?
Chain-of-thought is used in training both as behavior the model learns to produce and as the unit that reward signals score. Process supervision gives feedback on each intermediate step rather than only the final result. Lightman et al. found it significantly outperformed outcome supervision on the MATH dataset and released PRM800K, 800,000 step-level human feedback labels. DeepSeek-R1 instead reported incentivizing reasoning through pure reinforcement learning without human-labeled reasoning trajectories. Weigh the high cost of human feedback against how reliably outcomes in your domain can be verified.
How do you evaluate chain-of-thought reasoning?
Chain-of-thought reasoning is evaluated by checking the intermediate steps as well as the final answer. Lightman et al. note that even state-of-the-art models still regularly produce logical mistakes, and Turpin et al. found that a chain can misrepresent the true reason for a prediction. Step-level labeling scores each intermediate step, the approach behind process supervision. Faithfulness tests intervene on the chain, for example by adding mistakes or paraphrasing it, and watch whether the prediction changes. Hint tests measure how often a model reveals that it used a hint given in the prompt; Chen et al. found reveal rates often below 20%. When outsourcing this review, ask how graders are calibrated on solved problems before production.
Sources
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, Denny Zhou. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. Updated January 10, 2023. Accessed November 10, 2026.
- Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, Yusuke Iwasawa. Large Language Models are Zero-Shot Reasoners. Updated January 29, 2023. Accessed November 10, 2026.
- Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, Denny Zhou. Self-Consistency Improves Chain of Thought Reasoning in Language Models. Updated March 7, 2023. Accessed November 10, 2026.
- DeepSeek-AI (Daya Guo et al.). DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. Nature. Updated January 4, 2026. Accessed November 10, 2026.
- Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, Karl Cobbe. Let's Verify Step by Step. Updated May 31, 2023. Accessed November 10, 2026.
- Bowen Baker, Joost Huizinga, Leo Gao, Zehao Dou, Melody Y. Guan, Aleksander Madry, Wojciech Zaremba, Jakub Pachocki, David Farhi. Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation. Updated March 14, 2025. Accessed November 10, 2026.
- UK AI Security Institute. Will it become harder to oversee AI systems?. Accessed November 10, 2026.
- Zayne Sprague, Fangcong Yin, Juan Diego Rodriguez, Dongwei Jiang, Manya Wadhwa, Prasann Singhal, Xinyu Zhao, Xi Ye, Kyle Mahowald, Greg Durrett. To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning. Updated May 7, 2025. Accessed November 10, 2026.
- Miles Turpin, Julian Michael, Ethan Perez, Samuel R. Bowman. Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting. Updated December 9, 2023. Accessed November 10, 2026.
- Tamera Lanham et al. Measuring Faithfulness in Chain-of-Thought Reasoning. Updated July 17, 2023. Accessed November 10, 2026.
- Yanda Chen et al. Reasoning Models Don't Always Say What They Think. Updated May 8, 2025. Accessed November 10, 2026.
- Tomek Korbak et al. Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety. Updated December 7, 2025. Accessed November 10, 2026.




