NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Perturbed Stochastic Iterates in Asynchronous Lock-Free Optimization

Kaiwen Zhou, Anthony Man-Cho So, James Cheng

TL;DR

This paper introduces the first asynchronous, lock-free stochastic accelerated optimization algorithm that achieves optimal oracle complexity ($\mathcal{O}(\max\{n, \sqrt{\kappa n}\} \log(1/\epsilon))$) for finite-sum problems. Crucially, the authors prove that this accelerated method tolerates stale asynchronous updates just as well as non-accelerated baselines, defying the common belief that Nesterov-style momentum is brittle to gradient noise.

What Problem Does This Paper Address?

In large-scale machine learning (such as empirical risk minimization over sparse data), asynchronous lock-free algorithms like Hogwild!, KroMagnon (asynchronous SVRG), and ASAGA allow multiple parallel threads to read and write shared parameters without locking. This yields near-linear hardware speedups.

However, existing lock-free methods are built on non-accelerated variance reduction algorithms. While accelerated methods (like Katyusha or accelerated SVRG) offer optimal theoretical iteration complexity, two barriers prevented their lock-free asynchronous deployment:

  1. The Sparsity Hurdle: Standard variance bounds for accelerated stochastic methods break down when updates are sparse (only updating non-zero coordinates of a sample), causing prior accelerated sparse methods to rely on overly restrictive sparsity assumptions.
  2. Noise Brittleness: Accelerated gradient schemes are notoriously sensitive to gradient noise and staleness. A prevailing open question was whether an asynchronous accelerated method would require a much stricter "linear speed-up condition" (how many delayed/overlapping updates it can tolerate) than standard algorithms.

Methods

The authors introduce SS-Acc-SVRG (Serial Sparse Accelerated SVRG) and its asynchronous multi-threaded counterpart AS-Acc-SVRG:

  • Sparse Variance Correction (SVC): To solve the variance mismatch in sparse accelerated updates, the authors introduce a novel correction term in the coupling step: $$y_k = \vartheta \cdot z_k + (1 - \vartheta) \cdot \tilde{x}_s - \varphi \cdot D\nabla f(\tilde{x}_s)$$ Here, $D$ is a precomputed diagonal matrix encoding coordinate sampling probabilities. This term cancels the troublesome positive variance cross-terms induced by coordinate-wise sparsity, making convergence entirely sparsity-independent without requiring expensive lagged updates.

  • Perturbed Iterate Framework Integration: The asynchronous extension allows workers to inconsistently read $z$ and execute atomic coordinate updates lock-free. The algorithm is analyzed using Mania et al.'s perturbed iterate framework under the refined update ordering of Leblond et al.

  • Outer-Loop Restarts: The algorithm periodically restarts outer loops to guarantee linear convergence under strong convexity (or quadratic growth).

Datasets

The authors evaluated $\ell_2$-regularized logistic regression on both synthetic and real-world benchmark datasets from the LIBSVM repository (focusing on the ill-conditioned regime $\kappa \gg n$ where acceleration shines):

  • Small Datasets (Serial Evaluation):
  • Synthetic ($n=100{,}000, d=100{,}000$)
  • KDD2010.S (first 70,000 samples of KDD2010)
  • RCV1.train ($n=20{,}242, d=47{,}236$)
  • News20 ($n=19{,}996, d=1{,}355{,}191$)
  • Large Datasets (Asynchronous Parallel Evaluation):
  • KDD2010 ($n \approx 19.3\text{M}, d \approx 29.9\text{M}$)
  • RCV1.full ($n \approx 698\text{K}, d \approx 47{,}236$)
  • Avazu-site ($n \approx 23.6\text{M}, d \approx 1\text{M}$)
  • Sanity Check: a9a.dense (dense synthetic variant of a9a).

No new benchmark datasets were created.

Key Insights and Ideas

  • Momentum Survives Staleness: Why does acceleration not degrade the tolerable overlap $\tau$? In AS-Acc-SVRG, the inner loop corresponds to a perturbed SVRG update, while the accelerated momentum is effectively applied at the epoch boundaries. Asynchrony only corrupts the inner-loop variance reduction; the acceleration mechanism itself remains uncorrupted.
  • Identical Linear Speed-up Bound: AS-Acc-SVRG achieves a linear speed-up condition of: $$\tau = \mathcal{O}\left(\frac{1}{\sqrt{\Delta}}\max\left\{\frac{n}{\kappa}, 1\right\}\right) \quad \text{and} \quad \tau = \mathcal{O}(n)$$ (where $\Delta$ is the data sparsity measure). This condition is identical to non-accelerated ASAGA and slightly better than KroMagnon.

  • Sparse Estimators Beat Lagged Updates: By using an unbiased sparse estimator with SVC, the algorithm avoids the bookkeeping and complex closed-form historical tracking of lagged updates, making lock-free multi-threading feasible.

Key Results

  • Theoretical Complexity: Achieves the optimal oracle complexity: $$\mathcal{O}\left(\max\left\{n, \sqrt{\kappa n}\right\} \log \frac{1}{\epsilon}\right)$$ which strictly beats the $\mathcal{O}((n + \kappa) \log(1/\epsilon))$ complexity of ASAGA and KroMagnon in ill-conditioned settings ($\kappa \gg n$).

  • Empirical Wall-Clock Speedups: On 20 threads:

  • On KDD2010, AS-Acc-SVRG converged down to $10^{-10}$ sub-optimality in less than half the wall-clock time required by KroMagnon and ASAGA.
  • Achieved parallel speedups of roughly $10\times$ on KDD2010 and parallel scaling across large datasets that match non-accelerated baselines, verifying that theoretical acceleration does not come at the cost of parallel scalability.

Limitations and Future Work

  • Requires Known $\mu$: The algorithm relies on prior knowledge of the strong convexity / quadratic growth parameter $\mu$.
  • No Non-Smooth Proximal Support: The framework currently does not support proximal operations (e.g., $\ell_1$ regularizers). The authors note that directly integrating proximal sparse techniques requires knowing $\nabla f(x^*)$ in advance.
  • Restarts in Theory vs. Practice: While periodic restarts are required by the theoretical proof to handle strong convexity, setting $\omega$ to eliminate restarts empirically converges faster—a theoretical gap that remains open.

Summary updated

BibTeX
@inproceedings{zhou2022accelerating,
  author = {Kaiwen Zhou and Anthony Man-Cho So and James Cheng},
  title = {{Accelerating Perturbed Stochastic Iterates in Asynchronous Lock-Free Optimization}},
  booktitle = {OPT @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=ZuAOo-e85T6},
}
Figure