Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization
Weilin Wan, Jingtao Han, Debing Zhang, Weizhong Zhang, Cheng Jin
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Scaling Laws and Optimization · Type: new method · Keywords: Mixture-of-Experts scaling laws, MoE architecture optimization, compute budget allocation, parameter efficiency, large language model scaling
Summary
The paper introduces a reusable framework for holistic MoE architectural optimization that derives globally applicable scaling laws mapping any compute budget to its optimal architecture.
Explained to a 5-year-old
People build big computer brain models that can talk and think. These models have special parts called experts that help them do different jobs. The paper shows how to pick the right number of experts and parts so the models use computer power wisely. It finds that when the models get bigger, there is more freedom in choosing how many experts to use. This helps make the models faster and cheaper.
Explained to a 5-year-old, longer
Big computer brain models are used to read, write, and answer questions. They are built using many small pieces called experts that each know a different skill. Choosing how many experts and how big each piece is can be tricky. The paper looks at how computers spend their power when running these models. It finds that just counting the work per step is not enough because some parts need more power than others. So the researchers added two more numbers to keep track of how many experts are actually used and how many total experts exist. With these three numbers, they can find the best combination of experts for any amount of computer power. They also discovered that when the model gets really huge, there is more room to change the design without hurting performance. This makes it easier for engineers to pick a design that is both fast and cheap. The findings give clear guidelines for building efficient large models. They help avoid wasting computer resources on unnecessary parts. In the end, the paper provides simple rules for picking the right size and number of experts for any project.
For a technical reader
The work proposes a systematic way to choose MoE architecture parameters by jointly considering FLOPs per token, active parameters, and total parameters. It uses mathematical decoupling based on structural constraints and a rank-preserving hidden dimension to reduce the search complexity from O(n16) to O(n3)+O(n2). Empirical validation across hundreds of models yields scaling laws that map any compute budget to an optimal configuration, showing that the optimal region widens with scale.
Problem
Precise architectural configurations for Mixture-of-Experts models are currently guided by heuristics, and existing scaling studies either overfit coefficients or ignore global architecture effects, leading to suboptimal resource allocation.
Method
The approach establishes a joint constraint triad of FLOPs per token, active parameters, and total parameters to better characterize MoE models, then uses mathematical decoupling-leveraging structural constraints and a rank-preserving hidden dimension-to factorize the massive search space into a two-phase optimization.
Results
The validation across a wide compute range yields globally applicable scaling laws that map any compute budget to an optimal architecture, and shows that the near-optimal configuration band widens with scale, enabling trade-offs between scaling recommendations and engineering constraints.
Contributions
It provides a reusable framework for holistic MoE architectural optimization, introduces a joint constraint triad for rigorous characterization, and derives actionable scaling law blueprints that guide optimal MoE design under arbitrary compute budgets.
Practical relevance
These blueprints enable practitioners to select optimal MoE architectures for any compute budget, improving efficiency and reducing wasted parameters in large-scale model deployment.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction