arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19262cs.DCcs.NI
收藏

RailS:分布式混合专家训练中全对全通信的负载均衡

RailS: Load Balancing for All-to-All Communication in Distributed Mixture-of-Experts Training

Faculty of Computer Science and Control Engineering, Shenzhen University of Advanced Technology(深圳先进技术学院计算机科学与控制工程系);Institute for Network Sciences and Cyberspace, Tsinghua University(清华大学网络科学与网络空间研究院);Department of Information Engineering, Chinese University of Hong Kong(香港中文大学信息工程系);China Mobile(中国移动)

Heng Xu, Zhiwei Yu, Chengze Du, Ying Zhou, Letian Li, Haojie Wang, Weiqiang Cheng, Jialong Li

AI总结:

RailS利用Rail拓扑对称性将全局协调转为本地LPT调度,激活并行Rail多路径传输,提升MoE训练带宽20%-78%,缩短完成时间17%-78%。

摘要:

训练混合专家(Mixture-of-Experts, MoE)模型会引入稀疏且高度不平衡的全对全通信,这种通信主导了迭代时间。传统的负载均衡方法未能利用Rail架构的确定性拓扑,导致多网卡带宽未被充分利用。我们提出了RailS,一个分布式负载均衡框架,旨在最小化MoE训练中的全对全完成时间。RailS利用Rail拓扑的对称性证明了均匀发送保证均匀接收,从而将全局协调转化为本地调度。每个节点独立执行最长处理时间优先(Longest Processing Time First, LPT)喷洒调度器,利用本地信息主动平衡流量。RailS激活N条并行Rail以实现细粒度、拓扑感知的多路径传输。在合成和真实世界的MoE工作负载中,RailS将总线带宽提高了20%至78%,并将完成时间减少了17%至78%。对于Mixtral工作负载,它将迭代时间缩短了18%至40%,并实现了接近最优的负载均衡,充分利用了分布式训练中的架构并行性。

英文摘要:

Training Mixture-of-Experts (MoE) models introduces sparse and highly imbalanced all-to-all communication that dominates iteration time. Conventional load-balancing methods fail to exploit the deterministic topology of Rail architectures, leaving multi-NIC bandwidth underutilized. We present RailS, a distributed load-balancing framework that minimizes all-to-all completion time in MoE training. RailS leverages the Rail topology's symmetry to prove that uniform sending ensures uniform receiving, transforming global coordination into local scheduling. Each node independently executes a Longest Processing Time First (LPT) spraying scheduler to proactively balance traffic using local information. RailS activates N parallel rails for fine-grained, topology-aware multipath transmission. Across synthetic and real-world MoE workloads, RailS improves bus bandwidth by 20%--78% and reduces completion time by 17%--78%. For Mixtral workloads, it shortens iteration time by 18%--40% and achieves near-optimal load balance, fully exploiting architectural parallelism in distributed training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑