AI & Computational Science

Thompson Sampling Is 2-Competitive for Mistakes

AI Insight

This study proves that Thompson sampling, a popular algorithm for multi-armed bandit problems, makes at most twice the expected number of mistakes compared to any other policy when selecting actions. The analysis applies to Bayesian bandit models where arm processes are independent and arms only evolve when selected. This confirms a decade-old conjecture and demonstrates that the factor of 2 is the tightest possible bound for competitive performance.


This theoretical result provides strong guarantees for Thompson sampling in applications like clinical trials, online advertising, and recommendation systems where minimizing incorrect decisions is critical. The proof establishes Thompson sampling as provably efficient with a concrete performance guarantee that can guide its deployment in real-world decision-making systems.


Understand the Science

Bayesian inference Concept coming soon Multi-armed bandit Concept coming soon Thompson sampling Concept coming soon

arXiv:2607.12389v1 Announce Type: cross
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.

Source: Thompson Sampling Is 2-Competitive for Mistakes