Waypoint-OPD:通过门控同策略蒸馏迁移RL诱导的策略偏移
研究论文 · 2026/10/16
策略偏移蒸馏利用教师模型在强化学习前后对数概率的差异,作为学生生成轨迹上的监督信号。然而,这种端点策略偏移无法揭示教师训练过程中局部动作偏好是否一致演变。相同的端点偏移可能源于早期和晚期偏移的相互增强或部分抵消。我们研究早期和晚期教师策略偏移之间的一致性是否能指导选择性迁移。我们提出Waypoint引导的在线策略蒸馏(Waypoint-OPD),它使用同一RL运行中的中间教师检查点,在学生访问的前缀上比较早期和晚期偏移在相对动作偏好上的差异。我们根据早期和晚期偏移之间的方向一致性对端点偏移进行门控,当它们方向相反时抑制该偏移。与仅端点迁移相比,我们的方法仅需额外一次冻结教师评分过程。使用RL训练的Qwen3-4B教师,我们在数学和代码推理中评估了以Qwen3-8B、Qwen3-14B和Qwen3-30B-A3B为学生模型的方法。在所有六个领域-学生设置中,Waypoint-OPD在比较的蒸馏方法中取得了最高的领域平均分。使用Qwen3-8B学生的消融实验表明,移除或打乱门控会降低数学推理性能。这些结果支持使用早期和晚期教师策略偏移之间的方向一致性来加权学生训练期间的端点偏移。
该研究提出了一种改进策略偏移蒸馏的方法,通过利用早期和晚期策略偏移的方向一致性来选择性迁移,提高了蒸馏效果,并在多个模型和任务上验证了有效性,对强化学习与知识蒸馏的结合有参考价值。
Policy-shift distillation reuses the difference between a teacher's log probabilities before and after reinforcement learning (RL) as supervision on student-generated trajectories. However, this endpoint policy shift cannot reveal whether local action preferences evolved consistently during teacher training. The same endpoint shift can result from early and late shifts that reinforce or partially cancel each other. We investigate whether agreement between early and late teacher policy shifts can guide selective transfer. We introduce Waypoint-guided On-Policy Distillation (Waypoint-OPD), which uses an intermediate teacher checkpoint from the same RL run to compare early and late shifts in relative action preferences at student-visited prefixes. We gate the endpoint shift according to the directional agreement between the early and late shifts, suppressing it when they point in opposing directions. Compared with endpoint-only transfer, our method requires only one additional frozen-teacher scoring pass. Using RL-trained Qwen3-4B teachers, we evaluate our method with Qwen3-8B, Qwen3-14B, and Qwen3-30B-A3B as student models in mathematical and code reasoning. In all six domain--student settings, Waypoint-OPD achieves the highest domain-average score among the compared distillation methods. Ablations with the Qwen3-8B student show that removing or shuffling gates reduces mathematical reasoning performance. These results support the use of directional agreement between early and late teacher policy shifts to weight the endpoint shift during student training.