Global Momentum Compression for Sparse Communication in Distributed Learning
Chang-Wei Shi, Shen-Yi Zhao, Yin-Peng Xie, Hao Gao, Wu-Jun Li
TL;DR
Global Momentum Compression (GMC) introduces a global momentum term into sparse communication for distributed momentum SGD, addressing the bias issues of local momentum under sparsification. GMC+ extends this framework with detached error feedback to tolerate highly aggressive compressors like RBGS, while preserving convergence guarantees. Theoretical results show GMC and GMC+ converge at a rate of $\mathcal{O}(1/\sqrt{KT})$, achieving linear speedup in the number of workers, and empirical experiments on CIFAR-10/100 with ResNet20 and ViT demonstrate improved accuracy and faster convergence, especially under non-IID data distributions. The work provides a practical, communication-efficient approach for large-scale distributed training with theoretical guarantees and strong empirical performance.
Abstract
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.
