Sparsified SGD with Memory

Sebastian U. Stich, Jean-Baptiste Cordonnier, Martin Jaggi
9/20/2018
cs.LGcs.DCcs.DS

Official code: epfml/sparsifiedSGD (58 stars, Jupyter Notebook, Apache-2.0, last commit 2018-10-25).

Abstract

Huge scale machine learning problems are nowadays tackled by distributed optimization algorithms, i.e. algorithms that leverage the compute power of many devices for training. The communication overhead is a key bottleneck that hinders perfect scalability.

Show full abstract

Various recent works proposed to use quantization or sparsification techniques to reduce the amount of data that needs to be communicated, for instance by only sending the most significant entries of the stochastic gradient (top-k sparsification). Whilst such schemes showed very promising performance in practice, they have eluded theoretical analysis so far. In this work we analyze Stochastic Gradient Descent (SGD) with k-sparsification or compression (for instance top-k or random-k) and show that this scheme converges at the same rate as vanilla SGD when equipped with error compensation (keeping track of accumulated errors in memory). That is, communication can be reduced by a factor of the dimension of the problem (sometimes even more) whilst still converging at the same rate. We present numerical experiments to illustrate the theoretical findings and the better scalability for distributed applications.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Sparsified SGD with Memory: https://arxiv.org/abs/1809.07599

5812Jupyter Notebook, PythonMay 24, 20188 years agoApache-2.0

Similar Papers

Cite this paper

@article{stich2018sparsified,
  title  = {Sparsified SGD with Memory},
  author = {Sebastian U. Stich and Jean-Baptiste Cordonnier and Martin Jaggi},
  year   = {2018},
  eprint = {1809.07599},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.07599}
}

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

Discussion