A Contextual Bandit Bake-off

Alberto Bietti, Alekh Agarwal, John Langford
2/12/2018
stat.MLcs.LG

Official code: abietti/cb_bakeoff (47 stars, Python, last commit 2020-04-27).

Abstract

Contextual bandit algorithms are essential for solving many real-world interactive machine learning problems. Despite multiple recent successes on statistically and computationally efficient methods, the practical behavior of these algorithms is still poorly understood.

Show full abstract

We leverage the availability of large numbers of supervised learning datasets to empirically evaluate contextual bandit algorithms, focusing on practical methods that learn by relying on optimization oracles from supervised learning. We find that a recent method (Foster et al., 2018) using optimism under uncertainty works the best overall. A surprisingly close second is a simple greedy baseline that only explores implicitly through the diversity of contexts, followed by a variant of Online Cover (Agarwal et al., 2014) which tends to be more conservative but robust to problem specification by design. Along the way, we also evaluate various components of contextual bandit algorithm design such as loss estimators. Overall, this is a thorough study and review of contextual bandit methodology.

View on arXivView PDF

Code Implementations(1)

abietti/cb_bakeoffOfficial100%

scripts for evaluation of contextual bandit algorithms

478PythonMar 17, 20186 years ago

Similar Papers

Cite this paper

@article{bietti2018contextual,
  title  = {A Contextual Bandit Bake-off},
  author = {Alberto Bietti and Alekh Agarwal and John Langford},
  year   = {2018},
  eprint = {1802.04064},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.04064}
}

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

Discussion