知道何时教学:从多语言推理蒸馏中的可教前缀学习

·

研究论文 · 2026/11/09

在线自蒸馏(OPSD)通过让学生模型基于自身推理进行训练来提升推理能力,其中教师模型是同一模型但以参考解答为条件。将OPSD应用于多语言推理时,教师需要在学生中间步骤出错时仍能提供跨语言的有效反馈。我们观察到一种称为“教师漂移”的现象:随着错误累积,教师可能跟随学生的错误步骤而非纠正它们。分析表明,这种偏移在低资源语言中发生得更早。为了应对不同语言间的这些差异,我们提出了可教学在线自蒸馏(TOPSD),它决定每个推理轨迹应在何处以及是否应用教师监督。TOPSD利用教师-学生似然估计漂移开始的位置并选择用于监督的前缀,然后验证教师能否从该前缀恢复正确答案,仅对通过验证的前缀应用蒸馏。在十种语言和三种模型规模上的多语言数学推理实验表明,TOPSD始终优于传统OPSD,尤其是在低资源和中资源语言中。

该研究针对多语言推理蒸馏中的关键问题——教师模型在低资源语言中易受学生错误引导,提出了简单有效的解决方案TOPSD,显著提升了低资源语言的推理性能,对多语言NLP和蒸馏技术有重要实践意义。

On-Policy Self-Distillation (OPSD) improves reasoning by training a student on its own reasoning, using the same model conditioned on reference solutions as a teacher. Applying OPSD to multilingual reasoning requires the teacher to provide useful feedback across languages, even when the student makes mistakes in intermediate steps. We observe a phenomenon we call Teacher Drift: as these mistakes accumulate, the teacher may follow the student's incorrect steps instead of correcting them. Our analysis shows that this shift tends to occur earlier in lower-resource languages. To account for these differences across languages, we propose Teachable On-Policy Self-Distillation (TOPSD), which determines where and whether teacher supervision should be applied to each reasoning trajectory. TOPSD uses teacher-student likelihood to estimate where drift begins and select a prefix for supervision. It then verifies whether the teacher can recover the correct answer from that prefix, applying distillation only to prefixes that pass verification. Experiments on multilingual mathematical reasoning across ten languages and three model scales show that TOPSD consistently outperforms conventional OPSD, particularly in low- and medium-resource languages.

阅读原文

参与讨论