Lune

ICML2026Top-tier venue

What Does Thompson Sampling Optimize?

Yanlin Qu, Hongseok Namkoong, Assaf Zeevi

Abstract

Thompson Sampling is one of the most widely used and studied bandit algorithms, known for its simple structure, low regret performance, and solid theoretical guarantees. Yet, in stark contrast to most other families of bandit algorithms, the exact mechanism through which posterior sampling (as introduced by Thompson) is able to "properly" balance exploration and exploitation, remains a mystery. In this paper, we show that the core insight to address this question stems from recasting Thompson Sampling as an online optimization algorithm. To distill this, we introduce a time invariant notion of regret that summarizes cumulative regret across horizons (through a regret bound), leading to a time invariant Bellman-optimal policy. It turns out that Thompson Sampling admits an online optimization form that mimics the structure of the Bellman-optimal policy, where greediness is regularized by a measure of residual uncertainty. When viewed through this new lens of online optimization, Thompson Sampling can be understood and improved in a principled manner, by comparing it against the Bellman-optimal benchmark.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. MOTS: Minimax Optimal Thompson SamplingTianyuan Jin, Pan Xu, Jieming Shi, Xiaokui Xiao et al.ICML 2021 · 37 citations
  2. A Provably Efficient Model-Free Posterior Sampling Method for Episodic Reinforcement LearningChristoph Dann, Mehryar Mohri, Tong Zhang, Julian ZimmertNeurIPS 2021 · 43 citations
  3. Batched Thompson SamplingCem Kalkanli, Ayfer ÖzgürNeurIPS 2021 · 29 citations
  4. Thompson Sampling with Less Exploration is Fast and OptimalTianyuan Jin, Xianglin Yang, Xiaokui Xiao, Pan XuICML 2023 · 23 citations
  5. Variational Bayesian Optimistic SamplingBrendan O'Donoghue, Tor LattimoreNeurIPS 2021 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines