Skip to main content
QUICK REVIEW

[Paper Review] Linearly Converging Error Compensated SGD

Eduard Gorbunov, Dmitry Kovalev|arXiv (Cornell University)|Oct 23, 2020
Stochastic Gradient Optimization TechniquesComputer Science10 references13 citations
TL;DR

This paper introduces a unified theoretical framework for analyzing distributed stochastic optimization methods with error compensation, compression, and delayed updates. It proves linear convergence for new variants like EC-SGD-DIANA and EC-LSVRG-DIANA, achieving exact convergence with constant learning rates for both convex and strongly convex problems under general compression and variance reduction.

ABSTRACT

In this paper, we propose a unified analysis of variants of distributed SGD with arbitrary compressions and delayed updates. Our framework is general enough to cover different variants of quantized SGD, Error-Compensated SGD (EC-SGD) and SGD with delayed updates (D-SGD). Via a single theorem, we derive the complexity results for all the methods that fit our framework. For the existing methods, this theorem gives the best-known complexity results. Moreover, using our general scheme, we develop new variants of SGD that combine variance reduction or arbitrary sampling with error feedback and quantization and derive the convergence rates for these methods beating the state-of-the-art results. In order to illustrate the strength of our framework, we develop 16 new methods that fit this. In particular, we propose the first method called EC-SGD-DIANA that is based on error-feedback for biased compression operator and quantization of gradient differences and prove the convergence guarantees showing that EC-SGD-DIANA converges to the exact optimum asymptotically in expectation with constant learning rate for both convex and strongly convex objectives when workers compute full gradients of their loss functions. Moreover, for the case when the loss function of the worker has the form of finite sum, we modified the method and got a new one called EC-LSVRG-DIANA which is the first distributed stochastic method with error feedback and variance reduction that converges to the exact optimum asymptotically in expectation with a constant learning rate.

Motivation & Objective

  • Address the communication bottleneck in distributed and federated learning by enabling efficient gradient compression and error feedback.
  • Unify existing methods like quantized SGD, EC-SGD, and D-SGD under a single theoretical framework.
  • Develop new algorithms combining error feedback with variance reduction and arbitrary sampling to improve convergence rates.
  • Establish linear convergence guarantees for new methods, including EC-SGD-DIANA and EC-LSVRG-DIANA, under constant learning rates.
  • Provide tight complexity bounds for all methods in the framework, improving upon state-of-the-art results.

Proposed method

  • Propose a general iterative scheme with error feedback and compressed updates: $ x^{k+1} = x^k - \frac{1}{n}\sum_{i=1}^n v_i^k $, $ e_i^{k+1} = e_i^k + \gamma g_i^k - v_i^k $, where $ v_i^k $ is the compressed update.
  • Introduce a unified analysis framework based on a single theorem that captures convergence for all methods fitting the scheme.
  • Define a general compressor class with contraction factor $ \delta $ and variance parameter $ \omega $, enabling analysis of biased and unbiased compression.
  • Design EC-SGD-DIANA using error feedback with a biased compression operator and quantization of gradient differences, enabling exact convergence.
  • Develop EC-LSVRG-DIANA by combining error feedback with variance reduction (LSVRG) and compression, achieving linear convergence with constant step size.
  • Derive complexity bounds in terms of $ \varepsilon $-tolerance, smoothness $ L $, condition number $ \kappa $, and gradient variance, showing improved rates.

Experimental results

Research questions

  • RQ1Can a single theoretical framework unify the analysis of distributed SGD with compression, delayed updates, and error feedback?
  • RQ2What are the convergence rates of new methods combining error compensation with variance reduction and compression?
  • RQ3Can EC-SGD-DIANA achieve linear convergence to the exact optimum with a constant learning rate under general compression?
  • RQ4Does EC-LSVRG-DIANA achieve linear convergence with constant step size while maintaining variance reduction and error feedback?
  • RQ5How do the new methods compare in complexity to existing state-of-the-art approaches in terms of communication efficiency and convergence speed?

Key findings

  • The proposed framework yields the best-known convergence complexity bounds for existing methods like EC-SGD and D-SGD.
  • EC-SGD-DIANA is the first method with error feedback and biased compression that converges linearly to the exact optimum with constant learning rate for both convex and strongly convex problems.
  • EC-LSVRG-DIANA is the first distributed stochastic method with error feedback and variance reduction that converges linearly to the exact optimum with constant learning rate when workers compute full gradients.
  • The framework enables the derivation of tight complexity bounds, showing $ \mathcal{O}\left(\frac{1}{\varepsilon}\right) $ iteration complexity for $ \varepsilon $-accuracy in strongly convex settings.
  • The method EC-LSVRG-DIANA achieves $ \mathcal{O}\left(\frac{1}{\varepsilon}\right) $ complexity with constant step size, improving upon prior methods that require diminishing steps.
  • The framework supports 16 new methods, including variants with arbitrary sampling and quantization, all with provable linear convergence guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.