arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.12948stat.MLcs.LG
收藏

分布式学习中面向稀疏通信的全局动量压缩

Global Momentum Compression for Sparse Communication in Distributed Learning

National Key Laboratory for Novel Software Technology(计算机软件新技术国家重点实验室);Nanjing University(南京大学)

Chang-Wei Shi, Shen-Yi Zhao, Yin-Peng Xie, Hao Gao, Wu-Jun Li

AI总结:

针对DMSGD稀疏通信的带宽瓶颈,本文提出使用全局动量的GMC及其增强版GMC+,证明二者收敛性,并在non-IID设置下取得更高准确率与更快收敛。

摘要:

随着数据的快速增长,分布式动量随机梯度下降(DMSGD)已被广泛应用于分布式学习,尤其是用于训练大规模深度模型。由于网络的延迟和有限带宽,通信已成为分布式学习的瓶颈。采用稀疏化梯度的通信压缩(简称为稀疏通信)已被广泛用于降低通信成本。现有关于DMSGD中稀疏通信的所有工作都采用局部动量,即动量仅在每个工作节点本地累积其计算的随机梯度。本文提出一种名为全局动量压缩(GMC)的稀疏通信新方法。与使用局部动量的现有工作不同,GMC使用全局动量。此外,为在使用更激进的稀疏化压缩器(例如RBGS)时提升收敛性能,我们将GMC扩展为GMC+。我们从理论上证明了GMC和GMC+的收敛性。据我们所知,这是首个在分布式学习中为稀疏通信引入全局动量的工作。实验结果表明,与采用局部动量的对应方法相比,我们的GMC和GMC+能够取得更高的测试准确率并展现出更快的收敛速度,尤其是在non-IID数据分布下。

英文摘要:

With the rapid growth of data, distributed momentum stochastic gradient descent~(DMSGD) has been widely used in distributed learning, especially for training large-scale deep models. Due to the latency and limited bandwidth of the network, communication has become the bottleneck of distributed learning. Communication compression with sparsified gradient, abbreviated as \emph{sparse communication}, has been widely employed to reduce communication cost. All existing works about sparse communication in DMSGD employ local momentum, in which the momentum only accumulates stochastic gradients computed by each worker locally. In this paper, we propose a novel method, called \emph{\underline{g}}lobal \emph{\underline{m}}omentum \emph{\underline{c}}ompression~(GMC), for sparse communication. Different from existing works that utilize local momentum, GMC utilizes global momentum. Furthermore, to enhance the convergence performance when using more aggressive sparsification compressors (e.g., RBGS), we extend GMC to GMC+. We theoretically prove the convergence of GMC and GMC+. To the best of our knowledge, this is the first work that introduces global momentum for sparse communication in distributed learning. Empirical results demonstrate that, compared with the local momentum counterparts, our GMC and GMC+ can achieve higher test accuracy and exhibit faster convergence, especially under non-IID data distribution.

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

↑