Thompson Sampling for Linearly Constrained Bandits

Vidit Saxena, Joseph E. Gonzalez, Joakim Jaldén
4/20/2020
cs.LGstat.ML

Official code: vidit-saxena/LinConTS (1 star, Jupyter Notebook, MIT, last commit 2020-02-27).

Abstract

We address multi-armed bandits (MAB) where the objective is to maximize the cumulative reward under a probabilistic linear constraint. For a few real-world instances of this problem, constrained extensions of the well-known Thompson Sampling (TS) heuristic have recently been proposed.

Show full abstract

However, finite-time analysis of constrained TS is challenging; as a result, only O(\sqrt{T}) bounds on the cumulative reward loss (i.e., the regret) are available. In this paper, we describe LinConTS, a TS-based algorithm for bandits that place a linear constraint on the probability of earning a reward in every round. We show that for LinConTS, the regret as well as the cumulative constraint violations are upper bounded by O(\log T) for the suboptimal arms. We develop a proof technique that relies on careful analysis of the dual problem and combine it with recent theoretical work on unconstrained TS. Through numerical experiments on two real-world datasets, we demonstrate that LinConTS outperforms an asymptotically optimal upper confidence bound (UCB) scheme in terms of simultaneously minimizing the regret and the violation.

View on arXivView PDF

Code Implementations(1)

MIT

Thompson Sampling for Linearly Constrained Bandits

10Jupyter NotebookOct 5, 20196 years agoMIT

Similar Papers

Cite this paper

@article{saxena2020thompson,
  title  = {Thompson Sampling for Linearly Constrained Bandits},
  author = {Vidit Saxena and Joseph E. Gonzalez and Joakim Jaldén},
  year   = {2020},
  eprint = {2004.09258},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.09258}
}

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

Discussion