An Empirical Evaluation of Federated Contextual Bandit Algorithms

Alekh Agarwal, H. Brendan McMahan, Zheng Xu
3/17/2023
cs.LGcs.AI

No official code found. Best implementation: google-research/federated (764 stars, Apache-2.0, last commit 2026-03-25).

Abstract

As the adoption of federated learning increases for learning from sensitive data local to user devices, it is natural to ask if the learning can be done using implicit signals generated as users interact with the applications of interest, rather than requiring access to explicit labels which can be difficult to acquire in many tasks. We approach such problems with the framework of federated contextual bandits, and develop variants of prominent contextual bandit algorithms from the centralized seting for the federated setting. We carefully evaluate these algorithms in a range of scenarios simulated using publicly available datasets. Our simulations model typical setups encountered in the real-world, such as various misalignments between an initial pre-trained model and the subsequent user interactions due to non-stationarity in the data and/or heterogeneity across clients. Our experiments reveal the surprising effectiveness of the simple and commonly used softmax heuristic in balancing the well-know exploration-exploitation tradeoff across the breadth of our settings.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A collection of Google research projects related to Federated Learning and Federated Analytics.

764202Shell, PythonSep 14, 20207 months agoApache-2.0

Similar Papers

Cite this paper

@article{agarwal2023empirical,
  title  = {An Empirical Evaluation of Federated Contextual Bandit Algorithms},
  author = {Alekh Agarwal and H. Brendan McMahan and Zheng Xu},
  year   = {2023},
  eprint = {2303.10218},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.10218v1}
}

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

Discussion