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

切片与切割:配置最优专家混合物

Slicing and Dicing: Configuring Optimal Mixtures of Experts

Paul G Allen School of Computer Science(保罗·G·艾伦计算机科学学院);University of Washington(华盛顿大学);New York University(纽约大学);Courant School of Data Science(科廷数据科学学院)

Margaret Li, Sneha Kudugunta, Danielle Rothermel, Luke Zettlemoyer

AI总结:

本文研究了混合专家架构中专家数量、粒度等核心参数的优化问题,发现专家数量和粒度对性能影响显著,其他参数影响较小。

摘要:

混合专家(MoE)架构已成为大语言模型的标准,但其核心设计选择如专家数量、粒度、共享专家、负载均衡和token丢弃等仅在狭窄配置范围内被研究。本文首次系统研究了超过2000次预训练运行,覆盖高达66亿参数的模型,全面调整总专家数、专家维度、单层内异构专家尺寸、共享专家尺寸和负载均衡机制。研究发现,在每个活跃参数规模下,总MoE参数数量增加始终提升性能,即使在极端活跃专家参数比例如128的情况下。此外,最优专家尺寸几乎不随总参数数量变化,仅取决于活跃参数数量。第三,其他选择如共享专家、异构专家和负载均衡设置相对于专家数量和粒度影响较小,尽管无丢弃路由策略始终带来一致收益。总体而言,我们的结果表明一种更简单的配方:专注于专家数量和粒度,其他选择对最终质量影响较小。

英文摘要:

Mixture-of-Experts (MoE) architectures have become standard in large language models, yet many of their core design choices - expert count, granularity, shared experts, load balancing, token dropping - have only been studied one or two at a time over narrow configuration ranges. It remains an open question whether these choices can be optimized independently, without considering interactions. We present the first systematic study of over 2,000 pretraining runs spanning models up to 6.6B total parameters, in which we exhaustively vary total experts, expert dimension, heterogeneous expert sizing within a single layer, shared expert size and load-balancing mechanisms. We find that at every active-parameter scale that we study, performance consistently improves with total MoE parameters even at extreme active expert parameter ratios like 128.Further, the optimal expert size is nearly invariant to total parameter count and depends only on active parameter count. Third, we see that other choices like shared experts, heterogeneous experts and load-balancing settings have small effects relative to expert count and granularity, although dropless routing yields a consistent gain. Overall, our results suggest a simpler recipe: focus on expert count and granularity, other choices have minimal effect on final quality.

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

↑