Federated Bayesian Optimization via Thompson Sampling

Zhongxiang Dai, Kian Hsiang Low, Patrick Jaillet
10/20/2020
cs.LGcs.AI
bayesianfederated

Official code: daizhongxiang/Federated_Bayesian_Optimization (27 stars, Jupyter Notebook, last commit 2020-11-06).

Abstract

Bayesian optimization (BO) is a prominent approach to optimizing expensive-to-evaluate black-box functions. The massive computational capability of edge devices such as mobile phones, coupled with privacy concerns, has led to a surging interest in federated learning (FL) which focuses on collaborative training of deep neural networks (DNNs) via first-order optimization techniques.

Show full abstract

However, some common machine learning tasks such as hyperparameter tuning of DNNs lack access to gradients and thus require zeroth-order/black-box optimization. This hints at the possibility of extending BO to the FL setting (FBO) for agents to collaborate in these black-box optimization tasks. This paper presents federated Thompson sampling (FTS) which overcomes a number of key challenges of FBO and FL in a principled way: We (a) use random Fourier features to approximate the Gaussian process surrogate model used in BO, which naturally produces the parameters to be exchanged between agents, (b) design FTS based on Thompson sampling, which significantly reduces the number of parameters to be exchanged, and (c) provide a theoretical convergence guarantee that is robust against heterogeneous agents, which is a major challenge in FL and FBO. We empirically demonstrate the effectiveness of FTS in terms of communication efficiency, computational efficiency, and practical performance.

View on arXivView PDF

Code Implementations(1)

Code for the NeurIPS 2020 paper: "Federated Bayesian Optimization via Thompson Sampling"

275Jupyter Notebook, PythonOct 16, 20206 years ago
federated-bayesian-optimizationfederated-learning

Similar Papers

Cite this paper

@article{dai2020federated,
  title  = {Federated Bayesian Optimization via Thompson Sampling},
  author = {Zhongxiang Dai and Kian Hsiang Low and Patrick Jaillet},
  year   = {2020},
  eprint = {2010.10154},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.10154}
}

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/2010.10154.svg)](https://codeofpaper.com/paper/2010.10154)

Discussion