arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27115cs.AI
收藏

基于对抗感知的多教师同策略蒸馏以实现领域保留下的通用能力恢复

Counteraction-Aware Multi-Teacher On-Policy Distillation for General Capability Recovery with Domain Preservation

Kuaishou Technology, Beijing, China(快手科技,北京,中国)

Tianlei Chen, Jiao Ou, Ziyuan Liu, Ruiming Tang, Jian Liang, Han Li

AI总结:

针对多教师同策略蒸馏在提示覆盖不完全时出现的恢复-保留对抗和弱信号平坦化问题,提出CaMOPD方法,通过解耦交替训练和基于差距的样本选择,在保持领域性能的同时有效恢复通用能力。

摘要:

领域专业化可以改善LLM在垂直领域的行为,但往往会削弱从原始模型继承的通用能力。最近的多教师同策略蒸馏(MOPD)流程通过教师反馈监督学生生成的轨迹来恢复模型能力,但通常假设教师对齐的提示覆盖,即提示需要匹配教师的训练分布。当通用教师是开源模型且其训练后数据未知时,这一假设难以满足。我们不是试图重建这种隐藏分布,而是研究使用现成的代理通用提示来恢复通用能力。我们识别了在这种不完全覆盖情况下原始MOPD的两种失败模式:混合冲突的恢复和保留梯度导致的恢复-保留对抗,以及均匀平均具有不等校正需求的样本导致的弱信号平坦化。我们提出了对抗感知的多教师同策略蒸馏(CaMOPD),通过解耦交替训练和基于差距的样本选择来解决这些问题。CaMOPD为通用恢复提供专用更新,定期审查领域提示以进行保留,并选择具有较大平均词级教师-学生对数概率差距的样本以集中校正信号。在角色扮演对话和医学推理问答场景中,CaMOPD在保持领域特定行为的同时,在通用恢复方面表现优于基线。梯度一致性分析进一步支持了CaMOPD在产生更一致的校正信号方面的预期效果。

英文摘要:

Domain specialization can improve LLM behavior, but often weakens the general capabilities inherited from the original model. Recent Multi-Teacher On-Policy Distillation (MOPD) pipelines recover model capabilities by supervising student-generated trajectories with teacher feedback, but typically assume teacher-aligned prompt coverage, requiring prompts to match the teachers' training distributions. This assumption is difficult to satisfy when the general teacher is an open-source model whose post-training data are unknown. Instead of attempting to reconstruct this hidden distribution, we study general capability recovery with readily available proxy general prompts. We identify two failure modes of vanilla MOPD in this incomplete-coverage situation: recovery-preservation counteraction from mixing conflicting recovery and preservation gradients, and weak-signal flattening from uniformly averaging samples with unequal correction demand. We propose \textbf{Counteraction-Aware Multi-Teacher On-Policy Distillation} (\textbf{CaMOPD}), which addresses these issues with decoupled alternating training and gap-based sample selection. CaMOPD allocates dedicated updates to general recovery, periodically performs domain-preservation updates, and selects samples with larger averaged token-level teacher-student log-probability gaps to concentrate correction signals. Across role-play dialogue and medical reasoning QA scenarios, CaMOPD outperforms all baselines in general capability recovery while maintaining domain-specific behavior. Gradient coherence analyses further support the intended effect of CaMOPD in producing more coherent correction signals.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑