Teacher Should Think Ahead: Adaptive Continuations for Reliable On-Policy Distillation
Organizations: School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences · Institute of Automation, Chinese Academy of Science · Ant Group
Abstract
On-policy distillation (OPD) is a promising approach for transferring knowledge between language models, where a student receives dense token-level supervision along its own generated trajectories. However, teacher supervision can be unreliable when conditioned on incomplete or low-quality student prefixes. We identify Teacher Uncertainty Contraction (TUC), a systematic phenomenon whereby the teacher's predictive uncertainty decreases as it continues from a student-generated prefix. We theoretically characterize this trade-off through a variance-bias decomposition of teacher-branch gradients, showing that uncertainty contraction reduces variance while teacher-student path divergence increases bias, thereby favoring a finite continuation. Guided by this insight, we propose Adaptive-Continuations On-Policy Distillation (AC-OPD), which augments informative states along student rollouts with teacher continuations and adaptively selects their effective supervision horizons. Experiments on mathematical reasoning and code generation across model scales demonstrate that AC-OPD consistently improves over standard OPD. Controlled-continuations and matched-budget analyses further validate the adaptive-continuations design, highlighting adaptive teacher continuations as an effective principle for reliable on-policy distillation.The code will be made publicly available upon publication.
Figures & tables
| Mathematical Reasoning: pass@16 | Code Generation: pass@1 | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | AMC23 | AIME24 | AIME25 | Minerva | Math Avg. | HE+ | MBPP+ | Code Avg. |
| Setting 1: Qwen3-4B Qwen3-1.7B-Base | ||||||||
| SFT | 61.5 0.20 | 23.0 0.34 | 16.3 0.46 | 44.5 0.30 | 36.33 0.27 | 58.5 0.16 | 57.5 0.18 | 58.00 0.22 |
| OPD | 61.0 0.39 | 13.3 0.18 | 15.6 0.33 | 44.7 0.29 | 33.65 0.21 | 59.8 0.25 | 55.6 0.31 | 57.70 0.27 |
| ExOPD | 57.7 0.29 | 21.1 0.44 | 17.4 0.40 | 44.7 0.14 | 35.23 0.19 | 60.4 0.22 | 56.9 0.12 | 58.65 0.18 |
| EOPD | 57.8 0.21 | 20.0 0.41 | 16.7 0.32 | 45.2 0.12 | 34.93 0.21 | 60.2 0.25 | 55.8 0.15 | 58.00 0.23 |
| Anchor policy | HE+ | MBPP+ | Code Avg. |
|---|---|---|---|
| Even | 61.6 | 56.3 | 58.97 |
| Random | 61.6 | 55.6 | 58.57 |
| Squared log-ratio | 64.8 | 57.6 | 61.20 |
| Policy | Mean | HE+ | MBPP+ | Code Avg. |
|---|---|---|---|---|
| Fixed-6 | 6.00 | 59.8 | 57.1 | 58.45 |
| Fixed-8 | 8.00 | 64.4 | 57.3 | 60.85 |
| Shuffled Adaptive | 5.74 | 63.4 | 56.8 | 60.10 |
| Adaptive | 5.74 | 64.8 | 57.6 | 61.20 |
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 512 papers