[Paper Review] Thompson Sampling: An Asymptotically Optimal Finite Time Analysis
This paper proves that Thompson Sampling is asymptotically optimal for stochastic multi-armed bandits with Bernoulli rewards by providing the first finite-time regret bound that matches the Lai and Robbins lower bound. The analysis establishes that Thompson Sampling achieves the optimal logarithmic growth rate of regret, confirmed through numerical experiments showing superior performance over UCB, KL-UCB, and Bayes-UCB.
The question of the optimality of Thompson Sampling for solving the stochastic multi-armed bandit problem had been open since 1933. In this paper we answer it positively for the case of Bernoulli rewards by providing the first finite-time analysis that matches the asymptotic rate given in the Lai and Robbins lower bound for the cumulative regret. The proof is accompanied by a numerical comparison with other optimal policies, experiments that have been lacking in the literature until now for the Bernoulli case.
Motivation & Objective
- To resolve the long-standing open question of whether Thompson Sampling is asymptotically optimal for Bernoulli bandits.
- To provide a finite-time regret analysis for Thompson Sampling that matches the asymptotic lower bound established by Lai and Robbins.
- To empirically validate Thompson Sampling’s performance against other optimal policies, including KL-UCB and Bayes-UCB, in finite-horizon settings.
- To demonstrate that Thompson Sampling achieves the optimal regret rate without requiring complex confidence bounds or quantile computations.
Proposed method
- The authors derive a finite-time upper bound on the expected number of draws of suboptimal arms using concentration inequalities and posterior tail probability control.
- They introduce a novel analysis technique that controls the tail behavior of the number of draws of suboptimal arms, enabling tighter regret bounds.
- The proof leverages properties of Beta-Bernoulli conjugate priors and uses a deviation analysis between Thompson samples and posterior quantiles.
- The analysis draws on concepts from Agrawal and Goyal’s work on saturated arms but extends them to control tail probabilities rather than just expectations.
- The method includes a comparison with Bayes-UCB indices to bound the deviation of Thompson samples from posterior quantiles.
- Numerical experiments use Monte Carlo simulations over 20,000–50,000 trials to compare cumulative regret across policies at finite horizons.
Experimental results
Research questions
- RQ1Is Thompson Sampling asymptotically optimal for Bernoulli bandits, as defined by matching the Lai and Robbins lower bound on regret?
- RQ2Can a finite-time regret analysis be established for Thompson Sampling that achieves the optimal logarithmic growth rate?
- RQ3How does Thompson Sampling compare in practice to other optimal policies like KL-UCB and Bayes-UCB in terms of cumulative regret?
- RQ4What is the role of posterior tail control in achieving asymptotic optimality in Thompson Sampling?
Key findings
- Thompson Sampling achieves the optimal asymptotic regret rate, matching the Lai and Robbins lower bound, with a finite-time regret bound of the form (1+ε)∑(Δa/K(μa,μ*))lnT + o(lnT).
- The finite-time regret bound is tighter than previous results for Thompson Sampling, which only achieved bounds scaling as 1/Δa²lnT.
- Numerical experiments show Thompson Sampling outperforms KL-UCB and Bayes-UCB in cumulative regret for large horizons, especially in problems with small gaps between arm means.
- Thompson Sampling is the easiest optimal policy to implement, requiring only one posterior sample per arm per round, unlike KL-UCB and Bayes-UCB which require solving optimization or quantile problems.
- The algorithm’s performance is robust across different reward magnitudes and arm gaps, with consistent superiority in the 10-armed bandit setting with varying μ values.
- The proof technique, which controls tail probabilities of suboptimal arm draws, enables a simpler and more direct finite-time analysis comparable to UCB-style methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.