HAPMoE: Heterogeneity-Aware Automatic Parallelism Planning for Mixture-of-Experts Models Training
On the map: Mixture-of-experts → Efficient MoE training and inference systems
Abstract (arXiv)
As model sizes continue to scale, distributed training has become inevitable. Automatic parallelization techniques can derive efficient training parallelism strategies at low cost while achieving superior performance. The difficulty of this problem is jointly determined by the complexity of the model and the underlying compute cluster. Meanwhile, mixture-of-experts (MoE) models are increasingly emerging as the dominant architecture and the rapid evolution of accelerator hardware has made cluster heterogeneity commonplace, posing substantial challenges to automatic parallelization. However, existing approaches typically target either MoE architectures or heterogeneous clusters, failing to generalize to scenarios where both challenges coexist. To this end, we present HAPMoE, a heterogeneity-aware automatic parallelism planner for MoE training. HAPMoE builds a lightweight MoE-aware cost model and efficiently searches a six-dimensional parallel space, producing parallel plans directly deployable on Megatron-LM. Experiments show that HAPMoE improves end-to-end training throughput by up to 3.2× over baselines across heterogeneous clusters. Its non-uniform pipeline partitioning yields an additional up to 78% gains, and its pruning-enhanced dynamic programming algorithm completes the search within 1 minute, demonstrating high efficiency and practical value in complex hardware environments.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Efficient MoE training and inference systems, one of 12 directions in Mixture-of-experts. Builds on 26 of its 35 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
26 of 35 references.
Closest ancestors · 9
Same direction, newest first
- 2025X-MoE: Enabling Scalable Training for Emerging Mixture-of-Experts Architectures on HPC Platforms18 Aug
- 2025MegaScale-MoE: Large-Scale Communication-Efficient Training of Mixture-of-Experts Models in Production16 May
- 2025SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling28 Apr
- 2025HeterMoE: Efficient Training of Mixture-of-Experts Models on Heterogeneous GPUs4 Apr
- 2025Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Experts27 Feb
- 2024Prediction Is All MoE Needs: Expert Load Distribution Goes from Fluctuating to Stabilizing25 Apr
- 2024Shortcut-connected Expert Parallelism for Accelerating Mixture-of-Experts7 Apr
- 2022Tutel: Adaptive Mixture-of-Experts at Scale7 Jun
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale14 Jan
Other references · 17
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2023A Comprehensive Overview of Large Language Modelscited by 648
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 53
- 2021Tesseract: Parallelize the Tensor Parallelism Efficientlycited by 19
- 2021HeterPS: Distributed Deep Learning With Reinforcement Learning Based Scheduling in Heterogeneous Environmentscited by 15
- 2022AMP: Automatically Finding Model Parallel Strategies with Heterogeneity Awarenesscited by 13
- 2025Sailor: Automating Distributed Training over Dynamic, Heterogeneous, and Geo-distributed Clusterscited by 13
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
- 2024Model Parallelism on Distributed Infrastructure: A Literature Review from Theory to LLM Case-Studiescited by 7
5 more
- 2025DCP: Addressing Input Dynamism In Long-Context Training via Dynamic Context Parallelismcited by 7
- 2025OmniLearn: A Framework for Distributed Deep Learning over Heterogeneous Clusterscited by 5
- 2023Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environmentcited by 4
- 2024Cephalo: Harnessing Heterogeneous GPU Clusters for Training Transformer Modelscited by 3
- 2024Poplar: Efficient Scaling of Distributed DNN Training on Heterogeneous GPU Clusterscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models
- 2026Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelism
- 2025HAP: Hybrid Adaptive Parallelism for Efficient Mixture-of-Experts Inference
- 2025HybridEP: Scaling Expert Parallelism to Cross-Datacenter Scenario via Hybrid Expert/Data Transmission
- 2025MoE Parallel Folding: Heterogeneous Parallelism Mappings for Efficient Large-Scale MoE Model Training with Megatron Core
- 2026LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core
- 2025Advancing MoE Efficiency: A Collaboration-Constrained Routing (C2R) Strategy for Better Expert Parallelism Design