LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, training MoE from scratch in a large-scale setting still suffers from data-hungry and instability problems. Motivated by this limit, we investigate building MoE models from existing dense large language models. Specifically, based on the well-known LLaMA-2 7B model, we obtain an MoE model by: (1) Expert Construction, which partitions the parameters of original Feed-Forward Networks (FFNs) into multiple experts; (2) Continual Pre-training, which further trains the transformed MoE model and additional gate networks. In this paper, we comprehensively explore different methods for expert construction and various data sampling strategies for continual pre-training. After these stages, our LLaMA-MoE models could maintain language abilities and route the input tokens to specific experts with part of the parameters activated. Empirically, by training 200B tokens, LLaMA-MoE-3.5B models significantly outperform dense models that contain similar activation parameters. The source codes and models are available at https://github.com/pjlab-sys4nlp/llama-moe .
Key facts. Cited by 122 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 38 of its 58 references that are in the map. First posted on arXiv 24 Jun 2024.
Builds on
38 of 58 references.
Closest ancestors · 9
Same direction, newest first
- 2024textttMoE-RBench: Towards Building Reliable Language Models with Sparse Mixture-of-Experts17 Jun
- 2024Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Experts17 Jun
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Models29 Jan
- 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
- 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 · 29
- 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
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020GLU Variants Improve Transformercited by 1,724
17 more
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2022A Review of Sparse Expert Models in Deep Learningcited by 147
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
- 2024Twin-Merging: Dynamic Integration of Modular Expertise in Model Mergingcited by 114
- 2023Skywork: A More Open Bilingual Foundation Modelcited by 110
- 2024Living in the Moment: Can Large Language Models Grasp Co-Temporal Reasoning?cited by 25
- 2024Timo: Towards Better Temporal Reasoning for Language Modelscited by 21
Built on by
Citing papers per year: 2024: 22; 2025: 67; 2026: 33.
122 papers.
Sort:
By area:
- 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyondcited by 131
- 2024Moirai-MoE: Empowering Time Series Foundation Models with Sparse Mixture of Expertscited by 88
- 2025DriveMoE: Mixture-of-Experts for Vision-Language-Action Model in End-to-End Autonomous Drivingcited by 85
- 2024MoE++: Accelerating Mixture-of-Experts Methods with Zero-Computation Expertscited by 55
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 44
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedbackcited by 41
- 2025Advancing Expert Specialization for Better MoEcited by 37
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 32
- 2025ReviewAgents: Bridging the Gap Between Human and AI-Generated Paper Reviewscited by 28
- 2024LLaMA-MoE v2: Exploring Sparsity of LLaMA from Perspective of Mixture-of-Experts with Post-Trainingcited by 25
- 2024CLIP-MoE: Towards Building Mixture of Experts for CLIP with Diversified Multiplet Upcyclingcited by 23
38 more
- 2025Make LoRA Great Again: Boosting LoRA with Adaptive Singular Values and Mixture-of-Experts Optimization Alignmentcited by 22
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2025LiMoE: Mixture of LiDAR Representation Learners from Automotive Scenescited by 19
- 2025VLRMBench: A Comprehensive and Challenging Benchmark for Vision-Language Reward Modelscited by 19
- 2025MoRE: 3D Visual Geometry Reconstruction Meets Mixture-of-Expertscited by 19
- 2025D2MoE: Dual Routing and Dynamic Scheduling for Efficient On-Device MoE-based LLM Servingcited by 17
- 2025What You Have is What You Track: Adaptive and Robust Multimodal Trackingcited by 15
- 2024SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs?cited by 14
- 2025Recurrent Knowledge Identification and Fusion for Language Model Continual Learningcited by 14
- 2025Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Expertscited by 14
- 2024H3Fusion: Helpful, Harmless, Honest Fusion of Aligned LLMscited by 11
- 2025SkipGPT: Dynamic Layer Pruning Reinvented with Token Awareness and Module Decouplingcited by 11
- 2024MM-CamObj: A Comprehensive Multimodal Dataset for Camouflaged Object Scenarioscited by 10
- 2025ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruningcited by 10
- 2025HiMoE-VLA: Hierarchical Mixture-of-Experts for Generalist Vision-Language-Action Policiescited by 10
- 2024DLO: Dynamic Layer Operation for Efficient Vertical Scaling of LLMscited by 9
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Thinkcited by 9
- 2025Ensembles of Low-Rank Expert Adapterscited by 9
- 2025EAQuant: Enhancing Post-Training Quantization for MoE Models via Expert-Aware Optimizationcited by 9
- 2025Too Helpful, Too Harmless, Too Honest or Just Right?cited by 9
- 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decodingcited by 8
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Modelscited by 8
- 2024A Simple yet Effective Training-free Prompt-free Approach to Chinese Spelling Correction Based on Large Language Modelscited by 7
- 2025MixNet: A Runtime Reconfigurable Optical-Electrical Fabric for Distributed Mixture-of-Experts Trainingcited by 7
- 2025Analytical FFN-to-MoE Restructuring via Activation Pattern Analysiscited by 7
- 2025Mixture-of-Experts Meets In-Context Reinforcement Learningcited by 7
- 2025SlimCaching: Edge Caching of Mixture-of-Experts for Distributed Inferencecited by 7
- 2025ReXMoE: Reusing Experts with Minimal Overhead in Mixture-of-Expertscited by 7
- 2024Performance Law of Large Language Modelscited by 6
- 2024First Activations Matter: Training-Free Methods for Dynamic Activation in Large Language Modelscited by 6
- 2024Upcycling Instruction Tuning from Dense to Mixture-of-Experts via Parameter Mergingcited by 6
- 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Expertscited by 6
- 2025Advancing MoE Efficiency: A Collaboration-Constrained Routing (C2R) Strategy for Better Expert Parallelism Designcited by 6
- 2025Cluster-Driven Expert Pruning for Mixture-of-Experts Large Language Modelscited by 6
- 2025Understanding the Mixture-of-Experts with Nadaraya-Watson Kernelcited by 6
- 2025Every Expert Matters: Towards Effective Knowledge Distillation for Mixture-of-Experts Language Modelscited by 5
- 2025LESA: Learnable LLM Layer Scaling-Upcited by 5
- 2025CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memorycited by 5
50 most cited of 122 All 122 (JSON)
- 2026Raw-Routed Mixture of Adapters: A Causal Intervention for Routing Collapse in Time Series Foundation Models30 Sep 2026
- 2026Accelerating Dense LLMs via L0-regularized Mixture-of-Experts18 Sep 2026
- 2026MoTE: Mixture of Task Experts for Multi-Task Video Understanding25 Aug 2026
- 2026Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions19 Aug 2026
- 2026EdgeXpert: An Edge Device for Memory-Efficient LLM Inference with Mixture-of-Experts and Speculative Decoding5 Aug 2026
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiency14 Jul 2026
- 2026UMoE:Unlocking Every Expert in Domain-Specific Training13 Jul 2026
- 2026Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inference6 Jul 2026
- 2026Towards a Unified Generative Model for Scarce Time Series with Domain Experts13 Jun 2026
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learning12 Jun 2026
- 2026STAR: Rethinking MoE Routing as Structure-Aware Subspace Learning7 Jun 2026
- 2026PR2: Predictive Routing Replay for MoE-Based LLM Reinforcement Learning29 May 2026
38 more
- 2026Dense2MoE: Pushing the Pareto Frontier of On-Device LLMs via Unified Pruning and Upcycling26 May 2026
- 2026Mix-MoE: Improving Multilingual Machine Translation of Large Language Models through Mixed MoEs23 May 2026
- 2026Knowledge Injection Exists in MoE? Exploring Expert-Aware Contrast Decoding in MoE for Mitigating LLMs'Hallucinations8 May 2026
- 2026Hierarchical Mixture-of-Experts with Two-Stage Optimization8 May 2026
- 2026UniPool: A Globally Shared Expert Pool for Mixture-of-Experts7 May 2026
- 2026SpaceMoE: Realizing Distributed Mixture-of-Experts Inference over Space Networks1 May 2026
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusion30 Mar 2026
- 2026Expert Streaming: Accelerating Low-Batch MoE Inference via Multi-chiplet Architecture and Dynamic Expert Trajectory Scheduling29 Mar 2026
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models27 Mar 2026
- 2026Beyond Static Models: An Evolving Framework for Continual Learning in Large Language Models across Training Stages13 Mar 2026
- 2026FineRMoE: Dimension Expansion for Finer-Grained Expert with Its Upcycling Approach9 Mar 2026
- 2026Efficient Continual Learning in Language Models via Thalamically Routed Cortical Columns25 Feb 2026
- 2026A Replicate-and-Quantize Strategy for Plug-and-Play Load Balancing of Sparse Mixture-of-Experts LLMs23 Feb 2026
- 2026SegMoTE: Token-Level Mixture of Experts for Medical Image Segmentation22 Feb 2026
- 2026ExpertWeaver: Unlocking the Inherent MoE in Dense LLMs with GLU Activation Patterns17 Feb 2026
- 2026LM-Lexicon: Improving Definition Modeling via Harmonizing Semantic Experts15 Feb 2026
- 2026LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training12 Feb 2026
- 2026Pretraining A Large Language Model using Distributed GPUs: A Memory-Efficient Decentralized Paradigm12 Feb 2026
- 2026Area-Efficient In-Memory Computing for Mixture-of-Experts via Multiplexing and Caching10 Feb 2026
- 2026Robustness of Mixtures of Experts to Feature Noise21 Jan 2026
- 2026DR-LoRA: Dynamic Rank LoRA for Fine-Tuning Mixture-of-Experts Models8 Jan 2026
- 2025How Many Experts Are Enough? Towards Optimal Semantic Specialization for Mixture-of-Experts21 Dec 2025
- 2025PoseMoE: Mixture-of-Experts Network for Monocular 3D Human Pose Estimation18 Dec 2025
- 2025What really matters for person re-identification? A Mixture-of-Experts Framework for Semantic Attribute Importance9 Dec 2025
- 2025HiMoE-VLA: Hierarchical Mixture-of-Experts for Generalist Vision-Language-Action Policies5 Dec 2025
- 2025ExpertAD: Enhancing Autonomous Driving Systems with Mixture of Experts13 Nov 2025
- 2025MoRE: 3D Visual Geometry Reconstruction Meets Mixture-of-Experts31 Oct 2025
- 2025MoE-Prism: Disentangling Monolithic Experts for Elastic MoE Services via Model-System Co-Designs22 Oct 2025
- 2025ReXMoE: Reusing Experts with Minimal Overhead in Mixture-of-Experts20 Oct 2025
- 2025MIN-Merging: Merge the Important Neurons for Model Merging18 Oct 2025
- 2025GatePro: Parameter-Free Expert Selection Optimization for Mixture-of-Experts Models15 Oct 2025
- 2025Understanding the Mixture-of-Experts with Nadaraya-Watson Kernel30 Sep 2025
- 2025Symphony-MoE: Harmonizing Disparate Pre-trained Models into a Coherent Mixture-of-Experts23 Sep 2025
- 2025Too Helpful, Too Harmless, Too Honest or Just Right?10 Sep 2025
- 2025Joint Learning using Mixture-of-Expert-Based Representation for Speech Enhancement and Robust Emotion Recognition10 Sep 2025
- 2025TRACE: Unlocking Effective CXL Bandwidth via Lossless Compression and Precision Scaling3 Sep 2025
- 2025Cache Management for Mixture-of-Experts LLMs -- extended version2 Sep 2025
- 2025Federated Fine-Tuning of Sparsely-Activated Large Language Models on Resource-Constrained Devices26 Aug 2025
50 newest of 122 All 122 (JSON)
- 2024Moirai-MoE: Empowering Time Series Foundation Models with Sparse Mixture of Expertscited by 88
- 2024MoE++: Accelerating Mixture-of-Experts Methods with Zero-Computation Expertscited by 55
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2025Advancing Expert Specialization for Better MoEcited by 37
- 2024LLaMA-MoE v2: Exploring Sparsity of LLaMA from Perspective of Mixture-of-Experts with Post-Trainingcited by 25
- 2024CLIP-MoE: Towards Building Mixture of Experts for CLIP with Diversified Multiplet Upcyclingcited by 23
- 2025Make LoRA Great Again: Boosting LoRA with Adaptive Singular Values and Mixture-of-Experts Optimization Alignmentcited by 22
- 2025LiMoE: Mixture of LiDAR Representation Learners from Automotive Scenescited by 19
- 2025MoRE: 3D Visual Geometry Reconstruction Meets Mixture-of-Expertscited by 19
- 2025D2MoE: Dual Routing and Dynamic Scheduling for Efficient On-Device MoE-based LLM Servingcited by 17
- 2024SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs?cited by 14
- 2025Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Expertscited by 14
12 most cited of 76 All 76 (JSON)
- 2026Raw-Routed Mixture of Adapters: A Causal Intervention for Routing Collapse in Time Series Foundation Models30 Sep 2026
- 2026Accelerating Dense LLMs via L0-regularized Mixture-of-Experts18 Sep 2026
- 2026MoTE: Mixture of Task Experts for Multi-Task Video Understanding25 Aug 2026
- 2026EdgeXpert: An Edge Device for Memory-Efficient LLM Inference with Mixture-of-Experts and Speculative Decoding5 Aug 2026
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiency14 Jul 2026
- 2026UMoE:Unlocking Every Expert in Domain-Specific Training13 Jul 2026
- 2026Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inference6 Jul 2026
- 2026STAR: Rethinking MoE Routing as Structure-Aware Subspace Learning7 Jun 2026
- 2026PR2: Predictive Routing Replay for MoE-Based LLM Reinforcement Learning29 May 2026
- 2026Dense2MoE: Pushing the Pareto Frontier of On-Device LLMs via Unified Pruning and Upcycling26 May 2026
- 2026Mix-MoE: Improving Multilingual Machine Translation of Large Language Models through Mixed MoEs23 May 2026
- 2026Knowledge Injection Exists in MoE? Exploring Expert-Aware Contrast Decoding in MoE for Mitigating LLMs'Hallucinations8 May 2026
12 newest of 76 All 76 (JSON)
- 2024MM-CamObj: A Comprehensive Multimodal Dataset for Camouflaged Object Scenarioscited by 10
- 2025EvoMoE: Expert Evolution in Mixture of Experts for Multimodal Large Language Modelscited by 5
- 2025Uni3D-MoE: Scalable Multimodal 3D Scene Understanding via Mixture of Expertscited by 4
- 2024FTII-Bench: A Comprehensive Multimodal Benchmark for Flow Text with Image Insertioncited by 3
- 2025EvoMoE: Expert Evolution in Mixture of Experts for Multimodal Large Language Models28 May 2025
- 2025Uni3D-MoE: Scalable Multimodal 3D Scene Understanding via Mixture of Experts27 May 2025
- 2024FTII-Bench: A Comprehensive Multimodal Benchmark for Flow Text with Image Insertion16 Oct 2024
- 2024MM-CamObj: A Comprehensive Multimodal Dataset for Camouflaged Object Scenarios24 Sep 2024
- 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyondcited by 131
- 2025VLRMBench: A Comprehensive and Challenging Benchmark for Vision-Language Reward Modelscited by 19
- 2024ElastiFormer: Learned Redundancy Reduction in Transformer via Self-Distillationcited by 1
- 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyond27 Mar 2025
- 2025VLRMBench: A Comprehensive and Challenging Benchmark for Vision-Language Reward Models10 Mar 2025
- 2024ElastiFormer: Learned Redundancy Reduction in Transformer via Self-Distillation22 Nov 2024
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 44
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 32
- 2025ReviewAgents: Bridging the Gap Between Human and AI-Generated Paper Reviewscited by 28
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2025What You Have is What You Track: Adaptive and Robust Multimodal Trackingcited by 15
- 2025Recurrent Knowledge Identification and Fusion for Language Model Continual Learningcited by 14
- 2025SkipGPT: Dynamic Layer Pruning Reinvented with Token Awareness and Module Decouplingcited by 11
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Thinkcited by 9
- 2025Ensembles of Low-Rank Expert Adapterscited by 9
- 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decodingcited by 8
- 2024A Simple yet Effective Training-free Prompt-free Approach to Chinese Spelling Correction Based on Large Language Modelscited by 7
- 2024Performance Law of Large Language Modelscited by 6
12 most cited of 30 All 30 (JSON)
- 2026Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions19 Aug 2026
- 2026Towards a Unified Generative Model for Scarce Time Series with Domain Experts13 Jun 2026
- 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learning12 Jun 2026
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models27 Mar 2026
- 2026Beyond Static Models: An Evolving Framework for Continual Learning in Large Language Models across Training Stages13 Mar 2026
- 2026Efficient Continual Learning in Language Models via Thalamically Routed Cortical Columns25 Feb 2026
- 2025What really matters for person re-identification? A Mixture-of-Experts Framework for Semantic Attribute Importance9 Dec 2025
- 2025MIN-Merging: Merge the Important Neurons for Model Merging18 Oct 2025
- 2025What You Have is What You Track: Adaptive and Robust Multimodal Tracking8 Jul 2025
- 2025Scatter-Based Innovation Propagation in Large Language Models for Multi-Stage Process Adaptation22 Jun 2025
- 2025SkipGPT: Dynamic Layer Pruning Reinvented with Token Awareness and Module Decoupling4 Jun 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
12 newest of 30 All 30 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Toward Inference-optimal Mixture-of-Expert Large Language Models
- 2025Mixture of Experts in Large Language Models
- 2024A Survey on Mixture of Experts in Large Language Models
- 2025Scaling Fine-Grained MoE Beyond 50B Parameters: Empirical Evaluation and Practical Insights
- 2024Scaling Laws for Fine-Grained Mixture of Experts
- 2024A Closer Look into Mixture-of-Experts in Large Language Models
- 2025dots.llm1 Technical Report
- 2021Efficient Large Scale Language Modeling with Mixtures of Experts