FedBiF: Communication-Efficient Federated Learning via Bits Freezing

Shiwei Li, Qunwei Li, Haozhao Wang, Ruixuan Li, Jianbin Lin, Wenliang Zhong

Abstract

Federated Learning (FL) is often constrained by significant communication overhead during model updates. We present Federated Bit Freezing (FedBiF), a framework that reduces communication costs by updating and transmitting only a single bit of a multi-bit parameter per round. By learning quantized parameters directly and decoupling model precision from bandwidth, FedBiF achieves 1-bit uplink communication while maintaining accuracy comparable to full-precision models and inducing natural model sparsity.

Introduction

In Federated Learning, distributed devices collaboratively train a global model without sharing local data. However, transmitting full-precision (32-bit) weights for modern large-scale neural networks over limited-bandwidth networks is a major bottleneck. Modern deep learning models often contain millions or billions of parameters. In a federated setting, where updates are sent frequently, the cumulative bandwidth requirement can exceed the capabilities of mobile or edge devices.

Existing compression methods often force a trade-off: either accept high quantization error with Post-Training Quantization (PTQ) or limit the model's capacity with low-bit Quantization-Aware Training (QAT). FedBiF breaks this trade-off by allowing the model to maintain a higher-precision internal state while only communicating a single bit per parameter in each round.

Methodology: Federated Bit Freezing

FedBiF decouples the precision of model weights from the communication bandwidth through a "bits freezing" mechanism.

Overview of the FedBiF framework and the BiF mechanism.

The process involves several key steps:

  1. Downlink: The server sends a low bit-width quantized global model to clients.
  2. Bits Freezing: During local training, clients "freeze" most bits of a weight, activating only one bit for updates.
  3. Virtual Bits and STE: To handle the non-differentiable nature of binary values, FedBiF uses floating-point "virtual bits." For each binary bit $b_i$, a corresponding real-valued variable $v_i$ is maintained. During backpropagation, the gradient is applied to $v_i$ using the Straight-Through Estimator (STE). The binary bit $b_i$ is then updated via a step function based on the sign of $v_i$.
  4. Uplink: Only the single activated bit is uploaded per parameter.
  5. Aggregation: The server reconstructs and aggregates the multi-bit weights.

By cyclically rotating the activated bit across rounds, the model iteratively learns high-precision representations with minimal per-round bandwidth.

Experimental Evaluation

The framework was evaluated on standard image classification datasets, including FMNIST, SVHN, CIFAR-10, CIFAR-100, and TinyImageNet. Experiments were conducted under both IID (identically distributed) and Non-IID (heterogeneous) data partitioning setups to simulate realistic federated environments.

Key Results and Insights

FedBiF demonstrates superior performance across various metrics:

  • Accuracy and Efficiency: FedBiF matches the accuracy of uncompressed baselines like FedAvg while significantly reducing communication costs. For example, on CIFAR-10 (IID), FedBiF achieved 77.4% accuracy, nearly matching FedAvg's 78.1%.
  • Sparsity: The method naturally induces model sparsity (up to 58% on SVHN) as bits that are driven to zero effectively prune the parameter, reducing the memory footprint of the final model.
  • Low Overhead: The computational overhead for managing virtual bits is negligible, adding only ~0.03% more multiply-accumulate operations (MACs) compared to standard training.
Comparison of Test Accuracy vs. Communication Costs across multiple datasets and data distributions.

As shown in the experimental results, FedBiF (red line) consistently reaches higher accuracy faster than state-of-the-art baselines like SignSGD, FedPAQ, and DAdaQuant for the same communication budget across all tested datasets and distributions.

Conclusion and Future Directions

FedBiF provides a robust solution for communication-efficient FL by decoupling weight precision from transmission bandwidth. While the current cyclic bit selection is effective, future work could explore adaptive strategies to further accelerate convergence. Additionally, making quantization step sizes learnable could enhance accuracy and training speed in diverse deployment scenarios.

Summary updated

BibTeX
@article{li2025fedbif,
  author = {Shiwei Li and Qunwei Li and Haozhao Wang and Ruixuan Li and Jianbin Lin and Wenliang Zhong},
  title = {{FedBiF: Communication-Efficient Federated Learning via Bits Freezing}},
  journal = {IEEE Trans. Parallel Distributed Syst.},
  year = {2025},
  doi = {10.1109/tpds.2025.3610224},
}
Figure