并非每个词元都值得蒸馏:面向Direct-OPD的选择性监督
研究论文 · 2026/10/01
Direct On-Policy Distillation (Direct-OPD) 通过使用后RL与前RL检查点之间的token级对数比作为学生自身rollout上的密集监督,将强化学习带来的策略改进从小模型迁移到更大的学生模型。这种迁移奖励每个状态下的策略变化,但对数比仅衡量相对变化:即使两个检查点分配给候选token的概率质量消失,它也可能保持不变。通过精确构造,我们表明Direct-OPD奖励及其更新可以保持不变,而检查点之间的Jensen-Shannon散度(JSD)和两个KL方向随该质量消失,并且我们指出小的JSD限制了教师行为的变化量。基于此分析,我们提出Selective Supervision for Direct-OPD (S^2D-OPD),它根据教师参考JSD对学生采样的状态进行排序,并在低散度状态处屏蔽Direct-OPD监督,每个响应仅保留前10%的状态。在两个教师对和四个1.7B到8B参数的学生模型上,S^2D-OPD在AIME和HMMT基准测试中,在八个设置中的七个上提高了保留准确率,超过密集Direct-OPD,并在第八个设置中与之持平,且无需额外前向传播。
该论文揭示了Direct-OPD监督信号的理论缺陷,并提出一种简单有效的选择性监督方法,在多个基准和模型规模上验证了其优越性,且不增加计算开销,对策略蒸馏领域有重要参考价值。
Direct On-Policy Distillation (Direct-OPD) transfers reinforcement-learning-induced policy improvements from a small model to a larger student by using the token-level log-ratio between post-RL and pre-RL checkpoints as dense supervision on the student's own rollouts. This transfer rewards the policy shift at every state, yet the log-ratio measures only relative change: it can stay fixed even as the probability mass that both checkpoints assign to the student's candidate tokens vanishes. Through an exact construction, we show that the Direct-OPD reward and its update can remain unchanged while the Jensen-Shannon divergence (JSD) and both KL directions between the checkpoints vanish with this mass, and we note that a small JSD bounds how much the teacher's behavior changed. Motivated by this analysis, we propose Selective Supervision for Direct-OPD (S^2D-OPD), which ranks student-sampled states by their teacher-reference JSD and masks Direct-OPD supervision at low-divergence states, retaining only the top 10% of states per response. Across two teacher pairs and four student models ranging from 1.7B to 8B parameters, S^2D-OPD improves held-out accuracy over dense Direct-OPD on AIME and HMMT benchmarks in seven of eight settings and matches it in the eighth, without extra forward passes.