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

Parallel Asynchronous Stochastic Variance Reduction for Nonconvex Optimization

Cong Fang, Zhouchen Lin

Introduction

Large-scale machine learning often grapples with a "speed vs. scale" trade-off. While asynchronous parallel algorithms like HOGWILD! enable scaling to massive datasets by allowing simultaneous model updates, the resulting "noise" can impede convergence. Conversely, variance reduction (VR) methods like SVRG improve convergence speed in serial settings but are challenging to adapt to asynchronous, nonconvex environments typical of deep learning. This paper introduces ASVRG, an asynchronous parallel version of SVRG designed for nonconvex optimization, proving it can achieve linear speedup while maintaining superior convergence rates.

The ASVRG Algorithm

The authors propose two variants of the Asynchronous Stochastic Variance Reduced Gradient (ASVRG) algorithm:

  • ASVRG-atom: Ensures atomic parameter updates by briefly locking memory during writes to prevent inconsistent states.
  • ASVRG-wild: A lock-free approach where processors read and write shared memory without synchronization, potentially leading to "inconsistent" reads but offering higher throughput.

Both variants utilize a double-loop structure. An outer loop computes a full gradient to anchor variance, while an inner loop performs rapid, asynchronous stochastic updates. The theoretical framework accounts for the "delay" ($\tau$)—the number of updates occurring between a processor's read and write operations.

Theoretical and Empirical Performance

A key contribution is the proof that ASVRG achieves a linear speedup provided the delay $\tau \le n^{1/3}$ (where $n$ is the sample size). Unlike previous analyses, these results are independent of data dimensionality, making them highly applicable to modern high-dimensional models.

Empirical Speedup

Experiments on MNIST and CIFAR-10 datasets demonstrate significant practical gains. On MNIST, ASVRG achieved nearly a 12x running time speedup and a 19x iteration speedup using 20 cores.

Training loss vs. time for ASVRG with varying core counts, demonstrating significant speedup as parallelism increases.

Comparison with ASGD

ASVRG fundamentally outperforms Asynchronous SGD (ASGD) by leveraging variance reduction. Theoretically, ASVRG converges at a rate of $O(n^{2/3}/\epsilon)$, compared to $O(1/\epsilon^2)$ for ASGD in nonconvex settings. Empirically, ASVRG reaches higher precision (lower gradient norms) much faster than ASGD across various levels of parallelism.

Comparison of gradient norm convergence over time between ASGD and ASVRG across 8, 12, and 20 cores. ASVRG consistently reaches lower gradient norms faster.

Conclusion and Future Directions

ASVRG bridges the gap between asynchronous parallelism and variance reduction for nonconvex problems. While it offers provable linear speedups and superior precision, performance is bounded by a "delay ceiling" where excessive staleness in gradients can eventually offset the benefits of additional workers. Future work may explore extending these theoretical results to mini-batching, which was used empirically but not fully addressed in the core proofs.

Summary updated

BibTeX
@inproceedings{fang2017parallel,
  author = {Cong Fang and Zhouchen Lin},
  title = {{Parallel Asynchronous Stochastic Variance Reduction for Nonconvex Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10651},
}
Figure