Generalization and Scaling Laws for Mixture-of-Experts Transformers

Mayaki, Mansour Zoubeirou a

–arXiv.org Artificial Intelligence 

Mixture-of-Experts (MoE) Transformers enable conditional computation: for each token, only a small subset of experts is activated, so the number of active parameters per input is much smaller than the total number of parameters in the model. This yields a practical advantage: compute scales primarily with the number of active experts, while the full expert pool still provides substantial capacity for specialization. Despite striking empirical gains, a theory that cleanly separates the benefits of active capacity from the overheads induced by routing has been missing. In particular, existing scaling laws for dense models track error as a function of total parameters, dataset size, and compute, whereas MoE models require a more refined accounting: (i) approximation should scale with the active parameter budget rather than the total parameter count; (ii) generalization should reflect the multiplicity of routing patterns; and (iii) computeoptimal training should couple data and active capacity rather than data and total parameters. In this work, we develop approximation and uniform generalization results for MoETransformers that make these distinctions explicit. Classical bounds indexed by the ambient dimension D predict unrealistically slow rates for high-dimensional inputs, whereas empirical scaling for Transformers is much faster. A growing body of theory and evidence shows that when data concentrate on a d-dimensional manifold, both approximation and estimation rates and hence the resulting scaling exponents are governed by the intrinsic dimension d rather than D. Recent work (Havrilla & Liao, 2024) develops approximation and statistical theories for Transformers on intrinsically low-dimensional data, deriving data-and model-scaling exponents that depend explicitly on d and validating these predictions on language-modeling benchmarks. Motivated by these results, we adopt d as the geometric control parameter throughout: it aligns the theory more closely with practice, explains faster-than-1/D behavior, and yields MoE scaling predictions that are sensitive to data geometry.