vOPD:用控制变量基线稳定在线蒸馏的 KL 方法
KL for a KL: On-Policy Distillation with Control Variate Baseline
AI 导读
arXiv 论文提出 vOPD,将在线蒸馏(OPD)视为策略梯度强化学习,并引入控制变量基线以降低单样本蒙特卡洛估计的高梯度方差。该值函数有闭式解:学生与教师之间的每 token 负反向 KL 散度,可直接由现有前向传播获得,无需额外 critic 或推理。在数学、科学和指令遵循基准上,vOPD 持续优于基础 OPD,并匹配开销最大的全词表方法,top-k 近似还能进一步降本且不损性能。
正文 · 原文
Abstract:On-Policy Distillation (OPD) has emerged as a dominant post-training paradigm for Large Language Models, especially in reasoning domains. However, OPD remains unstable in practice due to the high gradient variance of its single-sample Monte Carlo estimator, and recipes for stable training are still immature. We propose vOPD (On-Policy Distillation with a control variate baseline), which casts OPD as policy-gradient RL and stabilizes it by introducing a control variate baseline---canonically a value function---from the RL literature. We show that the OPD value function admits a closed form: the per-token negative reverse KL divergence between student and teacher, available directly from the existing forward pass with no additional critic or inference. Existing stabilization methods either compute the full token-level reverse KL over the entire vocabulary, adding significant overhead, or restrict it to a top-k support, biasing the objective. vOPD instead preserves the lightweight single-sample estimator and subtracts the value function as a detached baseline to keep the gradient unbiased while reducing variance. Moreover, we show that a top-k approximation of the baseline further lowers cost without compromising performance. Across mathematics, science, and instruction-following benchmarks, vOPD consistently outperforms base OPD and matches the most expensive full-vocabulary method, offering an efficient stabilization of OPD through principled RL variance reduction.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2605.07865 [cs.LG] |
| (or arXiv:2605.07865v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.07865 arXiv-issued DOI via DataCite |
Submission history
From: Minjae Oh [view email]
[v1]
Fri, 8 May 2026 15:24:51 UTC (2,257 KB)
[v2]
Wed, 4 Nov 2026 11:23:22 UTC (485 KB)
来源:arXiv cs.AI · arxiv.org