Both FGTS variants get high-probability regret O(d√T log(2T) + √T log(1/δ))

High-Probability Regret Bounds for Feel-Good Thompson Sampling

Xuheng Li, Qingyue Zhao, Quanquan Gu

stat.ML, cs.IT, cs.LG

2026-10-14

Both FGTS variants obtain the first high-probability regret bounds for realizable contextual bandits: O(d√T log(2T)+√T log(1/δ)) with probability at least 1−δ.

What problem this solves

In a contextual bandit the learner sees a context and an action set, then observes a reward only for the chosen action. Thompson sampling draws a reward function from the posterior and acts greedily on that draw. If the posterior puts almost no mass on functions that rate an unseen action highly, exploration stalls. Even with linear rewards, expected regret can then be suboptimal.

Feel-good Thompson sampling (FGTS) adds a term to the posterior exponent that favors functions with a high predicted optimal value. Zhang (2022) showed that this brings expected regret to Õ(d√T) in linear contextual bandits, the minimax rate up to logs. Two forms are standard. Cumulative exploration (Type A) adds the maximum predicted reward from every past round. Current-step exploration (Type B) pays that bonus only at the context in hand. Both had been analyzed only in expectation. An expectation averages over the algorithm's randomness and the reward noise, so one run can be much worse. Markov's inequality applied directly to expected regret inflates the bound by 1/δ. UCB analyses pay only log(1/δ). The confidence-set argument does not transfer: the max over actions breaks the Gaussian posterior even in the linear case, and a posterior draw need not land in a set that contains the truth.

Method

Both posteriors multiply a prior, a squared loss on past observations, and a feel-good term. Squared loss scores a function only on actions already taken, so two functions that agree on popular actions and disagree on a cold one are hard to separate by the likelihood. The feel-good term is λ times the function's maximum on the action set. It upweights functions that rate some action higher. The greedy rule then tests that prediction, and a wrong guess is penalized by the squared loss.

Exploration complexity is a decoupling coefficient, with no explicit dependence on the number of actions. For Type A, dc is a one-step inequality in expectation. The sampled function and the action it selects are tied together; their coupled error is at most dc/(4γ) plus γ times the squared error under independent draws from the same marginals. For linear rewards with features in the unit ball, dc ≤ d, the rank of the design matrix. For Type B, dcT holds on every realized sequence of functions: a new error is controlled by that same function's squared errors on the history. An elliptical-potential argument gives dcT = O(d log(2T)). The extra log is accumulated leverage scores.

The high-probability step is Markov's inequality on an exponential moment. If E[exp(U)] ≤ 1, then P(U > log(1/δ)) ≤ δ. Type A decouples given the history, then uses Azuma-Hoeffding to separate conditional expected regret from realized regret, a gap of order √(T log(1/δ)). Conditional posterior averages are controlled by a product of normalizers, each factor at most exp(−λ bt + 4λ²), which telescopes. Type B's decoupling is already pathwise, so the loss sits on the sampled ft. Numerator and denominator share the same past noise. The normalizer is restricted to a uniform neighborhood Fh of the truth, the ratio is handled by a variational representation, and a negative squared-loss term absorbs the sub-Gaussian noise. The radius is h = 1/T, so the summed approximation error stays constant.

Prior mass on that neighborhood sets the log terms. A uniform prior on the unit ball satisfies log(1/p0(F{1/T})) ≤ d log(2T). Tuning uses this upper bound: η = 0.2 for Type A, and η = 0.5 with λ ≥ 1/4 for Type B.

Results

With linear rewards, a uniform prior, and this tuning, both variants obey Regret(T) = O(d√T log(2T) + √T log(1/δ)) with probability at least 1−δ. The theorems are sharper.

SettingHigh-probability boundProbability
Type A, general classLeading term 2√(5T·dc·log(1/p0)), plus additives of order √(T log(1/δ)) and lower≥ 1−3δ
Type A, linearO(d√T log(2T) + √T log(3/δ) + √(log(3/δ)·log(2T)))≥ 1−δ
Type B, general class≤ 2√(T·dcT·log(1/p0)) + 3 + √(T·dcT·log(T/δ) / log(1/p0))≥ 1−δ
Type B, linearO(d√T log(2T) + √T log(T/δ))≥ 1−δ

Dimension enters twice: once through decoupling, once through prior coverage d log(2T). Against the expected-regret guarantee in Zhang (2022) and against OFUL's Õ(d√T) high-probability bound, the dependence on d and √T matches, up to logs. Relative to expectation, a high-probability statement adds a term at most linear in log(1/δ). A direct Markov application on expected regret would have cost 1/δ. Type B carries log(T/δ) because of a union bound over T rounds. There is no experiment, and no constant-factor comparison with OFUL or with linear Thompson sampling.

Why it matters

Expected regret describes the average run. A high-probability bound is what says whether a single run can be much worse. On linear contextual bandits, FGTS now sits in the same Õ(d√T) range as confidence-bound methods. Under general realizable function approximation, the decoupling coefficient measures exploration, and prior mass near the truth measures the statistical term. The tail is handled by exponential moments, so the argument never builds a confidence set for posterior draws.

The algorithms are the existing FGTS variants. The theoretical λ depends on upper bounds for dc and for the prior mass. In the linear case those bounds are the deterministic quantities d and d log(2T).

Part of the proof idea was produced by GPT-6 Astra under the authors' guidance, originally under stronger assumptions. The authors simplified and reorganized the argument, checked the details, and take responsibility for the paper.

Limitations

The class must be realizable, with f in F. Rewards lie in [-1, 1]. Noise is sub-Gaussian, with log moment generating function at most λ²/8. Misspecification, heteroscedastic noise, and nonstationarity are outside the analysis. High-probability guarantees for reinforcement learning, and for bounds that shrink with the noise variance, are left open.

The bound tracks the prior. When log(1/p0(F{1/T})) is much larger than d log(2T), the prior term dominates decoupling. The linear corollary uses a uniform prior on the unit ball, or any prior that assigns mass at least (c h)^d to a ball of radius h. A very peaked prior does not automatically give O(d log T).

The failure probability is not written the same way throughout. The general Type A theorem holds with probability 1−3δ, and the linear corollary rescales that to 1−δ. Type B pays log(T/δ) through a union bound. The single big O in the abstract absorbs both differences. The comparison with OFUL matches dimension and horizon only. Leading constants are not compared.

The choices η = 0.2 and η = 0.5 are sufficient conditions that let the negative squared-loss term dominate the noise. No simulation shows how loose they are at moderate T. For a nonlinear class the decoupling coefficient still has to be proved finite, or the bound is empty.

Terms

Source

What people are saying

Related papers

All paper explainers