Adaptive Gradient Quantization for Data-Parallel SGD

Fartash Faghri, Iman Tabrizian, Ilia Markov, Dan Alistarh, Daniel Roy +1 more
10/23/2020
cs.LGstat.ML

Official code: Tabrizian/learning-to-quantize (30 stars, Jupyter Notebook, Apache-2.0, last commit 2021-01-14).

Abstract

Many communication-efficient variants of SGD use gradient quantization schemes. These schemes are often heuristic and fixed over the course of training.

Show full abstract

We empirically observe that the statistics of gradients of deep models change during the training. Motivated by this observation, we introduce two adaptive quantization schemes, ALQ and AMQ. In both schemes, processors update their compression schemes in parallel by efficiently computing sufficient statistics of a parametric distribution. We improve the validation accuracy by almost 2% on CIFAR-10 and 1% on ImageNet in challenging low-cost communication setups. Our adaptive methods are also significantly more robust to the choice of hyperparameters.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for "Adaptive Gradient Quantization for Data-Parallel SGD", published in NeurIPS 2020.

305Jupyter Notebook, PythonNov 5, 20195 years agoApache-2.0
data-parallel-sgdgradientquantizationquantization-schemes

Similar Papers

Cite this paper

@article{faghri2020adaptive,
  title  = {Adaptive Gradient Quantization for Data-Parallel SGD},
  author = {Fartash Faghri and Iman Tabrizian and Ilia Markov and Dan Alistarh and Daniel Roy and Ali Ramezani-Kebrya},
  year   = {2020},
  eprint = {2010.12460},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12460}
}

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

Discussion