ReTaCo: Residual-Target Control for On-Policy Distillation
Zixiang Ni, Zhuo Hu, Renjie Cao, Weijie Ren, Binqin Shi, Weijia Zhang, Shuheng Cao, Zhicheng Shi, Zhenhao Zhang, Haomin Wen, Zhiyuan Hu
Abstract
On-policy distillation (OPD) trains a student on its own generated prefixes with token-level teacher feedback, but transmitting or storing the teacher's full-vocabulary distribution at every token is costly. Entropy-aware OPD (EOPD) adds forward supervision to reverse KL to help the student recover plausible tokens it underestimates, using only the teacher's top- probabilities to limit cost. Because EOPD renormalizes these probabilities, its target assigns no mass to the omitted vocabulary. We prove that the resulting loss keeps pushing the student's top- mass toward one even after the student matches the teacher's relative probabilities within the top- set, so the teacher itself is not a stationary point whenever the omitted tokens have positive teacher probability. We propose ReTaCo (Residual-Target Control), which keeps the top- tokens individually and groups the remaining tokens into one residual symbol, and pairs this forward target with a single-sample estimator whose expectation equals the full-vocabulary reverse KL. With teacher top- mass , the residual target is for : preserves the teacher's mass, and larger moves more mass onto the top- tokens without changing their relative probabilities. At a fixed prefix, we prove that the population objective has a unique optimum whose top- mass lies between and and increases monotonically with ; at , underestimated top- tokens still receive non-vanishing recovery gradients. Numerical optimization confirms these predictions, and across three teacher-student pairs, ReTaCo outperforms EOPD on most mathematics and code benchmarks.
Create a lesson
Related papers
Physics-residual reinforcement learning for accurate multi-step temperature prediction of alkaline electrolyzers under renewable power
Shared title terminologycs.LGYong-Woon Kim, Chulung Kang, Yung-Cheol Byun
Candidate-Set Sensitivity of Proximal Pessimistic Policy Selection
Shared title terminologycs.LGSoheil Sayah Varg, Mahdi Shirinbayan, Mahdi Ostadmohammadi et al.
Unilateral Adoption of LLM-Written Policy Weights in a Multi-UAV Aerial Base Station Game
Shared title terminologycs.LGYu-Chen Hsu, Li-Hsing Yen
The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks
Shared title terminologycs.LGChibueze Peace Obioma, Youcheng Sun, Edoardo Manino et al.
Improved Regret in Adversarial MDPs via Model-Free Self-Normalized Policy Optimization
Shared title terminologycs.LGOrin Levy, Aviv Rosenberg, Alon Cohen et al.
Latent Prior GANs: Adversarial Learning for Targeted Generation-Time Decoder Finetuning
Shared title terminologycs.LGWenjie Shu, Xianghong Fang, Dehan Kong et al.