NUQSGD: Provably Communication-efficient Data-parallel SGD via Nonuniform Quantization

Ali Ramezani-Kebrya, Fartash Faghri, Ilya Markov, Vitalii Aksenov, Dan Alistarh +1 more
8/16/2019
cs.LGstat.ML

Official code: fartashf/nuqsgd (7 stars, Jupyter Notebook, PyTorch, last commit 2021-06-16).

Abstract

As the size and complexity of models and datasets grow, so does the need for communication-efficient variants of stochastic gradient descent that can be deployed to perform parallel model training. One popular communication-compression method for data-parallel SGD is QSGD (Alistarh et al., 2017), which quantizes and encodes gradients to reduce communication costs.

Show full abstract

The baseline variant of QSGD provides strong theoretical guarantees, however, for practical purposes, the authors proposed a heuristic variant which we call QSGDinf, which demonstrated impressive empirical gains for distributed training of large neural networks. In this paper, we build on this work to propose a new gradient quantization scheme, and show that it has both stronger theoretical guarantees than QSGD, and matches and exceeds the empirical performance of the QSGDinf heuristic and of other compression methods.

View on arXivView PDF

Code Implementations(1)

fartashf/nuqsgdOfficial100%
PyTorch

PyTorch Code for the paper "NUQSGD: Provably Communication-efficient Data-parallel SGD via Nonuniform Quantization"

72Jupyter Notebook, PythonAug 26, 20195 years ago
data-parallel-sgdpytorchquantization

Similar Papers

Cite this paper

@article{ramezanikebrya2019nuqsgd,
  title  = {NUQSGD: Provably Communication-efficient Data-parallel SGD via Nonuniform Quantization},
  author = {Ali Ramezani-Kebrya and Fartash Faghri and Ilya Markov and Vitalii Aksenov and Dan Alistarh and Daniel M. Roy},
  year   = {2019},
  eprint = {1908.06077},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.06077}
}

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

Discussion