How to Scale Mixture-of-Experts: From muP to the Maximally Scale-Stable Parameterization
Leena Chennuru Vankadara ⋅ Moritz Haas ⋅ Luke Hayward ⋅ Sebastian Bordt ⋅ Alessandro Breccia
Abstract
Recent frontier large language models predominantly rely on Mixture-of-Experts (MoE) architectures. Despite empirical progress, there is still no principled understanding of how hyperparameters should scale with network width $N$, expert width $N_e$, number of experts $M$, sparsity $K$, and depth $L$ to ensure stability and optimal performance at scale. We take a step toward resolving this gap by analyzing three co-scaling regimes: (I) $N\asymp N_e \to \infty$, (II) $N\asymp M\asymp K \to \infty$, and (III) $N\asymp N_e \asymp M\asymp K \to \infty$. For each regime, we derive the parameterization for SGD, Adam, and Muon satisfying all maximal-update ($\mu$) desiderata ($\mu$P), and characterize the limiting gradient-flow dynamics through a novel Dynamical Mean Field Theory (DMFT). We then show that the resulting $\mu$P prescription does not reliably induce monotonic improvement with scale or robust learning-rate transfer. We trace these pathologies to scale-dependent observables in the dynamics, which motivates a refined set of desiderata that we term maximal scale stability. Guided by this principle, we derive a Maximally Scale-Stable Parameterization (MSSP) for SGD, Adam, and Muon in all three regimes, and characterize the corresponding limiting dynamics, qualitatively distinct from the $\mu$P limit, through a DMFT analysis. We further conjecture an MSSP for arbitrary co-scaling paths with $N\to\infty$, including extremely sparse routing with $K \in o(M)$. Experiments verify that MSSP robustly recovers learning-rate transfer and monotonic improvement with scale across regimes. Combined with existing depth-scaling analyses, these results provide a complete scaling prescription for MoEs as a function of width, depth, expert width, number of experts, and sparsity.
Successful Page Load