Decentralized Deep Learning with Arbitrary Communication Compression

Anastasia Koloskova, Tao Lin, Sebastian U. Stich, Martin Jaggi
7/22/2019
cs.LGcs.DCcs.DS

Official code: epfml/ChocoSGD (74 stars, Python, Apache-2.0, last commit 2020-09-10).

Abstract

Decentralized training of deep learning models is a key element for enabling data privacy and on-device learning over networks, as well as for efficient scaling to large compute clusters. As current approaches suffer from limited bandwidth of the network, we propose the use of communication compression in the decentralized training context.

Show full abstract

We show that Choco-SGD $-$ recently introduced and analyzed for strongly-convex objectives only $-$ converges under arbitrary high compression ratio on general non-convex functions at the rate $O\bigl(1/\sqrt{nT}\bigr)$ where $T$ denotes the number of iterations and $n$ the number of workers. The algorithm achieves linear speedup in the number of workers and supports higher compression than previous state-of-the art methods. We demonstrate the practical performance of the algorithm in two key scenarios: the training of deep learning models (i) over distributed user devices, connected by a social network and (ii) in a datacenter (outperforming all-reduce time-wise).

View on arXivView PDF

Code Implementations(1)

epfml/ChocoSGDOfficial100%
Apache-2.0

Decentralized SGD and Consensus with Communication Compression: https://arxiv.org/abs/1907.09356

7419Python, Jupyter NotebookMay 6, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{koloskova2019decentralized,
  title  = {Decentralized Deep Learning with Arbitrary Communication Compression},
  author = {Anastasia Koloskova and Tao Lin and Sebastian U. Stich and Martin Jaggi},
  year   = {2019},
  eprint = {1907.09356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.09356}
}

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

Discussion