Sparse Mixture-of-Experts for Compositional Generalization: Empirical Evidence and Theoretical Foundations of Optimal Sparsity
On the map: Mixture-of-experts → MoE theory and gating functions
Abstract (arXiv)
Sparse Mixture-of-Experts (SMoE) architectures have gained prominence for their ability to scale neural networks, particularly transformers, without a proportional increase in computational cost. Despite their success, their role in compositional generalization, i.e., adapting to novel combinations of known components, remains under-explored. This study challenges the assumption that minimal expert activation suffices for task generalization and investigates the relationship between task complexity and optimal sparsity in SMoE models. Through empirical evaluations on the SRAVEN symbolic reasoning task and the SKILL-MIX benchmark, we demonstrate that (i) the number of activated experts consistently increases with the perceived task difficulty to maintain performance; and (ii) the optimal number of activated experts scales proportionally with task complexity. Our theoretical analysis derives a scaling law for optimal sparsity by balancing approximation and estimation errors, revealing alignment with empirical observations. We formally show that the optimal sparsity lies between minimal activation (1-2 experts) and full activation, with the exact number scaling proportionally to task complexity and further influenced by the size of the training data and the complexity of the model. These findings offer practical insights for designing SMoE models that achieve computational efficiency while enabling robust compositional generalization.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in MoE theory and gating functions, one of 12 directions in Mixture-of-experts. Builds on 28 of its 42 references that are in the map. First posted on arXiv 17 Oct 2024.
Builds on
28 of 42 references.
Closest ancestors · 5
Same direction, newest first
- 2024Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts22 May
- 2023A General Theory for Softmax Gating Multinomial Logistic Mixture of Experts22 Oct
- 2023Statistical Perspective of Top-K Sparse Softmax Gating Mixture of Experts25 Sep
- 2023Towards Convergence Rates for Parameter Estimation in Gaussian-gated Mixture of Experts12 May
- 2023Demystifying Softmax Gating Function in Gaussian Mixture of Experts5 May
Other references · 23
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMCcited by 216
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2023Skill-it! A Data-Driven Skills Framework for Understanding and Training Language Modelscited by 120
- 2023A Theory for Emergence of Complex Skills in Language Modelscited by 111
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 91
- 2018Bias and Generalization in Deep Generative Models: An Empirical Studycited by 83
11 more
- 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Modelscited by 71
- 2023Skill-Mix: a Flexible and Expandable Family of Evaluations for AI modelscited by 64
- 2018Structured Disentangled Representationscited by 62
- 2022Towards Understanding Mixture of Experts in Deep Learningcited by 52
- 2022Is a Modular Architecture Enough?cited by 35
- 2022DALL-E 2 Fails to Reliably Capture Common Syntactic Processescited by 31
- 2023Discovering modular solutions that generalize compositionallycited by 22
- 2024Towards an empirical understanding of MoE design choicescited by 20
- 2024Law of the Weakest Link: Cross Capabilities of Large Language Modelscited by 12
- 2022Upper bounds on the Natarajan dimensions of some function classescited by 8
- 2024Tighter Risk Bounds for Mixtures of Expertscited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Generalization Error Analysis for Sparse Mixture-of-Experts: A Preliminary Study
- 2025Rethinking Sparse Mixture of Experts from a Unified Perspective
- 2026Robustness of Mixtures of Experts to Feature Noise
- 2023Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts Conversion
- 2025Sparsity and Superposition in Mixture of Experts
- 2025Finding Fantastic Experts in MoEs: A Unified Study for Expert Dropping Strategies and Observations
- 2024Beyond Parameter Count: Implicit Bias in Soft Mixture of Experts
- 2026Variational Inference, Entropy, and Orthogonality: A Unified Theory of Mixture-of-Experts