每个Token都需要自己的老师:多教师自适应同策略自蒸馏
研究论文 · 2026/11/04
在线自蒸馏(OPSD)通过构建基于特权参考的教师模型,已被证明能有效后训练大语言模型。然而,现有方法要么在整个训练过程中固定教师(始终暴露于完整参考),要么在每条响应内仅跨响应自适应变化部分参考暴露。本文认为两者均不足,相反,每个token都需要自己的教师,因为教师偏好可能在同一响应内逐token变化。通过教师干预试点研究,我们验证了教师偏好因token而异,并揭示可通过多数投票和基于KL的选择为每个token识别出偏好教师。受此启发,我们提出多教师自适应在线自蒸馏(MTA-OPSD),这是首个token级自适应OPSD方法。该方法构建由候选教师组成的多教师池,使每个token在训练中自适应选择其偏好教师。在数学推理任务上使用Qwen3模型的实验表明,MTA-OPSD始终优于现有OPSD方法,平均增益高达+5.9(相对于基础模型),突显了在token级调整教师监督的重要性。代码见https://github.com/xingzhejun/MTA-OPSD。
该论文提出token级教师自适应方法,显著提升模型性能,为自蒸馏提供新视角,且代码开源,值得研究者阅读。
On-policy Self-distillation (OPSD) has proven effective for post-training large language models by constructing a teacher conditioned on privileged references. However, existing approaches keep the teacher fixed either throughout training by consistently exposing it to the full reference, or within each response by adaptively varying partial reference exposure only across responses. In this paper, we argue that neither of them is sufficient. Instead, every token needs its own teacher, as the teacher preference can vary token by token within the same response. Through a teacher-intervention pilot study, we validate that the teacher preference differs across tokens, and reveal that a preferred teacher can be identified for each token through majority voting and KL-based selection. Motivated by these findings, we propose Multi-teacher Adaptive On-policy Self-Distillation (MTA-OPSD), the first token-level adaptive OPSD method. Our method constructs a multi-teacher pool consisting of candidate teachers, and enables every token to adaptively select its preferred teacher during training. Experiments with Qwen3 models on mathematical reasoning tasks show that MTA-OPSD consistently outperforms existing OPSD approaches with an average gain of up to +5.9 over the base model, highlighting the importance of adapting teacher supervision at the token level. The code is available at https://github.com/xingzhejun/MTA-OPSD.