Abstract
Decentralized nonconvex optimization has received increasing attention in recent years in machine learning due to its advantages in system robustness, data privacy, and implementation simplicity. However, three fundamental challenges in designing decentralized optimization algorithms are how to reduce their sample, communication, and memory complexities. In this paper, we propose a gradient-tracking-based stochastic recursive momentum (GT-STORM) algorithm for efficiently solving nonconvex optimization problems. We show that to reach an $\epsilon^2$-stationary solution, the total number of sample evaluations of our algorithm is $\tilde{O}(m^{1/2}\epsilon^{-3})$ and the number of communication rounds is $\tilde{O}(m^{-1/2}\epsilon^{-3})$, which improve the $O(\epsilon^{-4})$ costs of sample evaluations and communications for the existing decentralized stochastic gradient algorithms. We conduct extensive experiments with a variety of learning models, including non-convex logistical regression and convolutional neural networks, to verify our theoretical findings.
Introduction
In decentralized machine learning, nodes (such as mobile devices or edge servers) collaborate to train a model without a central parameter server. While this architecture enhances privacy and robustness, it introduces a "triple threat" of complexities:
- Sample Complexity: High computational cost of calculating gradients on large datasets.
- Communication Complexity: The slow and often unreliable process of exchanging data between nodes.
- Memory Complexity: Limited RAM on edge devices, making it difficult to store multiple high-dimensional model states.
Existing algorithms often trade one complexity for another. For instance, Decentralized Stochastic Gradient Descent (DSGD) is simple but converges slowly. More advanced variance-reduction methods often require "double-loop" structures and double the memory overhead ($2p$), which is impractical for massive models.
The GT-STORM Methodology
The proposed GT-STORM (Gradient-Tracking-based Stochastic Recursive Momentum) algorithm addresses these challenges through a streamlined design. It fuses Gradient Tracking (GT)—ensuring local gradient estimates align with the global average—with STORM, a variance reduction method using momentum to improve stochastic estimates.
Key advantages of GT-STORM include:
- Single-Loop Architecture: Unlike previous variance-reduction methods, GT-STORM operates in a single loop, simplifying implementation.
- Memory Efficiency: It requires only $p$ memory, a 50% reduction compared to state-of-the-art methods like D-GET.
- Consensus Mixing: The algorithm averages gradient estimators rather than just model weights, allowing it to track the global gradient accurately even with non-identically distributed (non-I.D.) data.
Key Results and Experimental Validation
Theoretical analysis proves that GT-STORM achieves a convergence rate of $\tilde{O}(T^{-2/3})$, significantly faster than the $O(T^{-1/2})$ rate of standard decentralized methods. To reach an $\epsilon^2$-stationary solution, it requires $\tilde{O}(m^{1/2}\epsilon^{-3})$ sample evaluations and $\tilde{O}(m^{-1/2}\epsilon^{-3})$ communication rounds.
The researchers validated these results using LibSVM datasets (a9a, rcv1, ijcnn1) and deep learning models (CNNs on MNIST and CIFAR-10).
As shown in the experiments on the ijcnn dataset, GT-STORM reaches a lower consensus loss much faster than its competitors, DSGD and GNSD. This confirms that the theoretical speedup translates to superior wall-clock performance.
In deep learning benchmarks, GT-STORM demonstrated a significant accuracy boost. On the CIFAR-10 dataset, it outperformed the baseline DSGD by approximately 25% in testing accuracy and beat the more recent GNSD by 15%. This illustrates the algorithm's effectiveness in training complex non-convex models.
Conclusion
GT-STORM successfully tames the triple threat of decentralized learning complexities. By combining gradient tracking with recursive momentum in a memory-efficient, single-loop structure, it sets a new state-of-the-art for non-convex decentralized optimization. Future research may explore its performance on directed or time-varying network topologies.
Summary updated