arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21606cs.LGcs.AI
收藏

何时教师标记可靠?用于推理的基于位置加权的在线自我蒸馏

When Are Teacher Tokens Reliable? Position-Weighted On-Policy Self-Distillation for Reasoning

Johns Hopkins University(约翰霍普金斯大学);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Nanyang Technological University(南洋理工大学)

Xiaogeng Liu, Xinyan Wang, Yingzi Ma, Yechao Zhang, Chaowei Xiao

AI总结:

本文提出了一种基于位置加权的在线自我蒸馏方法,用于改进推理任务中教师标记的可靠性,通过引入分支可行性诊断来识别教师标记的可靠性,并在不同模型上验证了其有效性。

摘要:

在线自我蒸馏(OPSD)通过一个特权教师训练学生,但其标准目标对所有生成的标记同等重视,隐含地将特权教师目标视为在每个学生访问的前缀中同样可靠。现有的基于熵的OPD方法通过调节令牌级监督来放松这种均匀性,但推理中高教师熵的可靠性含义具有歧义:它可以反映非可行的不确定性或良性的解决方案多样性。为识别这一现象,我们引入了分支可行性诊断。具体来说,我们记录特权答案教师提示中的下一个标记替代方案,强制每个替代方案在学生提示及其在线脊柱前缀之后,并测试由此产生的学生模板延续是否能恢复正确答案。在Qwen3-4B上,我们发现一个导向的序列内位置分数是测试中最强的教师标记可靠性预测因子,达到曲线下面积(AUROC)为0.83;局部不确定性分数最多为0.57。受此轨迹结构的启发,我们提出了基于位置加权的在线自我蒸馏(PW-OPSD),其在保持相同的学生滚动生成、特权教师传递和截断的前向KL目标的同时,应用递增的位置权重。在不同随机种子的全面评估中,诊断衍生的PW-OPSD在AIME 2024和AIME 2025 Avg@12上分别提高了+1.0和+1.1分,并在两个更大规模的模型上也展示了一致的Avg@12改进。这些结果表明,推理蒸馏中的教师标记可靠性具有轨迹结构,并且可以在不增加教师计算的情况下利用。

英文摘要:

On-policy self-distillation (OPSD) trains a student on its own rollouts using a privileged teacher, but its standard objective weights all generated tokens equally, implicitly treating the privileged teacher target as equally reliable at every student-visited prefix. Existing entropy-based OPD methods relax this uniformity by modulating token-level supervision with teacher entropy, but high teacher entropy in reasoning has an ambiguous reliability meaning: it can reflect either non-viable uncertainty or benign solution diversity. To identify this phenomenon, we introduce a branch-viability diagnostic. Specifically, we record next-token alternatives from the privileged-answer teacher prompt, force each alternative after the student prompt plus its on-policy spine prefix, and test whether the resulting student-template continuation recovers the correct answer. On Qwen3-4B, we find that an oriented within-sequence position score is the strongest tested predictor of teacher-token reliability, reaching an area-under-ROC-curve (AUROC) of 0.83; local uncertainty scores are at most 0.57. Motivated by this trajectory-level structure, we propose Position-Weighted On-Policy Self-Distillation (PW-OPSD), which applies an increasing position weight while keeping the same student rollout, privileged teacher pass, and clipped forward-KL target as OPSD. In our comprehensive evaluations with different random seeds, the diagnostic-derived PW-OPSD improves AIME 2024 and AIME 2025 Avg@12 by +1.0 and +1.1 points, and a generalization evaluation on two larger-scale models from different families, DeepSeek-R1-Distill-Llama-8B and Olmo-3-7B-Think, also demonstrates consistent aggregate Avg@12 improvements. These results show that teacher-token reliability in reasoning distillation is trajectory-structured and can be utilized without additional teacher computation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑