arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.13198cs.CLcs.LGstat.ML
收藏

探索大规模语言模型训练中局部SGD的扩展规律

Exploring Scaling Laws for Local SGD in Large Language Model Training

Qiaozhi He, Xiaomin Zhuang, Zhihua Wu

AI总结:

本文研究局部SGD在LLM训练中的扩展规律,证明其在等效资源下与传统方法竞争力相当,并探讨多集群与边缘计算场景的适用性,作为大型集群训练的替代方案。

摘要:

本文研究了在LLM训练中局部SGD的扩展规律,局部SGD是一种分布式优化算法,便于在松散连接的设备上进行训练。通过大量实验,我们表明,在给定等效模型参数、数据集和计算资源的情况下,局部SGD与传统方法相比取得了具有竞争力的结果。此外,我们探讨了局部SGD在各种实际场景中的应用,包括多集群设置和边缘计算环境。我们的研究结果阐明了有效进行多集群LLM训练的必要条件,并考察了在LLM训练过程中利用边缘计算资源的潜力与局限性。这表明其作为单一大型集群训练替代方案的可行性。

英文摘要:

This paper investigates scaling laws for local SGD in LLM training, a distributed optimization algorithm that facilitates training on loosely connected devices. Through extensive experiments, we show that local SGD achieves competitive results compared to conventional methods, given equivalent model parameters, datasets, and computational resources. Furthermore, we explore the application of local SGD in various practical scenarios, including multi-cluster setups and edge computing environments. Our findings elucidate the necessary conditions for effective multi-cluster LLM training and examine the potential and limitations of leveraging edge computing resources in the LLM training process. This demonstrates its viability as an alternative to single large-cluster training.

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

↑