FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
With the increasing data volume, there is a trend of using large-scale pre-trained models to store the knowledge into an enormous number of model parameters. The training of these models is composed of lots of dense algebras, requiring a huge amount of hardware resources. Recently, sparsely-gated Mixture-of-Experts (MoEs) are becoming more popular and have demonstrated impressive pretraining scalability in various downstream tasks. However, such a sparse conditional computation may not be effective as expected in practical systems due to the routing imbalance and fluctuation problems. Generally, MoEs are becoming a new data analytics paradigm in the data life cycle and suffering from unique challenges at scales, complexities, and granularities never before possible. In this paper, we propose a novel DNN training framework, FlexMoE, which systematically and transparently address the inefficiency caused by dynamic dataflow. We first present an empirical analysis on the problems and opportunities of training MoE models, which motivates us to overcome the routing imbalance and fluctuation problems by a dynamic expert management and device placement mechanism. Then we introduce a novel scheduling module over the existing DNN runtime to monitor the data flow, make the scheduling plans, and dynamically adjust the model-to-hardware mapping guided by the real-time data traffic. A simple but efficient heuristic algorithm is exploited to dynamically optimize the device placement during training. We have conducted experiments on both NLP models (e.g., BERT and GPT) and vision models (e.g., Swin). And results show FlexMoE can achieve superior performance compared with existing systems on real-world workloads -- FlexMoE outperforms DeepSpeed by 1.70x on average and up to 2.10x, and outperforms FasterMoE by 1.30x on average and up to 1.45x.
Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 27 of its 48 references that are in the map. First posted on arXiv 8 Apr 2023.
Builds on
27 of 48 references.
Closest ancestors · 2
Same direction, newest first
- 2022StableMoE: Stable Routing Strategy for Mixture of Experts18 Apr
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
13 more
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 199
- 2021M6: A Chinese Multimodal Pretrainercited by 91
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 51
- 2022HetuMoE: An Efficient Trillion-scale Mixture-of-Expert Distributed Training Systemcited by 36
- 2021HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Frameworkcited by 28
- 2022Towards Communication-efficient Vertical Federated Learning Training via Cache-enabled Local Updatescited by 15
- 2023Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencentcited by 8
- 2019An Experimental Evaluation of Large Scale GBDT Systemscited by 5
Built on by
Citing papers per year: 2023: 5; 2024: 12; 2025: 18; 2026: 17.
52 papers.
Sort:
By area:
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2023SpotServe: Serving Generative Large Language Models on Preemptible Instancescited by 83
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2024KeyVideoLLM: Towards Large-scale Video Keyframe Selectioncited by 52
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2024LocMoE: A Low-Overhead MoE for Large Language Model Trainingcited by 18
- 2025FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Modelscited by 17
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsitycited by 14
- 2025FlashMoE: Fast Distributed MoE in a Single Kernelcited by 13
- 2023Experts Weights Averaging: A New General Training Scheme for Vision Transformerscited by 12
- 2025Pangu Ultra MoE: How to Train Your Big MoE on Ascend NPUscited by 12
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inferencecited by 12
38 more
- 2024Prediction Is All MoE Needs: Expert Load Distribution Goes from Fluctuating to Stabilizingcited by 10
- 2024Synth-Empathy: Towards High-Quality Synthetic Empathy Datacited by 10
- 2025Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-Schedulingcited by 9
- 2026UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancingcited by 8
- 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation Systemcited by 7
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
- 2024Optimizing Mixture-of-Experts Inference Time Combining Model Deployment and Communication Schedulingcited by 7
- 2025HeterMoE: Efficient Training of Mixture-of-Experts Models on Heterogeneous GPUscited by 7
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placementcited by 7
- 2024SynthVLM: Towards High-Quality and Efficient Synthesis of Image-Caption Datasets for Vision-Language Modelscited by 6
- 2024EPS-MoE: Expert Pipeline Scheduler for Cost-Efficient MoE Inferencecited by 6
- 2025SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decouplingcited by 5
- 2025Efficient MoE Serving in the Memory-Bound Regime: Balance Activated Experts, Not Tokenscited by 5
- 2026LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Trainingcited by 5
- 2026Grouter: Decoupling Routing from Representation for Accelerated MoE Trainingcited by 5
- 2025MoE-GPS: Guidlines for Prediction Strategy for Dynamic Expert Duplication in MoE Load Balancingcited by 4
- 2025HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swapcited by 4
- 2024Sparse Checkpointing for Fast and Reliable MoE Trainingcited by 3
- 2025Optimizing Distributed Deployment of Mixture-of-Experts Model Inference in Serverless Computingcited by 3
- 2026ReLibra: Routing-Replay-Guided Load Balancing for MoE Training in Reinforcement Learningcited by 2
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-trainingcited by 2
- 2025iServe: An Intent-based Serving System for LLMscited by 1
- 2025Fine-grained MoE Load Balancing with Linear Programmingcited by 1
- 2025Efficient MoE Inference with Fine-Grained Scheduling of Disaggregated Expert Parallelismcited by 1
- 2026ReaLB: Real-Time Load Balancing for Multimodal MoE Inferencecited by 1
- 2026On the Design of Mixture-of-Experts for Dynamic Gaussian Splattingcited by 1
- 2024Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Datacited by 0
- 2025You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Modelscited by 0
- 2025Dynamic Adaptive Shared Experts with Grouped Multi-Head Attention Mixture of Expertscited by 0
- 2025Concertina: Data-Centric Adaptive Pipeline Parallelism for Efficient Heterogeneous Long-Context LLM Trainingcited by 0
- 2026MoE-Hub: Taming Software Complexity for Seamless MoE Overlap with Hardware-Accelerated Communication on Multi-GPU Systemscited by 0
- 2026Fast MoE Inference via Predictive Prefetching and Expert Replicationcited by 0
- 2026Diagnosing Overhead in Dispatch Operations: Cross-architecture Observatorycited by 0
- 2026Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inferencecited by 0
- 2026Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placementcited by 0
- 2026Searching for Plans You Can Actually Build: A Realizability-Aware Full-Space Optimizer for MoE Training and Servingcited by 0
- 2026TEMPO: Makespan-Aware Expert-Parallel Load Balancing Across Memory- and Compute-Bound Regimescited by 0
- 2026Flattening Every Memory Peak in Long-Context Mixture-of-Experts Trainingcited by 0
50 most cited of 52 All 52 (JSON)
- 2026TopoEP: Topology-Aware Load Balancing for Expert-Parallel MoE Training28 Sep 2026
- 2026Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training13 Sep 2026
- 2026TEMPO: Makespan-Aware Expert-Parallel Load Balancing Across Memory- and Compute-Bound Regimes13 Aug 2026
- 2026TopoCompress: Topology Aware Token Compression Algorithm for Distributed Edge MoE Inference1 Aug 2026
- 2026Searching for Plans You Can Actually Build: A Realizability-Aware Full-Space Optimizer for MoE Training and Serving21 Jul 2026
- 2026On the Design of Mixture-of-Experts for Dynamic Gaussian Splatting9 Jul 2026
- 2026Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inference6 Jul 2026
- 2026Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement13 Jun 2026
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-training10 Jun 2026
- 2026UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancing2 Jun 2026
- 2026Diagnosing Overhead in Dispatch Operations: Cross-architecture Observatory20 May 2026
- 2026Fast MoE Inference via Predictive Prefetching and Expert Replication12 May 2026
38 more
- 2026ReLibra: Routing-Replay-Guided Load Balancing for MoE Training in Reinforcement Learning9 May 2026
- 2026MoE-Hub: Taming Software Complexity for Seamless MoE Overlap with Hardware-Accelerated Communication on Multi-GPU Systems7 May 2026
- 2026ReaLB: Real-Time Load Balancing for Multimodal MoE Inference21 Apr 2026
- 2026Grouter: Decoupling Routing from Representation for Accelerated MoE Training22 Feb 2026
- 2026LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training12 Feb 2026
- 2025Efficient MoE Inference with Fine-Grained Scheduling of Disaggregated Expert Parallelism25 Dec 2025
- 2025Efficient MoE Serving in the Memory-Bound Regime: Balance Activated Experts, Not Tokens10 Dec 2025
- 2025Fine-grained MoE Load Balancing with Linear Programming21 Nov 2025
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inference29 Sep 2025
- 2025Concertina: Data-Centric Adaptive Pipeline Parallelism for Efficient Heterogeneous Long-Context LLM Training25 Sep 2025
- 2025Dynamic Adaptive Shared Experts with Grouped Multi-Head Attention Mixture of Experts5 Sep 2025
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placement18 Aug 2025
- 2025HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap13 Aug 2025
- 2025MoE-GPS: Guidlines for Prediction Strategy for Dynamic Expert Duplication in MoE Load Balancing9 Jun 2025
- 2025FlashMoE: Fast Distributed MoE in a Single Kernel5 Jun 2025
- 2025Pangu Ultra MoE: How to Train Your Big MoE on Ascend NPUs7 May 2025
- 2025SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling28 Apr 2025
- 2025You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Models16 Apr 2025
- 2025HeterMoE: Efficient Training of Mixture-of-Experts Models on Heterogeneous GPUs4 Apr 2025
- 2025Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-Scheduling6 Mar 2025
- 2025FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models18 Jan 2025
- 2025Optimizing Distributed Deployment of Mixture-of-Experts Model Inference in Serverless Computing9 Jan 2025
- 2025iServe: An Intent-based Serving System for LLMs8 Jan 2025
- 2024Sparse Checkpointing for Fast and Reliable MoE Training19 Dec 2024
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Models18 Dec 2024
- 2024Optimizing Mixture-of-Experts Inference Time Combining Model Deployment and Communication Scheduling22 Oct 2024
- 2024EPS-MoE: Expert Pipeline Scheduler for Cost-Efficient MoE Inference16 Oct 2024
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Survey3 Sep 2024
- 2024Synth-Empathy: Towards High-Quality Synthetic Empathy Data31 Jul 2024
- 2024SynthVLM: Towards High-Quality and Efficient Synthesis of Image-Caption Datasets for Vision-Language Models30 Jul 2024
- 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation System8 Jul 2024
- 2024KeyVideoLLM: Towards Large-scale Video Keyframe Selection3 Jul 2024
- 2024Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Data2 Jul 2024
- 2024Prediction Is All MoE Needs: Expert Load Distribution Goes from Fluctuating to Stabilizing25 Apr 2024
- 2024LocMoE: A Low-Overhead MoE for Large Language Model Training25 Jan 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023SpotServe: Serving Generative Large Language Models on Preemptible Instances27 Nov 2023
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
50 newest of 52 All 52 (JSON)
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2024LocMoE: A Low-Overhead MoE for Large Language Model Trainingcited by 18
- 2025FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Modelscited by 17
- 2025FlashMoE: Fast Distributed MoE in a Single Kernelcited by 13
- 2023Experts Weights Averaging: A New General Training Scheme for Vision Transformerscited by 12
- 2025Pangu Ultra MoE: How to Train Your Big MoE on Ascend NPUscited by 12
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inferencecited by 12
- 2024Prediction Is All MoE Needs: Expert Load Distribution Goes from Fluctuating to Stabilizingcited by 10
- 2025Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-Schedulingcited by 9
- 2026UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancingcited by 8
- 2024Optimizing Mixture-of-Experts Inference Time Combining Model Deployment and Communication Schedulingcited by 7
- 2025HeterMoE: Efficient Training of Mixture-of-Experts Models on Heterogeneous GPUscited by 7
12 most cited of 39 All 39 (JSON)
- 2026TopoEP: Topology-Aware Load Balancing for Expert-Parallel MoE Training28 Sep 2026
- 2026Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training13 Sep 2026
- 2026TEMPO: Makespan-Aware Expert-Parallel Load Balancing Across Memory- and Compute-Bound Regimes13 Aug 2026
- 2026TopoCompress: Topology Aware Token Compression Algorithm for Distributed Edge MoE Inference1 Aug 2026
- 2026Searching for Plans You Can Actually Build: A Realizability-Aware Full-Space Optimizer for MoE Training and Serving21 Jul 2026
- 2026On the Design of Mixture-of-Experts for Dynamic Gaussian Splatting9 Jul 2026
- 2026Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inference6 Jul 2026
- 2026Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement13 Jun 2026
- 2026Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-training10 Jun 2026
- 2026UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancing2 Jun 2026
- 2026Diagnosing Overhead in Dispatch Operations: Cross-architecture Observatory20 May 2026
- 2026Fast MoE Inference via Predictive Prefetching and Expert Replication12 May 2026
12 newest of 39 All 39 (JSON)
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2024KeyVideoLLM: Towards Large-scale Video Keyframe Selectioncited by 52
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsitycited by 14
- 2024Synth-Empathy: Towards High-Quality Synthetic Empathy Datacited by 10
- 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation Systemcited by 7
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
- 2024Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Datacited by 0
- 2025You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Modelscited by 0
- 2025Concertina: Data-Centric Adaptive Pipeline Parallelism for Efficient Heterogeneous Long-Context LLM Trainingcited by 0
- 2025Concertina: Data-Centric Adaptive Pipeline Parallelism for Efficient Heterogeneous Long-Context LLM Training25 Sep 2025
- 2025You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Models16 Apr 2025
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Survey3 Sep 2024
- 2024Synth-Empathy: Towards High-Quality Synthetic Empathy Data31 Jul 2024
- 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation System8 Jul 2024
- 2024KeyVideoLLM: Towards Large-scale Video Keyframe Selection3 Jul 2024
- 2024Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Data2 Jul 2024
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsity19 Sep 2023
Similar, not cited
Close in wording, no citation either way
- 2026Compute-Optimal Is Not Cluster-Optimal: Systems-Aware Scaling for Sparse Mixture-of-Experts
- 2026DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devices
- 2025Load Balancing Mixture of Experts with Similarity Preserving Routers
- 2024ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing
- 2022Task-Specific Expert Pruning for Sparse Mixture-of-Experts
- 2024Shortcut-connected Expert Parallelism for Accelerating Mixture-of-Experts
- 2025DSMoE: Matrix-Partitioned Experts with Dynamic Routing for Computation-Efficient Dense LLMs
- 2024A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Experts