TL;DR
Standard on-policy distillation fails when small student models struggle to mimic the exact confidence levels of massive teachers. This paper proposes Order-Only On-Policy Distillation ($O^3PD$), a method that ignores probability values entirely and trains students solely to reproduce the teacher's ranking of top tokens. This approach is temperature-invariant, more stable to train, and consistently produces stronger reasoning models across competitive math benchmarks.
What Problem Does This Paper Address?
Knowledge Distillation (KD) is the standard way to shrink a massive "teacher" model into a nimble "student." Traditionally, this involves "distribution matching": the student tries to replicate the exact probability the teacher assigns to every possible next token.
However, the authors identify a fundamental flaw in this "cardinal" approach. A teacher's probability distribution entangles two distinct signals:
- Preference: Which tokens are better than others?
- Confidence: How sure is the teacher about that choice?
Smaller students often lack the capacity to reproduce the high-confidence "spiky" distributions of a 14B or 70B parameter teacher. When we force a 1.7B student to match those exact values, it wastes its limited capacity trying to mimic a confidence profile it can't reach, often leading to unstable training or performance degradation. Furthermore, these probabilities are highly sensitive to "temperature" settings, requiring tedious hyperparameter tuning.
Methods
The authors introduce Order-Only On-Policy Distillation ($O^3PD$). Instead of matching the teacher's "cardinal" probability values, the student only learns the "ordinal" ranking of the teacher's top-$K$ tokens.
Key Innovations:
- On-Policy Training: The student generates its own reasoning trajectories. The teacher then looks at the student's prefixes and tells the student how it should have ranked the next possible tokens at that specific state.
- Adjacent Logistic Ranking Loss: By default, $O^3PD$ uses a loss that only requires the student to rank token $i$ higher than token $i+1$ from the teacher's preferred list. This provides a minimal set of constraints that, through transitivity, enforces the full ranking.
- Temperature Invariance: Because changing the teacher's logit temperature doesn't change the order of tokens, $O^3PD$ is mathematically invariant to temperature. This eliminates a major hyperparameter from the distillation pipeline.
Datasets
The models were trained and evaluated on challenging mathematical reasoning tasks:
- Training: A mathematical reasoning subset of the OpenThoughts dataset.
- Evaluation: Three competition-level benchmarks: HMMT25, AIME24, and AIME25.
- Models: The authors used the Qwen3 family, testing six different teacher-student pairs (ranging from 1.7B to 14B parameters).
Key Insights and Ideas
- The "Aha" Moment: The ranking, not the probability values, carries the essential knowledge for reasoning. By relaxing the constraint to match exact probabilities, the student is "freed" to restructure its own internal distribution in a way that suits its smaller capacity while still following the teacher's logic.
- Reshaping the Student: Analysis showed that $O^3PD$ allows the student to move significantly further from its initial state than standard distillation. Probability matching acts like a tether, holding the student too close to its starting point because it's preoccupied with fitting the teacher's confidence profile.
- Stability over Time: Standard On-Policy Distillation (OPD) often peaks early and then crashes as it overfits to the teacher's distribution. $O^3PD$ shows a much steadier improvement curve, continuing to get better throughout the entire training run.
Key Results
$O^3PD$ consistently outperformed standard OPD across all tested configurations:
- Performance Gains: On average, $O^3PD$ improved scores by up to 2.9 points over the baseline. On the difficult AIME25 benchmark, gains reached as high as 5.6 points.
- Efficiency: An $O^3PD$ student trained by a smaller teacher (e.g., 4B) often outperformed an OPD student trained by a larger teacher (e.g., 14B).
- Baselines: $O^3PD$ also exceeded other popular methods like Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO) at every student scale.
Limitations and Future Work
- Domain Specificity: The study focused exclusively on mathematical reasoning. It remains to be seen if "order-only" signals are sufficient for more subjective tasks like creative writing or safety alignment.
- Top-K Focus: The method only looks at the top-$K$ (usually 8) tokens. While these are the most important for decoding, the "long tail" of the distribution is ignored, which might contain subtle relational information.
- Future Directions: The authors suggest exploring different ranking objectives (like ListMLE) and applying this principle to other modalities or even larger-scale distillation tasks.
Summary updated