Training Matryoshka Mixture-of-Experts for Elastic Inference-Time Expert Utilization
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
Mixture-of-Experts (MoE) has emerged as a promising paradigm for efficiently scaling large language models without a proportional increase in computational cost. However, the standard training strategy of Top-K router prevents MoE models from realizing their full potential for elastic inference. When the number of activated experts is altered at inference time, these models exhibit precipitous performance degradation. In this work, we introduce Matryoshka MoE (M-MoE), a training framework that instills a coarse-to-fine structure directly into the expert ensemble. By systematically varying the number of activated experts during training, M-MoE compels the model to learn a meaningful ranking: top-ranked experts collaborate to provide essential, coarse-grained capabilities, while subsequent experts add progressively finer-grained detail. We explore this principle at multiple granularities, identifying a layer-wise randomization strategy as the most effective. Our experiments demonstrate that a single M-MoE model achieves remarkable elasticity, with its performance at various expert counts closely matching that of an entire suite of specialist models, but at only a fraction of the total training cost. This flexibility not only unlocks elastic inference but also enables optimizing performance by allocating different computational budgets to different model layers. Our work paves the way for more practical and adaptable deployments of large-scale MoE models.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 28 of its 31 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
28 of 31 references.
Closest ancestors · 4
Same direction, newest first
- 2025Towards Greater Leverage: Scaling Laws for Efficient Mixture-of-Experts Language Models23 Jul
- 2025Qwen3 Technical Report14 May
- 2024XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection27 Feb
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan
Other references · 24
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 404
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2022Matryoshka Representation Learningcited by 282
12 more
- 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 85
- 2024Matryoshka Multimodal Modelscited by 84
- 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Modelscited by 72
- 2024Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Modelscited by 56
- 2024Matryoshka Query Transformer for Large Vision-Language Modelscited by 50
- 2024Flextron: Many-in-One Flexible Large Language Modelcited by 45
- 2024Federated Model Heterogeneous Matryoshka Representation Learningcited by 21
- 2025Expert Race: A Flexible Routing Strategy for Scaling Diffusion Transformer with Mixture of Expertscited by 14
- 2024Train Once, Deploy Anywhere: Matryoshka Representation Learning for Multimodal Recommendationcited by 9
- 2024Matryoshka Representation Learning for Recommendationcited by 5
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Variational Inference, Entropy, and Orthogonality: A Unified Theory of Mixture-of-Expertscited by 3
- 2026m3BERT: A Modern, Multi-lingual, Matryoshka Bidirectional Encodercited by 1
- 2026PARCEL: Pool-Anchored Resampling with Conditioned Elastic Queries for Efficient Vision-Language Understandingcited by 1
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
- 2026FlexMoE: One-for-All Nested Intra-Expert Pruning for MoE Language Modelscited by 0
- 2026Training-Free Halving of Activated Experts in Fine-Grained Mixture-of-Experts Modelscited by 0
- 2026Elastic Selective Spectral Hybrids for Train-Once, Export-Many Budgeted Inferencecited by 0
- 2026Elastic Selective Spectral Hybrids for Train-Once, Export-Many Budgeted Inference26 Sep 2026
- 2026Training-Free Halving of Activated Experts in Fine-Grained Mixture-of-Experts Models4 Sep 2026
- 2026FlexMoE: One-for-All Nested Intra-Expert Pruning for MoE Language Models26 Jun 2026
- 2026PARCEL: Pool-Anchored Resampling with Conditioned Elastic Queries for Efficient Vision-Language Understanding28 May 2026
- 2026m3BERT: A Modern, Multi-lingual, Matryoshka Bidirectional Encoder19 May 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026Variational Inference, Entropy, and Orthogonality: A Unified Theory of Mixture-of-Experts7 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2024Toward Inference-optimal Mixture-of-Expert Large Language Models
- 2025Elastic MoE: Unlocking the Inference-Time Scalability of Mixture-of-Experts
- 2026DAG-MoE: From Simple Mixture to Structural Aggregation in Mixture-of-Experts
- 2024Scaling Laws for Fine-Grained Mixture of Experts
- 2025Advancing Expert Specialization for Better MoE
- 2026Pruning and Distilling Mixture-of-Experts into Dense Language Models
- 2025Mixture of Experts in Large Language Models
- 2024QuantMoE-Bench: Examining Post-Training Quantization for Mixture-of-Experts