mlsanityData to 7 Oct 2026

Lory: Fully Differentiable Mixture-of-Experts for Autoregressive Language Model Pre-training

arXiv 2405.03133 ↗First posted 6 May 2024cs.CL cs.LGcited by 37

On the map: Mixture-of-experts → MoE large language models

Abstract (arXiv)

Mixture-of-experts (MoE) models facilitate efficient scaling; however, training the router network introduces the challenge of optimizing a non-differentiable, discrete objective. Recently, a fully-differentiable MoE architecture, SMEAR, was proposed (Muqeeth et al., 2023), which softly merges experts in the parameter space; nevertheless, its effectiveness was only demonstrated in downstream fine-tuning on classification tasks. In this paper, we present Lory, the first approach that scales such architectures to autoregressive language model pre-training. Lory introduces two key techniques: (1) a causal segment routing strategy that achieves high efficiency for expert merging operations while preserving the autoregressive nature of language models; (2) a similarity-based data batching method that encourages expert specialization by grouping similar documents in training instances. We pre-train a series of Lory models on 150B tokens from scratch, with up to 32 experts and 30B (1.5B active) parameters. Experimental results show significant performance gains over parameter-matched dense models on both perplexity (+13.9%) and a variety of downstream tasks (+1.5%-11.1%). Despite segment-level routing, Lory models achieve competitive performance compared to state-of-the-art MoE models with token-level routing. We further demonstrate that the trained experts in Lory capture domain-level specialization without supervision. Our work highlights the potential of fully-differentiable MoE architectures for language model pre-training and advocates future research in this area.

Key facts. Cited by 37 papers in the map (data through 7 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 40 of its 48 references that are in the map. First posted on arXiv 6 May 2024.

Builds on

40 of 48 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024JetMoE: Reaching Llama2 Performance with 0.1M Dollars11 Apr
  2. 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Models29 Jan
  3. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
  4. 2024Mixtral of Experts8 Jan
  5. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Models17 Feb
  6. 2021Efficient Large Scale Language Modeling with Mixtures of Experts20 Dec
  7. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Experts13 Dec
  8. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan

Other references · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  9. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2017Billion-scale similarity search with GPUscited by 2,477
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
19 more
  1. 2020Extracting Training Data from Large Language Modelscited by 2,144
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  3. 2020GLU Variants Improve Transformercited by 1,724
  4. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  5. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  6. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
  7. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  8. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  9. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  10. 2022Mixture-of-Experts with Expert Choice Routingcited by 611
  11. 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
  12. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
  13. 2021MetaICL: Learning to Learn In Contextcited by 450
  14. 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
  15. 2023From Sparse to Soft Mixtures of Expertscited by 245
  16. 2021Hash Layers For Large Sparse Modelscited by 236
  17. 2022Training Language Models with Memory Augmentationcited by 112
  18. 2023Soft Merging of Experts with Adaptive Routingcited by 88
  19. 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 15; 2026: 11.

37 papers.

Sort:

By area:

  1. 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
  2. 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
  3. 2024Mixture-of-Transformers: A Sparse and Scalable Architecture for Multi-Modal Foundation Modelscited by 151
  4. 2024ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routingcited by 53
  5. 2025Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert Modelscited by 53
  6. 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
  7. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
  8. 2024Mixture of Parrots: Experts improve memorization more than reasoningcited by 20
  9. 2025LD-MoLE: Learnable Dynamic Routing for Mixture of LoRA Expertscited by 12
  10. 2025Ensembles of Low-Rank Expert Adapterscited by 9
  11. 2024GW-MoE: Resolving Uncertainty in MoE Router with Global Workspace Theorycited by 8
  12. 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Modelscited by 8
25 more
  1. 2025GRAPHMOE: Amplifying Cognitive Depth of Mixture-of-Experts Network via Introducing Self-Rethinking Mechanismcited by 7
  2. 2025Analytical FFN-to-MoE Restructuring via Activation Pattern Analysiscited by 7
  3. 2026The Expert Strikes Back: Interpreting Mixture-of-Experts Language Models at Expert Levelcited by 7
  4. 2024First Activations Matter: Training-Free Methods for Dynamic Activation in Large Language Modelscited by 6
  5. 2024LIBMoE: A Library for comprehensive benchmarking Mixture of Experts in Large Language Modelscited by 6
  6. 2025Efficiently Editing Mixture-of-Experts Models with Compressed Expertscited by 6
  7. 2025Long-Tailed Distribution-Aware Router For Mixture-of-Experts in Large Vision-Language Modelcited by 6
  8. 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsitycited by 6
  9. 2026Grouter: Decoupling Routing from Representation for Accelerated MoE Trainingcited by 5
  10. 2025CAMEx: Curvature-aware Merging of Expertscited by 4
  11. 2026SAMoE-VLA: A Scene Adaptive Mixture-of-Experts Vision-Language-Action Model for Autonomous Drivingcited by 4
  12. 2025Sparse Brains are Also Adaptive Brains: Cognitive-Load-Aware Dynamic Activation for LLMscited by 3
  13. 2026Expert Divergence Learning for MoE-based Language Modelscited by 3
  14. 2026Expert Threshold Routing for Autoregressive Language Modeling with Dynamic Computation Allocation and Load Balancingcited by 3
  15. 2025Expert Merging in Sparse Mixture of Experts with Nash Bargainingcited by 2
  16. 2026RANGER: Sparsely-Gated Mixture-of-Experts with Adaptive Retrieval Re-ranking for Pathology Report Generationcited by 2
  17. 2025Guiding the Experts: Semantic Priors for Efficient and Focused MoE Routingcited by 1
  18. 2026DirMoE: Dirichlet-routed Mixture of Expertscited by 1
  19. 2024Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Datacited by 0
  20. 2025V2Dial: Unification of Video and Visual Dialog via Multimodal Expertscited by 0
  21. 2025Faster, Smaller, and Smarter: Task-Aware Expert Merging for Online MoE Inferencecited by 0
  22. 2026Mixture-of-Experts in Remote Sensing: A Surveycited by 0
  23. 2026The Evolution of Mixture-of-Experts Architectures in Large Language Models: Routing, Topology, Load Balancing, and Expert Parallelismcited by 0
  24. 2026Infinite-Parameter LLMs: Generating and Adapting Weights from Live Datacited by 0
  25. 2026IntBMoE: Integrating Block-Level Conditioning into Expert Composition for Full-Participation Mixture-of-Expertscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Mixture of Experts in Large Language Models
  2. 2025Advancing Expert Specialization for Better MoE
  3. 2025Training Matryoshka Mixture-of-Experts for Elastic Inference-Time Expert Utilization
  4. 2024LocMoE: A Low-Overhead MoE for Large Language Model Training
  5. 2025Bayesian Mixture-of-Experts: Towards Making LLMs Know What They Don't Know
  6. 2026Mixture of Experts for Low-Resource LLMs
  7. 2026Pruning and Distilling Mixture-of-Experts into Dense Language Models
  8. 2026LLaDA MoE v2: Scaling Mixture-of-Experts Diffusion Language Models