Chain-of-Thought (CoT)
Chain-of-Thought (CoT) is a prompting method that guides LLMs to reason step-by-step, boosting accuracy on complex problems.
What is Chain-of-Thought (CoT)?
Chain-of-Thought (CoT) prompting, introduced by Google researchers in 2022, transforms how LLMs tackle reasoning tasks by mimicking human-like sequential thinking. Instead of direct answers, models generate explicit intermediate steps, improving transparency, accuracy, and interpretability on benchmarks like GSM8K math reasoning where CoT enabled PaLM 540B to match fine-tuned models.
How Does CoT Work?
CoT operates in few-shot mode with exemplars demonstrating step-by-step reasoning or zero-shot via phrases like "Let's think step-by-step." This generates a 'scratchpad' of tokens that extend computation, balancing pretrained priors and in-context learning. Variants include self-consistency (sampling multiple CoTs and selecting the consensus) and auto-CoT (LLM-generated diverse demonstrations).
Current Trends and Common Pitfalls
- Trends: Long-CoT exemplars induce 'slow thinking' for gains up to task optima; mechanistic analyses reveal mid-model phase transitions and parallel reasoning circuits; extensions like Tree-of-Thoughts and diffusion-based CoT emerge.
- Pitfalls: Pathological CoT includes post-hoc rationalization (non-load-bearing reasoning), internalized reasoning (silent computation), and substitutability where CoT can be paraphrased without affecting answers; over-lengthening reduces performance.
Recent diagnostics (2025) quantify necessity via metrics like NOTHINK interventions, exposing when CoT is illusory versus genuinely load-bearing.