Skip to main content
QUICK REVIEW

[Paper Review] Sharper Convergence Guarantees for Asynchronous SGD for Distributed and Federated Learning

Anastasia Koloskova, Sebastian U. Stich|arXiv (Cornell University)|Jun 16, 2022
Stochastic Gradient Optimization TechniquesComputer Science18 citations
TL;DR

This paper presents sharper convergence guarantees for asynchronous SGD in distributed and federated learning by introducing a tighter bound that depends on the geometric mean of average and maximum gradient delays, $τ_{\text{avg}}$ and $τ_{\text{max}}$, rather than the worst-case delay. It further proposes a delay-adaptive learning rate that achieves convergence scaling with the average delay, without extra communication or hyperparameter tuning, proving asynchronous SGD is always faster than mini-batch SGD.

ABSTRACT

We study the asynchronous stochastic gradient descent algorithm for distributed training over $n$ workers which have varying computation and communication frequency over time. In this algorithm, workers compute stochastic gradients in parallel at their own pace and return those to the server without any synchronization. Existing convergence rates of this algorithm for non-convex smooth objectives depend on the maximum gradient delay $τ_{\max}$ and show that an $ε$-stationary point is reached after $\mathcal{O}\!\left(σ^2ε^{-2}+ τ_{\max}ε^{-1} ight)$ iterations, where $σ$ denotes the variance of stochastic gradients. In this work (i) we obtain a tighter convergence rate of $\mathcal{O}\!\left(σ^2ε^{-2}+ \sqrt{τ_{\max}τ_{avg}}ε^{-1} ight)$ without any change in the algorithm where $τ_{avg}$ is the average delay, which can be significantly smaller than $τ_{\max}$. We also provide (ii) a simple delay-adaptive learning rate scheme, under which asynchronous SGD achieves a convergence rate of $\mathcal{O}\!\left(σ^2ε^{-2}+ τ_{avg}ε^{-1} ight)$, and does not require any extra hyperparameter tuning nor extra communications. Our result allows to show for the first time that asynchronous SGD is always faster than mini-batch SGD. In addition, (iii) we consider the case of heterogeneous functions motivated by federated learning applications and improve the convergence rate by proving a weaker dependence on the maximum delay compared to prior works. In particular, we show that the heterogeneity term in convergence rate is only affected by the average delay within each worker.

Motivation & Objective

  • To improve convergence guarantees for asynchronous SGD in distributed and federated learning by reducing dependence on the pessimistic maximum gradient delay $τ_{\text{max}}$.
  • To develop a learning rate scheme that adapts to gradient delays without extra communication or hyperparameter tuning.
  • To extend convergence analysis to heterogeneous objective functions, common in federated learning, with improved delay dependence.
  • To theoretically and empirically demonstrate that asynchronous SGD is always faster than mini-batch SGD.

Proposed method

  • Derive a tighter convergence bound of $Ω\big{(}\sigma^2\varepsilon^{-2} + \sqrt{\tau_{\text{avg}}\tau_{\text{max}}}\varepsilon^{-1}\big{)}$ for standard asynchronous SGD with constant stepsize.
  • Propose a delay-adaptive learning rate that achieves convergence rate $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{avg}}\varepsilon^{-1}\big{)}$ without extra communication or tuning.
  • Analyze the convergence of asynchronous SGD under heterogeneous functions, showing the heterogeneity term depends only on the average delay per worker.
  • Use a novel analysis framework based on expected gradient norm decay and delay-aware variance bounds to derive tighter bounds.
  • Validate theoretical findings through experiments on quadratic and logistic regression functions, confirming $√{\tau_{\text{max}}}$ dependence in practice.

Experimental results

Research questions

  • RQ1Can we derive a tighter convergence rate for asynchronous SGD that depends on the average delay rather than the maximum delay?
  • RQ2Can we design a learning rate scheme that adapts to delays without extra communication or hyperparameter tuning?
  • RQ3How does the convergence of asynchronous SGD scale under heterogeneous objective functions in federated learning?
  • RQ4Is asynchronous SGD always faster than mini-batch SGD in terms of convergence rate?

Key findings

  • The paper establishes a tighter convergence rate of $Ω\big{(}\sigma^2\varepsilon^{-2} + \sqrt{\tau_{\text{avg}}\tau_{\text{max}}}\varepsilon^{-1}\big{)}$ for standard asynchronous SGD, improving over prior $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{max}}\varepsilon^{-1}\big{)}$ bounds.
  • A delay-adaptive learning rate is proposed that achieves a convergence rate of $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{avg}}\varepsilon^{-1}\big{)}$ without extra communication or hyperparameter tuning.
  • Theoretical analysis proves that asynchronous SGD is always faster than mini-batch SGD, as its convergence rate depends on $√{\tau_{\text{avg}}\tau_{\text{max}}}$ rather than $τ_{\text{max}}$.
  • For heterogeneous federated learning, the convergence rate depends only on the average delay per worker, not the maximum delay, improving robustness to stragglers.
  • Experiments on quadratic and logistic regression functions confirm the $√{\tau_{\text{max}}}$ dependence in practice, validating the theoretical bound.

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.