路由漂移本身无法诊断合并MoE大语言模型中的失败

·

研究论文 · 2026/09/29

模型合并能高效整合专用大语言模型而无需联合重训练,但会显著改变混合专家(MoE)模型中的专家路由。这种路由漂移常被解读为路由失败,但一个基本问题尚不明确:MoE合并后的路由漂移是否真的表明路由失败,以及什么证据应支持修复?我们在DeepSeekMoE、OLMoE和Qwen3-MoE上研究了这些问题,提出了一个路由分析工具包,用于受控反事实干预和令牌级分析。通过交叉源和合并路由器的输入与参数,我们将大多数专家重新分配归因于输入偏移而非同一层的参数变化。然而,源相对路由差异难以预测源路由恢复带来的下一令牌似然增益,且不同专家选择可产生方向相似的混合输出。因此,我们将路由失败操作化为在指定路由干预下可恢复的任务损失,同时固定非路由参数。这些测试在故意路由器损坏下检测到可恢复损失,而在评估的合并模型中,源路由恢复并未建立可靠的任务收益。基于此,我们提出选择性路由器修复(SRR)作为案例研究,发现源专家令牌似然优势不能可靠识别有益的局部修正。总之,这些发现表明,仅路由漂移不足以证明路由失败:源信息修正必须通过其任务级干预效果来评判。分析工具包和SRR代码已发布。

本文挑战了MoE模型合并中路由漂移即路由失败的直观假设,提供了严谨的反事实分析框架和工具包,对模型合并与MoE路由研究具有重要方法论意义,并指明了评估路由修复的正确方向。

Model merging efficiently combines specialized large language models (LLMs) without joint retraining, but can substantially alter expert routing in Mixture-of-Experts (MoE) models. Such routing drift is often interpreted as routing failure, raising a fundamental question that remains unclear: does routing drift after MoE merging actually indicate routing failure, and what evidence should justify repair? We investigate these questions across DeepSeekMoE, OLMoE, and Qwen3-MoE proposing a routing analysis toolkit for controlled counterfactual interventions and token-level analysis. By crossing source and merged router inputs and parameters, we attribute most expert reassignments to input shifts rather than parameter changes at the same layer. However, source-relative routing differences poorly predict next-token likelihood gains from source-route restoration, and different expert selections can produce directionally similar mixture outputs. We therefore operationalize routing failure as task loss recoverable under a specified routing intervention, with non-routing parameters fixed. These tests detect recoverable loss under deliberate router corruption, whereas source-route restoration does not establish reliable task benefits in the evaluated merged models. Motivated by these, we propose Selective Router Repair (SRR) as a case study, and find that source-specialist token-likelihood advantages do not reliably identify beneficial local corrections. Together, these findings show that routing drift alone is insufficient evidence of routing failure: source-informed corrections must be judged by their task-level intervention effects. The analysis toolkit and SRR code are released.

阅读原文

参与讨论