On the Utility of Gradient Compression in Distributed Training Systems

Saurabh Agarwal, Hongyi Wang, Shivaram Venkataraman, Dimitris Papailiopoulos
2/28/2021
cs.DCcs.LG

Official code: uw-mad-dash/GradCompressionUtility (5 stars, Python, last commit 2022-03-18).

Abstract

A rich body of prior work has highlighted the existence of communication bottlenecks in synchronous data-parallel training. To alleviate these bottlenecks, a long line of recent work proposes gradient and model compression methods.

Show full abstract

In this work, we evaluate the efficacy of gradient compression methods and compare their scalability with optimized implementations of synchronous data-parallel SGD across more than 200 different setups. Surprisingly, we observe that only in 6 cases out of more than 200, gradient compression methods provide speedup over optimized synchronous data-parallel training in the typical data-center setting. We conduct an extensive investigation to identify the root causes of this phenomenon, and offer a performance model that can be used to identify the benefits of gradient compression for a variety of system setups. Based on our analysis, we propose a list of desirable properties that gradient compression methods should satisfy, in order for them to provide a meaningful end-to-end speedup.

View on arXivView PDF

Code Implementations(1)

51Python, ShellJun 29, 20214 years ago

Similar Papers

Cite this paper

@article{agarwal2021utility,
  title  = {On the Utility of Gradient Compression in Distributed Training Systems},
  author = {Saurabh Agarwal and Hongyi Wang and Shivaram Venkataraman and Dimitris Papailiopoulos},
  year   = {2021},
  eprint = {2103.00543},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00543}
}

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

Discussion