LaDiMo: Layer-wise Distillation Inspired MoEfier
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
The advent of large language models has revolutionized natural language processing, but their increasing complexity has led to substantial training costs, resource demands, and environmental impacts. In response, sparse Mixture-of-Experts (MoE) models have emerged as a promising alternative to dense models. Since training MoE models from scratch can be prohibitively expensive, recent studies have explored leveraging knowledge from pre-trained non-MoE models. However, existing approaches have limitations, such as requiring significant hardware resources and data. We propose a novel algorithm, LaDiMo, which efficiently converts a Transformer-based non-MoE model into a MoE model with minimal additional training cost. LaDiMo consists of two stages: layer-wise expert construction and routing policy decision. By harnessing the concept of Knowledge Distillation, we compress the model and rapidly recover its performance. Furthermore, we develop an adaptive router that optimizes inference efficiency by profiling the distribution of routing weights and determining a layer-wise policy that balances accuracy and latency. We demonstrate the effectiveness of our method by converting the LLaMA2-7B model to a MoE model using only 100K tokens, reducing activated parameters by over 20% while keeping accuracy. Our approach offers a flexible and efficient solution for building and deploying MoE models.
Key facts. Cited by 4 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 36 of its 45 references that are in the map. First posted on arXiv 8 Aug 2024.
Builds on
36 of 45 references.
Closest ancestors · 17
Same direction, newest first
- 2024A Survey on Mixture of Experts in Large Language Models26 Jun
- 2024LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training24 Jun
- 2024Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models3 Jun
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May
- 2024JetMoE: Reaching Llama2 Performance with 0.1M Dollars11 Apr
- 2024Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Models8 Apr
- 2024Toward Inference-optimal Mixture-of-Expert Large Language Models3 Apr
- 2024Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models22 Feb
- 2024Scaling Laws for Fine-Grained Mixture of Experts12 Feb
- 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
- 2024Mixtral of Experts8 Jan
- 2023Adaptive Gating in Mixture-of-Experts based Language Models11 Oct
5 more
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints9 Dec
- 2022MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation15 Apr
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Models17 Feb
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan
Other references · 19
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020GLU Variants Improve Transformercited by 1,724
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
- 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
7 more
- 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 91
- 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Modelscited by 71
- 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 58
- 2024Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Modelscited by 55
- 2024AdaMoE: Token-Adaptive Routing with Null Experts for Mixture-of-Experts Language Modelscited by 41
- 2024Learn To be Efficient: Build Structured Sparsity in Large Language Modelscited by 19
- 2024GW-MoE: Resolving Uncertainty in MoE Router with Global Workspace Theorycited by 8
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 2.
4 papers.
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2024Applications of Knowledge Distillation in Remote Sensing: A Surveycited by 8
- 2026Post-Trained MoE Can Skip Half Experts via Self-Distillationcited by 4
- 2026Layer-wise Curriculum Learning for Efficient LLM Compressioncited by 0
- 2026Layer-wise Curriculum Learning for Efficient LLM Compression16 Sep 2026
- 2026Post-Trained MoE Can Skip Half Experts via Self-Distillation18 May 2026
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Models18 Dec 2024
- 2024Applications of Knowledge Distillation in Remote Sensing: A Survey18 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2025Mixture of Experts in Large Language Models
- 2024MoE-Pruner: Pruning Mixture-of-Experts Large Language Model using the Hints from Its Router
- 2025Ban&Pick: Enhancing Performance and Efficiency of MoE-LLMs via Smarter Routing
- 2021Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference
- 2026Training Communication-Efficient Mixture-of-Experts Language Models with Layer Re-Configuration
- 2025Faster MoE LLM Inference for Extremely Large Models
- 2024Layerwise Recurrent Router for Mixture-of-Experts
- 2021Scalable and Efficient MoE Training for Multitask Multilingual Models