arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.04531cs.LG
收藏

HALoS:面向地理分布式大语言模型训练的慢速网络上的分层异步局部SGD

HALoS: Hierarchical Asynchronous Local SGD over Slow Networks for Geo-Distributed Large Language Model Training

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Meta

Geon-Woo Kim, Junbo Li, Shashidhar Gandham, Omar Baldonado, Adithya Gangidi, Pavan Balaji, Zhangyang Wang, Aditya Akella

AI总结:

HALoS通过区域局部参数服务器与全局参数服务器的分层异步优化框架,减少跨区域通信并缓解滞后效应,在地理分布式LLM训练中实现最高7.5倍加速且保持同步SGD的模型质量。

摘要:

训练大语言模型(LLMs)越来越依赖于地理上分布的加速器,这导致了跨区域的高昂通信成本和异构硬件的不均衡利用。我们提出HALoS,一种分层异步优化框架,通过在每个区域内引入局部参数服务器(LPSs)以及一个跨区域合并更新的全局参数服务器(GPS)来解决这些问题。这种分层设计最大限度地减少了昂贵的跨区域通信,降低了滞后效应,并利用了快速的区域内链路。我们针对非凸目标给出了HALoS的严格收敛性分析,包括关于分层动量在异步训练中作用的理论保证。在实验上,HALoS在地理分布式LLM训练中实现了比同步基线快达7.5倍的收敛速度,并比现有异步方法提升了高达2.1倍。至关重要的是,HALoS保持了完全同步SGD的模型质量——在标准语言建模和下游基准上达到或超过其准确率——同时大幅降低了总训练时间。这些结果表明,分层、服务器端更新累积和全局模型合并是在异构、地理分布式环境中可扩展、高效训练新时代LLM的强大工具。

英文摘要:

Training large language models (LLMs) increasingly relies on geographically distributed accelerators, causing prohibitive communication costs across regions and uneven utilization of heterogeneous hardware. We propose HALoS, a hierarchical asynchronous optimization framework that tackles these issues by introducing local parameter servers (LPSs) within each region and a global parameter server (GPS) that merges updates across regions. This hierarchical design minimizes expensive inter-region communication, reduces straggler effects, and leverages fast intra-region links. We provide a rigorous convergence analysis for HALoS under non-convex objectives, including theoretical guarantees on the role of hierarchical momentum in asynchronous training. Empirically, HALoS attains up to 7.5x faster convergence than synchronous baselines in geo-distributed LLM training and improves upon existing asynchronous methods by up to 2.1x. Crucially, HALoS preserves the model quality of fully synchronous SGD-matching or exceeding accuracy on standard language modeling and downstream benchmarks-while substantially lowering total training time. These results demonstrate that hierarchical, server-side update accumulation and global model merging are powerful tools for scalable, efficient training of new-era LLMs in heterogeneous, geo-distributed environments.

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

↑