Abstract
In decentralized machine learning, nodes collaborate to optimize a global objective function without sharing raw data. However, performance is often hampered by the high variance of stochastic gradients and the instability of time-varying network topologies. This paper presents DPSVRG (Decentralized Proximal Stochastic Variance Reduced Gradient), an algorithm that integrates variance reduction with multi-consensus communication. We demonstrate that DPSVRG achieves a sublinear convergence rate of $O(1/T)$ for general convex problems, significantly outperforming the $O(1/\sqrt{T})$ rate typical of standard decentralized stochastic methods. Experimental results across multiple benchmarks validate the algorithm's efficiency and robustness.
1. Introduction
Decentralized optimization has emerged as a cornerstone of privacy-preserving and scalable machine learning. By allowing nodes—such as mobile devices or edge servers—to perform local computations and communicate only with immediate neighbors, decentralized systems avoid the bottlenecks and single points of failure associated with centralized architectures.
Despite these advantages, two primary challenges persist. First, the use of stochastic gradients introduces significant noise, particularly in decentralized settings where local data distributions may vary. Second, real-world networks are rarely static; links frequently drop or fluctuate, creating time-varying topologies that complicate the attainment of consensus. Existing approaches, such as Decentralized Stochastic Proximal Gradient (DSPG), often suffer from slow convergence and residual error plateaus. This paper introduces DPSVRG to address these limitations through a combination of variance reduction and accelerated consensus.
2. The DPSVRG Framework
The proposed DPSVRG algorithm is built upon three fundamental components designed to handle noise, network dynamics, and non-smooth objectives.
2.1 Variance Reduction via SVRG
To mitigate the impact of stochastic noise, DPSVRG incorporates the Stochastic Variance Reduced Gradient (SVRG) technique. In this framework, nodes periodically compute a "full" local gradient at a snapshot point. This anchor is then used to "correct" the noisy stochastic gradients calculated during inner-loop iterations. This mechanism ensures that the gradient variance vanishes as the algorithm approaches the optimal solution, allowing for the use of constant learning rates.
2.2 Multi-Consensus Communication
To handle time-varying networks, DPSVRG employs a multi-consensus strategy. Instead of a single communication round per iteration, nodes perform multiple rounds of "gossip" (weighted averaging of parameters). This ensures that the network reaches a sufficient level of agreement on the model parameters even when the underlying graph is sparse or changing, effectively bridging the gap between decentralized and centralized performance.
2.3 Proximal Mapping for Non-Smooth Objectives
Many machine learning problems involve non-smooth regularization terms, such as $\ell_1$ norms for sparsity. DPSVRG utilizes a proximal operator to handle these terms directly. This allows the algorithm to remain robust and mathematically sound when optimizing complex, non-differentiable objective functions.
3. Theoretical Analysis
A key contribution of this work is the rigorous proof of convergence for DPSVRG in a time-varying, non-smooth environment. The authors establish a mathematical mapping between the decentralized DPSVRG and a centralized "Inexact Prox-SVRG" model. By bounding the errors introduced by decentralized communication and stochastic sampling, the paper proves that DPSVRG achieves a convergence rate of $O(1/T)$. This is a substantial improvement over the $O(1/\sqrt{T})$ rate associated with standard decentralized stochastic proximal gradient methods.
4. Experimental Evaluation
The effectiveness of DPSVRG was evaluated using decentralized logistic regression with $\ell_1$ regularization on four standard datasets: MNIST, CIFAR-10, Adult, and Covertype. The experiments were conducted on a physical testbed comprising 8 servers connected via 10 GbE links.
4.1 Convergence Performance
Across all datasets, DPSVRG demonstrated faster and more stable convergence compared to the DSPG baseline. While DSPG often plateaued or exhibited high variance in its loss trajectory—particularly on complex datasets like MNIST and CIFAR-10—DPSVRG maintained a steady decline in error, reaching higher precision in fewer iterations.
4.2 Robustness and Efficiency
The algorithm proved robust to network sparsity. While fewer active links naturally slow the rate of consensus, DPSVRG consistently reached the optimal solution where other methods became unstable. Furthermore, despite the overhead of multi-consensus rounds, DPSVRG required fewer total communication rounds to reach target accuracy levels, highlighting its practical efficiency.
5. Conclusion and Future Directions
DPSVRG represents a significant advancement in decentralized optimization, providing a high-precision solution for time-varying networks. By suppressing stochastic variance, the algorithm enables faster convergence and the use of constant learning rates.
Future research directions include extending the framework to non-convex problems, such as deep neural networks, and adapting the algorithm for asynchronous updates to better suit large-scale IoT environments. Additionally, extending the current undirected graph assumption to directed communication links remains an important open challenge.
Summary updated