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

Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with Guarantees

Vyacheslav Kungurtsev, Malcolm Egan, Bapi Chatterjee, Dan Alistarh

Introduction

Training deep neural networks (DNNs) involves optimizing nonsmooth and nonconvex objectives. While asynchronous distributed algorithms like Hogwild! offer significant speedups, their theoretical convergence is often poorly understood for the nonsmooth functions (e.g., ReLU, max-pooling) typical of modern DNNs. This work bridges the gap between practical success and theoretical foundations, providing the first convergence guarantees for asynchronous stochastic subgradient methods with momentum in such settings.

Theoretical Foundations: Convergence under Nonsmoothness

The authors analyze the Asynchronous Stochastic Subgradient Method (ASSM) with momentum. By modeling delays probabilistically and utilizing the framework of differential inclusions, they prove that iterates converge with probability one to a stationary point of the nonsmooth, nonconvex objective. This provides the necessary mathematical rigor for asynchronous training of standard DNN architectures, specifically addressing the hurdles posed by ReLU activations and max-pooling layers.

Algorithmic Innovation: PASSM and PASSM+

To leverage these theoretical insights, two implementation strategies for shared-memory (GPU) environments are introduced:

  1. PASSM (Partitioned ASSM): This method assigns specific model parameter blocks to individual processors. By performing "restricted backpropagation," the system avoids redundant gradient calculations for other blocks, significantly reducing FLOPs and computational effort.
  2. PASSM+ (Hybrid Strategy): Recognizing that pure partitioning can sometimes lead to weaker solutions, PASSM+ alternates between fast partitioned updates and periodic full-model updates (ASSM). This hybrid approach ensures the model reaches high accuracy while maintaining a significant speed advantage.

Empirical Evaluation

The proposed methods were evaluated on standard benchmarks including CIFAR-10/100, SVHN, and ImageNet using architectures like ResNet and ShuffleNet.

Figure 2: Performance summary and training curves comparing various asynchronous and synchronous methods. PASSM+ achieves the highest test accuracy and fastest training time.

As shown in the performance summary (Figure 2), PASSM+ consistently outperforms standard SGD and other asynchronous baselines. On CIFAR-100 with ShuffleNet, PASSM+ achieved a test accuracy of 70.13% in 2998 seconds, representing a significant speedup over standard SGD (3868s) and even large-batch SGD (3240s).

Figure 1: Comparison of PASSM+ and SGD across different models (DenseNet/ResNet) and datasets (CIFAR-10/100).

Further experiments across different architectures (Figure 1) confirm that PASSM+ maintains or improves accuracy while reducing training time by approximately 1.2x to 1.4x. For instance, training DenseNet on CIFAR-100 with PASSM+ took 8520 seconds compared to 12166 seconds with standard SGD, while slightly improving test accuracy from 76.42% to 77.02%.

Key Insights

  • Mathematical Rigor for ReLU: The use of Clarke subdifferentials and stochastic approximation theory allows for a formal proof that asynchrony is compatible with nonsmooth activation functions.
  • Efficiency through Partitioning: Restricted backpropagation directly reduces computational overhead by skipping unnecessary calculations during the backward pass, a clever engineering solution to reduce FLOPs.
  • The Hybrid Advantage: Periodic synchronization in PASSM+ acts as a corrective mechanism, allowing for aggressive asynchronous updates without sacrificing final model quality.

Conclusion and Future Work

This research establishes a solid theoretical footing for asynchronous DNN training and introduces PASSM+, a practical algorithm that delivers measurable speedups without accuracy loss. While the current work focuses on asymptotic convergence, future research into non-asymptotic iteration complexity will further quantify the efficiency gains of these methods in terms of clock time versus step count.

Summary updated

BibTeX
@inproceedings{kungurtsev2021asynchronous,
  author = {Vyacheslav Kungurtsev and Malcolm Egan and Bapi Chatterjee and Dan Alistarh},
  title = {{Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with Guarantees}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.16999},
}
Figure