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

Asynchronous Distributed Semi-Stochastic Gradient Optimization

Ruiliang Zhang, Shuai Zheng, James T. Kwok

Abstract

This paper introduces a novel distributed asynchronous SGD algorithm, distr-vr-sgd, that combines the variance reduction of SVRG with the delayed update mechanics of DPG. The result is a highly scalable system that achieves a fast linear convergence rate to the exact optimal solution using a constant learning rate, significantly outperforming existing state-of-the-art distributed learners.

Introduction

Training large-scale machine learning models requires distributing the workload across many machines. However, distributed optimization faces two major hurdles. First, the straggler problem in synchronous systems, where the entire cluster must wait for the slowest machine to finish its task before moving to the next iteration. Second, the convergence trade-off in asynchronous systems; while they solve the straggler problem by letting machines work at their own pace using stale information, they typically require decaying learning rates to converge, which is painfully slow. Alternatively, methods like the Delayed Proximal Gradient (DPG) use a constant learning rate but only converge to a "neighborhood" of the solution, never reaching the true optimum.

This work proposes an algorithm that is asynchronous, uses a constant learning rate, and converges linearly to the actual optimum.

Methodology: The distr-vr-sgd Algorithm

The authors propose distr-vr-sgd, a hybrid approach that brings Stochastic Variance Reduced Gradient (SVRG) into a distributed-memory asynchronous environment.

Key Components

  • Variance Reduction: The algorithm operates in stages. At the start of each stage, it computes a full gradient on the entire dataset. This "anchor" gradient is used to correct the noisy, small-batch gradients computed by workers, effectively reducing their variance over time.
  • Semi-Stochastic Updates: The server updates the model parameter $w$ using a convex combination of the current state and a state corrected by the delayed gradient. This allows the system to make progress even when the information coming from workers is slightly out of date.
  • Bounded Delay ($\tau$): To prevent the system from becoming chaotic, the authors impose a "bounded delay" condition. A worker's request for new parameters is held by the server until all tasks older than a specific threshold ($\tau$) are completed.
  • Architecture: The system uses a centralized scheduler to manage tasks, a server to maintain the master model, and multiple workers that store data subsets and perform local computations.

Experimental Results

The algorithm was evaluated on two massive datasets: Mnist8m (8.1 million samples) and DNA (50 million samples).

Performance and Accuracy

In wall-clock time, distr-vr-sgd consistently outperformed Downpour SGD, Petuum SGD, and DPG. Unlike DPG, which plateaus at a certain error level, the proposed method continued to improve, reaching significantly lower objective values closer to the true optimum.

Comparison of distr-vr-sgd against state-of-the-art distributed learners on Mnist8m and DNA datasets.

Scalability and Overhead

The system demonstrates impressive scalability. On the Mnist8m dataset, moving from 16 workers to 128 workers resulted in a 3x speedup. On the DNA dataset, the speedup was even more impressive at 6x. However, as the number of workers increases, communication overhead during the synchronization phase at the end of each stage becomes a more significant factor relative to computation time.

Breakdown of computation and communication time as the number of workers increases on Mnist8m and DNA.

Discussion and Future Work

The primary insight of this work is that a constant learning rate is possible in asynchronous settings when combined with variance reduction and specific delayed update rules. This allows for much faster traversal of the optimization landscape. While the algorithm provides a linear convergence guarantee, it currently relies on a strong convexity assumption, which may not strictly apply to non-convex models like deep neural networks. Future research could focus on making the transition between stages completely lock-free to further reduce synchronization overhead.

Summary updated

BibTeX
@inproceedings{zhang2016asynchronous,
  author = {Ruiliang Zhang and Shuai Zheng and James T. Kwok},
  title = {{Asynchronous Distributed Semi-Stochastic Gradient Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10286},
}
Figure