TL;DR
Long Chain-of-Thought (CoT) distillation works not by injecting new facts, but by teaching models the behavior of structured reasoning. Surprisingly, models can learn to reason almost as effectively from incorrect reasoning traces or a very narrow set of prompts, provided the underlying logical structure is sound.
What Problem Does This Paper Address?
The recent surge in "reasoning models" (like OpenAI’s o1 or DeepSeek-R1) relies heavily on Long Chain-of-Thought (CoT) distillation—a process where a smaller model is fine-tuned on the lengthy reasoning traces of a larger, more capable "teacher."
Until now, the community has operated under two major assumptions:
- Factual Correctness: You must filter out incorrect reasoning traces (rejection sampling) to avoid teaching the model "wrong" facts.
- Prompt Diversity: You need a massive, diverse set of problems to ensure the model generalizes.
These assumptions make data curation incredibly expensive and difficult. This paper asks: Are these assumptions actually true? By deconstructing the distillation process, the authors aim to uncover the "behavioral essence" that truly drives reasoning improvements.
Methods
The authors conducted a series of controlled experiments across several model families (Qwen3, Qwen2.5, and Llama 3.1) and two primary training objectives:
- Standard Cross-Entropy ($-\log p$): The traditional loss that heavily penalizes low-probability "hard" tokens.
- Probability-based Loss ($-p$): A newer objective that directly maximizes token probabilities, often used to prevent overfitting in reasoning tasks.
They systematically ablated three variables: correctness (training on right vs. wrong answers), diversity (many prompts vs. few prompts), and novelty (training on problems the model already knows vs. new ones).
Datasets
- Training: Primarily the DAPO-Math-17K prompt set, with reasoning traces generated by Qwen3-4B. They also used a science QA subset of GURU for cross-domain testing.
- Evaluation: A rigorous suite including AIME 2024, AMC23, Minerva Math, Olympiad Bench, and MATH for mathematics; GPQA-Diamond for science; MMLU-Pro for general knowledge; and LiveCodeBench-v2 for coding.
- Complexity Tiers: To study optimization, they categorized data into Simple (from NuminaMath-CoT), Medium, and Complex (lengthy traces with self-correction).
Key Insights and Ideas
- The Behavioral Hypothesis: The authors argue that CoT distillation is about behavioral alignment, not factual memorization. Models learn the meta-cognitive process of problem-solving—how to decompose a problem, chain logic, and sustain a derivation—rather than just the specific numbers or facts involved.
- Flawed Facts, Flawless Logic: A model can learn high-quality reasoning behaviors even from a trace that ends in a wrong answer. For example, a model might correctly identify a "telescoping product" pattern in math but fail due to a simple arithmetic slip at the end. The structure of that thought process is still a valuable teaching signal.
- Diversity is Not the Bottleneck: Under a fixed budget of reasoning traces, training on just 500 unique prompts (sampled many times) yielded performance virtually identical to training on 16,000 unique prompts. This suggests that "exposure" to the reasoning format is more important than "coverage" of every possible problem type.
- Complexity-Aware Optimization: There is no "one size fits all" loss function. The $-p$ loss acts as a great regularizer for simple reasoning, but it causes a "coherence collapse" on complex tasks. The standard $-\log p$ loss is essential for complex CoTs because it acts as a "dynamic amplifier," forcing the model to master the difficult logical transitions (hard tokens) that hold a long chain together.
Key Results
- Correctness Gap: Models trained exclusively on incorrect trajectories achieved 97.7% of the absolute accuracy of those trained on correct samples. They retained 94.7% of the relative performance gain over the base model.
- Solvable Gains: Fine-tuning a model only on problems it could already solve still led to significant improvements on held-out benchmarks, proving that the model is learning to organize existing knowledge into better reasoning patterns rather than just learning new facts.
- Representation Alignment: Using Linear CKA (Centered Kernel Alignment), the authors found that models trained on positive vs. negative traces developed nearly identical internal representations (0.998 similarity), further supporting the idea that they are learning the same underlying behavior.
Limitations and Future Work
- Model Scale: The study focused on small-to-medium models (up to 14B parameters). It remains to be seen if these behavioral dynamics scale identically to frontier models like GPT-4 or Llama-3-400B.
- "Near-Correct" vs. "Gibberish": The "incorrect" samples used were generated by a competent teacher and were often "near-correct" (e.g., arithmetic slips). The authors note that their findings might not apply to traces that are completely nonsensical or logically collapsed.
- Future Directions: The authors suggest developing a more granular taxonomy of error types (e.g., distinguishing between a logical leap and a calculation error) to see which specific "wrong" behaviors are most or least helpful for distillation.
Summary updated