Adaptive Gradient Quantization for Data-Parallel SGD
Fartash Faghri, Iman Tabrizian, Ilia Markov, Dan Alistarh, Daniel M. Roy, Ali Ramezani-Kebrya
Abstract
Many communication-efficient variants of SGD use gradient quantization schemes. These schemes are often heuristic and fixed over the course of training. 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
23 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers23
- NeRV: Neural Representations for VideosHao Chen, Bo He, Hanyu Wang, Yixuan Ren et al.NeurIPS 2021 · 430 citations
- What Do We Mean by Generalization in Federated Learning?Honglin Yuan, Warren Richard Morningstar, Lin Ning, Karan SinghalICLR 2022 · 98 citations
- Moshpit SGD: Communication-Efficient Decentralized Training on Heterogeneous Unreliable DevicesMax Ryabinin, Eduard Gorbunov, Vsevolod Plokhotnyuk, Gennady PekhimenkoNeurIPS 2021 · 59 citations
- Lossless Compression of Efficient Private Local RandomizersVitaly Feldman, Kunal TalwarICML 2021 · 43 citations
- Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication CompressionJaeyong Song, Jinkyu Yim, Jaewon Jung, Hongsun Jang et al.ASPLOS 2023 · 37 citations
Builds on1
Related papers
- Indirect Stochastic Gradient Quantization and Its Application in Distributed Deep LearningAfshin Abdi, Faramarz FekriAAAI 2020 · 5 citations
- CSER: Communication-efficient SGD with Error ResetCong Xie, Shuai Zheng, Oluwasanmi Koyejo, Indranil Gupta et al.NeurIPS 2020 · 50 citations
- A Flexible Framework for Communication-Efficient Machine LearningSarit Khirirat, Sindri Magnússon, Arda Aytekin, Mikael JohanssonAAAI 2021 · 16 citations
- Fine-tuning Language Models over Slow Networks using Activation Quantization with GuaranteesJue Wang, Binhang Yuan, Luka Rimanic, Yongjun He et al.NeurIPS 2022 · 37 citations
- FFT-based Gradient Sparsification for the Distributed Training of Deep Neural NetworksLinnan Wang, Wei Wu, Junyu Zhang, Hang Liu et al.HPDC 2020 · 21 citations
