Abstract
Traditional Federated Learning (FL) often struggles with system and statistical heterogeneity, where clients possess varying computational resources and non-IID data. This paper introduces FedBNN, a novel framework that shifts collaboration from the weight space to the functional space. By sharing model outputs on a public alignment dataset rather than model weights, FedBNN enables architecture-agnostic collaboration, provides reliable uncertainty quantification via Bayesian inference, and maintains formal differential privacy guarantees. Experimental results across MNIST, CIFAR-10, and CIFAR-100 demonstrate that FedBNN significantly outperforms existing baselines, particularly in heterogeneous and data-scarce environments.
Introduction
Standard Federated Learning (FL) typically assumes a homogeneous environment where all participants utilize identical model architectures. However, real-world deployments often involve a diverse array of devices, from high-end servers to low-power IoT sensors, each with distinct hardware capabilities. Furthermore, statistical heterogeneity—where local data distributions vary significantly—can lead to overconfident models that generalize poorly.
This work addresses three critical challenges in FL:
- System & Statistical Heterogeneity: Facilitating collaboration among devices with diverse model architectures and data distributions.
- Uncertainty Quantification: Generating calibrated predictions to indicate model confidence, essential for high-stakes domains like healthcare.
- Data Privacy: Ensuring robust protection against sensitive data leakage during the collaborative process.
Methodology: The FedBNN Framework
The core innovation of FedBNN (Federated Bayesian Neural Networks) is the transition of collaboration into the functional space.
Functional Collaboration via Alignment Datasets
Instead of aggregating model weights, which requires identical architectures, FedBNN utilizes a small, public, unlabeled Alignment Dataset (AD). Clients compute predictions (logits) on this AD and share them with the server. This approach is architecture-agnostic, allowing a client with a lightweight CNN to collaborate seamlessly with one using a large VGG network.
Bayesian Priors and Knowledge Transfer
The server aggregates client predictions into a "global consensus." This consensus is then used by clients to refine their local priors. This mechanism acts as a form of "peer supervision" or knowledge distillation, allowing clients with limited local data to benefit from the collective knowledge of the federation before training on their private data.
Privacy and Inference
To ensure formal $(\epsilon, \delta)$-Differential Privacy (DP), Gaussian noise is added to the shared logits. Local training is performed using "Bayes by Backprop" (variational inference), which allows for efficient training of personalized local Bayesian models.
Experimental Results
The authors evaluated FedBNN against several baselines, including non-Bayesian (FedAvg, FedProx, pFedME) and Bayesian (pFedGP, pFedBayes, FOLA) methods. Evaluations were conducted on MNIST, CIFAR-10, and CIFAR-100 under "small," "medium," and "full" data regimes.
As shown in the table above, FedBNN (Ours) consistently achieves superior accuracy. Notably, in heterogeneous settings where 30% of clients had lower compute power, FedBNN maintained a significant lead. For instance, on CIFAR-100 with limited data, FedBNN reached ~47.5% accuracy, nearly doubling the performance of standard FedAvg (~27.3%).
Key Insights
- Communication Efficiency: Communication costs are proportional to the size of the Alignment Dataset rather than the number of model parameters, making it highly efficient for large-scale deep networks.
- Privacy-Utility Balance: FedBNN maintains high utility even under strict privacy constraints (single-digit $\epsilon$), outperforming other private FL methods like DP-FedAvg.
- Calibration: The Bayesian nature of the framework ensures that predicted probabilities are well-calibrated, providing reliable uncertainty estimates.
Conclusion and Future Work
FedBNN presents a robust solution for heterogeneous Federated Learning by leveraging functional collaboration and Bayesian inference. While the method currently relies on a public alignment dataset, future work may explore the use of generative models to synthesize these datasets on the fly. Additionally, the authors plan to investigate how the inherent stochasticity of Bayesian training can be further leveraged to tighten privacy bounds, potentially reducing the need for external noise injection.
Summary updated