Robust Asynchronous Stochastic Gradient-Push: Asymptotically Optimal and Network-Independent Performance for Strongly Convex Functions

Alex Olshevsky, Ioannis Ch. Paschalidis, Artin SpiridonoffarXiv 2018

Abstract

We consider the standard model of distributed optimization of a sum of functions $F(\mathbf{z}) = \sum_{i=1}^n f_i(\mathbf{z})$, where node $i$ in a network holds the function $f_i(\mathbf{z})$. We allow for a harsh network model characterized by asynchronous updates, message delays, unpredictable message losses, and directed communication among nodes. In this setting, we analyze a modification of the Gradient-Push method for distributed optimization, assuming that (i) node $i$ is capable of generating gradients of its function $f_i(\mathbf{z})$ corrupted by zero-mean bounded-support additive noise at each step, (ii) $F(\mathbf{z})$ is strongly convex, and (iii) each $f_i(\mathbf{z})$ has Lipschitz gradients. We show that our proposed method asymptotically performs as well as the best bounds on centralized gradient descent that takes steps in the direction of the sum of the noisy gradients of all the functions $f_1(\mathbf{z}), \ldots, f_n(\mathbf{z})$ at each step.

Introduction

In distributed machine learning, the objective is typically to minimize a global cost function $F(\mathbf{z})$ that is the sum of local functions $f_i(\mathbf{z})$ distributed across $n$ nodes. Traditionally, distributed algorithms have been subject to a "network tax"—a performance penalty dictated by the network's topology, such as its diameter or spectral gap. In many theoretical models, distributed methods are predicted to be significantly slower than a centralized approach where all data is processed by a single supercomputer.

Figure 1: Centralized optimization architecture where a single server coordinates all nodes.

Furthermore, real-world networks are rarely ideal. They are often characterized by asynchrony (nodes operating at different speeds), message delays, and packet loss. This paper addresses whether a distributed algorithm can be robust to these harsh conditions and eventually match the performance of a centralized system, regardless of the underlying network structure.

Methodology: Robust Asynchronous Stochastic Gradient-Push (RASGP)

The authors propose Robust Asynchronous Stochastic Gradient-Push (RASGP), an algorithm designed to overcome network limitations through several key innovations:

Figure 2: Decentralized network model with directed communication and potential for message loss.

1. Gradient-Push for Directed Graphs

RASGP builds upon the Gradient-Push method, which is specifically designed for optimization over directed graphs where communication may be one-way.

2. Running Sums for Robustness

To mitigate the impact of message loss, nodes do not simply transmit their current local values. Instead, they transmit the total accumulated sum of all values they have attempted to send. This "running sum" approach ensures that if a message is lost, the subsequent successful message inherently contains the missing information, allowing the receiver to "catch up" automatically.

3. Asynchronous Step-Size Adjustment

To handle asynchrony, the algorithm employs a novel step-size mechanism. When a node resumes activity after an idle period, it takes a gradient step proportional to the sum of all step-sizes it missed during its "sleep" state. This maintains the balance of update "mass" across the network.

4. Virtual Node Analysis

The mathematical proof utilizes a "virtual node" framework. By modeling message delays and losses as temporary storage in virtual nodes within an augmented graph, the authors can track the conservation of information flow, proving that the system remains stable even under extreme conditions.

Key Insights and Theoretical Results

The most significant contribution of this work is the proof of Network Independence. While the network structure influences the "transient period" (the initial time required for information to propagate), the long-term, asymptotic convergence rate is entirely independent of the network topology.

Optimal Convergence

For strongly convex functions, RASGP achieves an optimal convergence rate of $O(1/k)$. The leading term of the error matches the best-known bounds for centralized stochastic gradient descent (SGD). Specifically, the error scales as: $$\mathbb{E}[\|\mathbf{z}_i(k) - \mathbf{z}^*\|^2] \approx \frac{L_u \sum \sigma_i^2}{k (\sum \mu_i)^2}$$ where $L_u$ represents the degree of asynchrony and $\sigma^2$ is the noise variance.

Variance Reduction

RASGP achieves a variance reduction factor of $n$. In a network of $n$ nodes, the noise variance in the final result is reduced as if all nodes were contributing to a single centralized update. This demonstrates that the distributed system eventually performs with the same statistical efficiency as a centralized one.

Experimental Validation

The theoretical findings were validated using synthetic datasets and Support Vector Machine (SVM) classification tasks. Despite testing on directed cycle graphs with a 30% message failure rate and random delays, RASGP successfully "caught up" to the performance of a centralized learner, confirming that the network-independent asymptotic theory holds in practice.

Conclusion

RASGP provides a robust framework for distributed optimization that eliminates the long-term "network tax." While the duration of the "transient period" still depends on the network, the algorithm ensures that distributed systems can eventually reach the gold standard of centralized performance even in unreliable environments.

Summary updated

BibTeX
@misc{olshevsky2018robust,
  author = {Alex Olshevsky and Ioannis Ch. Paschalidis and Artin Spiridonoff},
  title = {{Robust Asynchronous Stochastic Gradient-Push: Asymptotically Optimal and Network-Independent Performance for Strongly Convex Functions}},
  year = {2018},
  eprint = {1811.03982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.03982},
}
Figure