TopoEP:面向专家并行MoE训练的拓扑感知负载均衡 TopoEP: Topology-Aware Load Balancing for Expert-Parallel MoE Training 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-28
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
MoE大模型训练时,动态路由会让部分GPU因承载热门专家而变慢,拖累整体训练。现有负载均衡方案在CPU上计算,数据传输和同步开销大,且未考虑GPU集群的层次化通信成本。本文提出TopoEP,一个完全在GPU上运行、拓扑感知的负载均衡系统,每层每个微批次都能快速生成专家复制和令牌重路由方案,无需主机同步。在32块H800集群上,集成到Megatron-LM后,三种MoE模型端到端训练吞吐量提升6.2%至11.4%。
领域分布式深度学习系统 / 大规模MoE训练优化
适合谁读需要一定分布式训练和GPU系统背景的读者
核心贡献1. 提出GPU原生的拓扑感知负载均衡系统TopoEP,在每层每微批次上快速生成专家复制与令牌重路由决策,消除主机同步开销。2. 设计确定性GPU求解器,先节点间放置再节点内优化,保证所有rank独立生成比特级一致的均衡计划。
关键数据在32-GPU NVIDIA H800集群上,与Megatron-LM集成后,三种代表性MoE模型端到端训练吞吐量提升6.2%–11.4%。
推荐理由如果你正被MoE训练中的负载不均和通信瓶颈困扰,这篇论文给出了一个高效且可落地的GPU原生解决方案,实测提升显著,值得一读。
关键词["专家并行", "混合专家模型", "负载均衡", "拓扑感知", "GPU训练加速"]

原文摘要

查看英文原文摘要

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.