Communication-Efficient Distributed Blockwise Momentum SGD with Error-Feedback

Shuai Zheng, Ziyue Huang, James T. Kwok
5/27/2019
cs.LGcs.DCmath.OC

Official code: ZiyueHuang/dist-ef-sgdm (2 stars, Python, last commit 2019-09-16).

Abstract

Communication overhead is a major bottleneck hampering the scalability of distributed machine learning systems. Recently, there has been a surge of interest in using gradient compression to improve the communication efficiency of distributed neural network training.

Show full abstract

Using 1-bit quantization, signSGD with majority vote achieves a 32x reduction on communication cost. However, its convergence is based on unrealistic assumptions and can diverge in practice. In this paper, we propose a general distributed compressed SGD with Nesterov's momentum. We consider two-way compression, which compresses the gradients both to and from workers. Convergence analysis on nonconvex problems for general gradient compressors is provided. By partitioning the gradient into blocks, a blockwise compressor is introduced such that each gradient block is compressed and transmitted in 1-bit format with a scaling factor, leading to a nearly 32x reduction on communication. Experimental results show that the proposed method converges as fast as full-precision distributed momentum SGD and achieves the same testing accuracy. In particular, on distributed ResNet training with 7 workers on the ImageNet, the proposed algorithm achieves the same testing accuracy as momentum SGD using full-precision gradients, but with $46\%$ less wall clock time.

View on arXivView PDF

Code Implementations(1)

22Python, C++Sep 16, 20197 years ago

Similar Papers

Cite this paper

@article{zheng2019communicationefficient,
  title  = {Communication-Efficient Distributed Blockwise Momentum SGD with Error-Feedback},
  author = {Shuai Zheng and Ziyue Huang and James T. Kwok},
  year   = {2019},
  eprint = {1905.10936},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.10936}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.10936.svg)](https://codeofpaper.com/paper/1905.10936)

Discussion