Asynchronous Decentralized Accelerated Stochastic Gradient Descent

Guanghui Lan, Yi ZhouIEEE J. Sel. Areas Inf. Theory 2018

Abstract Decentralized optimization is a cornerstone of large-scale machine learning, yet it often suffers from the "straggler problem" and high communication overhead in synchronous settings. We present a framework for asynchronous decentralized stochastic optimization that decouples communication from local computation. Our primary contribution, the Asynchronous Accelerated Stochastic Decentralized Communication Sliding (AA-SDCS) algorithm, achieves optimal convergence rates by allowing agents to perform multiple local gradient evaluations between communication rounds. Theoretical analysis and empirical results on benchmark datasets demonstrate that our approach significantly outperforms existing synchronous methods in both communication efficiency and wall-clock time.

Introduction

In decentralized machine learning, a network of agents collaborates to minimize a global objective function without a central coordinator. Traditional synchronous algorithms require all nodes to complete local updates and synchronize before proceeding, making the entire system vulnerable to the "straggler effect"—where the slowest node dictates the network's speed. Furthermore, communication is often significantly more expensive than local computation. This paper addresses these challenges by developing asynchronous, accelerated algorithms that minimize communication frequency while maintaining optimal theoretical convergence.

Proposed Framework

We introduce two primary algorithms to address different aspects of decentralized optimization:

  1. Asynchronous Decentralized Primal-Dual (ADPD): This method utilizes a "doubly randomized" approach. In each iteration, the algorithm randomly selects one agent to update its dual variables and another to update its primal variables. This localized update mechanism ensures that only a small portion of the network communicates at any time, reducing the impact of network latency.
  2. Asynchronous Accelerated Stochastic Decentralized Communication Sliding (AA-SDCS): This algorithm integrates "communication sliding" into an asynchronous framework. It allows agents to perform multiple local stochastic gradient steps (sampling) for every single communication round. This decoupling ensures that the communication complexity remains independent of the smoothness of the objective function, shifting the computational burden to local sampling where it is more efficient.

Theoretical Complexity

The proposed AA-SDCS algorithm is the first to combine asynchrony and communication sliding for general convex and strongly convex stochastic functions. As shown in the complexity comparison below, AA-SDCS achieves optimal complexity bounds across various problem types. For instance, in the stochastic strongly convex case, it reaches a communication complexity of $O(1/\sqrt{\epsilon})$, matching theoretical lower bounds while improving upon the sampling complexity of previous proximal-gradient methods.

Comparison of communication and sampling complexities between the proposed algorithms and existing state-of-the-art results.

Experimental Evaluation

The algorithms were tested using the ijcnn1 dataset for decentralized Support Vector Machine (SVM) training across a network of 8 agents. The experiments focused on both 1-norm and 2-norm SVM formulations to test convex and strongly convex scenarios.

  • Wall-Clock Performance: AA-SDCS demonstrated a drastic reduction in total execution time compared to the synchronous SDCS method. Even when communication was simulated as instantaneous, the asynchronous nature of AA-SDCS allowed for faster convergence in terms of CPU time.
  • Acceleration Benefits: For strongly convex problems (2-norm SVM), the accelerated nature of AA-SDCS resulted in a significantly steeper convergence trajectory, validating the theoretical speedups and robustness against network delays.

Conclusion

By decoupling communication from sampling and removing the need for global synchronization, the AA-SDCS framework provides a robust solution for decentralized optimization in heterogeneous networks. The algorithm not only matches theoretical lower bounds for complexity but also offers practical wall-clock speedups by mitigating the straggler effect. Future research will explore the application of these methods to directed and time-varying network topologies.

Summary updated

BibTeX
@article{lan2018asynchronous,
  author = {Guanghui Lan and Yi Zhou},
  title = {{Asynchronous Decentralized Accelerated Stochastic Gradient Descent}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2018},
  doi = {10.1109/jsait.2021.3080256},
}
Figure