Does On-Policy Distillation Need to Complete Every Rollout?
Zhengxin Zhang, Maosen Tang, Ning Wang, Changhao Li, Jingren Zhou, Bo Dai, Sainyam Galhotra, Alex Townsend,
Key points
From the paper's conclusion- We introduce Stochastic Truncated On-Policy Distillation (STOPD), which accelerates OPD by randomly truncating student rollouts and correcting the resulting sampling bias with blockwise inverse-probability weighting (IPW).
Abstract
On-policy distillation (OPD) effectively transfers capabilities from a teacher to a student through feedback on student-generated rollouts. However, generating complete student rollouts and computing teacher feedback for every token make OPD computationally expensive. We introduce Stochastic Truncated On-Policy Distillation (STOPD), which accelerates OPD by randomly truncating student rollouts and correcting the resulting sampling bias with blockwise inverse-probability weighting (IPW). At each training step, we sample a stopping position for each rollout before generation and let the student generate until that position or natural termination. We obtain teacher feedback on every generated token and use blockwise IPW to compensate for the lower probability of retaining later tokens while controlling the weights. We prove that this weighting preserves Vanilla OPD's gradient sum in expectation and derive one-step update-error bounds for SGD, Adam, and Muon. We evaluate STOPD across multiple teacher-student model pairs, task domains, and optimizers. STOPD reduces generated tokens by 25-48% while maintaining accuracy comparable to Vanilla OPD, achieving 1.3-2.2x training speedups.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Do We Need On-Policy Distillation? Distilling on Offline Student Rollouts Is Often BetterarXiv · 2026
- Demystifying On-Policy Distillation: Where Does the Teacher's Advantage Live?arXiv · 2026
- Proposing Better Rollouts for On-Policy DistillationarXiv · 2026
- Capable Teacher, Myopic Scorer: Reward-Free Teacher Repair for Agentic On-Policy DistillationarXiv · 2026
- Gains and Collapse in On-Policy Distillation:A Reinforcement Learning PerspectivearXiv · 2026
- Beyond the Teacher: Understanding and Preserving Distillation Overshoot in Agentic On-Policy DistillationarXiv · 2026