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:
- 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.
- 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.
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).
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