Taming Convergence for Asynchronous Stochastic Gradient Descent with Unbounded Delay in Non-Convex Learning

Xin Zhang, Jia Liu, Zhengyuan ZhuCDC 2018

Abstract: Understanding the convergence performance of asynchronous stochastic gradient descent method (Async-SGD) has received increasing attention in recent years due to their foundational role in machine learning. To date, however, most of the existing works are restricted to either bounded gradient delays or convex settings. In this paper, we focus on Async-SGD and its variant Async-SGDI (which uses increasing batch size) for non-convex optimization problems with unbounded gradient delays. We prove $o(1/\sqrt{k})$ convergence rate for Async-SGD and $o(1/k)$ for Async-SGDI. Also, a unifying sufficient condition for Async-SGD's convergence is established, which includes two major gradient delay models in the literature as special cases and yields a new delay model not considered thus far.

Introduction: The Challenge of Asynchronous Distributed Learning

To train massive machine learning models, computation must be parallelized across multiple GPUs or distributed nodes. Traditional synchronous parallel algorithms require all workers to finish their batch before updating the model. This creates a bottleneck: the system is only as fast as its slowest worker (stragglers), and simultaneous updates cause network congestion.

Asynchronous SGD (Async-SGD) solves this by allowing workers to compute and apply gradients independently without waiting. However, this introduces the problem of stale gradients. Because the model updates continuously, a worker might compute a gradient using an older version of the model parameters. Historically, theoretical guarantees for Async-SGD have relied on unrealistic assumptions: that the loss function is convex or that the gradient delay is strictly bounded. This paper addresses the more realistic scenario of non-convex problems with unbounded gradient delays.

Asynchronous Parameter Server Architecture illustrating the flow of gradients and parameter values between workers and a central server.

Methodology

The authors prove convergence by constructing a novel Lyapunov function that combines optimality error with an accumulated error term from delayed updates. Key contributions include:

  • Unifying Delay Assumption: A relaxed probability assumption that accommodates non-i.i.d., unbounded, and heavy-tailed delays (e.g., log-normal).
  • Supermartingale Convergence: Leveraging theorems to prove that the gradient norm goes to zero asymptotically.
  • Async-SGDI (Increasing Batch Size): A variant using a constant step size but an increasing batch size to avoid numerical instability from vanishing step sizes.

Empirical Results

The theoretical findings were validated using simulated datasets for low-rank matrix completion and maximum likelihood estimation. Simulations confirmed the theory across three distinct delay models: strictly bounded delays, Poisson-distributed i.i.d. delays, and a simulated "System" delay (a non-i.i.d. hierarchical Gamma-Exponential distribution mimicking real-world cluster stragglers).

Convergence performance of Async-SGD and Async-SGDI across different delay models: (a) Bounded delay, (b) Poisson delay, and (c) System delay.

In all experiments, Async-SGDI (increasing batch size) achieved a faster $o(1/k)$ convergence rate compared to the $o(1/\sqrt{k})$ rate of standard Async-SGD, as shown by the steeper descent of the purple curves in the figures above.

Discussion and Conclusion

The most significant insight is that unbounded gradient delays do not inherently degrade the asymptotic convergence rate of Async-SGD compared to its synchronous counterpart. Furthermore, the proposed framework successfully unifies previous narrower delay models.

While the results are promising, limitations include the use of synthetic data rather than large-scale deep learning benchmarks. Future work should explore non-asymptotic convergence analysis and adaptive batch-size strategies to optimize the wall-clock time trade-offs inherent in the Async-SGDI approach.

Summary updated

BibTeX
@inproceedings{zhang2018taming,
  author = {Xin Zhang and Jia Liu and Zhengyuan Zhu},
  title = {{Taming Convergence for Asynchronous Stochastic Gradient Descent with Unbounded Delay in Non-Convex Learning}},
  booktitle = {CDC},
  year = {2018},
  url = {https://openreview.net/forum?id=5v2XcdwchP},
}
Figure