TopoEP: Topology-Aware Load Balancing for Expert-Parallel MoE Training
Jiacheng Zhu, Xie Zhao, Gongming Zhao, Hongli Xu, Yao Fei, Jin Fang
Key points
From the paper's conclusion- We present \textit{TopoEP}, a GPU-native, topology-aware load-balancing system for large-scale MoE training.
Abstract
Dynamic routing creates severe load imbalance in large-scale expert-parallel Mixture-of-Experts (MoE) training, turning GPUs that host hot experts into stragglers. As each MoE layer waits for its slowest rank, these stragglers prolong the expert-parallel stage and reduce overall training efficiency. Existing expert-parallelism load-balancing (EPLB) systems commonly compute load-balancing plans on the CPU, incurring device--host data transfers and cross-rank synchronization that make scheduling at every layer and microbatch expensive. Their planning formulations also overlook the hierarchical communication costs of modern scale-up and scale-out GPU clusters. We present \textit{TopoEP}, a GPU-native, topology-aware load-balancing system for large-scale MoE training. At each MoE layer and training microbatch, \textit{TopoEP} converts the current routing result into hot-expert replication and token-rerouting decisions and executes the resulting plan without data-dependent host synchronization, reducing critical-path overhead. To generate these decisions, \textit{TopoEP} uses a deterministic GPU solver that performs inter-node placement followed by intra-node refinement, allowing all ranks to independently produce bitwise-identical plans. On a 32-GPU NVIDIA H800 cluster, integrating \textit{TopoEP} with Megatron-LM improves end-to-end training throughput by 6.2\%--11.4\% across three representative MoE models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ISER-MoE: Dynamic In-Switch Replication of Hot Experts for Load Balancing in Expert-ParallelarXiv · 2026
- vExpert: Virtualizing Expert Storage for Adaptive Load Balancing in Distributed MoE InferencearXiv · 2026
- Zepp: Accelerating Distributed MoE Serving under Relaxed Balance ConstraintsarXiv · 2026
- A Per-Step Load-Balancing Engine for Expert-Parallel MoE ServingarXiv · 2026
- Fuse-All MoE Inference Kernel with Load Balancing on TPUsarXiv · 2026
- Maestro: Learning-Based Reuse of Activated Experts to Mitigate Long-Tail Latency under Heavy MoE Workloads in CloudACM Transactions on Architecture and Code Optimization · 2026