FedBE: Making Bayesian Model Ensemble Applicable to Federated Learning

Hong-You Chen, Wei-Lun Chao
9/4/2020
367 citations
cs.LGstat.ML
bayesianfederated

Official code: hongyouc/FedBE (41 stars, Python, Apache-2.0, last commit 2023-05-09).

Abstract

Federated learning aims to collaboratively train a strong global model by accessing users' locally trained models but not their own data. A crucial step is therefore to aggregate local models into a global model, which has been shown challenging when users have non-i.i.d. data.

Show full abstract

In this paper, we propose a novel aggregation algorithm named FedBE, which takes a Bayesian inference perspective by sampling higher-quality global models and combining them via Bayesian model Ensemble, leading to much robust aggregation. We show that an effective model distribution can be constructed by simply fitting a Gaussian or Dirichlet distribution to the local models. Our empirical studies validate FedBE's superior performance, especially when users' data are not i.i.d. and when the neural networks go deeper. Moreover, FedBE is compatible with recent efforts in regularizing users' model training, making it an easily applicable module: you only need to replace the aggregation method but leave other parts of your federated learning algorithm intact. Our code is publicly available at https://github.com/hongyouc/FedBE.

View on arXivView PDF

Code Implementations(1)

hongyouc/FedBEOfficial100%
Apache-2.0

FedBE: Making Bayesian Model Ensemble Applicable to Federated Learning

4110Python, ShellSep 13, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2020fedbe,
  title  = {FedBE: Making Bayesian Model Ensemble Applicable to Federated Learning},
  author = {Hong-You Chen and Wei-Lun Chao},
  year   = {2020},
  eprint = {2009.01974},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.01974}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.01974.svg)](https://codeofpaper.com/paper/2009.01974)

Discussion