Authors: Matthew Ashman, Thang D. Bui, Cuong V. Nguyen, Stratis Markou, Adrian Weller, Siddharth Swaroop, Richard E. Turner
Abstract
Federated Learning (FL) has transformed decentralized model training by keeping data on-device. However, most FL algorithms provide only point estimates, ignoring critical model uncertainty. We present Partitioned Variational Inference (PVI), a unified framework for probabilistic federated learning. PVI decomposes global variational inference into client-specific updates, enabling decentralized devices to collaboratively learn a shared model that captures uncertainty while remaining communication-efficient and robust to non-IID data.
Introduction
The rise of Federated Learning has enabled the training of models on sensitive data—such as medical records or personal device usage—without centralizing the raw information. Despite its success, a significant gap remains: most popular FL algorithms focus on point estimates, finding a single "best" set of parameters. In high-stakes domains like healthcare, understanding model uncertainty (knowing "I don't know") is as vital as the prediction itself.
Standard Variational Inference (VI) is a powerful tool for probabilistic modeling but typically assumes centralized data access. Adapting VI to federated settings is challenging because data is often inhomogeneous (non-IID). Simple adaptations often lead to "over-counting" data or failure to converge. PVI addresses these issues by reformulating the global VI objective into a decentralized optimization problem.
Methods
The core innovation of PVI is the decomposition of the global variational approximation into a product of a prior and several approximate likelihood factors, one for each client. This allows the global posterior to be updated incrementally.
The PVI algorithm operates through a "Server-Client" loop consisting of three main steps:
- Client Selection: The central server selects a subset of clients $b_i$.
- Local Update: Each selected client receives the current global posterior $q^{(i-1)}(\theta)$. Crucially, the client performs a deletion step, removing its own previous contribution $t_k^{(i-1)}(\theta)$ to avoid over-counting. It then solves a local optimization problem to refine its factor based on its private data $\mathcal{D}_k$.
- Global Update: The server aggregates the refined factors $\Delta_k^{(i)}$ to update the global model $q^{(i)}(\theta)$.
The framework supports three primary implementations: Sequential PVI (one-by-one updates), Synchronous PVI (parallel updates with damping), and Asynchronous PVI (real-time integration of updates).
Theoretical Unification
A key contribution of this work is the proof that PVI serves as a "Rosetta Stone" for probabilistic learning. Many existing methods—including Online VI, Expectation Propagation (EP), and Variational Continual Learning (VCL)—are shown to be special cases or specific configurations of the PVI framework. Furthermore, the authors prove that any fixed point of the PVI algorithm corresponds to a local optimum of the global VI objective, ensuring that decentralized training can theoretically match centralized performance.
Experiments and Results
The framework was evaluated across diverse tasks:
- UCI Repository: Logistic regression on binary classification tasks (Adult, Bank, Credit).
- MIMIC-III: Mortality prediction using logistic regression and two-layered Bayesian Neural Networks (BNNs).
- MNIST: Handwritten digit classification with highly inhomogeneous (non-IID) data splits.
Key Results: * Global Recovery: PVI successfully recovered the "optimal" solution that would have been obtained via centralized training across all models, from simple regression to complex BNNs. * Communication Efficiency: PVI achieved high accuracy in significantly fewer communication rounds compared to standard federated gradient-based methods. * Robustness: Synchronous PVI, when properly damped, proved remarkably robust to non-IID data, outperforming baselines like the Bayesian Committee Machine (BCM) which struggle with data imbalance.
Conclusion and Future Work
PVI provides a principled foundation for probabilistic federated learning. While powerful, the framework's performance in synchronous settings is sensitive to the damping factor ($\rho$), which currently requires manual tuning. Future research directions include developing automated damping schedules, exploring model parallelism to handle larger architectures, and investigating dynamic client scheduling to further enhance efficiency.
Summary updated