Compressed Communication for Distributed Training: Adaptive Methods and System

Yuchen Zhong, Cong Xie, Shuai Zheng, Haibin Lin
5/17/2021
cs.DCcs.LGstat.ML

Official code: jasperzhong/byteps-compress (1 star, Python, last commit 2021-02-09).

Abstract

Communication overhead severely hinders the scalability of distributed machine learning systems. Recently, there has been a growing interest in using gradient compression to reduce the communication overhead of the distributed training.

Show full abstract

However, there is little understanding of applying gradient compression to adaptive gradient methods. Moreover, its performance benefits are often limited by the non-negligible compression overhead. In this paper, we first introduce a novel adaptive gradient method with gradient compression. We show that the proposed method has a convergence rate of $\mathcal{O}(1/\sqrt{T})$ for non-convex problems. In addition, we develop a scalable system called BytePS-Compress for two-way compression, where the gradients are compressed in both directions between workers and parameter servers. BytePS-Compress pipelines the compression and decompression on CPUs and achieves a high degree of parallelism. Empirical evaluations show that we improve the training time of ResNet50, VGG16, and BERT-base by 5.0%, 58.1%, 23.3%, respectively, without any accuracy loss with 25 Gb/s networking. Furthermore, for training the BERT models, we achieve a compression rate of 333x compared to the mixed-precision training.

View on arXivView PDF

Code Implementations(1)

10Python, C++Feb 8, 20215 years ago

Similar Papers

Cite this paper

@article{zhong2021compressed,
  title  = {Compressed Communication for Distributed Training: Adaptive Methods and System},
  author = {Yuchen Zhong and Cong Xie and Shuai Zheng and Haibin Lin},
  year   = {2021},
  eprint = {2105.07829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.07829}
}

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/2105.07829.svg)](https://codeofpaper.com/paper/2105.07829)

Discussion