Linear Thompson Sampling Revisited.

Marc Abeille, Alessandro LazaricAISTATS 2017

Abstract

Thompson Sampling (TS) is a cornerstone of sequential decision-making, yet its frequentist analysis in linear bandit settings has historically relied on complex, non-intuitive proofs. This paper presents a novel geometric framework that derives the optimal $\tilde{O}(d^{3/2}\sqrt{T})$ regret bound. By reframing TS as a randomized algorithm that ensures a constant probability of optimism, the authors link regret directly to the gradient of the objective function. This approach simplifies the analysis and extends naturally to Generalized Linear Models (GLMs).

Introduction

The multi-armed bandit (MAB) framework encapsulates the exploration-exploitation trade-off. Thompson Sampling, originally a Bayesian heuristic, has gained prominence for its empirical performance and theoretical robustness in frequentist settings. However, existing frequentist regret bounds for linear bandits often involve technical hurdles, such as partitioning arms into "saturated" and "unsaturated" sets. This work seeks to demystify TS through a geometric lens, providing a cleaner proof that highlights the fundamental role of optimism in exploration.

Geometric Framework

The authors treat Thompson Sampling as a generic randomized extension of Regularized Least-Squares (RLS). Instead of sampling from a posterior, a parameter $\tilde{\theta}$ is drawn from a distribution $\mathcal{D}^{TS}$ centered at the RLS estimate $\widehat{\theta}_t$. For the algorithm to succeed, this distribution must satisfy two properties:

  1. Concentration: The sampled parameters must remain within a bounded ellipsoid to prevent excessive exploration.
  2. Anti-concentration: The distribution must be sufficiently spread out to ensure a constant probability of "optimism"—sampling a parameter that predicts a reward higher than the true optimal reward.
Geometric intuition for regret bounding in 1D (left) and 2D (right) parameter spaces.

To guarantee optimism, the TS distribution must "over-sample" the standard RLS confidence ellipsoid by a factor of $\sqrt{d}$. This geometric requirement explains the additional $\sqrt{d}$ factor in TS regret compared to deterministic Upper Confidence Bound (UCB) methods.

Regret Analysis via Gradients

The core insight of the paper is the relationship between regret and the gradient of the objective function $J(\theta)$, which represents the maximum expected reward for a given parameter. Since $J(\theta)$ is convex, the "true regret" can be bounded by the gradient evaluated at an optimistic parameter.

Bounding regret using the gradient cone and optimistic parameter sampling.

As shown in the figure, when the algorithm samples an optimistic parameter $\tilde{\theta}_t$ in the region $p$, the chosen action $x_t$ provides information that effectively reduces uncertainty along the direction of the gradient. This "useful" exploration ensures that even when the algorithm is not optimistic, the cumulative regret remains controlled. By leveraging support functions from convex geometry, the authors bypass the need for arm-specific classification, leading to a more elegant and generalizable proof.

Key Results and Extensions

The geometric proof recovers the state-of-the-art frequentist regret bound of $\tilde{O}(d^{3/2}\sqrt{T})$ for linear bandits. More importantly, the generality of the gradient-based approach allows for significant extensions:

  • Generalized Linear Models (GLMs): The authors provide the first frequentist regret bound for TS in GLMs, a significant step forward for non-linear reward structures.
  • Regularized Optimization: The framework applies to broader classes of regularized linear optimization problems.

Conclusion

This work provides a new, intuitive foundation for understanding Thompson Sampling. By showing that any randomized algorithm with sufficient optimism can achieve near-optimal regret, the authors move beyond strict Bayesian interpretations. Future work remains to determine if the $\sqrt{d}$ over-sampling requirement can be relaxed and how this geometric framework might apply to more complex settings like reinforcement learning.

Summary updated

BibTeX
@inproceedings{abeille2017linear,
  author = {Marc Abeille and Alessandro Lazaric},
  title = {{Linear Thompson Sampling Revisited.}},
  booktitle = {AISTATS},
  year = {2017},
  url = {https://openreview.net/forum?id=xI0qB5ge6EC},
}
Figure