Abstract
Decentralized deep learning enables collaborative model training across distributed nodes without a central server, which is critical for privacy-sensitive applications. However, statistical heterogeneity in local data leads to "client drift," a problem exacerbated by momentum acceleration. We introduce Momentum Tracking, a decentralized algorithm that successfully integrates gradient tracking with momentum. It is the first method proven to achieve a convergence rate independent of data heterogeneity in non-convex settings. Our experiments show that Momentum Tracking significantly outperforms state-of-the-art methods in highly heterogeneous environments, maintaining stability and high accuracy where others fail.
Introduction
In decentralized learning, nodes communicate only with immediate neighbors to update a shared model. A primary obstacle is data heterogeneity: when nodes possess non-identical data distributions (e.g., different classes of images), their local models diverge. While standard Distributed SGD (DSGD) is somewhat robust, adding momentum—essential for modern deep learning—typically amplifies this divergence, leading to poor convergence.
Methodology: Momentum Tracking
The proposed algorithm, Momentum Tracking, addresses the drift problem by combining "Gradient Tracking" with momentum acceleration. Standard momentum uses a local moving average of gradients. Momentum Tracking introduces a local correction variable, $c_i$, which tracks the global average momentum across the network.
The update process involves:
- Local Momentum Calculation: Each node computes its local momentum.
- Correction Step: The node uses the $c_i$ term to adjust its local update direction toward the estimated global average.
- Dual Communication: Nodes exchange both model parameters and their correction terms with neighbors.
Theoretically, this method achieves a convergence rate that is independent of the data heterogeneity constant ($\zeta^2$). Unlike previous attempts, Momentum Tracking remains theoretically sound for standard momentum coefficients (e.g., $\beta = 0.9$), bridging the gap between theory and practical deep learning requirements.
Experimental Evaluation
The researchers evaluated Momentum Tracking on image classification tasks using FashionMNIST, SVHN, and CIFAR-10 datasets with VGG-11 and ResNet-34 architectures. To simulate real-world heterogeneity, they employed a $k$-class partitioning strategy, where each node only sees data from $k$ out of 10 classes.
Key Results
- Robustness to Heterogeneity: In extreme cases (e.g., CIFAR-10 with 2 classes per node), Momentum Tracking achieved ~90% accuracy, whereas standard DSGDm dropped to ~28%.
- Superior Stability: Momentum Tracking remains stable in the final training phases, while competing methods like DecentLaM and QG-DSGDm often exhibit high variance in accuracy.
- Linear Speedup: The method scales efficiently; doubling the nodes roughly halves the required training rounds, which is critical for large-scale decentralized systems.
Conclusion and Future Work
Momentum Tracking effectively solves the drift problem in decentralized learning by ensuring that momentum acceleration does not amplify local data biases. While it requires doubling the communication volume per neighbor to transmit correction terms, the gains in accuracy and stability are substantial. Future research will focus on integrating communication compression and removing the initial global synchronization step to enable fully asynchronous deployment.
Summary updated