Lune

NeurIPS2023Top-tier venue

Momentum Provably Improves Error Feedback!

Ilyas Fatkhullin, Alexander Tyurin, Peter Richtárik

Abstract

Due to the high communication overhead when training machine learning models in a distributed environment, modern algorithms invariably rely on lossy communication compression. However, when untreated, the errors caused by compression propagate, and can lead to severely unstable behavior, including exponential divergence. Almost a decade ago, Seide et al [2014] proposed an error feedback (EF) mechanism, which we refer to as EF14, as an immensely effective heuristic for mitigating this issue. However, despite steady algorithmic and theoretical advances in the EF field in the last decade, our understanding is far from complete. In this work we address one of the most pressing issues. In particular, in the canonical nonconvex setting, all known variants of EF rely on very large batch sizes to converge, which can be prohibitive in practice. We propose a surprisingly simple fix which removes this issue both theoretically, and in practice: the application of Polyak's momentum to the latest incarnation of EF due to Richtárik et al. [2021] known as EF21. Our algorithm, for which we coin the name EF21-SGDM, improves the communication and sample complexities of previous error feedback algorithms under standard smoothness and bounded variance assumptions, and does not require any further strong assumptions such as bounded gradient dissimilarity. Moreover, we propose a double momentum version of our method that improves the complexities even further. Our proof seems to be novel even when compression is removed from the method, and as such, our proof technique is of independent interest in the study of nonconvex stochastic optimization enriched with Polyak's momentum.

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Momentum Benefits Non-iid Federated Learning Simply and Provably cites An Improved Analysis of Stochastic Gradient Descent with Momentum
  • EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback cites Decentralized Deep Learning with Arbitrary Communication Compression
  • Tight analyses of first-order methods with error feedback cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
  • Non-convex Stochastic Composite Optimization with Polyak Momentum cites ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally!
  • Non-convex Stochastic Composite Optimization with Polyak Momentum cites An Improved Analysis of Stochastic Gradient Descent with Momentum
  • Non-convex Stochastic Composite Optimization with Polyak Momentum cites Momentum Improves Normalized SGD
  • Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants cites ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally!
  • Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants cites EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Momentum Benefits Non-iid Federated Learning Simply and ProvablyZiheng Cheng, Xinmeng Huang, Pengfei Wu, Kun YuanICLR 2024 · 40 citations
  2. Non-convex Stochastic Composite Optimization with Polyak MomentumYuan Gao, Anton Rodomanov, Sebastian U. StichICML 2024 · 13 citations
  3. Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness ConstantsPeter Richtárik, Elnur Gasanov, Konstantin BurlachenkoICLR 2024 · 6 citations
  4. Tight analyses of first-order methods with error feedbackDaniel Berg Thomsen, Adrien B. Taylor, Aymeric DieuleveutNeurIPS 2025 · 3 citations
  5. Distributed Bilevel Optimization with Communication CompressionYutong He, Jie Hu, Xinmeng Huang, Songtao Lu et al.ICML 2024 · 2 citations

Builds on20

  1. An Improved Analysis of Stochastic Gradient Descent with MomentumYanli Liu, Yuan Gao, Wotao YinNeurIPS 2020 · 328 citations
  2. Decentralized Deep Learning with Arbitrary Communication CompressionAnastasia Koloskova, Tao Lin, Sebastian U. Stich, Martin JaggiICLR 2020 · 263 citations
  3. EF21: A New, Simpler, Theoretically Better, and Practically Faster Error FeedbackPeter Richtárik, Igor Sokolov, Ilyas FatkhullinNeurIPS 2021 · 219 citations
  4. ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally!Konstantin Mishchenko, Grigory Malinovsky, Sebastian U. Stich, Peter RichtárikICML 2022 · 200 citations
  5. Momentum Improves Normalized SGDAshok Cutkosky, Harsh MehtaICML 2020 · 177 citations

Related papers

  1. Towards Faster Decentralized Stochastic Optimization with Communication CompressionRustem Islamov, Yuan Gao, Sebastian U. StichICLR 2025
  2. EControl: Fast Distributed Optimization with Compression and Error ControlYuan Gao, Rustem Islamov, Sebastian U. StichICLR 2024 · 19 citations
  3. On the Convergence of Communication-Efficient Local SGD for Federated LearningHongchang Gao, An Xu, Heng HuangAAAI 2021 · 66 citations
  4. A Tight Theory of Error Feedback Algorithms in Distributed OptimizationDaniel Berg Thomsen, Adrien Taylor, Aymeric DieuleveutICML 2026
  5. On the Convergence of Decentralized Stochastic Minimax Optimization Algorithm with Compressed CommunicationYihan Zhang, Xinghua Shi, Meikang Qiu, Yu Wang et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines