Distilling the Shape of Uncertainty: What On-Policy Distillation Learns and How to Predict It
Organizations: Simon Fraser University · Borealis AI
Abstract
On-policy distillation (OPD) is increasingly adopted in the post-training of large language models. However, a stronger teacher may fail to improve the student. Prior work attributes this to a lack of new knowledge, but what that knowledge is remains unclear. We show that OPD learns not only how to branch, i.e., which candidate tokens to consider, but also where to branch, i.e., where to keep reasoning paths open. The existing token-overlap metric captures only the former. We introduce the entropy shape, the sequence of next-token entropies, to characterize the latter, and propose the Entropy Shape Correlation (ESC) to measure student-teacher agreement in entropy shape. Tracking ESC throughout training and intervening on a teacher's entropy while preserving its token preferences, we empirically show that where to branch causally drives OPD gains, independently of how to branch. Finally, we formulate OPD outcome prediction as a teacher selection task and establish an evaluation protocol for it, under which pre-OPD ESC selects the best teacher for both students and outperforms existing predictors. Code is available at https://github.com/maybenotime/opd-esc.
Figures & tables
| Teacher | Training set | AIME24 | AIME25 | AMC | BeyondAIME | HMMT25 | HMMT26 | Average |
| Student: DeepSeek-R1-Distill-Qwen-1.5B (average before OPD: 25.5) | ||||||||
| JustRL-1.5B | both-wrong | 39.1 | 23.3 | 74.7 | 13.2 | 20.8 | 18.2 | 31.6 ( ) |
| JustRL-1.5B | both-correct | 33.3 | 28.3 | 70.8 | 12.8 | 15.0 | 18.9 | 29.9 ( ) |
| R1-Distill-7B | both-wrong | 27.5 | 25.0 | 60.2 | 8.8 | 15.8 | 15.9 | 25.5 ( ) |
| R1-Distill-7B | both-correct | 25.8 | 20.0 | 62.0 | 8.8 | 17.5 | 15.2 | 24.9 ( ) |
| Student: Qwen3-1.7B (non-thinking) (average before OPD: 13.0) | ||||||||
| All ( ) | per student | Regret per student | ||||
|---|---|---|---|---|---|---|
| Predictor | 95% CI | R1-Distill-1.5B | Qwen3-1.7B | R1-Distill-1.5B | Qwen3-1.7B | |
| ESC (ours) | ||||||
| Overlap@16 | ||||||
| Teacher performance | ||||||
| Teacher size | ||||||
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Value |
| Training temperature | 1.0 |
| Top- | 1.0 |
| Global batch size | 64 |
| Mini batch size | 64 |
| Rollout number | 1 |
| Teacher LogProb top- | 64 |
| Teacher | Hugging Face id | |
| Student: DeepSeek-R1-Distill-Qwen-1.5B | ||
| JustRL-1.5B | hbx/JustRL-DeepSeek-1.5B | |
| Nemotron-1.5B | nvidia/Nemotron-Research-Reasoning-Qwen-1.5B | |
| R1-Distill-7B | deepseek-ai/DeepSeek-R1-Distill-Qwen-7B | |
| Skywork-OR1-7B | Skywork/Skywork-OR1-Math-7B | |
| Light-R1-7B | qihoo360/Light-R1-7B-DS | |
Language Model Distillation
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
See all 522 papers