When to Follow the Teacher: Advantage-Based On-Policy Distillation
Mahdi Sabbaghi, George Pappas, Hamed Hassani, Adel Javanmard
Key points
From the paper's conclusion- We introduce Advantage-Based On-Policy Distillation (AOPD), which weights teacher actions by their counterfactual advantage under the student.
Abstract
Online Policy Distillation (OPD) often outperforms offline methods such as Supervised Fine-Tuning (SFT) by training on trajectories sampled directly from the student. However, standard OPD trains the student to follow the teacher at every state of the trajectory, assuming that teacher guidance is always beneficial. We instead distinguish between what the teacher prefers and what actually helps the current student succeed. We introduce Advantage-Based On-Policy Distillation (AOPD), which weights teacher actions by their counterfactual advantage under the student. Teacher actions that improve the student's expected outcome are reinforced, while those that do not are downweighted. Directly computing these advantages requires trying alternative teacher actions at each step and running new rollouts from each. Instead, we show that the AOPD objective can be estimated using only standard student rollouts and their terminal rewards. Our estimator uses teacher importance weights on the student-sampled actions to provide unbiased advantage-weighted supervision, without any additional rollouts or reward evaluations. This allows AOPD to focus teacher supervision on actions that help the current student while preserving the rollout efficiency of standard OPD. Experiments on math, coding, and Medqa show gains over distillation and RL baselines in both external-teacher and self-distillation settings.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Demystifying On-Policy Distillation: Where Does the Teacher's Advantage Live?arXiv · 2026
- When Do We Need On-Policy Distillation? Distilling on Offline Student Rollouts Is Often BetterarXiv · 2026
- Does On-Policy Distillation Really Distill? From Noisy Teacher to Self-ImprovementarXiv · 2026
- On-Policy Distillation with Negative-Policy RolloutsarXiv · 2026
- Proposing Better Rollouts for On-Policy DistillationarXiv · 2026
- Rethinking Offline On-Policy Distillation: From Scalar Advantages to Distributional SupervisionarXiv · 2026