On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning

Aritra Dutta, El Houcine Bergou, Ahmed M. Abdelmoniem, Chen-Yu Ho, Atal Narayan Sahu +2 more
11/19/2019
cs.DCcs.LGmath.OC
quantization-pruning

Official code: sands-lab/layer-wise-aaai20 (9 stars, Jupyter Notebook, last commit 2020-08-09).

Abstract

Compressed communication, in the form of sparsification or quantization of stochastic gradients, is employed to reduce communication costs in distributed data-parallel training of deep neural networks. However, there exists a discrepancy between theory and practice: while theoretical analysis of most existing compression methods assumes compression is applied to the gradients of the entire model, many practical implementations operate individually on the gradients of each layer of the model.

Show full abstract

In this paper, we prove that layer-wise compression is, in theory, better, because the convergence rate is upper bounded by that of entire-model compression for a wide range of biased and unbiased compression methods. However, despite the theoretical bound, our experimental study of six well-known methods shows that convergence, in practice, may or may not be better, depending on the actual trained model and compression ratio. Our findings suggest that it would be advantageous for deep learning frameworks to include support for both layer-wise and entire-model compression.

View on arXivView PDF

Code Implementations(1)

Code repository for AAAI'20 paper: On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning

93Jupyter Notebook, PythonNov 17, 20196 years ago

Similar Papers

Cite this paper

@article{dutta2019discrepancy,
  title  = {On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning},
  author = {Aritra Dutta and El Houcine Bergou and Ahmed M. Abdelmoniem and Chen-Yu Ho and Atal Narayan Sahu and Marco Canini and Panos Kalnis},
  year   = {2019},
  eprint = {1911.08250},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.08250}
}

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

Discussion