NEW
Also known as: CoT
Prompting technique that elicits step-by-step reasoning from large language models to improve complex problem solving.
DESCRIPTION
Chain-of-thought prompting guides language models to produce intermediate reasoning steps before the final answer, improving performance on arithmetic, logic, and multi-hop tasks. It can be used with few-shot exemplars or zero-shot cues like “Let’s think step by step.” Self-consistency samples multiple reasoning paths and selects the most common answer for robustness. CoT enhances transparency but may increase token usage and latency. Many production systems hide the reasoning internally, using deliberate reasoning or tool-augmented steps to avoid exposing sensitive chains to end users.
ALTERNATIVE DEFINITIONS
Wei et al., 2022
We study “chain-of-thought”—a series of intermediate natural language reasoning steps that lead to the final answer—and show that chain-of-thought prompting improves the ability of large language models to perform complex reasoning.
Introduces CoT as intermediate reasoning steps and empirically shows performance gains.
Google AI Blog
Chain-of-thought prompting enables language models to generate a series of intermediate reasoning steps that lead to the final answer.
Highlights the elicitation of reasoning in LLMs and improved task performance.
RELATED TERMS
Prompt Engineering Reasoning Few-Shot Learning Self-Consistency Tree-of-Thought Program-of-Thought Deliberate Reasoning Scratchpad Verifier Models Instruction Tuning
COMPETING TERMS
Direct Answer Prompting
RELATIONS
- Broader: Prompting
- Narrower: Chain-of-Thought
KNOWLEDGE AREAS
TARGET AUDIENCE
AI Engineer Data Scientist MLOps Engineer AI Product Manager
EXTERNAL SOURCES
- Wikipedia - Prompt engineering
- Wei et al. - Seminal CoT prompting paper
- Kojima et al. - Zero-shot reasoning via CoT
- Google AI Blog - Accessible CoT overview
TOP QUESTIONS
What is Chain-of-Thought Prompting in LLMs?
Chain-of-thought prompting asks models to produce intermediate reasoning steps before the answer. It improves accuracy on tasks requiring multi-step logic.
Category: Overview
Why is Chain-of-Thought Prompting effective?
It structures the model’s generation into explicit steps, reducing reasoning errors. It also provides a transparent trail that can be checked or verified.
Category: Relevancy
What are common mistakes with Chain-of-Thought Prompting?
Overlong prompts and irrelevant examples can mislead the model. Exposing raw reasoning to end users may leak sensitive instructions or context.
Category: Mistakes
What risks are associated with Chain-of-Thought Prompting?
Token costs and latency rise due to longer outputs. Revealed reasoning can expose proprietary approaches or user data without careful redaction.
Category: Risk
What is a competing approach to Chain-of-Thought Prompting?
Direct answer prompting skips intermediate steps. It’s faster but often less accurate on complex reasoning tasks than chain-of-thought.
Category: Alternatives
How is Chain-of-Thought Prompting managed in production?
Teams keep reasoning hidden, use self-consistency to sample multiple chains, and integrate tool calls for reliable intermediate computations.
Category: Management
What is currently hot around Chain-of-Thought Prompting?
Self-consistency, tree-of-thought exploration, and program-of-thought integrations with external tools are active research and engineering topics.
Category: Topic
Where should beginners learn Chain-of-Thought Prompting?
Start with the Google AI blog and the Wei et al. paper, then experiment with few-shot examples and zero-shot “step-by-step” cues.
Category: Learning
What’s a big misunderstanding about Chain-of-Thought Prompting?
People assume longer chains are always better; concise, relevant steps often outperform verbose, meandering reasoning.
Category: Misunderstanding