1% 的 Token 就足够:论同策略蒸馏中的梯度估计

·

研究论文 · 2026/09/22

稀疏在线策略蒸馏(OPD)将教师监督分配给学生在轨迹中生成的一小部分 token。然而,当教师指导的梯度从采样的下一个 token 估计时,有用的教师指导可能产生噪声更新。我们在固定前缀下从信息几何角度研究这一估计问题,并提出基于信噪比分解的信息效率比(IER)。IER 刻画了在最优标量基线下的相对梯度估计误差。候选集近似使得基于 IER 及其与现有有用性分数结合的 token 选择成为可能,同时保留采样的反向 KL 训练目标。在数学和医学推理任务上,加入 IER 在多种设置下改进了现有选择器,稀疏配置在 0.1%–1% 的小 token 预算下匹配或超过未进行 token 选择的完整 OPD。这些结果支持在分配稀疏监督时同时考虑有用性和梯度估计可靠性。我们的代码可在 https://github.com/BruceSheng1202/IER-OPD 获取。

该研究揭示了稀疏在线策略蒸馏中教师指导的梯度估计噪声问题,提出的 IER 方法能在极小 token 预算下显著提升效率,对高效训练大语言模型具有实用价值。

Sparse on-policy distillation (OPD) allocates teacher supervision to a small subset of tokens in student-generated trajectories. However, useful teacher guidance can yield a noisy update when its gradient is estimated from a sampled next token. We study this estimation problem at a fixed prefix in information geometry and propose an information-efficiency ratio (IER) based on a signal-to-noise decomposition. IER characterizes relative gradient estimation error under an optimal scalar baseline. A candidate-set approximation enables token selection based on IER and its combination with existing usefulness scores, while retaining the sampled reverse-KL training objective. On mathematical and medical reasoning tasks, adding IER improves existing selectors in multiple settings, with sparse configurations matching or exceeding full OPD without token selection at small token budgets of 0.1\%--1\%. These results support accounting for both usefulness and gradient-estimation reliability when allocating sparse supervision. Our code is available at https://github.com/BruceSheng1202/IER-OPD.

阅读原文

参与讨论