EF-BV: A Unified Theory of Error Feedback and Variance Reduction Mechanisms for Biased and Unbiased Compression in Distributed Optimization
Laurent Condat, Kai Yi, Peter Richtárik
Abstract
In distributed or federated optimization and learning, communication between the different computing units is often the bottleneck and gradient compression is widely used to reduce the number of bits sent within each communication round of iterative methods. There are two classes of compression operators and separate algorithms making use of them. In the case of unbiased random compressors with bounded variance (e.g., rand-k), the DIANA algorithm of Mishchenko et al. (2019), which implements a variance reduction technique for handling the variance introduced by compression, is the current state of the art. In the case of biased and contractive compressors (e.g., top-k), the EF21 algorithm of Richtárik et al. (2021), which instead implements an error-feedback mechanism, is the current state of the art. These two classes of compression schemes and algorithms are distinct, with different analyses and proof techniques. In this paper, we unify them into a single framework and propose a new algorithm, recovering DIANA and EF21 as particular cases. Our general approach works with a new, larger class of compressors, which has two parameters, the bias and the variance, and includes unbiased and biased compressors as particular cases. This allows us to inherit the best of the two worlds: like EF21 and unlike DIANA, biased compressors, like top-k, whose good performance in practice is recognized, can be used. And like DIANA and unlike EF21, independent randomness at the compressors allows to mitigate the effects of compression, with the convergence rate improving when the number of parallel workers is large. This is the first time that an algorithm with all these features is proposed. We prove its linear convergence under certain conditions. Our approach takes a step towards better understanding of two so-far distinct worlds of communication-efficient distributed learning.
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.
13 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 Study of First-Order Methods with a Deterministic Relative-Error Gradient Oracle cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
- A Guide Through the Zoo of Biased SGD cites Linearly Converging Error Compensated SGD
- A Guide Through the Zoo of Biased SGD cites On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning
- A Guide Through the Zoo of Biased SGD cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
- EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback cites Linearly Converging Error Compensated SGD
- EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- Permutation Compressors for Provably Faster Distributed Nonconvex Optimization cites Linearly Converging Error Compensated SGD
- Permutation Compressors for Provably Faster Distributed Nonconvex Optimization cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- Accelerating Federated Learning with Quick Distributed Mean Estimation cites On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning
- Accelerating Federated Learning with Quick Distributed Mean Estimation cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
- Accelerating Federated Learning with Quick Distributed Mean Estimation cites Permutation Compressors for Provably Faster Distributed Nonconvex Optimization
- Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
- Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants cites Permutation Compressors for Provably Faster Distributed Nonconvex Optimization
- EF21-P and Friends: Improved Theoretical Communication Complexity for Distributed Optimization with Bidirectional Compression cites Linearly Converging Error Compensated SGD
Cited by top-tier papers13
- A Guide Through the Zoo of Biased SGDYury Demidovich, Grigory Malinovsky, Igor Sokolov, Peter RichtárikNeurIPS 2023 · 56 citations
- EF21-P and Friends: Improved Theoretical Communication Complexity for Distributed Optimization with Bidirectional CompressionKaja Gruntkowska, Alexander Tyurin, Peter RichtárikICML 2023 · 35 citations
- Accelerating Federated Learning with Quick Distributed Mean EstimationRan Ben-Basat, Shay Vargaftik, Amit Portnoy, Gil Einziger et al.ICML 2024 · 11 citations
- Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness ConstantsPeter Richtárik, Elnur Gasanov, Konstantin BurlachenkoICLR 2024 · 6 citations
- A Study of First-Order Methods with a Deterministic Relative-Error Gradient OracleNadav Hallak, Kfir Yehuda LevyICML 2024 · 5 citations
Builds on5
- EF21: A New, Simpler, Theoretically Better, and Practically Faster Error FeedbackPeter Richtárik, Igor Sokolov, Ilyas FatkhullinNeurIPS 2021 · 219 citations
- Acceleration for Compressed Gradient Descent in Distributed and Federated OptimizationZhize Li, Dmitry Kovalev, Xun Qian, Peter RichtárikICML 2020 · 156 citations
- Linearly Converging Error Compensated SGDEduard Gorbunov, Dmitry Kovalev, Dmitry Makarenko, Peter RichtárikNeurIPS 2020 · 90 citations
- Permutation Compressors for Provably Faster Distributed Nonconvex OptimizationRafal Szlendak, Alexander Tyurin, Peter RichtárikICLR 2022 · 40 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
Related papers
- A Better Alternative to Error Feedback for Communication-Efficient Distributed LearningSamuel Horváth, Peter RichtárikICLR 2021 · 66 citations
- 3PC: Three Point Compressors for Communication-Efficient Distributed Training and a Better Theory for Lazy AggregationPeter Richtárik, Igor Sokolov, Elnur Gasanov, Ilyas Fatkhullin et al.ICML 2022 · 36 citations
- Error Compensated Distributed SGD Can Be AcceleratedXun Qian, Peter Richtárik, Tong ZhangNeurIPS 2021 · 65 citations
- Analysis of Error Feedback in Federated Non-Convex Optimization with Biased Compression: Fast Convergence and Partial ParticipationXiaoyun Li, Ping LiICML 2023 · 42 citations
- ErrorCompensatedX: error compensation for variance reduced algorithmsHanlin Tang, Yao Li, Ji Liu, Ming YanNeurIPS 2021 · 13 citations
