Chain-of-Thought (CoT)

Also known as: CoT, Chain of Thought

Category: Generative AI / LLM

A prompting technique that encourages the language model to break down complex reasoning into intermediate steps before providing a final answer.

Full Explanation

Chain-of-thought prompting, introduced by Google researchers in 2022, dramatically improves language model performance on reasoning tasks by encouraging the model to show its work. Instead of jumping directly to an answer, the model generates intermediate reasoning steps, similar to how a human might solve a problem. CoT can be triggered by adding "Let us think step by step" to a prompt (zero-shot CoT) or by providing examples with explicit reasoning steps (few-shot CoT). This technique is particularly effective for arithmetic, commonsense reasoning, and multi-step logic problems. CoT has become a standard technique in prompt engineering and has inspired many extensions including tree of thoughts, self-consistency, and various structured reasoning frameworks. The success of CoT suggests that language models possess reasoning capabilities that are unlocked by appropriate prompting rather than being absent.

Related Terms

More in Generative AI / LLM

Explore More