每个硬币都有两面:大型语言模型在策略蒸馏中泛化的双重性
研究论文 · 2026/08/24
本文研究了在线策略蒸馏(OPD)的泛化行为,通过控制单一泛化因素(如域内分布偏移、跨域迁移和多教师设置)进行实验。发现OPD传递的是教师的推理行为而非具体答案,训练难度影响甚微,甚至教师未解决的问题也有用。迁移效果强烈依赖于师生来源关系:同源配对使学生在语言、推理深度甚至其他领域上接近教师,而异源配对主要拟合训练分布。这种广泛影响是一把双刃剑:由于路由提示无法限制每个教师的影响,组合多个教师会导致其能力出现依赖混合的跷跷板效应。这些结果阐明了OPD何时泛化,并为诊断多教师OPD提供了有用视角。
该研究首次系统性地分析了在线策略蒸馏的泛化行为,通过精细控制实验揭示了其双刃剑特性,为多教师蒸馏的实践提供了重要诊断视角,对理解大语言模型蒸馏机制具有较高价值。
On-policy distillation (OPD) transfers teacher capabilities by supervising trajectories sampled from the student's own policy, yet its generalization behavior remains poorly understood, as most studies evaluate OPD on a single domain and on benchmarks close to the training data. We present a controlled study that varies one generalization factor at a time, from in-domain distribution shifts to cross-domain transfer and the multi-teacher setting. We find that OPD transfers a teacher's reasoning behavior rather than its answers to particular problems: training difficulty barely matters, and even problems the teacher never solves are useful. Transfer depends strongly on the origin relationship between teacher and student: same-origin pairs bring the student close to the teacher across languages, reasoning horizons, and even other domains, whereas cross-origin pairs mostly fit the trained distribution. This broad reach is a double-edged sword: since routing prompts to domain experts cannot confine each teacher's influence, combining them yields a mixture-dependent seesaw among their capabilities. These results clarify when OPD generalizes and offer a useful perspective for diagnosing multi-teacher OPD.