TL;DR
The paper introduces FEDGVI (Federated Generalised Variational Inference), a robust probabilistic framework for Federated Learning (FL) that handles both prior and likelihood misspecification. By moving beyond traditional Bayesian paradigms, FEDGVI provides unbiased predictions and calibrated uncertainty quantification even when client data is noisy or contaminated. Furthermore, it reduces client-side computational complexity by enabling fast, conjugate updates.
What Problem Does This Paper Address?
Federated Learning (FL) allows multiple clients to collaboratively train a global model without sharing their raw data. However, real-world federated environments are plagued by data heterogeneity and contamination (e.g., outliers or mislabeled data).
Existing FL approaches fall into two main camps, both of which struggle here:
- Frequentist FL (e.g., FedAvg): Provides point estimates but lacks principled uncertainty quantification, which is critical for high-stakes domains like healthcare or finance.
- Bayesian FL (e.g., Partitioned Variational Inference): Quantifies uncertainty well under ideal conditions but is highly sensitive to model misspecification. If the prior distribution or the likelihood model is slightly wrong—or if the data contains outliers—traditional Bayesian methods become dangerously overconfident in their incorrect predictions.
This paper tackles the challenge of building an FL framework that provides reliable, well-calibrated uncertainty estimates even when the underlying model assumptions are wrong.
Methods
FEDGVI achieves robustness by porting Generalised Variational Inference (GVI) into the federated setting. Instead of standard negative log-likelihoods, FEDGVI allows clients to optimize robust loss functions (such as Generalized Cross-Entropy or Density-Power divergence) regularized by flexible divergence measures (like Alpha-Rényi divergence).
The algorithm proceeds in a server-client loop:
- The Cavity Distribution: Before a client updates the model using its local data, it computes a "cavity distribution" by removing its own previous contribution from the global server model. This acts as a localized prior that encapsulates information from all other clients.
- Local Robust Optimization: The client optimizes a robust GVI objective using its local data, regularized by the cavity distribution.
- Server Aggregation: The server aggregates client updates using a damping parameter ($\tau = 1/M$), which the authors theoretically justify as forming a valid Bayesian Logarithmic Opinion Pool, ensuring stable convergence.
Crucially, the authors show that by choosing specific losses (like weighted score matching) and Gaussian distributions, the client updates can be computed in closed-form (conjugate updates), drastically lowering the computational burden on edge devices.
Datasets
The authors evaluated FEDGVI across a mix of synthetic and real-world benchmarks:
- 1D Clutter Problem: A synthetic Gaussian location model contaminated with 25% noise.
- 2D Misspecified Logistic Regression: A synthetic linearly separable dataset injected with outliers to make it non-separable.
- COVERTYPE: A real-world classification dataset used to evaluate performance under standard data heterogeneity without explicit artificial noise.
- MNIST & FASHIONMNIST: Image classification datasets injected with varying levels of label noise (up to 40% random label flipping) to test robustness under heavy contamination.
Key Insights and Ideas
- The Cavity Distribution is Mandatory: The authors mathematically prove that using the cavity distribution is not just a good heuristic—it is a theoretical necessity in federated settings to ensure the global model converges to the true generalized posterior without bias.
- Bounded Losses Limit Outlier Influence: Traditional negative log-likelihood has an unbounded influence function, meaning a single bad outlier can completely skew the global model. FEDGVI's robust losses have a finite supremum, strictly bounding the damage an outlier can cause.
- Generalization of Standard Methods: The framework is highly unifying. By tuning the losses and divergences, FEDGVI directly recovers standard Partitioned Variational Inference (PVI) and frequentist Empirical Risk Minimization (ERM) / FedAvg as special cases.
Key Results
- Outlier Insensitivity: In the 1D Clutter problem, traditional Maximum Likelihood Estimation (MLE) and PVI completely failed to find the true parameter mean due to outliers. FEDGVI successfully ignored the noise and recovered the true distribution.
- Robust Decision Boundaries: In 2D Logistic Regression with outlier contamination, traditional PVI's decision boundary was severely skewed. FEDGVI maintained a clean boundary identical to a model trained on clean data.
- Superior Real-World Performance: On the COVERTYPE dataset, FEDGVI outperformed all competing methods (FedAvg, DSGLD, DSVGD, PVI), demonstrating that its robust data-weighting properties are beneficial even on uncontaminated real-world data.
- High-Noise Image Classification: On FASHIONMNIST with a massive 40% label contamination rate, frequentist FedAvg's accuracy plummeted to 49.0%. In contrast, FEDGVI maintained a highly resilient accuracy of 86.0%.
Limitations and Future Work
- The Clean-Data Tradeoff: As is typical with robust statistics, if the model is perfectly specified and the data has zero noise, robust losses can slightly underperform standard likelihood-based Bayesian methods due to an inherent efficiency trade-off.
- Future Directions: The authors point out several exciting avenues for extension, including adapting FEDGVI to personalized federated learning settings, incorporating hierarchical latent variables, and modifying the server aggregation step to defend against malicious Byzantine or adversarial attacks.
Summary updated