Communication-Efficient Distributed Learning via Lazily Aggregated Quantized Gradients

Jun Sun, Tianyi Chen, Georgios B. Giannakis, Zaiyue Yang

Introduction

In modern distributed machine learning, a central server coordinates multiple "worker" devices—such as mobile phones or edge sensors—to train a global model. While computation on these edge devices has become increasingly powerful, the massive bottleneck in this setup remains communication. Sending high-dimensional gradient vectors from workers to the server over a network is slow, energy-intensive, and prone to latency.

To address this, researchers have traditionally relied on two distinct strategies: quantization (reducing the precision of the gradients to save bits per round) and sparsification or skipping (reducing the total number of communication rounds by only sending significant updates). However, most existing methods struggle to combine both effectively without destroying the algorithm's convergence speed or accuracy.

The novel algorithm LAQ (Lazily Aggregated Quantized gradients) answers a critical question: Can we save bits and rounds simultaneously without sacrificing performance? By combining quantization with "lazy" communication skipping, LAQ achieves massive communication savings while maintaining the same linear convergence rate as standard gradient descent for strongly convex problems.

The LAQ Approach: Quantize and Skip

LAQ operates on two synergistic principles that drastically reduce the communication overhead between the server and the workers.

LAQ System Architecture
  1. Innovation-Based Quantization: Instead of quantizing the raw gradient, workers calculate the "gradient innovation"—the difference between their current computed gradient and the last gradient the server received from them. They then quantize this difference. Because the difference between consecutive gradients shrinks as the model converges, this approach allows for much higher precision even when using very few bits (e.g., 3 or 4 bits per coordinate).
  2. Lazy Aggregation: Workers do not automatically upload their updates every round. Each worker evaluates a "selection criterion." If the quantized gradient innovation is small—meaning the worker hasn't learned much new, actionable information since its last update—the worker stays silent.
  3. The "Lazy" Update: The central server maintains an approximate aggregated gradient. In each iteration, it only updates the components corresponding to the workers that actually chose to communicate. For the silent workers, the server simply reuses their outdated, previously sent gradients.

These two techniques are highly complementary. Quantization makes each communication "pipe" narrower, while lazy aggregation ensures the "faucet" is turned on less often. Together, they provide an order-of-magnitude improvement over using either technique alone.

Key Insights and Theoretical Guarantees

The most impressive theoretical finding of the LAQ paper is that it does not "slow down" training. By focusing on the change in gradients rather than absolute values, the error introduced by quantization becomes manageable. For strongly convex loss functions, LAQ provably hits the same linear convergence rate as full-precision Gradient Descent (GD), despite the "lazy" skipping and "noisy" quantization.

Empirical Results

The researchers evaluated LAQ using three well-known datasets (MNIST, ijcnn1, and covtype) across Regularized Logistic Regression (strongly convex) and Neural Networks (non-convex). The empirical results show that LAQ is a clear winner in communication efficiency.

Loss vs. Transmitted Bits
  • Massive Bit Reduction: In a logistic regression task on MNIST, LAQ required only $1.95 \times 10^7$ bits to reach a target accuracy. In stark contrast, standard Gradient Descent required $7.08 \times 10^9$ bits, and LAG (which skips rounds but doesn't quantize) required $5.98 \times 10^8$ bits.
  • Fewer Communication Rounds: LAQ required only 620 communication rounds to converge, whereas standard GD required 28,200 rounds.
  • Stochastic Performance: The authors also developed a stochastic version (SLAQ) for mini-batch training. SLAQ consistently outperformed state-of-the-art methods like QSGD and SSGD in both bits and rounds while maintaining high test accuracy (e.g., ~91% on neural network tests).

Limitations and Future Work

While LAQ presents a massive leap forward for communication-efficient learning, there are areas for future exploration:

  • Theoretical Scope: The empirical results for non-convex neural networks are strong, but the rigorous proof of linear convergence is currently limited to the strongly convex case. Proving similar bounds for non-convex landscapes remains an open challenge.
  • Hyperparameter Tuning: The algorithm introduces new parameters, such as the number of quantization bits ($b$) and constants for the skipping threshold. Finding the optimal "sweet spot" for these parameters may require trial and error on new datasets.
  • Decentralized Settings: The current paper focuses on a worker-server (hub-and-spoke) architecture. Extending LAQ to fully decentralized, peer-to-peer networks is a logical and exciting next step for this research.

Summary updated

BibTeX
@inproceedings{sun2019communication,
  author = {Jun Sun and Tianyi Chen and Georgios B. Giannakis and Zaiyue Yang},
  title = {{Communication-Efficient Distributed Learning via Lazily Aggregated Quantized Gradients}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=kutdPVhYTxH},
}
Figure