潜在MOPD:潜在多教师同策略蒸馏
研究论文 · 2026/10/06
在策略蒸馏(OPD)训练学生模型生成自己的回答。现有的LLM多教师OPD通过输出分布传递专家的预测。我们提出Latent-MOPD,据我们所知,这是首个针对LLM的表征级多教师OPD方法。它通过专家的预测和用于计算预测的隐藏状态来整合现有专家,无需额外教师训练。为了协调多个专家的表征监督,我们根据师生关系选择后层目标,用共享投影桥接不等的隐藏宽度,并按领域分组更新。每个教师的监督逐渐从隐藏状态转向token预测,两个通道使用相同的路由专家。在同家族主设置中,Latent-MOPD在数学、代码和逻辑的九个基准上均优于仅token、仅表征和均匀平均基线。在与每个教师参数量相同的情况下,学生在大多数基准上也超过了每个基准的最佳教师。对于更大、独立开发的跨家族教师,Latent-MOPD在所有基准上均优于两个单通道基线。同家族全层仅表征控制在领域纯更新下保持稳定,但当教师领域在更新中交错时会崩溃。我们的结果表明,单个学生可以通过输出分布和内部表征整合多个专家的能力。
该工作提出了首个表征级多教师在策略蒸馏方法,通过同时利用输出分布和内部表征来整合多个专家,在多个基准上取得了优于基线和教师的表现,为LLM能力整合提供了新思路。
On-policy distillation (OPD) trains a student on the responses it generates. Existing LLM multi-teacher OPD transfers what specialists predict through their output distributions. We introduce Latent-MOPD, to our knowledge the first representation-level multi-teacher OPD method for LLMs. It integrates existing specialists through both their predictions and the hidden states used to compute them, without additional teacher training. To coordinate representation supervision from multiple specialists, we select late-layer targets according to the teacher-student relationship, bridge unequal hidden widths with a shared projection, and group updates by domain. Each teacher's supervision gradually shifts from hidden states to token predictions, with both channels using the same routed specialist. In our main same-family setting, Latent-MOPD outperforms the token-only, representation-only and uniform-averaging baselines on all nine benchmarks across math, code and logic. With the same parameter count as each teacher, the student also surpasses the per-benchmark best teacher on a majority of these benchmarks. With larger, separately developed cross-family teachers, Latent-MOPD outperforms both single-channel baselines on all benchmarks. A same-family all-layer representation-only control remains stable with domain-pure updates but collapses when teacher domains are interleaved within an update. Our results show that a single student can integrate capabilities from several specialists through both their output distributions and internal representations.