cs.LGMar 23, 2026

Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization

Authors: Weilin Wan, Jingtao Han, Debing Zhang, Weizhong Zhang, Cheng Jin

Organizations: College of Computer Science and Artificial Intelligence, Fudan University · Hi Lab, Xiaohongshu Inc. · Project Numina · School of Data Science, Fudan University

Abstract

Scaling laws govern macroscopic resource allocation for LLMs, yet precise architectural configurations for Mixture-of-Experts (MoE) models remain guided by heuristics. Existing MoE scaling studies either incorporate MoE-specific variables into scaling formulas, causing fitted coefficients to grow rapidly without proportional experimental support, or fix all non-MoE factors, implicitly assuming global architecture does not influence local MoE scaling. We propose a reusable framework for holistic MoE architectural optimization. We first show that MoE architectures decouple FLOPs per token (MM), active parameters (NaN_a), and total parameters (NN), which serve as distinct proxies for computation, weight access, and parameter storage. We therefore establish a joint constraint triad of MM, active parameters (NaN_a), and total parameters (NN) for rigorous MoE characterization. To tame the resulting O(n16)O(n^{16}) search space, we employ mathematical decoupling: structural constraints and a rank-preserving property of the hidden dimension factorize the optimization into an O(n3)+O(n2)O(n^3) + O(n^2) two-phase search. Through extensive validation across 670+ MoE models spanning 101810^{18} to 3×10203 \times 10^{20} FLOPs, we derive globally applicable scaling laws mapping any compute budget to its optimal architecture. A key finding is that the near-optimal configuration band widens with scale, providing a quantitative basis for trade-offs between scaling law recommendations and engineering constraints. Our work delivers actionable blueprints for optimal MoE design under arbitrary compute budgets.

Figures & tables

Appendix figures & tables23 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Slicing and Dicing: Configuring Optimal Mixtures of Experts

    May 12, 2026Margaret Li, Sneha Kudugunta, Danielle Rothermel +1Mixture-of-Experts Language ModelsMixture of Experts

  2. Optimal Expert-Attention Allocation in Mixture-of-Experts: A Scalable Law for Dynamic Model Design

    Mar 11, 2026Junzhuo Li, Peijie Jiang, Changxin Tian +3Mixture-of-Experts ModelsAI Scaling Laws