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

多视图混合专家模型(Multi-View MoE):让每个路由调整专家计算

Multi-View Latent MoE: Letting Every Router Shape Expert Computation

ERNIE Team, Baidu(百度ERNIE团队)

Zelin Zhao, Junyuan Shang, Tianchi Ma, Shuohuan Wang, Dianhai Yu

AI总结:

该研究针对稀疏 MoE 模型中专家选择与计算的问题,提出 Multi-View MoE,通过多路由聚合与偏好复用优化专家选择及计算,在 10B-A1B 模型上实现下游任务均值提升,同时增强路由与专家效用的秩相关性。

摘要:

稀疏混合专家模型(MoE)通过为每个 token 激活一小部分专家来扩展参数容量。在固定的活跃专家预算下,专家选择直接影响模型性能。对所有专家的密集评估显示,单路由排名与专家效用评估排名之间一致性较弱,尤其是在中间层和深层。用于选择和计算的更丰富信号会产生额外成本:基于内部专家激活的选择需要初步计算,而通过同一专家分别处理多个完整表示会重复计算。我们提出 Multi-View MoE,以在固定专家预算下通过多个路由改进专家选择,并利用它们的偏好来调整专家计算。其多路由子模块聚合来自独立初始化路由的 sigmoid 分数,这些路由在训练过程中形成高度差异化的专家偏好,允许选择被某一路由强烈青睐或被多个路由共同支持的专家。Multi-View 还利用每个选定专家在各路由间的相对分数,将学习到的潜在视图混合到其输入中,将路由偏好同时用于选择和计算。每个选定专家执行一次前向传播,保持活跃专家数量、专家 FLOPs 以及 all-to-all 通信量不变。在一个基于 708B token 训练的 24 层 10B-A1B 模型上,完整的 Multi-View MoE 相比基线将九项下游任务的均值提升了 1.18 个百分点;仅多路由部分就带来 0.6 个百分点的增益,并提高了路由分数与评估专家效用之间的秩相关性,全球相对提升 8.1%,在单路由对齐最低的层相对提升约 58%。受控混合干预显示,模型使用的输入差异取决于专家和 token。

英文摘要:

Sparse mixture-of-experts (MoE) models expand parameter capacity by activating a small subset of experts per token. Expert selection directly affects model capabilities under a fixed active-expert budget. Dense evaluation of all experts reveals weak agreement between single-router rankings and expert-utility evaluation rankings, especially in middle and deep layers. Richer signals for selection and computation incur additional cost: selection based on internal expert activations requires preliminary computation, while processing multiple full representations separately through the same expert repeats its computation. We propose Multi-View Latent MoE to improve expert selection with multiple routers and reuse their preferences to modulate expert computation under a fixed expert budget. Its Multi-Router submodule aggregates sigmoid scores from independently initialized routers. These routers develop highly differentiated expert preferences during training, allowing experts strongly favored by one router or jointly supported by several routers to be selected. Multi-View further uses each selected expert's relative scores across routers to mix learned latent views into its input, reusing routing preferences for both selection and computation. Each selected expert executes one forward pass, preserving the active-expert count, expert FLOPs, and all-to-all communication volume. On a 24-layer 10B-A1B model trained on 708B tokens, Multi-View Latent MoE improves the nine-task downstream mean by 1.18 percentage points over the baseline. Multi-Router alone yields a 0.6-percentage-point gain and improves the rank correlation between router scores and evaluated expert utility, with relative increases of 8.1% globally and approximately 58% in the layer with the lowest single-router alignment. Controlled mixing interventions show the model uses input differences that depend on the expert and token.

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

↑