Understanding Off- vs On-Policy Distillation: A Tale of Distinct Training Objectives
Qiwei Di, Xuheng Li, Kaixuan Ji, Chenggong Zhang, Heyang Zhao, Quanquan Gu
Abstract
On-policy distillation (OPD) learns from teacher feedback on student-generated responses and has shown promise in reducing forgetting relative to supervised fine-tuning (SFT). However, its benefits and fragility remain incompletely understood. We study sequential distillation from multiple teachers, where the student minimizes its average divergence from the teachers. Forward Kullback--Leibler (KL) divergence yields a weighted arithmetic mixture, while reverse KL yields a normalized weighted geometric aggregate. We develop algorithms that learn these targets under off-policy and on-policy feedback, respectively, establishing logarithmic regret bounds in the tabular setting and extending the analysis to function approximation. By analyzing these aggregation targets, we identify mechanisms that help explain both the benefits and fragility of OPD. Relative to forward KL, reverse KL can better retain a confident expert's preferences under uninformative feedback, but is more sensitive to teachers that assign very low probabilities to correct responses. Its token-level conditionals also reveal a dependence on continuation distributions that can favor incorrect prefixes over long horizons.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, stat.ML
- Comments
- 68 pages, 4 figures
Related papers
No Task Vector Is an Island: A Comprehensive Study on the Composability of Task Vectors from On-Policy Distillation
Shared title terminologycs.LGJingang Zhou, Feiyu Han, Han Zhu et al.
ReTaCo: Residual-Target Control for On-Policy Distillation
Shared title terminologycs.LGZixiang Ni, Zhuo Hu, Renjie Cao et al.
OPMD: On-Policy Mechanism Distillation Beyond Output Supervision
Shared title terminologycs.LGYingdong Shi, Zhihong Li, Changming Li et al.
On the Off-Policy Teacher in On-Policy Distillation
Shared title terminologycs.LGLanglin Huang, Hao Liu, Mononito Goswami et al.
Dr. OPD: Learning What to Follow for Optimal On-Policy Distillation of Large Language Models
Shared title terminologycs.LGZhenyu Wang, Tianze Wang, Linjun Zhang et al.
Overcoming Scaling Limits in On-Policy Self-Distillation for LLM Reasoning
Shared title terminologycs.LGMd. Ismail Hossain, Humaira Kousar, Isidora Chara Tourni