Calibrated One Round Federated Learning with Bayesian Inference in the Predictive Space

Authors

  • Mohsin Hasan University of Waterloo Vector Institute
  • Guojun Zhang Huawei Noah's Ark Lab
  • Kaiyang Guo Huawei Noah's Ark Lab
  • Xi Chen Huawei Noah's Ark Lab
  • Pascal Poupart University of Waterloo Vector Institute

DOI:

https://doi.org/10.1609/aaai.v38i11.29122

Keywords:

ML: Distributed Machine Learning & Federated Learning, ML: Bayesian Learning, ML: Calibration & Uncertainty Quantification

Abstract

Federated Learning (FL) involves training a model over a dataset distributed among clients, with the constraint that each client’s dataset is localized and possibly heterogeneous. In FL, small and noisy datasets are common, highlighting the need for well-calibrated models that represent the uncertainty of predictions. The closest FL techniques to achieving such goals are the Bayesian FL methods which collect parameter samples from local posteriors, and aggregate them to approximate the global posterior. To improve scalability for larger models, one common Bayesian approach is to approximate the global predictive posterior by multiplying local predictive posteriors. In this work, we demonstrate that this method gives systematically overconfident predictions, and we remedy this by proposing β-Predictive Bayes, a Bayesian FL algorithm that interpolates between a mixture and product of the predictive posteriors, using a tunable parameter β. This parameter is tuned to improve the global ensemble’s calibration, before it is distilled to a single model. Our method is evaluated on a variety of regression and classification datasets to demonstrate its superiority in calibration to other baselines, even as data heterogeneity increases. Code available at https://github.com/hasanmohsin/betaPredBayesFL. Our paper's full version is at https://arxiv.org/abs/2312.09817.

Published

2024-03-24

How to Cite

Hasan, M., Zhang, G., Guo, K., Chen, X., & Poupart, P. (2024). Calibrated One Round Federated Learning with Bayesian Inference in the Predictive Space. Proceedings of the AAAI Conference on Artificial Intelligence, 38(11), 12313-12321. https://doi.org/10.1609/aaai.v38i11.29122

Issue

Section

AAAI Technical Track on Machine Learning II