arXiv:2505.24593cs.CLcs.AI2025-05ACL被引 4

揭示MoE模型中专家协作的效率机制,助力高效智能系统设计。

Decoding Knowledge Attribution in Mixture-of-Experts: A Framework of Basic-Refinement Collaboration and Efficiency Analysis

  • 提出跨层级归因算法,解析稀疏MoE中专家动态协作模式。
  • 发现深层MoE通过'中期筛选、晚期精炼'提升37%每层效率。
  • 揭示共享专家通用、路由专家专精的协同框架,适合模型优化者参考。

混合专家(MoE)模型的可解释性,尤其在异构设计下仍不充分。现有稠密模型归因方法无法捕捉稀疏MoE架构中的动态路由-专家交互。为此,我们提出一种跨层级归因算法,对比分析稀疏MoE模型(Qwen 1.5-MoE、OLMoE、Mixtral-8x7B)与稠密模型(Qwen 1.5-7B、Llama-7B、Mistral-7B)。结果表明,MoE模型通过“中期激活、后期放大”模式实现每层37%更高的效率:早期层筛选专家,晚期层协同精炼知识。消融实验揭示“基础-精炼”框架——共享专家处理通用任务(如实体识别),路由专家负责领域特定处理(如地理属性)。语义驱动路由得到验证,注意力头与专家间相关性高达r=0.68,实现任务感知协调。值得注意的是,架构深度决定鲁棒性:深层Qwen 1.5-MoE通过共享专家冗余缓解专家失效(如阻断前10个专家时地理任务的MRR下降43%),而浅层OLMoE则严重退化(下降76%)。任务敏感性进一步指导设计:核心敏感任务(地理)需集中专精,分布容错任务(对象属性)则依赖广泛参与。这些发现推进了MoE可解释性,为平衡效率、专业化与鲁棒性提供设计原则。

原文摘要 · Abstract (English)

The interpretability of Mixture-of-Experts (MoE) models, especially those with heterogeneous designs, remains underexplored. Existing attribution methods for dense models fail to capture dynamic routing-expert interactions in sparse MoE architectures. To address this issue, we propose a cross-level attribution algorithm to analyze sparse MoE architectures (Qwen 1.5-MoE, OLMoE, Mixtral-8x7B) against dense models (Qwen 1.5-7B, Llama-7B, Mistral-7B). Results show MoE models achieve 37% higher per-layer efficiency via a "mid-activation, late-amplification" pattern: early layers screen experts, while late layers refine knowledge collaboratively. Ablation studies reveal a "basic-refinement" framework--shared experts handle general tasks (entity recognition), while routed experts specialize in domain-specific processing (geographic attributes). Semantic-driven routing is evidenced by strong correlations between attention heads and experts (r=0.68), enabling task-aware coordination. Notably, architectural depth dictates robustness: deep Qwen 1.5-MoE mitigates expert failures (e.g., 43% MRR drop in geographic tasks when blocking top-10 experts) through shared expert redundancy, whereas shallow OLMoE suffers severe degradation (76% drop). Task sensitivity further guides design: core-sensitive tasks (geography) require concentrated expertise, while distributed-tolerant tasks (object attributes) leverage broader participation. These insights advance MoE interpretability, offering principles to balance efficiency, specialization, and robustness.

MoE可解释性专家系统效率优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。