arXiv:2509.23678cs.LGcs.AI2025-09被引 8

提出首个全面的MoE模型缩放定律,指导高效设计。

Towards a Comprehensive Scaling Law of Mixture-of-Experts

  • 分解五项关键因子,系统实验验证其影响。
  • 发现最优专家数与共享比例不随架构/数据变化。
  • 提供理论最优配置,适合大模型研发者参考。

Mixture-of-Experts (MoE) 模型已成为实现大语言模型参数高效扩展和成本效益部署的主流方法。然而,现有针对密集模型的缩放定律无法适用于 MoE 模型,主要源于三个关键挑战:影响因素众多、相互耦合关系复杂,以及性能影响非单调。这要求对 MoE 特有的缩放规律进行细粒度研究。本文系统分解 MoE 设置,从规模与结构角度识别出五个关键影响因素:数据量(D)、总模型规模(N)、激活模型规模(Na)、活跃专家数(G)以及共享专家比例(S)。我们设计了446组受控实验,刻画各因子的边际效应,最终构建出涵盖所有核心因素的综合性、精确的联合 MoE 缩放定律。此外,我们推导出 G、S 以及 Na/N 的理论最优与实用效率最优配置,并进行详细分析。结果表明,最优的 G 和 S 设置独立于模型架构和数据规模;随着 N 增大,最优激活比例 Na/N 逐渐变稀疏。所提出的 MoE 缩放定律可为未来 MoE 模型的设计与训练提供准确而深刻的指导。

原文摘要 · Abstract (English)

Mixture-of-Experts (MoE) models have become the consensus approach for enabling parameter-efficient scaling and cost-effective deployment in large language models. However, existing scaling laws for dense models are inapplicable to MoE models, which stems from three critical challenges: the multiplicity of influencing factors, their intricate coupling relationships and the non-monotonic nature of their performance impacts. They collectively necessitate a fine-grained investigation into MoE-specific scaling laws. In this work, we perform a systematic decomposition of MoE settings, identifying five key factors that influence model performance from both size and structural perspectives (data size ($D$), total model size ($N$), activated model size ($N_a$), number of active experts ($G$) and the ratio of shared experts ($S$)). Specifically, we design $446$ controlled experiments to characterize their marginal effects, ultimately constructing a comprehensive and precise joint MoE scaling law that considers all essential factors. Furthermore, we derive the theoretically optimal and practically efficiency-aware optimal configurations for $G$, $S$ and $N_a/N$ with detailed analyses. Our results demonstrate that the optimal settings for $G$ and $S$ are independent of both the model architecture and data size. With the scaling of $N$, the optimal activation parameter ratio of $N_a/N$ becomes sparser. Our proposed MoE scaling law could function as an accurate and insightful guidance to facilitate future MoE model design and training.

MoE缩放定律大模型

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