Bitwidth Heterogeneous Federated Learning with Progressive Weight Dequantization

Jaehong Yoon, Geon Park, Wonyong Jeong, Sung Ju Hwang

Introduction

Standard Federated Learning (FL) assumes all participating devices use the same numerical precision for their models. However, real-world edge hardware is incredibly diverse. While a high-end smartphone might easily handle 32-bit floating-point (Float32) computations, a tiny embedded sensor or smartwatch might be restricted to 4-bit or 8-bit integers (Int4/Int8) to conserve power and memory.

This paper introduces ProWD (Progressive Weight Dequantization), a novel framework designed to enable "Bitwidth Heterogeneous Federated Learning" (BHFL). By utilizing a trainable server-side dequantizer and a selective aggregation strategy, ProWD successfully reconstructs high-precision weights from low-precision updates, preventing low-bit models from degrading the performance of the global model.

The Challenge of Heterogeneous Bitwidths

When attempting to average models of varying bitwidths in a standard FL setup, two major problems emerge:

  1. Limited Expressiveness: Low-bitwidth models inherently lack the capacity to represent the complex, nuanced features that high-bitwidth models can capture.
  2. Distributional Shift: Naively averaging high-precision weights with low-precision ones causes the global model's weight distribution to collapse. High-precision weights quickly degenerate into a few peaks that mirror the quantized values of the low-bit models, effectively destroying the model's accuracy.
Challenges of Bitwidth Heterogeneous Federated Learning

The ProWD Framework

To bridge the gap between heterogeneous clients, the authors propose the ProWD framework, which operates primarily at the central server to minimize the computational burden on edge devices.

1. Progressive Weight Dequantization

Instead of attempting to map a low-precision weight (e.g., 4-bit) directly to a 32-bit weight in a single, error-prone leap, ProWD uses a stack of neural network blocks to reconstruct weights progressively (e.g., 2 $\to$ 4 $\to$ 8 $\to$ 16 $\to$ 32 bits). This step-by-step approach significantly stabilizes the learning process.

The server-side dequantizer is trained using two distinct loss functions:

  • Reconstruction Loss: Minimizes the mathematical distance between the reconstructed weights and the original high-precision weights.
  • Distillation Loss: Ensures the model utilizing the reconstructed weights produces similar predictions to the high-precision model, evaluated on a small, unlabeled proxy dataset stored at the server.
The ProWD framework and progressive dequantizer architecture

2. Score-Based Selective Weight Aggregation

Because not all updates from low-bit clients are beneficial to the global model, ProWD implements a filtering mechanism. It calculates a "compatibility score" based on the cosine similarity between the update direction of the low-bit models and the average update of the high-bit models. A binary mask is then applied to filter out outlier sub-weights from the low-precision updates before they are averaged into the global model.

Key Findings and Results

The researchers evaluated ProWD using a modified VGG-7 network on the CIFAR-10 dataset, simulating various heterogeneous client mixes (e.g., 50% Int8 / 50% Float32, and complex distributions involving Int6, Int8, Int12, and Int16).

  • Preventing Weight Collapse: Without ProWD, Float32 weights—which should ideally be smooth—quickly collapse into a histogram of quantized Int8 values after just 50 rounds of federated averaging. ProWD successfully mitigates this distributional shift.
  • One-Way Knowledge Transfer: The study reveals that high-bitwidth models act as effective "teachers." While low-bitwidth models benefit significantly from the rich information in high-precision weights, the reverse is usually harmful unless carefully managed by a framework like ProWD.
  • Significant Accuracy Gains: In a scenario with 50% Int8 and 50% Float32 clients, ProWD achieved an average accuracy of 84.43%, vastly outperforming standard baselines like FedAvg, which only reached 76.56%. ProWD effectively closes the performance gap, allowing high-bit models to maintain or improve their accuracy rather than being dragged down by low-bit participants.

Limitations and Future Work

While highly effective, ProWD has a few limitations. First, it requires a small "unsupervised buffer" of data at the server to perform distillation. In strictly private FL scenarios, even unlabeled proxy data might be unavailable. Second, the current dequantizer architecture is specifically tailored for Convolutional Neural Networks (CNNs). Adapting this logic to Transformers or other architectures would require redesigning the weight reshaping and block mechanisms. Future work will likely explore more generalized dequantizer architectures and investigate scaling the approach to larger foundational models.

Summary updated

BibTeX
@inproceedings{yoon2022bitwidth,
  author = {Jaehong Yoon and Geon Park and Wonyong Jeong and Sung Ju Hwang},
  title = {{Bitwidth Heterogeneous Federated Learning with Progressive Weight Dequantization}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=1yHKDA4MsJ},
}
Figure