arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.05936cs.LGcs.DCstat.ML
收藏

Layered SGD:一种用于可扩展深度神经网络训练的分散同步SGD算法

Layered SGD: A Decentralized and Synchronous SGD Algorithm for Scalable Deep Neural Network Training

Brookhaven National Laboratory(布鲁克海文国家实验室)

Kwangmin Yu, Thomas Flynn, Shinjae Yoo, Nicholas D'Imperio

摘要:

随机梯度下降(SGD)是训练深度神经网络(DNN)最流行的算法。由于较大的网络和数据集会导致较长的训练时间,因此在分布式系统上进行训练很常见,并且分布式SGD变体(主要是异步和同步SGD)被广泛使用。异步SGD是通信高效的,但是由于延迟的参数更新而遭受精度降级。当节点数量增加时,同步SGD变得通信密集,而不管其优点如何。为了解决这些问题,我们引入分层SGD(LSGD),一个新的分散同步SGD算法。LSGD将计算资源划分为子组,每个子组包含一个通信层(communicator)和一个计算层(worker)。每个子组具有用于参数更新的集中式通信,而子组之间的通信由通信器处理。因此,通信时间与工作器的I/O延迟重叠。通过在ImageNet分类任务上训练深度网络来测试该算法的效率。

英文摘要:

Stochastic Gradient Descent (SGD) is the most popular algorithm for training deep neural networks (DNNs). As larger networks and datasets cause longer training times, training on distributed systems is common and distributed SGD variants, mainly asynchronous and synchronous SGD, are widely used. Asynchronous SGD is communication efficient but suffers from accuracy degradation due to delayed parameter updating. Synchronous SGD becomes communication intensive when the number of nodes increases regardless of its advantage. To address these issues, we introduce Layered SGD (LSGD), a new decentralized synchronous SGD algorithm. LSGD partitions computing resources into subgroups that each contain a communication layer (communicator) and a computation layer (worker). Each subgroup has centralized communication for parameter updates while communication between subgroups is handled by communicators. As a result, communication time is overlapped with I/O latency of workers. The efficiency of the algorithm is tested by training a deep network on the ImageNet classification task.

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

↑