EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
Peter Richtárik, Igor Sokolov, Ilyas Fatkhullin
Abstract
Error feedback (EF), also known as error compensation, is an immensely popular convergence stabilization mechanism in the context of distributed training of supervised machine learning models enhanced by the use of contractive communication compression mechanisms, such as Top-𝑘. First proposed by Seide et al. [2014] as a heuristic, EF resisted any theoretical understanding until recently [Stich et al., 2018 , Alistarh et al., 2018] . While these early breakthroughs were followed by a steady stream of works offering various improvements and generalizations, the current theoretical understanding of EF is still very limited. Indeed, to the best of our knowledge, all existing analyses either i) apply to the single node setting only, ii) rely on very strong and often unreasonable assumptions, such global boundedness of the gradients, or iterate-dependent assumptions that cannot be checked a-priori and may not hold in practice, or iii) circumvent these issues via the introduction of additional unbiased compressors, which increase the communication cost. In this work we fix all these deficiencies by proposing and analyzing a new EF mechanism, which we call EF21, which consistently and substantially outperforms EF in practice. Moreover, our theoretical analysis relies on standard assumptions only, works in the distributed heterogeneous data setting, and leads to better and more meaningful rates. In particular, we prove that EF21 enjoys a fast 𝑂(1/𝑇 ) convergence rate for smooth nonconvex problems, beating the previous bound of 𝑂(1/𝑇 2/3 ), which was shown under a strong bounded gradients assumption. We further improve this to a fast linear rate for Polyak-Lojasiewicz functions, which is the first linear convergence result for an error feedback method not relying on unbiased compressors. Since EF has a large number of applications where it reigns supreme, we believe that our 2021 variant, EF21, can a large impact on the practice of communication efficient distributed learning. Contents
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.
58 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
- BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression cites SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression
- SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression cites BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression
- BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression cites MARINA: Faster Non-Convex Distributed Learning with Compression
- BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression cites Decentralized Deep Learning with Arbitrary Communication Compression
- Linearly Converging Error Compensated SGD cites Decentralized Deep Learning with Arbitrary Communication Compression
- EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning cites MARINA: Faster Non-Convex Distributed Learning with Compression
- A Guide Through the Zoo of Biased SGD cites Linearly Converging Error Compensated SGD
- PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex Optimization cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex Optimization cites MARINA: Faster Non-Convex Distributed Learning with Compression
- SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression cites Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
- SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression cites PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex Optimization
- SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression cites MARINA: Faster Non-Convex Distributed Learning with Compression
- MARINA: Faster Non-Convex Distributed Learning with Compression cites Linearly Converging Error Compensated SGD
- MARINA: Faster Non-Convex Distributed Learning with Compression cites Decentralized Deep Learning with Arbitrary Communication Compression
- Stochastic Controlled Averaging for Federated Learning with Communication Compression cites BEER: Fast O(1/T) Rate for Decentralized Nonconvex Optimization with Communication Compression
- Stochastic Controlled Averaging for Federated Learning with Communication Compression cites PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex Optimization
Cited by top-tier papers58
- Stochastic Controlled Averaging for Federated Learning with Communication CompressionXinmeng Huang, Ping Li, Xiaoyun LiICLR 2024 · 288 citations
- BEER: Fast Rate for Decentralized Nonconvex Optimization with Communication CompressionHaoyu Zhao, Boyue Li, Zhize Li, Peter Richtárik et al.NeurIPS 2022 · 76 citations
- SoteriaFL: A Unified Framework for Private Federated Learning with Communication CompressionZhize Li, Haoyu Zhao, Boyue Li, Yuejie ChiNeurIPS 2022 · 67 citations
- EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated LearningShay Vargaftik, Ran Ben Basat, Amit Portnoy, Gal Mendelson et al.ICML 2022 · 64 citations
- A Guide Through the Zoo of Biased SGDYury Demidovich, Grigory Malinovsky, Igor Sokolov, Peter RichtárikNeurIPS 2023 · 56 citations
Builds on8
- Decentralized Deep Learning with Arbitrary Communication CompressionAnastasia Koloskova, Tao Lin, Sebastian U. Stich, Martin JaggiICLR 2020 · 263 citations
- PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex OptimizationZhize Li, Hongyan Bao, Xiangliang Zhang, Peter RichtárikICML 2021 · 164 citations
- Acceleration for Compressed Gradient Descent in Distributed and Federated OptimizationZhize Li, Dmitry Kovalev, Xun Qian, Peter RichtárikICML 2020 · 156 citations
- MARINA: Faster Non-Convex Distributed Learning with CompressionEduard Gorbunov, Konstantin Burlachenko, Zhize Li, Peter RichtárikICML 2021 · 129 citations
- Linearly Converging Error Compensated SGDEduard Gorbunov, Dmitry Kovalev, Dmitry Makarenko, Peter RichtárikNeurIPS 2020 · 90 citations
Related papers
- Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness ConstantsPeter Richtárik, Elnur Gasanov, Konstantin BurlachenkoICLR 2024 · 6 citations
- EControl: Fast Distributed Optimization with Compression and Error ControlYuan Gao, Rustem Islamov, Sebastian U. StichICLR 2024 · 19 citations
- Momentum Provably Improves Error Feedback!Ilyas Fatkhullin, Alexander Tyurin, Peter RichtárikNeurIPS 2023 · 47 citations
- A Tight Theory of Error Feedback Algorithms in Distributed OptimizationDaniel Berg Thomsen, Adrien Taylor, Aymeric DieuleveutICML 2026
- EFSkip: A New Error Feedback with Linear Speedup for Compressed Federated Learning with Arbitrary Data HeterogeneityHongyan Bao, Pengwen Chen, Ying Sun, Zhize LiAAAI 2025 · 6 citations
