arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.13085cs.LGcs.AI
收藏

分散式深度学习的局部异步随机梯度下降

Locally Asynchronous Stochastic Gradient Descent for Decentralised Deep Learning

Tomer Avidor, Nadav Tal Israel

摘要:

深度神经网络的分布式训练算法在非常大的问题上表现出令人印象深刻的收敛加速特性。然而,它们固有地遭受与通信相关的减速,并且通信拓扑成为关键的设计选择。大多数机器学习框架支持的常见方法是:1)同步分散算法,依赖于对落伍者和通信延迟敏感的对等All Reduce拓扑。2)异步集中式算法,基于服务器的拓扑结构易于出现通信瓶颈。研究人员还提出了异步分散算法,旨在避免瓶颈和加速训练,然而,这些算法通常使用不精确的稀疏平均,这可能导致准确性下降。在本文中,我们提出了本地异步SGD(LASGD),一个异步分散算法,依赖于所有减少模型同步。我们在ImageNet数据集上实证验证了LASGD在图像分类任务上的性能。我们的实验表明,与SGD和最先进的基于流言的方法相比,LASGD加速了训练。

英文摘要:

Distributed training algorithms of deep neural networks show impressive convergence speedup properties on very large problems. However, they inherently suffer from communication related slowdowns and communication topology becomes a crucial design choice. Common approaches supported by most machine learning frameworks are: 1) Synchronous decentralized algorithms relying on a peer-to-peer All Reduce topology that is sensitive to stragglers and communication delays. 2) Asynchronous centralised algorithms with a server based topology that is prone to communication bottleneck. Researchers also suggested asynchronous decentralized algorithms designed to avoid the bottleneck and speedup training, however, those commonly use inexact sparse averaging that may lead to a degradation in accuracy. In this paper, we propose Local Asynchronous SGD (LASGD), an asynchronous decentralized algorithm that relies on All Reduce for model synchronization. We empirically validate LASGD's performance on image classification tasks on the ImageNet dataset. Our experiments demonstrate that LASGD accelerates training compared to SGD and state of the art gossip based approaches.

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

↑