Skip to main content
Training & Optimization

Chain-of-Thought (CoT)

Chain-of-Thought (CoT) is a prompting and training technique in which a language model is encouraged to reason step-by-step before producing its final answer — improving accuracy on math, logic, and multi-hop reasoning in large models (in Wei et al., 2022, GSM8K math accuracy more than doubled for the largest GPT and PaLM models).

AIDOLS Research Team · Editorial standards

Full definition

CoT was demonstrated by Wei et al. (2022) with few-shot examples of stepwise reasoning; Kojima et al. (2022) then showed that simply adding "Let's think step by step" elicits it with no examples (zero-shot CoT). The 2024–2025 reasoning-model wave (OpenAI o1/o3, DeepSeek R1, Anthropic's extended thinking) extends CoT into post-training: models are trained to spend variable amounts of inference compute on reasoning before answering.

Why it matters

CoT and reasoning models change AI unit economics: they spend more inference compute, and so more money, per answer in exchange for higher accuracy on hard tasks. For high-stakes workflows (financial analysis, medical reasoning, code generation, legal research) the trade-off is usually worth it.

Example

On the GSM8K math benchmark, Google's PaLM 540B rose from 17.9% accuracy with standard prompting to 56.9% with chain-of-thought prompting (Wei et al., 2022), without any change to the model.

Next steps

More training & optimization terms

Source & further reading

Primary source: Wei et al. — "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models" (2022).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/en/glossary/chain-of-thought/.