[Paper Review] Generalized Thompson Sampling for Contextual Bandits
This paper introduces Generalized Thompson Sampling (GTS), a novel family of contextual bandit algorithms that unify Thompson Sampling within the expert-learning framework using customizable loss functions. By leveraging self-boundedness of loss functions—particularly square and logarithmic losses—it derives regret bounds that explicitly quantify the impact of prior distributions on learning performance, offering a theoretically grounded, flexible alternative to existing methods.
Thompson Sampling, one of the oldest heuristics for solving multi-armed bandits, has recently been shown to demonstrate state-of-the-art performance. The empirical success has led to great interests in theoretical understanding of this heuristic. In this paper, we approach this problem in a way very different from existing efforts. In particular, motivated by the connection between Thompson Sampling and exponentiated updates, we propose a new family of algorithms called Generalized Thompson Sampling in the expert-learning framework, which includes Thompson Sampling as a special case. Similar to most expert-learning algorithms, Generalized Thompson Sampling uses a loss function to adjust the experts' weights. General regret bounds are derived, which are also instantiated to two important loss functions: square loss and logarithmic loss. In contrast to existing bounds, our results apply to quite general contextual bandits. More importantly, they quantify the effect of the "prior" distribution on the regret bounds.
Motivation & Objective
- To address the lack of theoretical regret bounds that explicitly quantify the role of prior distributions in Thompson Sampling for general contextual bandits.
- To develop a unified framework that generalizes Thompson Sampling beyond parametric assumptions, using the expert-learning paradigm.
- To derive regret bounds applicable to nonlinear and general contextual bandit settings, without relying on strong assumptions about prior correctness or likelihood distributions.
- To establish a connection between Thompson Sampling and exponentiated update rules through loss functions, enabling broader theoretical analysis.
Proposed method
- Proposes Generalized Thompson Sampling (GTS) as a family of algorithms in the expert-learning framework, where each expert represents a contextual policy for arm selection.
- Uses a loss function to update expert weights based on prediction accuracy of expected rewards, with Thompson Sampling as a special case when logarithmic loss is used.
- Applies a novel self-boundedness property of loss functions to derive regret bounds, with rigorous analysis for square and logarithmic losses.
- Derives problem-dependent regret bounds that explicitly incorporate the influence of the prior distribution on learning performance.
- Employs a competitive analysis technique relying on moment bounds of loss random variables, with a key lemma proving self-boundedness of logarithmic loss.
- Extends the framework to continuous expert classes via covering arguments, suggesting applicability beyond finite expert sets.
Experimental results
Research questions
- RQ1How can Thompson Sampling be generalized to provide theoretical regret bounds in general contextual bandit settings beyond parametric models?
- RQ2What is the quantitative impact of the prior distribution on regret in contextual bandit learning, and how can it be formally captured in bounds?
- RQ3Can a unified framework be developed that connects Thompson Sampling to expert-learning algorithms using loss-based expert weighting?
- RQ4What properties of loss functions enable tight regret analysis in online learning and contextual bandits, and how can they be formally characterized?
Key findings
- Generalized Thompson Sampling achieves a regret bound of order $ O(T^{2/3}) $, which is the first such bound for a general class of contextual bandits that explicitly quantifies the effect of the prior distribution.
- The self-boundedness property of the logarithmic loss is proven for the first time in this work, with the ratio of variance to mean of the shifted loss bounded by a constant independent of the true and predicted probabilities.
- For the logarithmic loss, the analysis shows that $ M_2 / M_1 = O(1) $, where $ M_1 $ and $ M_2 $ are the first and second moments of the loss, under bounded log-ratios.
- The regret bound depends on the prior distribution through the prior over experts, and the analysis combines benefits of Bayesian priors and frequentist robustness, similar to PAC-Bayes bounds.
- The framework generalizes Thompson Sampling beyond the standard Bayesian update, allowing the use of arbitrary loss functions to guide expert weight updates.
- The method is computationally more efficient than related algorithms like Regressor Elimination, which require expensive balanced distribution computation.
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.