Rethinking gradient sparsification as total error minimization
Atal Narayan Sahu, Aritra Dutta, Ahmed M. Abdelmoniem, Trambak Banerjee, Marco Canini, Panos Kalnis
Abstract
Gradient compression is a widely-established remedy to tackle the communication bottleneck in distributed training of large deep neural networks (DNNs). Under the error-feedback framework, Top- sparsification, sometimes with as little as of the gradient size, enables training to the same model quality as the uncompressed case for a similar iteration count. From the optimization perspective, we find that Top- is the communication-optimal sparsifier given a per-iteration element budget. We argue that to further the benefits of gradient sparsification, especially for DNNs, a different perspective is necessary -- one that moves from per-iteration optimality to consider optimality for the entire training. We identify that the total error -- the sum of the compression errors for all iterations -- encapsulates sparsification throughout training. Then, we propose a communication complexity model that minimizes the total error under a communication budget for the entire training. We find that the hard-threshold sparsifier, a variant of the Top- sparsifier with determined by a constant hard-threshold, is the optimal sparsifier for this model. Motivated by this, we provide convex and non-convex convergence analyses for the hard-threshold sparsifier with error-feedback. Unlike with Top- sparsifier, we show that hard-threshold has the same asymptotic convergence and linear speedup property as SGD in the convex case and has no impact on the data-heterogeneity in the non-convex case. Our diverse experiments on various DNNs and a logistic regression model demonstrated that the hard-threshold sparsifier is more communication-efficient than Top-.
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.
19 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
- A Guide Through the Zoo of Biased SGD cites Linearly Converging Error Compensated SGD
- Momentum Provably Improves Error Feedback! cites Linearly Converging Error Compensated SGD
- Momentum Provably Improves Error Feedback! cites Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication Compression
Cited by top-tier papers19
- A Guide Through the Zoo of Biased SGDYury Demidovich, Grigory Malinovsky, Igor Sokolov, Peter RichtárikNeurIPS 2023 · 56 citations
- Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication CompressionXinmeng Huang, Yiming Chen, Wotao Yin, Kun YuanNeurIPS 2022 · 49 citations
- Momentum Provably Improves Error Feedback!Ilyas Fatkhullin, Alexander Tyurin, Peter RichtárikNeurIPS 2023 · 47 citations
- VeLoRA: Memory Efficient Training using Rank-1 Sub-Token ProjectionsRoy Miles, Pradyumna Reddy, Ismail Elezi, Jiankang DengNeurIPS 2024 · 22 citations
- Olive: Oblivious Federated Learning on Trusted Execution Environment Against the Risk of SparsificationFumiyuki Kato, Yang Cao, Masatoshi YoshikawaVLDB 2023 · 14 citations
Builds on8
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi et al.OSDI 2020 · 390 citations
- Breaking the Communication-Privacy-Accuracy TrilemmaWei-Ning Chen, Peter Kairouz, Ayfer ÖzgürNeurIPS 2020 · 144 citations
- Linearly Converging Error Compensated SGDEduard Gorbunov, Dmitry Kovalev, Dmitry Makarenko, Peter RichtárikNeurIPS 2020 · 90 citations
- A Better Alternative to Error Feedback for Communication-Efficient Distributed LearningSamuel Horváth, Peter RichtárikICLR 2021 · 66 citations
Related papers
- ADTopk: All-Dimension Top-k Compression for High-Performance Data-Parallel DNN TrainingZhangqiang Ming, Yuchong Hu, Wenxiang Zhou, Xinjue Zheng et al.HPDC 2024 · 5 citations
- Detached Error Feedback for Distributed SGD with Random SparsificationAn Xu, Heng HuangICML 2022 · 12 citations
- γ-FedHT: Stepsize-Aware Hard-Threshold Gradient Compression in Federated LearningRongwei Lu, Yutong Jiang, Jinrui Zhang, Chunyang Li et al.INFOCOM 2025 · 2 citations
- On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep LearningAritra Dutta, El Houcine Bergou, Ahmed M. Abdelmoniem, Chen-Yu Ho et al.AAAI 2020
- Near-optimal sparse allreduce for distributed deep learningShigang Li, Torsten HoeflerPPoPP 2022 · 57 citations
