arXiv:2610.19513stat.MLOct 2026

Manuscript Offprint

arXiv:2610.19513

High-Probability Regret Bounds for Feel-Good Thompson Sampling

Xuheng Li, Qingyue Zhao, Quanquan Gu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Feel-good Thompson sampling (FGTS) augments the posterior of vanilla Thompson sampling with an exploration term that favors reward functions with high predicted optimal values. This modification achieves minimax-optimal regret up to logarithmic factors in linear contextual bandits, but existing analyses of its two standard variants establish regret guarantees in expectation. In this paper, we derive the first high-probability regret bounds for both cumulative and current-step FGTS in contextual bandits with general realizable function approximation. Our bounds depend on the corresponding decoupling coefficients and the prior mass near the true reward function. In the dd-dimensional linear setting, both variants satisfy Regret(T)=O(dTlog⁡(2T)+Tlog⁡(1/δ))\text{Regret}(T) = O\big(d\sqrt{T}\log(2T) + \sqrt{T}\log(1/\delta)\big) with probability at least 1−δ1 - \delta, where TT is the time horizon. This bound matches the dimension and horizon dependence of algorithms based on the upper confidence bounds, up to logarithmic factors. Relative to the expected-regret guarantees, the cost of controlling the regret with high probability is confined to additive terms with at most linear dependence on log⁡(1/δ)\log(1/\delta). The proof ideas are partially developed by GPT-6 Astra under the authors' guidance.

1 Introduction

Contextual bandits model sequential decision making in which a learner observes a context, selects an action, and receives feedback only for that action. Function approximation allows information from observed context–action pairs to inform decisions elsewhere, making learning possible even with large or infinite context and action spaces. Two widely studied approaches to exploration are algorithms based on upper confidence bounds (UCB) and Thompson sampling (TS). UCB-based algorithms choose actions optimistically using confidence sets, while TS samples a reward function and acts greedily according to that sample.

Despite its empirical success (Chapelle and Li, 2011), vanilla TS can explore too slowly when the posterior assigns little mass to functions that recognize the value of an unobserved action. Feel-good Thompson sampling (FGTS) addresses this difficulty by adding an exploration term to the posterior that favors functions with high predicted optimal rewards (Zhang, 2022). This modification achieves O~(dT)\widetilde{O}(d\sqrt{T}) expected regret in d-dimensional linear contextual bandits, matching

*Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: xuheng.li@cs.ucla.edu

†^{\dagger}Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: zhaoqy24@cs.ucla.edu

‡^{\ddagger}Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: qgu@cs.ucla.edu the minimax rate up to logarithmic factors. There are two standard forms of feel-good exploration: cumulative exploration rewards optimism across past contexts, whereas current-step exploration rewards optimism at the current context (Dann et al., 2021; Li and Gu, 2025). Both combine this preference with a likelihood term that measures agreement with past observations.

Existing regret guarantees for these FGTS variants are established in expectation. An expected-regret bound describes average performance over the learner's randomization and the reward noise, but does not by itself rule out substantially larger regret on individual runs. A high-probability guarantee quantifies this risk through a prescribed failure probability δ\delta. Applying Markov's inequality directly to expected regret gives a bound proportional to 1/δ1/\delta, which can be much larger than the logarithmic confidence penalties in UCB analyses. This motivates the following question:

Is it possible to establish high-probability regret upper bounds for feel-good Thompson sampling in contextual bandits with general function approximation?

The main challenge is that the confidence-set argument used for UCB-based algorithms does not directly transfer to FGTS. In UCB analyses, one constructs a confidence set containing the true reward function with high probability. Optimistic action selection then bounds each round's regret by the uncertainty within that set, and the analysis controls the accumulated uncertainty (Abbasi-Yadkori et al., 2011; Russo and Van Roy, 2013). FGTS instead samples from a posterior whose shape depends on the prior, the observation history, and the feel-good term. Even with linear rewards, the maximum over actions in this term generally destroys a Gaussian posterior form. For a general function class, characterizing the resulting distribution and its random normalizing constant is more difficult still. Moreover, a confidence set containing the truth does not ensure that a posterior draw belongs to that set or is optimistic. Existing high-probability analyses of linear TS exploit specific concentration and optimism properties of the sampling distribution (Agrawal and Goyal, 2013; Abeille and Lazaric, 2017); establishing analogous properties for the FGTS posterior is not immediate.

Our approach uses a simple but effective application of Markov’s inequality to exponential quantities arising from the posterior. Specifically, if a suitably normalized random quantity U satisfies E[exp⁡(U)]≤1\mathbb{E}[\exp(U)] \leq 1, then

P(U>log⁡(1/δ))≤δ.\mathbb{P}\big(U>\log(1/\delta)\big)\leq\delta.

The substantive step is to establish such exponential estimates for the losses that remain after decoupling, while accounting for the dependence of posterior samples on past observations. This yields logarithmic confidence penalties without requiring an explicit description of a confidence region for posterior draws. The prior mass near the true reward function controls the normalizing terms that enter these estimates.

The two exploration schemes require different exponential estimates. For cumulative exploration, decoupling first produces conditional posterior averages; a multiplicative bound on successive normalizers controls their sum through a telescoping argument. For current-step exploration, decoupling holds along each realized sequence, and we control an exponential loss evaluated at the sampled function. Here the numerator and denominator of the posterior share the same past reward noise, so their ratio must be handled jointly before taking expectations. Markov's inequality then converts these estimates into high-probability regret bounds for both variants. Section 5 explains the two exponential arguments and how they strengthen the corresponding expected-regret analyses.

We establish general bounds in terms of the corresponding decoupling coefficients and the prior mass in a neighborhood of the true reward function. In the linear setting, under suitable prior coverage and parameter tuning, both variants satisfy, with probability at least 1−δ1 - \delta,

Regret(T)=O(dTlog⁡(2T)+Tlog⁡(1/δ)).\mathrm{Regret}(T)=O\big(d\sqrt{T}\log(2T)+\sqrt{T}\log(1/\delta)\big).

Thus FGTS retains the dimension and horizon dependence of its expected-regret guarantees, up to logarithmic factors, with an additive confidence penalty that is at most linear in log⁡(1/δ)\log(1/\delta).