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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9e929c4b-0a68-425f-a791-b869e3a9cd8fCited 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
