An Efficient Statistical-based Gradient Compression Technique for Distributed Training Systems

Ahmed M. Abdelmoniem, Ahmed Elzanaty, Mohamed-Slim Alouini, Marco Canini
1/26/2021
cs.LGcs.DC

Official code: sands-lab/SIDCo (9 stars, Python, MIT, last commit 2021-06-06).

Abstract

The recent many-fold increase in the size of deep neural networks makes efficient distributed training challenging. Many proposals exploit the compressibility of the gradients and propose lossy compression techniques to speed up the communication stage of distributed training.

Show full abstract

Nevertheless, compression comes at the cost of reduced model quality and extra computation overhead. In this work, we design an efficient compressor with minimal overhead. Noting the sparsity of the gradients, we propose to model the gradients as random variables distributed according to some sparsity-inducing distributions (SIDs). We empirically validate our assumption by studying the statistical characteristics of the evolution of gradient vectors over the training process. We then propose Sparsity-Inducing Distribution-based Compression (SIDCo), a threshold-based sparsification scheme that enjoys similar threshold estimation quality to deep gradient compression (DGC) while being faster by imposing lower compression overhead. Our extensive evaluation of popular machine learning benchmarks involving both recurrent neural network (RNN) and convolution neural network (CNN) models shows that SIDCo speeds up training by up to 41:7%, 7:6%, and 1:9% compared to the no-compression baseline, Topk, and DGC compressors, respectively.

View on arXivView PDF

Code Implementations(1)

sands-lab/SIDCoOfficial100%
MIT

SIDCo is An Efficient Statistical-based Gradient Compression Technique for Distributed Training Systems

93Python, ShellFeb 21, 20215 years agoMIT

Similar Papers

Cite this paper

@article{abdelmoniem2021efficient,
  title  = {An Efficient Statistical-based Gradient Compression Technique for Distributed Training Systems},
  author = {Ahmed M. Abdelmoniem and Ahmed Elzanaty and Mohamed-Slim Alouini and Marco Canini},
  year   = {2021},
  eprint = {2101.10761},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.10761}
}

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

Discussion