Legacy Concept Lab
Chain-of-Thought Prompting
Dramatically improves reasoning performance—math, logic, coding
#75CoTScaling & Alignment
key equation
P(answer | question, reasoning)Phase 11: Frontier research & scalingConcept 75 of 100
Why It Matters for Modern Models
- Dramatically improves reasoning performance—math, logic, coding
- Emergent capability: only works well in large models (>100B parameters)
- Foundation for o1-style reasoning: explicit intermediate computation steps
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- CoT gives the model "scratchpad" space for intermediate computation
- The reasoning doesn't need to be human-readable—it just needs to help the model
- Self-consistency leverages diversity: different reasoning paths vote on the answer
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
Key Equation
Chain-of-Thought: Prompt model to show reasoning steps:
Self-Consistency: Sample multiple reasoning paths, majority vote:
where with reasoning path .
Decomposition: Break complex problem into sub-problems: