Thompson Sampling Is 2-Competitive for Mistakes

Mark Sellke, Gregory Valiant
7/14/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

We consider Bayesian bandit models and prove that Thompson sampling makes at most twice the expected number of mistakes (selections of a suboptimal arm) as any other policy. Our analysis applies as long as the latent arm processes are independent and each arm evolves only when played. For stochastic bandits with best arm defined via mean reward, this confirms a conjecture of Guha and Munagala from 2014, where the factor $2$ is already best possible. The result holds under any nonincreasing sequence of round weights, including fixed horizon and geometric discounting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sellke2026thompson,
  title  = {Thompson Sampling Is 2-Competitive for Mistakes},
  author = {Mark Sellke and Gregory Valiant},
  year   = {2026},
  eprint = {2607.12389},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.12389v1}
}

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

Discussion