Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization".
Jane: The gist The proposed framework establishes a reusable,
Tom: First, who's behind it and why it matters.
Paper summary: Tom: So, looking at "Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization," the authors point out that just relying on FLOPs per token isn't enough because of how the attention and feed forward networks work together.
Jane: They argue that you get misleading performance gains from parameter inflation when you only look at M, which means you need to consider other things too.
Lu: To fix this, they use a mathematical decoupling strategy that takes into account inherent structural constraints and a property of the hidden dimension called rank preservation to factorize the big optimization problem.
Meng: It seems like they are trying to move away from just fitting scaling laws directly across all these variables because that leads to a massive experimental cost of O(n sixteen) <ref:2603.21862#pg3,fitting scaling laws directly across>.
Lalam: They propose locking in some main parameters first and then tackling the rest in stages, which is a clever way to manage that complexity.
Conclusion: Tom: So, looking at "Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization," the authors are really pushing for a general-purpose framework that can find the complete optimal allocation of M, D, Na, N, and d from just a given compute budget C.
Jane: What this means in simpler terms is they've created a deterministic pipeline that takes your budget and gives you the best possible MoE architecture directly.
Lu: It provides a way to get the optimal Mopt and Dopt through these derived scaling laws, which is something we needed for better structural optimization.
Meng: The implication for engineers is that they can now use this framework to make real infrastructure decisions based on compute budget instead of just following some heuristic recommendations.
Lalam: It helps improve culture by giving us a consistent way to evaluate different architectural choices fairly across a wide range of scales.
College of Computer Science and Artificial Intelligence, Fudan University · Hi Lab, Xiaohongshu Inc. · School of Data Science, Fudan University
cs.LG
Submitted: 2026-03-23
Updated: 2026-10-13
Comments: Camera-ready version accepted at NeurIPS 2026. 43 pages
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 81/100
The gist: The gist The proposed framework establishes a reusable, cost-efficient experimental paradigm for systematically studying MoE architectural properties at scale by employing a mathematical decoupling
Key concepts
- FLOPs per token (M)
- This metric measures the computational work done for each token processed by the model. The paper argues that relying solely on M is flawed because different layers (like Attention vs. FFN) have different computational densities, leading to misleading performance gains when only M is considered.
- Constraint Triad
- This involves simultaneously constraining the architectural search space using three key parameters: FLOPs per token (M), active parameters (Na), and total parameters (N). This triad is necessary because MoE models can inflate N and Na while keeping M constant, introducing bias if only M is used for optimization.
- Dimension Decomposition
- This strategy transforms the extremely large search space into a manageable problem by mathematically decoupling it. It locks macroscopic parameters (M, Na, N) first and then uses rank-preserving properties to factorize the global optimization into two sequential phases: one O(n^3) phase and one O(n^2) phase.
- Two-Phase Search Strategy
- The optimization is split into two distinct stages. Phase 1 evaluates optimal scaling behaviors for total parameters (Nopt_a(M)) using a proxy search costing O(n^3). Phase 2 then determines the optimal scaling law for the hidden dimension (d) given fixed constraints, requiring only an additional O(n^2) runs.
Terminology
Summary
The gist The proposed framework establishes a reusable, cost-efficient experimental paradigm for systematically studying MoE architectural properties at scale by employing a mathematical decoupling strategy to reduce the search space from O(n 16) to two sequential phases of O(n 3) and O(n 2)
How it works
The paper introduces a general-purpose framework for holistic MoE architectural optimization that is itself a central contribution of this work by being a reusable, cost-efficient experimental paradigm for systematically studying MoE architectural properties at scale The analysis first reveals that exclusive reliance on FLOPs per token (M) is an inadequate scaling metric for MoE models because heterogeneous computational densities between Attention and FFN layers can yield misleading performance gains driven by parameter inflation rather than effective compute utilization To tame the combinatorial explosion of the resulting high-dimensional search space, a mathematical decoupling strategy is employed that leverages inherent structural constraints and a rank-preserving property of the hidden dimension, factorizing the global optimization problem into a highly efficient, proxy-based search paradigm
Constraint Triad and Dimension Reduction
To ensure fair and robust structural optimization within the MoE design space, the architectural search space must be rigorously constrained by a joint triad: FLOPs per token (M), active parameters (Na), and total parameters (N) This constraint is necessary because anchoring solely on M introduces an inherent bias because MoE models can inflate their total parameter count (N) and active parameters (Na) while keeping M constant The framework first adopts the established methodology of Hoffmann et al. to characterize the classical (C, M, D) scaling laws by identifying six compute-optimal (C, M, D) combinations This approach effectively eliminates two dimensions from the overarching optimization problem
Two-Phase Search Strategy
The dimension decomposition methodology transforms an intractable O(n 16) search space into a manageable O(n 3) + O(n 2) two-phase search through mathematical constraints, rank-preserving properties, and coordinate transformation The framework first locks the macroscopic parameters (M, Na, N), reducing the complexity to four fundamental degrees of freedom: FLOPs per token (M), active parameters (Na), total parameters (N), and the hidden dimension d Phase 1 involves evaluating optimal scaling behaviors of Nopt a(M) and Nopt(M) using a d-proxy, incurring a manageable cost of O(n 3) Phase 2 focuses on determining the optimal scaling law for the hidden dimension d given the fixed (M, Na, N), requiring only O(n 2) additional runs
Key Empirical Findings and Engineering Insights
A key empirical finding is that the near-optimal configuration band widens as compute scale increases, providing a quantitative basis for practical trade-offs between scaling law recommendations and infrastructure engineering constraints This widening provides a quantitative basis for practitioners to navigate trade-offs between scaling law recommendations and real-world infrastructure engineering constraints Furthermore, the near-optimal band widens with increasing compute scale, indicating that large-scale models are increasingly tolerant of architectural deviations from the strict optimum The near-optimal band provides a principled, quantitative basis for evaluating such deviations by quantifying the performance cost of such deviations
Generality and Future Directions
The dimension decomposition methodology is designed to be reusable, as after locking the macroscopic parameters (M, Na, N), the remaining architectural degrees of freedom collapse to exactly one This single degree of freedom can be filled by any structural ratio of interest—such as the MoE FFN intermediate width relative to the hidden size—enabling controlled, fair comparisons across structural variants The framework is designed to be extended, and the dimension reduction and two-phase search strategy remain valid regardless of which structural property fills the final degree of freedom This research provides a deterministic pipeline from compute budget to complete MoE architecture by deriving the complete optimal allocation (M, D, Na, N, d) from a given compute budget C
Conclusion
The derived scaling laws provide a deterministic pipeline from compute budget to complete MoE architecture by determining optimal Mopt and Dopt via Eq.
Improvements for AI systems
-
Holistic architectural optimization framework: The proposed framework allows for
determining strictly optimal MoE architectures under arbitrary compute budgets
by deriving acomplete optimal allocation (M, D, Na, N, d) from a given compute budget C,
providing actionable blueprints for designing MoE models that minimize training loss. -
Dimension decomposition methodology: The strategy reduces the search complexity by transforming an
intractable O(n 16) search space into a manageable optimization
viaa two-phase search of O(n 3) and O(n 2),
enabling systematic exploration of MoE architectural properties efficiently. -
Robust performance trade-off assessment: The empirical finding that the
near-optimal configuration band widens as compute scale increases
allows practitioners to make informed decisions, providing aquantitative basis for practical trade-offs between scaling law recommendations and infrastructure engineering constraints.
Sources
- Parameters vs FLOPs: Scaling Laws for Optimal Sparsity for Mixture-of-Experts Language Models
- GPT-4 Technical Report
- DeepSeek LLM: Scaling Open-Source Language Models with Longtermism
- Scaling Laws for Predicting Downstream Performance in LLMs
- Language models scale reliably with over-training and on downstream tasks
- Scaling Laws for Autoregressive Generative Modeling
- Deep Learning Scaling is Predictable, Empirically
- MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategies
- dots.llm1 Technical Report
- OpenAI o1 System Card
- Mixture of Parrots: Experts improve memorization more than reasoning
- Scaling Laws for Neural Language Models
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Predictable Scale: Part I, Step Law -- Optimal Hyperparameter Scaling Law in Large Language Model Pretraining
- DeepSeek-V3 Technical Report
- Decoupled Weight Decay Regularization
- Joint MoE Scaling Laws: Mixture of Experts Can Be Memory Efficient
- OLMoE: Open Mixture-of-Experts Language Models
- Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Laws
- GLU Variants Improve Transformer
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks