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

DecentLaM:大批量深度训练的去中心化动能SGD

DecentLaM: Decentralized Momentum SGD for Large-batch Deep Training

Alibaba Group(阿里巴巴集团);University of Pennsylvania(宾夕法尼亚大学)

Kun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang, Pan Pan, Yinghui Xu, Wotao Yin

摘要:

当今深度学习的规模要求高效的分布式训练算法。去中心化动量SGD(DmSGD),其中每个节点仅与其邻居平均,比在所有计算节点上产生全局平均的vanilla并行动量SGD更有效。另一方面,大批量训练已被证明是实现运行时加速的关键。这促使我们研究DmSGD如何在大批量场景中执行。在这项工作中,我们发现动量项可以放大DmSGD中的不一致偏差。随着批量的增大,这种偏差变得更加明显,从而导致严重的性能下降。接下来,我们提出DecentLaM,一种新的分散的大批量动量SGD,以消除动量引起的偏差。建立了非凸和强凸情形下的收敛速度。我们的理论结果证明了DecentLaM的DmSGD的优越性,特别是在大批量的情况下。在各种计算机视觉任务和模型上的实验结果表明,DecentLaM保证了高效和高质量的训练。

英文摘要:

The scale of deep learning nowadays calls for efficient distributed training algorithms. Decentralized momentum SGD (DmSGD), in which each node averages only with its neighbors, is more communication efficient than vanilla Parallel momentum SGD that incurs global average across all computing nodes. On the other hand, the large-batch training has been demonstrated critical to achieve runtime speedup. This motivates us to investigate how DmSGD performs in the large-batch scenario. In this work, we find the momentum term can amplify the inconsistency bias in DmSGD. Such bias becomes more evident as batch-size grows large and hence results in severe performance degradation. We next propose DecentLaM, a novel decentralized large-batch momentum SGD to remove the momentum-incurred bias. The convergence rate for both non-convex and strongly-convex scenarios is established. Our theoretical results justify the superiority of DecentLaM to DmSGD especially in the large-batch scenario. Experimental results on a variety of computer vision tasks and models demonstrate that DecentLaM promises both efficient and high-quality training.

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

↑