FedDQ: Communication-Efficient Federated Learning with Descending Quantization

Linping Qu, Shenghui Song, Chi-Ying Tsui

In the world of Federated Learning (FL), communication is the ultimate bottleneck. Sending massive neural network updates from thousands of edge devices to a central server is slow, expensive, and energy-intensive. To solve this, researchers often use quantization—representing model weights with fewer bits (e.g., using 4 bits instead of 32).

While most modern "adaptive" quantization schemes start with very few bits and increase them as training progresses (ascending quantization), a new paper from researchers at HKUST titled "FedDQ: Communication-Efficient Federated Learning with Descending Quantization" argues we’ve been doing it backward.

TL;DR

FedDQ introduces a "descending quantization" strategy for Federated Learning, where the number of bits used for communication decreases as the model converges. By providing high precision early on and reducing it as update ranges shrink, FedDQ cuts communication volume by up to 65% and reduces the number of training rounds by up to 68% compared to state-of-the-art ascending methods.

What Problem Does This Paper Address?

In Federated Learning, the goal is to train a global model across many decentralized devices without sharing their raw data. The standard approach involves many rounds of the server sending a model to clients, clients training locally, and then sending their updates back.

The "common wisdom" in adaptive quantization has been that you should use fewer bits at the start (when the model is "dumb" and updates are noisy) and more bits at the end (to fine-tune the model to high accuracy). However, the authors identify two major flaws in this logic:

  1. Early Speed: Low precision at the start can actually slow down the initial "drop" in training loss, requiring more total rounds to converge.
  2. Shrinking Ranges: As a model converges, the range of the updates (the difference between the maximum and minimum weight change) naturally shrinks. Using a high number of bits to represent a tiny range of values is a waste of bandwidth.

Methods

The authors move away from intuition and toward optimization. They first derive a theoretical convergence bound for FL that accounts for quantization error. By treating the number of quantization bins as a variable to be optimized under a fixed communication budget, they reach a surprising mathematical conclusion: the optimal quantization level is directly proportional to the range of the model updates.

The FedDQ Algorithm

Based on this insight, they propose FedDQ (Federated Descending Quantization). The process works as follows:

  • Local Range Calculation: Each client calculates the range of its local model updates ($\Delta X_{max} - \Delta X_{min}$).
  • Dynamic Bit Allocation: Instead of a fixed schedule, each client determines its own bit-length based on its local update range and a hyperparameter $\alpha$.
  • Descending Trend: Because update ranges naturally decrease as the model stabilizes, the number of bits used automatically "descends" over time.

This approach is decentralized; each client can decide its own quantization level independently based on its specific data and update characteristics.

Datasets

The researchers evaluated FedDQ across three common benchmarks to ensure robustness:

  1. Fashion MNIST: Using a Vanilla CNN.
  2. CIFAR-10: Using a standard CNN (4 convolutional layers + 3 fully connected layers).
  3. CIFAR-10: Using the more complex ResNet-18 architecture.

Key Insights and Ideas

  • The "Aha" Moment on Precision: A fixed 4-bit quantizer provides much higher relative precision when the values it's representing are between -0.01 and 0.01 than when they are between -1.0 and 1.0. As the model converges and updates get smaller, you actually need fewer bits to maintain the same level of effective accuracy.
  • Accelerating the Start: By using more bits in the early stages, FedDQ allows the model to find the right "direction" much faster. This significantly reduces the total number of communication rounds needed to reach a target accuracy.
  • Client Autonomy: Unlike global schemes that force every device to use the same bit-rate, FedDQ allows for heterogeneity. A client with a very stable local dataset might use fewer bits than one seeing highly volatile data.

Key Results

The authors compared FedDQ against AdaQuantFL, the previous state-of-the-art ascending quantization scheme. The results were striking:

  • Communication Volume: To reach 91% accuracy on Fashion MNIST, FedDQ required only 0.72 Gb of data, compared to 2.07 Gb for AdaQuantFL—a 65.2% reduction.
  • Training Speed: On the ResNet-18/CIFAR-10 task, FedDQ reached the target accuracy in just 8 rounds, while the ascending approach took 25 rounds (a 68% reduction).
  • Consistency: Across all tests, FedDQ consistently converged faster and with less data, proving that the "descending" philosophy is more aligned with the natural dynamics of neural network training.

Limitations and Future Work

While the paper provides a strong theoretical and empirical case for descending quantization, a few areas remain for future exploration:

  • Hyperparameter Sensitivity: The scheme relies on a hyperparameter $\alpha$ to scale the bit-length. In the paper, this is set manually ($\alpha = 0.005$). Future work could look into automatically tuning $\alpha$ during training.
  • Extreme Non-IID Data: While tested on distributed datasets, the impact of extreme data heterogeneity (where some clients' updates never shrink) on the descending bit-rate could be explored further.
  • Hardware Implementation: The paper focuses on the algorithmic and communication savings; the actual overhead of calculating ranges and re-quantizing on specific edge hardware (like microcontrollers) wasn't the primary focus.

Summary updated

BibTeX
@inproceedings{qu2022feddq,
  author = {Linping Qu and Shenghui Song and Chi-Ying Tsui},
  title = {{FedDQ: Communication-Efficient Federated Learning with Descending Quantization}},
  booktitle = {GLOBECOM},
  year = {2022},
  url = {https://openreview.net/forum?id=sZm8hIen0I},
}
Figure