Abstract
Asynchronous parallel optimization received substantial successes and extensive attention recently. One of core theoretical questions is how much speedup (or benefit) the asynchronous parallelization can bring us. This paper provides a comprehensive and generic analysis to study the speedup property for a broad range of asynchronous parallel stochastic algorithms from the zeroth order to the first order methods. Our result recovers or improves existing analysis on special cases, provides more insights for understanding the asynchronous parallel behaviors, and suggests a novel asynchronous parallel zeroth order method for the first time. Our experiments provide novel applications including model blending problems using the proposed asynchronous parallel zeroth order method.
Introduction
In the landscape of parallel computing, asynchronous systems are often preferred for their efficiency. Unlike synchronous systems, where workers must wait for the slowest member (the "straggler" problem), asynchronous workers operate independently, reading and updating central parameters whenever they are ready. While this eliminates synchronization overhead, it introduces staleness: by the time a worker's update is applied, the central parameters have likely changed.
The fundamental theoretical challenge is determining the maximum number of workers ($T$) that can be utilized before the noise from staleness prevents convergence. While specific algorithms like Asynchronous Stochastic Gradient Descent (ASGD) have been studied, a unified theory explaining how problem dimension, data sparsity, and gradient variance interact to affect speedup—particularly for zeroth-order methods—has been missing.
The Generic Asynchronous Stochastic Algorithm (GASA)
To address this, the authors propose the Generic Asynchronous Stochastic Algorithm (GASA). This framework serves as a unified model that can be specialized into several key algorithms:
- ASGD: Updates the entire parameter vector using a stochastic gradient.
- ASCD: Updates a single random coordinate.
- ASZD (Asynchronous Stochastic Zeroth-order Descent): A novel algorithm that estimates gradients using only function values via finite differences, making it suitable for black-box optimization.
GASA accounts for two critical memory access models: Consistent Reads (atomic snapshots) and Inconsistent Reads (lock-free updates where parameters may change during a read, typical in systems like Hogwild!).
Theoretical Contributions and Improved Bounds
A key insight of this work is the "Combo Effect": larger problem dimensions ($N$) and higher stochastic variance ($\sigma$) actually facilitate asynchronous speedup. In high-dimensional, noisy search spaces, the errors introduced by staleness are relatively minor compared to the inherent noise of the problem, allowing for higher degrees of parallelism.
As shown in Table 1, the authors significantly improved existing theoretical bounds. For instance, the bound for Asynchronous Stochastic Coordinate Descent (ASCD) was improved from $T \le O(N^{1/2})$ to $T \le O(N^{3/4})$, demonstrating greater robustness than previously assumed. Furthermore, the paper establishes the first linear speedup analysis for zeroth-order methods (ASZD).
Experimental Evaluation
The authors validated the ASZD algorithm through two primary applications:
- Synthetic Black-Box Optimization: Using a 5-layer deep neural network with ~46k weights, ASZD was tasked with estimating weights using only output error. The algorithm achieved a near-linear speedup of ~30.8x on 32 threads.
- Yahoo Music Recommendation (KDD-Cup 2011): ASZD was applied to "model blending," finding the optimal linear combination of 237 pre-trained models. Despite treating the models as black boxes, ASZD achieved an RMSE of 21.1241, competitive with the top-tier competition winners. On a 10-core machine, it demonstrated an 8x speedup in running time.
Conclusion
This research provides a "Grand Unified Theory" for asynchronous stochastic optimization, proving that linear speedup is achievable across a wide spectrum of methods, including zeroth-order descent. While the analysis assumes communication costs are not dominant and highlights sensitivity to step-size ($\mu$), it opens new doors for black-box optimization in parallel environments. Future work may extend this framework to variance-reduction methods and more complex mini-batching strategies.
Summary updated