Abstract
Decentralized optimization faces two primary hurdles: data heterogeneity across agents and high communication costs. This paper proposes Local Stochastic Gradient Tracking (LSGT) and Multiple-locally-Updated variable Sum Tracking (MUST), which integrate local SGD updates into a gradient tracking framework. These methods achieve a linear speedup in convergence with respect to local updates, significantly reducing communication overhead while maintaining robustness to non-IID data. Theoretical analysis and experiments on MNIST demonstrate that these algorithms effectively balance local computation and global communication.
Introduction
In decentralized machine learning, a network of agents—such as mobile devices or edge servers—collaborates to train a model without a central coordinator. This setup is plagued by two major challenges: data heterogeneity (non-IID data) and communication bottlenecks. Standard methods like Distributed SGD (DSGD) perform poorly when agents have very different local datasets. While Gradient Tracking (GT) methods were developed to handle this heterogeneity, they typically require communication at every single iteration, leading to significant network overhead.
Proposed Methods: LSGT and MUST
To address these challenges, this research introduces two primary algorithms that combine the robustness of gradient tracking with the communication efficiency of local SGD:
- Local Stochastic Gradient Tracking (LSGT): Agents perform $E$ local SGD steps before communicating with neighbors. It uses auxiliary variables to "track" the global gradient, effectively allowing the decentralized network to mimic a centralized gradient descent process even with infrequent communication.
- Multiple-locally-Updated variable Sum Tracking (MUST): An extension of LSGT designed for "hybrid data" scenarios. This addresses complex problems where variables are linearly coupled in the objective function, such as when different agents hold different features of the same data samples.
The core innovation is the theoretical proof that these algorithms achieve a convergence rate of $O(1/\sqrt{ET})$, where $E$ is the number of local updates and $T$ is the number of communication rounds. This demonstrates a linear speedup with respect to local computation.
Experimental Evaluation
The algorithms were evaluated using the MNIST handwritten digit dataset for image classification. To test robustness, the researchers used two configurations: an IID Setting, where 60,000 samples were assigned evenly to 20 agents, and a Non-IID Setting, where each agent received samples of at most two types of digits, creating high variance between local datasets.
Key Results
- Significant Speedup: In non-IID MNIST experiments, LSGT with $E=10$ reached 95% testing accuracy in just 65 communication rounds, compared to 378 rounds for standard stochastic GT ($E=1$).
- Superiority over Baselines: LSGT consistently outperformed other popular decentralized methods like DSGD and $D^2$ in terms of convergence speed per communication round, especially in non-IID scenarios.
- Theoretical Validation: Experimental results closely matched the theoretical prediction of a $1/\sqrt{E}$ speedup, confirming that the algorithm effectively utilizes local computation to save on communication.
Discussion and Insights
The proposed methods successfully marry the data-heterogeneity robustness of Gradient Tracking with the communication efficiency of Local SGD. By increasing the number of local updates $E$, the number of required communication rounds $T$ decreases proportionally to reach the same accuracy. However, there is a "sweet spot" for local updates; while increasing $E$ from 1 to 10 significantly speeds up convergence, a very large $E$ (e.g., 50) can eventually cause local models to drift too far apart, slowing down the overall process.
Conclusion and Future Work
LSGT and MUST provide a robust framework for decentralized learning that is both communication-efficient and resilient to data heterogeneity. Future work includes extending these methods to dynamic network topologies, integrating gradient compression or quantization techniques to further reduce message size, and adapting the framework for directed graphs where communication may be one-way.
Summary updated