NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FedBAT: Communication-Efficient Federated Learning via Learnable Binarization

Shiwei Li, Wenchao Xu, Haozhao Wang, Xing Tang, Yining Qi, Shijie Xu, weihongluo, Yuhua Li, xiuqiang He, Ruixuan Li

Introduction

Federated Learning (FL) is a transformative distributed machine learning paradigm that enables multiple clients—such as smartphones or IoT devices—to collaboratively train a model without sharing raw, privacy-sensitive data. However, FL faces a significant bottleneck: communication overhead. Clients must frequently upload massive model updates to a central server, which strains bandwidth and slows down training.

To mitigate this, researchers often employ binarization techniques (like SignSGD) that compress 32-bit floating-point updates into 1-bit values. Unfortunately, traditional methods typically binarize updates after local training is complete. This "post-training" approach introduces a massive approximation error between the intended update and the compressed one, leading to slower convergence and degraded model accuracy. Furthermore, these methods rely on a fixed step size (the magnitude of the binary values), which is notoriously difficult to tune.

To address these challenges, researchers introduce Federated Binarization-Aware Training (FedBAT), a novel framework that shifts model compression from a post-processing step to an integral part of the training process.

The FedBAT Framework

Instead of training a high-precision model and subsequently "chopping" it into bits, FedBAT forces the model to learn binary updates directly during the local training phase.

Overview of the FedBAT architecture, illustrating the forward and backward passes with learnable binarization on the client side.

The framework relies on several key technical innovations:

  • Learnable Binarization Operator: FedBAT introduces a differentiable operator that binarizes updates during the forward pass. Because the derivative of a step function is zero (which would halt gradient descent), the authors employ a Straight-Through Estimator (STE). This treats the binarization step as an identity map during backpropagation, allowing gradients to flow.
  • Learnable Step Size ($\alpha$): Rather than manually tuning the magnitude of binary updates, FedBAT treats the step size as a parameter optimized via gradient descent. This allows each layer of the model to dynamically adapt its own compression scale, significantly reducing approximation errors.
  • Two-Stage Local Training: To ensure stable optimization, clients perform a short "warm-up" phase in full precision before switching to binarization-aware training. This provides a stronger initialization point for the binary optimization process.

Theoretical analyses in the paper further establish that FedBAT converges at a rate comparable to the standard, uncompressed FedAvg algorithm for both convex and non-convex objectives.

Experimental Results and Insights

FedBAT was rigorously evaluated on four standard computer vision benchmarks: FMNIST, SVHN, CIFAR-10, and CIFAR-100. The experiments spanned various data distributions, including IID (Independent and Identically Distributed) and challenging Non-IID scenarios that simulate real-world data skew among users.

Performance comparison of FedBAT against baselines across multiple datasets and data distributions.

Key findings from the evaluation include:

  • Significant Accuracy Gains: FedBAT outperformed existing binarization baselines (such as SignSGD and EF-SignSGD) by up to 9% in test accuracy.
  • Surpassing Full Precision: Remarkably, in certain experimental setups, FedBAT actually outperformed the full-precision FedAvg baseline. This suggests that the binarization process acts as a form of regularization, preventing the model from overfitting to idiosyncratic local client data.
  • Communication Efficiency: The framework achieves a 32x compression ratio on the uplink (client-to-server) while maintaining a convergence speed nearly identical to uncompressed training.
  • Robustness in Non-IID Scenarios: In highly skewed Non-IID settings where traditional binarization methods often see their performance collapse, FedBAT remained highly robust. Ablation studies also demonstrated that FedBAT is relatively insensitive to its internal hyperparameters, making it highly practical for deployment.

Limitations and Future Work

While FedBAT offers a massive leap forward for communication-efficient FL, it does come with minor trade-offs. The framework requires clients to maintain an extra copy of model parameters (one for the "latent" full-precision weights and one for the binarized updates), slightly increasing the local memory footprint on edge devices.

Additionally, the current iteration of FedBAT focuses primarily on compressing the uplink (client-to-server) communication; the downlink (server-to-client) remains in full precision. Applying similar learnable quantization techniques to the downlink is a promising direction for future research. Finally, while proven effective on CNNs and ResNets for computer vision tasks, extending and validating FedBAT on Large Language Models (LLMs) or Transformer architectures remains an exciting open area for exploration.

Summary updated

BibTeX
@inproceedings{li2024fedbat,
  author = {Shiwei Li and Wenchao Xu and Haozhao Wang and Xing Tang and Yining Qi and Shijie Xu and weihongluo and Yuhua Li and xiuqiang He and Ruixuan Li},
  title = {{FedBAT: Communication-Efficient Federated Learning via Learnable Binarization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=x2zxPwCkAZ},
}
Figure