Abstract
We study stochastic algorithms for solving nonconvex optimization problems with a convex yet possibly nonsmooth regularizer, which find wide applications in many practical machine learning applications. However, compared to asynchronous parallel stochastic gradient descent (AsynSGD), an algorithm targeting smooth optimization, the understanding of the behavior of stochastic algorithms for nonsmooth regularized optimization problems is limited, especially when the objective function is nonconvex. To fill this theoretical gap, in this paper, we propose and analyze asynchronous parallel stochastic proximal gradient (Asyn-ProxSGD) methods for nonconvex problems. We establish an ergodic convergence rate of $O(1/\sqrt{K})$ for the proposed Asyn-ProxSGD, where $K$ is the number of updates made on the model, matching the convergence rate currently known for AsynSGD (for smooth problems). To our knowledge, this is the first work that provides convergence rates of asynchronous parallel ProxSGD algorithms for nonconvex problems. Furthermore, our results are also the first to show the convergence of any stochastic proximal methods without assuming an increasing batch size or the use of additional variance reduction techniques. We implement the proposed algorithms on Parameter Server and demonstrate its convergence behavior and near-linear speedup, as the number of workers increases, on two real-world datasets.
Introduction
In modern machine learning, optimization problems are frequently both nonconvex (e.g., deep neural networks) and nonsmooth (e.g., due to $\ell_1$ regularization for sparsity). To scale to massive datasets, asynchronous parallel algorithms are employed, where multiple worker nodes update a global model on a parameter server without synchronization. While Asynchronous Stochastic Gradient Descent (AsynSGD) is well-understood for smooth problems, its proximal counterpart, Asyn-ProxSGD, lacked theoretical grounding for nonconvex objectives. Previous research often required increasing minibatch sizes or complex variance reduction. This paper addresses this gap by providing the first theoretical convergence analysis for Asyn-ProxSGD under realistic constant-batch-size conditions.
Methodology
The authors propose and analyze Asyn-ProxSGD within a Parameter Server architecture. In this setup, workers pull the current model, compute stochastic gradients on local minibatches, and push them back to the server. The server aggregates these gradients—which may be "stale" due to network delays—and performs a proximal update step.
The core contribution is a "Global Perspective" analysis that accounts for delays ($\tau$). By using a constant minibatch size and a constant learning rate, the algorithm remains practical. The proximal update is defined as: $$x^{k+1} \leftarrow \text{prox}_{\eta h}(x^k - \eta \tilde{G}^k)$$ where $\tilde{G}^k$ is the averaged gradient derived from potentially stale worker updates.
Key Insights and Theoretical Results
The analysis establishes several critical properties of Asyn-ProxSGD:
- Optimal Convergence Rate: The algorithm achieves an ergodic convergence rate of $O(1/\sqrt{K})$, matching the gold standard for AsynSGD on smooth problems. This proves that nonsmooth regularizers do not inherently degrade the fundamental convergence speed in asynchronous settings.
- Linear Speedup: The paper demonstrates that as long as the number of workers grows no faster than $O(K^{1/4})$, the system achieves near-linear speedup. This is physically tied to the "bounded delay" assumption ($T$).
- Robustness: Unlike prior work, this proof does not rely on increasing minibatch sizes or variance reduction, suggesting that standard proximal SGD implementations are theoretically robust.
Experimental Evaluation
The algorithm was evaluated on a Non-negative Principal Component Analysis (NN-PCA) task using two datasets: a9a (32,561 samples) and mnist (60,000 samples). Experiments conducted on a Google Cloud cluster with up to 8 workers confirmed the theoretical findings. On the mnist dataset, 8 workers achieved a speedup of approximately 7.35x in iterations compared to a single worker, demonstrating near-linear wall-clock time speedup.
Conclusion and Future Work
This work provides the first convergence rates for asynchronous parallel ProxSGD algorithms for nonconvex problems. While the algorithm shows sensitivity to delays in very large clusters, it is highly effective for medium-sized distributed systems. Future research may explore "lock-free" implementations (e.g., Hogwild!) where individual model coordinates are updated independently to further reduce synchronization overhead.
Summary updated