仅按序的同策略蒸馏
研究论文 · 2026/11/04
在线蒸馏(OPD)通过匹配教师的token概率来训练学生模型,但这些概率值混合了教师的偏好排序和置信度信息,后者可能超出小模型的能力,且对温度敏感。本文提出仅序在线蒸馏(O³PD),在学生的每个生成前缀上,只要求学生复现教师top-K token的排序,而不拟合其概率值。该目标对教师温度不变,无需调温。在六个师生对上,O³PD在HMMT25、AIME24和AIME25上的平均表现均优于OPD,最高提升2.9分,AIME25上最高提升5.6分。其他排序损失也带来类似增益,表明收益来自序数监督本身。分析显示,O³PD比OPD更偏离教师的概率,但更忠实地复现了排序,并得到更强的学生模型。因此,在线蒸馏需要迁移的知识在于排序而非概率值。
该论文挑战了在线蒸馏中匹配概率值的常规做法,证明仅需教师排序即可有效迁移知识,方法简单且无需调温,在多个数学推理基准上稳定提升,对蒸馏实践有直接指导意义。
On-policy distillation (OPD) trains a student on its own generations by matching the teacher's token probabilities. These probabilities entangle two kinds of information: which tokens the teacher prefers, and how confident it is. The latter reflects the teacher's own capacity and calibration, which a smaller student may be unable to reproduce. Because the teacher temperature changes these values without changing the ordering, OPD is also sensitive to the temperature choice. We ask whether the teacher's ordering of candidate tokens is enough, and propose Order-Only On-Policy Distillation (O^{3}PD). At each student-generated prefix, O^{3}PD trains the student to reproduce the order of the teacher's top-K tokens, without fitting their probability values. The objective is therefore invariant to the teacher temperature and needs no temperature tuning. Across six teacher--student pairs, O^{3}PD outperforms OPD on the average over HMMT25, AIME24, and AIME25 in every pair, by up to 2.9 points, with gains of up to 5.6 points on AIME25. Other ranking losses yield similar gains, so the benefit comes from ordinal supervision itself. Analysis shows that O^{3}PD departs further from the teacher's probabilities than OPD, yet reproduces its ranking more faithfully and yields a stronger student. The ranking, not the probability values, thus carries the knowledge that on-policy distillation needs to transfer.