Introduction
Training machine learning models on sensitive, distributed data—such as medical records across multiple hospitals—is a cornerstone of Federated Learning (FL). However, traditional FL faces two significant hurdles: privacy leakage and communication overhead. While Differential Privacy (DP) can mitigate privacy risks by adding mathematical noise to model updates, standard DP methods often require thousands of communication rounds between clients and servers, making them impractical for many real-world networks.
This paper introduces DP-PVI, a framework that brings strong differential privacy guarantees to federated Bayesian learning. By adapting Partitioned Variational Inference (PVI), the authors achieve model accuracy comparable to centralized training while requiring orders of magnitude fewer communication rounds.
The DP-PVI Framework
The authors build upon Partitioned Variational Inference (PVI), where a global model is treated as a product of "factors" contributed by individual clients. To make this process private, the paper proposes three distinct strategies for DP-PVI:
- DP Optimisation: Clients utilize DP-SGD (Stochastic Gradient Descent with noise) for local updates. This method is robust and benefits from "privacy amplification" when clients have large local datasets.
- Local Averaging: A client splits its local data into smaller shards, trains models on each, and averages them before adding noise. This reduces the "sensitivity" of the update, allowing for less noise without compromising privacy.
- Virtual PVI Clients: Similar to local averaging, this method treats local shards as "virtual clients" within the PVI protocol, providing greater stability during training.
Comparing DP Strategies
The choice of strategy depends heavily on the data distribution and the availability of a Trusted Aggregator. A trusted aggregator allows clients to securely sum their updates before the server sees them, allowing the required privacy noise to be distributed across all participants.
Key Insights and Results
The researchers evaluated DP-PVI using the UCI Adult Dataset (income prediction) and MIMIC-III Health Data (mortality prediction). Their findings highlight several breakthroughs in private federated learning:
- Communication Efficiency: The most significant result is that DP-PVI matches the performance of standard global DP-VI while using 100x to 1000x fewer communication rounds. By moving the computational burden to local devices, the framework drastically reduces network congestion.
- Scaling with Data: For clients with substantial local data, DP Optimisation is highly effective. Conversely, when individual clients have little data but are numerous, Local Averaging and Virtual Clients (paired with a trusted aggregator) perform better by sharing the privacy budget more effectively.
- Accuracy vs. Baselines: In experiments on the Adult dataset, DP-PVI reached peak accuracy (~84%) in just 10–20 rounds. It consistently outperformed Bayesian Committee Machines (BCM), which, despite using only one round of communication, often yield poor uncertainty estimates.
Limitations and Future Directions
While DP-PVI excels with simpler models like Logistic Regression, the authors note that Bayesian Neural Networks (BNNs) remain a challenge. BNNs are prone to divergence during private training and require meticulous hyperparameter tuning.
Furthermore, the current framework does not account for the privacy cost of hyperparameter tuning itself. Future research could focus on integrating specific cryptographic protocols, such as Secure Multi-Party Computation (SMPC) or hardware-based Trusted Execution Environments (TEEs), to further enhance the security of the aggregation process.
Summary updated