论在线策略蒸馏在强化学习后巩固中的泛化局限性
研究论文 · 2026/11/05
多教师在线策略蒸馏(MOPD)将在线策略蒸馏(OPD)扩展用于整合多个教师模型的能力。尽管先前工作报告了近乎完美的分布内(IND)蒸馏性能,但我们发现这可能掩盖了监督分布之外的不完整能力整合。在合成推理上的初步研究表明,OPD并未完全迁移教师的泛化能力。随后我们将研究扩展到真实任务,使用Qwen3模型评估数学推理、编码、智能体和长上下文能力上的外推和组合泛化。在外推设置中,OPD和MOPD达到其教师IND分数的96.04-102.73%,但其分布外(OOD)分数仍比基础模型低2.45-16.25%。在三种组合设置中,MOPD在IND性能上优于基础模型,但在作为OOD的组合任务上,其性能仍比最佳教师低18.19-24.34%。为理解这些差距,我们考察了教师能力和数据覆盖作为两个潜在瓶颈。联合缓解这些瓶颈在我们的实验中消除了OOD遗忘,并暗示了超越教师泛化的潜力。(M)OPD平均而言也相对于其强化学习(RL)基线减少了OOD遗忘。对相关更新几何的分析揭示,平均而言更新比RL基线更小且更谱集中,并且在MOPD下具有更大的共享更新结构。受这些发现启发,我们提出了基于几何的修补和保留基础的复放,以改善OOD性能同时 largely 保持IND性能。我们的发现指出了通过(M)OPD进行能力整合的一个盲点,强调需要明确支持OOD保留和泛化的算法。
该研究挑战了在线策略蒸馏在分布内性能近乎完美的表象,系统揭示了其在分布外泛化上的严重不足,并提出了可操作的改进方向,对模型能力整合与泛化研究具有重要警示和启发意义。
Multi-teacher on-policy distillation (MOPD) extends on-policy distillation (OPD) to consolidate capabilities from multiple teachers. Although prior work reports near-perfect in-distribution (IND) distillation performance, we find that this can mask incomplete capability consolidation beyond the supervised distribution. A preliminary study on synthetic reasoning shows that OPD does not fully transfer teachers' generalization capabilities. We then extend this investigation to real-world tasks, evaluating extrapolative and compositional generalization across mathematical reasoning, coding, agent, and long-context capabilities using Qwen3 models. Across extrapolative settings, OPD and MOPD reach 96.04-102.73% of their teachers' IND scores. Yet their out-of-distribution (OOD) scores remain 2.45-16.25% below the base model's. Across three compositional settings, MOPD improves IND performance over the base model, but its performance on composed tasks as OOD remains 18.19-24.34% below that of the best teachers. To understand these gaps, we examine teacher capability and data coverage as two potential bottlenecks. Jointly alleviating these bottlenecks eliminates OOD forgetting in our experiments and suggests the potential for generalization beyond the teacher. (M)OPD also reduces OOD forgetting on average relative to its reinforcement learning (RL) baselines. Analysis of the associated update geometry reveals smaller and more spectrally concentrated updates on average than those of the RL baselines, along with greater shared update structure under MOPD. Motivated by these findings, we propose geometry-based patching and base-preserving replay to improve OOD performance while largely preserving IND performance. Our findings identify a blind spot in capability consolidation via (M)OPD, highlighting the need for algorithms that explicitly support OOD retention and generalization.