cs.LGOct 4, 2026

ResOPD: Tail Residualization for Sparse On-Policy Distillation

Authors: Penghui Yang, Long Xing, Xuanlang Dai, Ziyu Liu, Kai Chen, Yuhang Zang

Organizations: Shanghai Jiao Tong University · Shanghai Artificial Intelligence Laboratory · University of Science and Technology of China · Fudan University

Abstract

On-policy distillation (OPD) trains a student model on self-generated trajectories, but transmitting dense teacher distributions across long reasoning traces creates prohibitive communication and memory bottlenecks. Practical systems therefore rely on sparse teacher interfaces, typically transmitting either the sampled-token score or a small Top-kk distribution. However, this sparse setting faces a fundamental dilemma: sampled-token estimators are unbiased but suffer from severe gradient variance, whereas directly optimizing Top-kk objectives introduces systematic bias. To improve this trade-off, we propose ResOPD (On-Policy Distillation with Tail Residualization), which provides unbiased full-vocabulary reverse KL gradient estimation under on-policy sampling, with substantial variance reduction under the same sparse payload in the evaluated settings. ResOPD aggregates the unobserved vocabulary into an observable coarse tail event, computes its exact aggregate gradient, and samples only the fine-grained within-tail residual, which requires no additional teacher queries or forward passes. Extensive experiments demonstrate that ResOPD substantially reduces gradient variance, stabilizes online training dynamics, and improves downstream performance across the evaluated settings. These results establish ResOPD as an efficient, plug-and-play variance reduction primitive for sparse on-policy distillation.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Look Before You Select: Rethinking Vocabulary Sparsification in On-Policy Distillation

    Sep 28, 2026Yongliang Miao, Shuang Liu, Yanguang Liu +2Language Model DistillationOn-Policy Distillation

  2. Revisiting On-Policy Distillation: Empirical Failure Modes and Simple Fixes

    Mar 26, 2026Yuqian Fu, Haohuan Huang, Kaiwen Jiang +4Language Model DistillationOn-Policy Distillation

  3. Does On-Policy Distillation Need to Complete Every Rollout?

    Oct 15, 2026Zhengxin Zhang, Maosen Tang, Ning Wang +6On-Policy DistillationLanguage Model Distillation