Abstract
We consider distributed optimization where the objective function is spread among different devices, each sending incremental model updates to a central server. To alleviate the communication bottleneck, recent work proposed various schemes to compress (e.g., quantize or sparsify) the gradients, thereby introducing additional variance $\omega \geq 1$ that might slow down convergence. For strongly convex functions with condition number $\kappa$ distributed among $n$ machines, we (i) give a scheme that converges in $\mathcal{O}((\kappa + \kappa\frac{\omega}{n} + \omega) \log (1/\epsilon))$ steps to a neighborhood of the optimal solution. For objective functions with a finite-sum structure, each worker having less than $m$ components, we (ii) present novel variance reduced schemes that converge in $\mathcal{O}((\kappa + \kappa\frac{\omega}{n} + \omega + m)\log(1/\epsilon))$ steps to arbitrary accuracy $\epsilon > 0$. These are the first methods that achieve linear convergence for arbitrary quantized updates. We also (iii) give analysis for the weakly convex and non-convex cases and (iv) verify in experiments that our novel variance reduced schemes are more efficient than the baselines.
1. Introduction
In large-scale distributed machine learning, the communication bottleneck is often the primary speed limit. While workers (GPUs/CPUs) can compute gradients quickly, transmitting massive $d$-dimensional vectors across a network to a central server is slow. To mitigate this, researchers employ compression techniques such as quantization (reducing bit precision) and sparsification (sending only significant coordinates).
However, compression introduces variance. Standard stochastic gradient descent (SGD) with compression typically converges only to a "noise floor" or neighborhood of the optimal solution. Reaching higher precision usually requires decreasing the learning rate, which significantly slows convergence. This paper introduces VR-DIANA, the first framework to achieve linear convergence to an exact optimal solution using compressed gradients.
2. The DIANA Framework
The core innovation of the DIANA (Distributed Inference with ANAlysis) framework is the quantization of gradient differences rather than raw gradients. Instead of workers sending a quantized version of their local gradient $g_i^k$, they maintain a local state $h_i^k$ (an estimate of the gradient) and only quantize the difference: $Q(g_i^k - h_i^k)$.
As the algorithm approaches the optimum, the gradient changes less rapidly. Consequently, the difference $g_i^k - h_i^k$ shrinks toward zero, causing the quantization error to also vanish. This mechanism allows DIANA to reach a much tighter neighborhood than "naive" quantization methods.
3. VR-DIANA: Variance Reduction Meets Compression
While DIANA addresses quantization noise, it does not inherently solve the variance from stochastic sampling (mini-batches). VR-DIANA integrates DIANA with classic variance reduction techniques like SVRG and SAGA. This dual approach handles both sources of noise—sampling and compression—simultaneously.
As shown in Figure 2, VR-DIANA variants maintain linear convergence across various quantization levels. The framework is general, supporting any $\omega$-quantization operator, including random dithering and block quantization.
4. Theoretical Results
The authors prove that VR-DIANA achieves a complexity of $\mathcal{O}((\kappa + \kappa\frac{\omega}{n} + \omega + m) \log(1/\epsilon))$. A key theoretical insight is the "Power of $n$": the penalty introduced by quantization is discounted by the number of workers $n$. As the system scales to more machines, more aggressive compression can be used without a proportional loss in convergence speed. The paper also provides solid $O(1/k)$ rates for weakly convex and non-convex cases.
5. Experimental Evaluation
The performance of VR-DIANA was evaluated using standard binary classification benchmarks from the LIBSVM library, including real-sim, mushrooms, and gisette.
In experiments on the real-sim dataset (Figure 5), VR-DIANA reached a precision of $10^{-9}$ significantly faster than baselines like QSVRG or ADAM. While methods like ADAM may initially decrease the error quickly, they plateau at a noise floor, whereas VR-DIANA variants continue to converge linearly to the exact optimum.
6. Conclusion
VR-DIANA represents a significant advancement in distributed optimization by being the first method to provide linear convergence for arbitrary quantized updates. By effectively eliminating the noise floor associated with compression, it allows for high-precision distributed learning that is both communication-efficient and theoretically robust. Future work includes extending this analysis to fully decentralized (peer-to-peer) topologies and addressing the memory overhead associated with storing gradient estimates for extremely large models.
Summary updated