arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.24593cs.CLcs.AIcs.LG
收藏

解码混合专家模型中的知识归因:基础-精炼协作框架与效率分析

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

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);Ant Group(蚂蚁集团)

Junzhuo Li, Bo Wang, Xiuze Zhou, Peijie Jiang, Jia Liu, Xuming Hu

AI总结:

本文提出跨层级归因算法解析稀疏 MoE 的动态专家协作,揭示“基础-精炼”机制及深度对效率与鲁棒性的影响。

摘要:

Mixture-of-Experts(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 可解释性,并为平衡效率、专业化与鲁棒性提供原则。

英文摘要:

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.

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

↑