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

Abstract

In large-scale machine learning, combining acceleration techniques with asynchronous, lock-free execution is a significant challenge. Accelerated methods are sensitive to noise, while asynchronous systems inherently introduce staleness. This paper introduces AS-Acc-SVRG, an asynchronous lock-free optimization algorithm that achieves optimal theoretical convergence rates for finite-sum problems. By incorporating a novel "sparse variance correction" (SVC) term, the proposed method ensures that acceleration remains robust against the perturbations caused by stale gradients in asynchronous environments. Empirical results on high-dimensional sparse datasets demonstrate significant performance gains over existing state-of-the-art asynchronous methods.

Introduction

The demand for training massive machine learning models has led to the widespread adoption of two primary strategies: acceleration (e.g., Nesterov’s momentum) and asynchrony (e.g., "Hogwild!" style lock-free optimization). Acceleration reduces the number of iterations required to reach a solution, particularly for ill-conditioned problems, while asynchrony allows multiple processors to update a shared model simultaneously, maximizing hardware utilization.

However, merging these approaches is non-trivial. Asynchronous systems are inherently noisy due to processors working with "stale" information. Accelerated methods, known for their sensitivity to noise, often fail or exhibit instability in such environments. Furthermore, data sparsity—where samples have few non-zero features—can cause the variance in accelerated updates to explode. This paper bridges this gap by providing a theoretically grounded and practically stable framework for accelerated asynchronous optimization.

Algorithmic Framework

The core contribution of this work is the development of AS-Acc-SVRG, which evolves through two key stages:

1. Serial Sparse Accelerated SVRG (SS-Acc-SVRG)

The authors identified that standard accelerated SVRG methods perform poorly on sparse data because their variance bounds are too loose. To address this, they introduced a Sparse Variance Correction (SVC) term. This term acts as a mathematical offset during the momentum step, specifically neutralizing the additional noise introduced by sparse updates. This ensures that the convergence rate remains independent of the data's sparsity level.

2. Asynchronous Accelerated SVRG (AS-Acc-SVRG)

Building on the serial version, the authors extended the algorithm to an asynchronous setting using the Perturbed Iterate Framework. This framework models asynchronous execution as a serial process where gradients are "perturbed" by staleness. AS-Acc-SVRG is entirely lock-free; multiple threads read from and write to shared memory simultaneously using atomic coordinate-wise updates. The analysis proves that as long as the non-accelerated component of the update absorbs the noise, the momentum remains effective.

Experimental Evaluation

The researchers evaluated AS-Acc-SVRG on several standard high-dimensional, sparse datasets for $\ell_2$-regularized logistic regression. The datasets were categorized into small-scale for serial testing and large-scale for asynchronous testing.

Table 1: Characteristics of datasets used for evaluating AS-Acc-SVRG.

Key Results

  • Theoretical Complexity: The algorithm achieves an oracle complexity of $O(\max\{n, \sqrt{\kappa n}\} \log(1/\epsilon))$, which is the optimal rate for finite-sum problems. This represents a significant improvement over non-accelerated methods for ill-conditioned problems where the condition number $\kappa$ is large.
  • Empirical Performance: In comparisons with state-of-the-art asynchronous methods such as ASAGA and KroMagnon, AS-Acc-SVRG showed faster convergence on large, ill-conditioned datasets.
  • Scalability: The method exhibits near-linear speedup. For instance, on the KDD2010 dataset, utilizing 20 threads resulted in a nearly 20x reduction in wall-clock time compared to single-threaded execution.

Conclusion and Future Work

This work demonstrates that acceleration is not inherently incompatible with the chaos of asynchronous systems. By properly managing variance through Sparse Variance Correction, one can achieve the "gold standard" of optimization speedups without requiring restrictive hardware conditions.

Future research directions include extending the framework to support proximal operators for non-smooth regularizers (like L1/Lasso) and applying the SVC logic to other variance-reduction methods like SAGA. Additionally, exploring coordinate-specific sparsity measures could further refine the performance of the algorithm.

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