Abstract
Decentralized optimization methods enable on-device training of machine learning models without a central coordinator. In many scenarios communication between devices is energy demanding and time consuming and forms the bottleneck of the entire system. We propose a new randomized first-order method which tackles the communication bottleneck by applying randomized compression operators to the communicated messages. By combining our scheme with a new variance reduction technique that progressively throughout the iterations reduces the adverse effect of the injected quantization noise, we obtain a scheme that converges linearly on strongly convex decentralized problems while using compressed communication only. We prove that our method can solve the problems without any increase in the number of communications compared to the baseline which does not perform any communication compression while still allowing for a significant compression factor which depends on the conditioning of the problem and the topology of the network. We confirm our theoretical findings in numerical experiments.
Introduction
In decentralized machine learning, multiple workers collaborate to train a model by communicating only with immediate neighbors. A significant bottleneck in this paradigm is communication: transmitting high-dimensional gradient vectors is slow and energy-intensive. While communication compression (e.g., quantization or sparsification) is a common remedy, existing decentralized methods often suffer from a "compression penalty," leading to sublinear convergence rates. This paper introduces the first decentralized optimization algorithm that achieves linear convergence using any unbiased randomized compressor, bridging the gap between centralized and decentralized compressed optimization.
Methodology
The proposed approach departs from standard decentralized gradient descent, building instead on the primal-dual gradient method. The core innovation is a variance reduction technique for quantization noise. Rather than compressing raw iterates or gradients, the algorithm maintains an auxiliary state ($h_i^k$) at each node to track the local solution. It compresses only the difference between the current state and this tracked state. As the algorithm converges, this difference—and thus the compression noise—vanishes.
The paper details four variants (Algorithm 1):
- Option A/B: For general optimization, with Option B being an incremental primal update.
- Option C/D: For stochastic and finite-sum settings, utilizing SVRG-style variance reduction.
Experimental Results
The researchers evaluated the algorithm using synthetic data for average consensus on Ring and Star topologies, and the w8a binary classification dataset for logistic regression.
Linear Convergence and Efficiency
The algorithm achieves an $\epsilon$-accurate solution in $O(\log 1/\epsilon)$ iterations, a significant improvement over the $O(1/\epsilon)$ or $O(1/\epsilon^2)$ rates of previous compressed decentralized methods. Empirical results show that the proposed "Option B/D" variants consistently outperform baselines like Choco-SGD and QDGD, particularly in communication efficiency.
"Compression for Free"
A key insight is the existence of a compression threshold (quantization level $\omega$) below which the total number of iterations required for convergence does not increase. This "free" compression depends heavily on network topology; well-connected networks like "Star" graphs allow for more aggressive compression than "Ring" graphs before performance degrades.
Discussion and Future Work
The theoretical complexity is approximately $O((\omega + \kappa\rho) \log 1/\epsilon)$, where $\omega$ is compression noise, $\kappa$ is the condition number, and $\rho$ represents network connectivity. While the current proof requires $\mu$-strong convexity, future work could extend this to non-convex deep learning problems. Additionally, while the rate is linear, it is not yet "accelerated" in the Nesterov sense. Integrating this method with frameworks like Catalyst could potentially yield even faster accelerated rates.
Summary updated