Generalization and Scaling Laws for Mixture-of-Experts Transformers
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Hi, I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "Generalization and Scaling Laws for Mixture-of-Experts Transformers".
Jane: Here's the gist of the paper. The gist The theory develops a statistical framework for Mixture-of-Experts (MoE) Transformers that separates active per-token capacity from routing combinatorics, deriving approximation and uniform generalization bounds that reveal scaling laws mirroring dense models when measured against active parameters.
Tom: Metric-Entropy Decomposition The main theoretical contributions include establishing a "Metric-entropy decomposition for MoE Transformers" which decomposes the complexity additively into an "active-parameter term and a routing combinatorial term," thereby isolating the statistical effect of conditional computation pg2.
Jane: This decomposition allows for the isolation of the statistical effect of conditional computation pg3.
Tom: Approximation and Uniform Generalization The paper derives "Approximation and uniform generalization under intrinsic dimension" bounds, which separate "approximation, estimation, and routing contributions, with rates governed by active capacity" pg2.
Paper summary: Tom: So wrapping up this "Generalization and Scaling Laws for Mixture-of-Experts Transformers" paper. The authors are Mansour Zoubeirou and Mayaki.
Jane: They introduce a metric-entropy decomposition for MoE Transformers, separating complexity into an active-parameter term and a routing combinatorial term, which isolates the statistical effect of conditional computation pg2.
Lu: Their main contribution is the approximation and uniform generalization under intrinsic dimension bound, which shows that approximation and estimation trade off just like in dense networks once you properly account for the active parameters pg2.
Meng: From my side, what this means is that we can use these scaling laws to understand where our compute budget should be spent on active capacity versus handling the routing overhead.
Tom: Exactly, because they derive neural scaling laws for sparse architectures by measuring error against the active parameter budget, showing those exponents mirror dense-network behavior when measured against active parameters pg4.
Jane: The authors clarify that routing acts as an additive overhead in this framework, and it's not just a constant thing; its effect depends on the regime of expert activation and total experts pg3.
Lu: They prove a constructive approximation theorem showing that error can decrease either by scaling active capacity or by increasing the number of experts, depending on which bottleneck you have pg32.
Meng: So, if we're looking at deployment right now, this paper provides a conservative statistical reference point for reasoning about sparse Transformer scaling, clarifying when MoE models should behave like dense models measured in active capacity and when additional data-dependent structure in routing and expert specialization can lead to behavior beyond uniform guarantees pg10.
Tom: That's the gist of it. The paper gives us a transparent statistical reference point for reasoning about MoE scaling, clarifying which behaviors are certified by worst-case theory and which must arise from data-dependent routing structure or optimization dynamics.
Conclusion: Tom: So we're wrapping up on "Generalization and Scaling Laws for Mixture-of-Experts Transformers." Basically, the paper is giving us a way to separate the performance of these MoE models into two parts: how good they are at learning, and how much extra work the routing part adds.
Jane: Right, so if I'm driving and I ask my GPS if it knows where I am, this paper is trying to figure out how much of that error comes from the map itself versus the signal on my phone.
Lu: What they actually do is get a decomposition of complexity into an "active parameter term" and a "routing combinatorial term." That separates the statistical part from the routing part.
Meng: From my side, I'm interested in that active parameter budget thing because it tells me what compute I can actually spend on training versus just managing all those expert pointers.
Tom: Exactly, because they show that when you measure error against just the active parameters, it starts behaving like a standard dense network. That’s the core idea there.
Jane: So for someone listening who isn't deep in math, it means we can use these bounds to see if a MoE model is actually using its full potential or if it's bottlenecked by how many experts are being activated at any given moment.
Lu: They also give us a constructive approximation theorem. That means we can actually prove that we can reduce the error either by scaling up the active capacity or by adding more experts, depending on what's slowing us down.
Meng: That’s what I care about for deployment—knowing if I should focus on making my model bigger in terms of active parameters or just adding more routing logic.
Tom: And they do derive neural scaling laws based on that active parameter budget, which gives us a concrete number for how model size and data size trade off when you only count what's actually doing the work.
Jane: It seems like this gives us a much clearer statistical reference point to judge MoE models without just looking at raw benchmark scores.
Lu: Yeah, it tells us that the routing overhead is something we have to manage, but it doesn't fundamentally change the scaling behavior of the model itself when you look at active capacity.
Tom: It’s a conservative statistical reference point for reasoning about sparse Transformer scaling, clarifying what's guaranteed by worst-case theory versus what depends on how the data routes itself.
Jane: So if you're building something big, this suggests that the routing structure and how experts specialize might be more important than just adding a few more layers or parameters in a standard dense way.
Lu: It does mean we need to keep an eye on that load balance during training because the paper shows routing entropy can be a useful diagnostic tool.
Meng: I'll keep an eye on those diagnostics, because if the routing overhead becomes too much, that’s where my production models start breaking down.
Mansour Zoubeirou, Mayaki
University of Lyon · LIRIS UMR 5205
cs.LG, cs.AI, math.ST, stat.ML, stat.TH
Submitted: 2026-04-10
Updated: 2026-10-21
Comments: Published at ICML 2026
Journal ref: Proc. Mach. Learn. Res. 306:87097-87134, 2026 (ICML 2026)
Project page: https://mansmayaki.github.io
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 81/100
The gist: The gist The theory develops a statistical framework for Mixture-of-Experts (MoE) Transformers that separates active per-token capacity from routing combinatorics, deriving approximation and uniform
Key concepts
- Metric-entropy decomposition
- This technique splits the total complexity of an MoE Transformer into two parts: one related to the number of active parameters (the statistical capacity) and another related to the routing patterns (the combinatorial overhead). This allows researchers to isolate how much performance is due to computation versus how much is due to how experts are chosen.
- Active parameter budget
- This refers specifically to the number of parameters that are actually used during a forward pass, rather than the total number of parameters in the model. The theory shows that generalization and scaling laws for MoE models primarily depend on this active budget, suggesting that performance scales similarly to dense networks when evaluated against this metric.
- Routing overhead
- This term quantifies the extra computational cost or complexity introduced by the routing mechanism itself—the process of deciding which experts to use for a given input. The analysis shows that this overhead is present in worst-case bounds, but its impact on performance depends on whether the system is in a moderate regime or a specialization-dominated regime.
Terminology
Summary
The gist The theory develops a statistical framework for Mixture-of-Experts (MoE) Transformers that separates active per-token capacity from routing combinatorics, deriving approximation and uniform generalization bounds that reveal scaling laws mirroring dense models when measured against active parameters.
Metric-Entropy Decomposition
The main theoretical contributions include establishing a Metric-entropy decomposition for MoE Transformers
which decomposes the complexity additively into an active-parameter term and a routing combinatorial term,
thereby isolating the statistical effect of conditional computation pg2. This decomposition allows for the isolation of the statistical effect of conditional computation pg3.
Approximation and Uniform Generalization
The paper derives Approximation and uniform generalization under intrinsic dimension
bounds, which separate approximation, estimation, and routing contributions, with rates governed by active capacity
pg2. Specifically, Theorem 3.2 shows that the error bound is bounded by a term involving the active attention+expert budget Nact
and a term involving LT lk log(eM/k)
pg4. The generalization bound under this model shows that approximation and estimation trade off as in dense networks once active parameters are accounted for appropriately pg2.
Neural Scaling Laws
The work recovers neural scaling laws for sparse architectures
by measuring error against the active parameter budget Nact,
showing that the scaling exponents mirror dense-network behavior when measured against active parameters
pg4. The data scaling law is derived as E kTˆn − fk 2 L2(Q) n − αD, where αD = 2β / (2β+d) pg4. Furthermore, the model-scaling law shows that under certain conditions, the error scales as E kTˆn − fk 2 L2(Q) N − αN, where αN = 2β / d pg6.
Routing Overhead and Specialization
The analysis explicitly accounts for routing overhead
as a term proportional to k log(eM/k)
in the worst-case bound pg3. Empirical validation shows that in a moderate regime (M/k ≤ 8), validation loss increases with the routing complexity term k log(eM/k),
consistent with worst-case theory pg9. However, for larger values of M/k, an empirical reversal is observed where increasing the expert pool improves performance despite higher routing complexity,
suggesting gains from expert specialization not captured by uniform bounds pg9.
Optimal Allocation and Trade-offs
The paper derives Compute-optimal allocation of Nact and n
under a fixed compute budget C, showing that the excess error bound is minimized by N⋆act(C) = C d / (2β+2d) pg8. The resulting compute error scaling law is E kTˆn − fk 2 L2(Q) C − β / (β + d) pg8, which provides the MoE analogue of compute scaling laws pg8.
Consistency Checks and Empirical Mapping
The theory is checked against empirical results by comparing theoretical exponents to those derived from intrinsic-dimension analysis, observing systematic, monotone-positive deviations across (see Table 5)
pg19. The results suggest that the smoothness-based exponents used in our analysis provide a reasonable statistical reference point for interpreting the observed scaling behavior
pg19. The expanded routing ablations reveal two regimes: a moderate regime where performance degrades with the routing term k log(eM/k), and a specialization-dominated regime for larger M/k pg9.
Conclusion and Implications
The findings indicate that active per-token capacity plays a central role in MoE performance, while routing contributes an additional overhead whose effect depends on the regime
pg10. The work provides a conservative statistical reference point for reasoning about sparse Transformer scaling,
clarifying when MoE models should behave like dense models measured in active capacity and when additional data-dependent structure in routing and expert specialization can lead to behavior beyond uniform guarantees pg10. The analysis suggests that routing entropy and load balance remain useful diagnostics during training,
while the theoretical bounds are conservative, reflecting a need for further data-dependent analyses pg13.
How it works
The framework decomposes the error into approximation, estimation, and routing terms where excess risk decomposes into approximation, estimation, and routing terms
pg3. The complexity of MoE Transformers is decomposed additively into an active-parameter term and a routing combinatorial term,
isolating the statistical effect of conditional computation pg3.
The approximation bound under Hölder smoothness, Theorem 3.2, states that inf T ∈TMoE kT − fk 2 ∞ ≤ C · minn N − 2β/d act, M − 2β/do pg4. This bound separates the approximation rate governed by active capacity from the routing combinatorial term, which contributes an additional logarithmic term LT lk log(eM/k) pg3.
The covering number of TMoE under the sup-norm is bounded by a term that includes both the active parameter budget
and the routing combinatorial term,
specifically log N δ, TMoE, k · k∞ ≤ C1 Πattn + LT kΠexp logC2κRM0 δ + C3LT lk logeM/k" pg5. This bound combines the approximation term and the routing overhead pg3.
The neural scaling laws are derived by minimizing a function g(k) that balances approximation and estimation, leading to an optimal number of active experts k⋆ ≈ nA + LT l log eM/k⋆ d / (2β+d) pg10. This shows that the dependence of k⋆ on M enters only logarithmically pg10. The routing-dominated regime is suppressed precisely when the effective expert activation (k) and the combinatorial explosion in M are controlled, allowing the system to operate in the favorable power-law regime where sample complexity scales as n − 2β / (2β+d) pg13.
How it works
The block-level perturbation bound, Lemma I.1, shows that the total output difference is bounded by Lparam η, where Lparam is a constant depending on Parch(l, m, demb, wFFN, LFFN) κ
pg40. This stability bound demonstrates that the perturbation in the network output scales linearly with the parameter perturbation η pg40.
The covering number of TMoE under k · k∞ is bounded by a term that includes LT lk log(eM/k)
pg3, which arises from a union bound over all routing patterns pg3. This term is conservative and should be interpreted as a worst-case upper bound rather than a tight characterization of practical routing behavior pg3.
The proof of Theorem 3.2 involves constructing two constructions, Construction A (expert-count limited) and Construction B (active-parameter limited), yielding the minimum rate inf T ∈TMoE kT − fk∞ ≤ C min N − 2β/d act, M−β/d pg32. This demonstrates that the rate is governed by either active capacity or the total number of experts M, with routing entering only logarithmically pg33.
Improvements for AI systems
-
Compute efficiency gains through active capacity focus by designing MoE layers where M is commensurate with k (e.g., M = O(k)). This avoids routing overhead inflation and ensures that scaling only affects the approximation term, leading to faster convergence in terms of active parameters rather than total model size.
-
Data-efficient training by optimizing the number of active experts k based on the formula derived from setting the derivative of the error bound to zero (Equation 47). This allows for a precise allocation of Nact and n under a fixed compute budget C, ensuring that both dataset size and active parameter count grow optimally according to Equation 18.
-
Improved generalization by using expert specialization when M is significantly larger than k (M/k is large). The paper shows that in the specialization-dominated regime,
increasing the expert pool improves performance despite higher routing complexity,
suggesting architectural choices like top-k or expert-choice routing can lead to empirical gains beyond worst-case bounds. -
Enhanced robustness against parameter perturbations by leveraging the derived block-level stability bound (Equation 70). This bound shows that the total output difference is bounded by a term proportional to k times the active parameter budget, allowing for stable training even when expert weights are perturbed within a small epsilon range.
Abstract
We develop a theory of generalization and scaling for Mixture-of-Experts (MoE) Transformers that cleanly separates active per-input capacity from routing combinatorics. By conditioning on fixed routing patterns and union-bounding across them, we derive a sup-norm covering-number bound whose metric entropy scales with the active parameter budget and incurs a MoE-specific routing overhead. Combined with a standard ERM analysis for squared loss, this yields a generalization bound under a d-dimensional manifold data model and C β targets, showing that approximation and estimation trade off as in dense networks once active parameters are accounted for appropriately. We further prove a constructive approximation theorem for MoE architectures, showing that, under the approximation construction, error can decrease either by scaling active capacity or by increasing the number of experts, depending on the dominant bottleneck. From these results we derive neural scaling laws for model size, data size, and compute-optimal tradeoffs. Overall, our results provide a transparent statistical reference point for reasoning about MoE scaling, clarifying which behaviors are certified by worst-case theory and which must arise from data-dependent routing structure or optimization dynamics.
Sources
- Layer Normalization
- DeepSeek-V3 Technical Report
- GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English?
- Deep Learning Scaling is Predictable, Empirically
- Mixtral of Experts
- Scaling Laws for Neural Language Models
- Scaling Laws for Fine-Grained Mixture of Experts
- Scaling Fine-Grained MoE Beyond 50B Parameters: Empirical Evaluation and Practical Insights
- BASE Layers: Simplifying Training of Large, Sparse Models
- Scaling Laws for Upcycling Mixture-of-Experts Language Models
- DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
- Scaling Vision with Sparse Mixture of Experts
- Towards Greater Leverage: Scaling Laws for Efficient Mixture-of-Experts Language Models
- Are Transformers universal approximators of sequence-to-sequence functions?
- Mixture-of-Experts with Expert Choice Routing
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