betaFeedback

WorksMathematics

High-Probability Regret Bounds for Feel-Good Thompson Sampling

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/δ))\mathrm{Regret}(T)=O\big(d\sqrt T\log(2T)+\sqrt T\log(1/δ)\big) with probability at least 1−δ1-δ, 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/δ). The proof ideas are partially developed by GPT-6 Astra under the authors' guidance.

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 [6], 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 [16]. This modification achieves O~(dT)\widetilde{O}(d\sqrt{T}) expected regret in dd-dimensional linear contextual bandits, matching 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 ([8, 13]). 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 ([1, 15]). 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 ([4, 2]); 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 UU satisfies E[exp⁡(U)]≤1\mathbb{E}[\exp(U)] \le1, then

P(U>log⁡(1/δ))≤δ.\mathbb{P}\left(U > \log(1/\delta)\right) \le\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. § 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/δ)).\operatorname{Regret}(T)=O\left(d\sqrt{T}\log(2T)+\sqrt{T}\log(1/\delta)\right).

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).

Related Work

Feel-Good Thompson sampling (FGTS). Zhang [16] introduced FGTS to address insufficient exploration by vanilla Thompson sampling in the frequentist setting. By favoring functions with high predicted optimal rewards, FGTS achieves O~(dT)\widetilde{O}(d\sqrt{T}) expected regret in linear contextual bandits. Its analysis introduces a decoupling coefficient that reduces the exploration problem to controlling squared prediction errors under independent draws of functions and actions. Fan and Gu [9] developed a unified FGTS framework for variants of linear bandits, including misspecified, nonstationary, and lifelong settings. The feel-good principle has also been extended to reinforcement learning: Dann et al. [8] proposed a model-free posterior sampling method with a current-episode optimism term and an online decoupling coefficient, while Agarwal and Zhang [3] developed model-based optimistic posterior sampling using likelihood-based model estimation. For contextual dueling bandits, Li et al. (2024) designed a feel-good term suited to pairwise feedback and established nearly minimax-optimal expected regret in the linear setting. More recently, Li and Gu [13] distinguished cumulative and current-step feel-good exploration and developed a variance-aware algorithm based on the latter, obtaining expected-regret bounds that adapt to heterogeneous noise levels under general function approximation.

The existing regret analyses of these two FGTS variants focus on expectation over the algorithm’s randomization and reward observations. Our work establishes high-probability guarantees for both variants through exponential estimates adapted to their posterior structures, retaining the dimension and horizon dependence of their expected-regret guarantees up to logarithmic factors.

High-probability guarantees for linear contextual bandits. Confidence-based exploration has a long history in linear contextual bandits [5, 7, 1]. Abbasi-Yadkori et al. [1] developed self-normalized concentration inequalities for least-squares estimation and used the resulting confidence ellipsoids to analyze OFUL. Its high-probability regret bound scales as O~(dT)\widetilde{O}(d\sqrt{T}) and accommodates changing, potentially infinite action sets. For a finite set of KK actions per round, Chu et al. [7] established an O(dTlog⁡3(KTlog⁡(T)/δ))O\left(\sqrt{dT\log^{3}(KT\log(T)/\delta)}\right) high-probability bound for SupLinUCB. The dependence on the finite action count distinguishes this guarantee from action-count-independent linear bandit bounds. These analyses maintain a confidence event containing the true parameter and bound regret by accumulated confidence widths. Our linear FGTS guarantees match OFUL’s dimension and horizon dependence up to logarithmic factors, although the precise dependence on δ\delta differs. High-probability guarantees also exist for linear TS with appropriately designed sampling distributions [4, 2]; these results do not directly characterize the posterior tilted by a feel-good term.

High-probability guarantees under general function approximation. For nonlinear reward classes, confidence-based methods require complexity measures that describe how observations constrain predictions at unvisited context–action pairs. Russo and Van Roy [15] introduced the eluder dimension and developed least-squares confidence sets whose accumulated widths can be controlled by this dimension and covering numbers. Their confidence-set containment and width bounds provide a route to high-probability guarantees for optimistic exploration beyond linear models. Foster et al. [10] developed regression-oracle implementations of elimination and optimistic exploration, with guarantees under additional distributional conditions. A complementary approach is SquareCB (Foster and Rakhlin [11]), which obtains high-probability regret bounds for realizable contextual bandits with finitely many actions by reducing the problem to online regression and explicitly randomizing action selection. SquareCB does not rely on UCB action selection or posterior sampling. Our results address the posterior-sampling approach under general function approximation: decoupling controls exploration complexity, prior coverage controls statistical complexity, and exponential estimates control the regret with high probability.

Preliminaries

Contextual Bandits

We consider the contextual bandits setting (Langford and Zhang [12]). Let X\mathcal{X} be the context set, A\mathcal{A} be the action set, and T≥1T \ge1 be the total number of rounds. We write [T]={1,…,T}[T] = \{1, \ldots, T\}. In round t∈[T]t \in[T], the learner receives a context xt∈Xx_t \in\mathcal{X} and a feasible action set At⊆A\mathcal{A}_t \subseteq\mathcal{A}. The learner then selects an action at∈Ata_t \in\mathcal{A}_t and receives the randomized reward

rt=f∗(xt,at)+ϵtr_t = f_*(x_t, a_t) + \epsilon_t

where f∗:X×A→[−1,1]f_* : \mathcal{X} \times\mathcal{A} \to[-1,1] is the ground truth reward function, and ϵt\epsilon_t is the zero-mean noise. The goal is to minimize the regret

Regret⁡(T)=∑t=1T[f∗(xt,at∗)−f∗(xt,at)]\operatorname{Regret}(T) = \sum_{t=1}^{T}[f_*(x_t, a_t^*) - f_*(x_t, a_t)]

where at∗∈arg⁡max⁡a∈Atf∗(xt,a)a_t^* \in\arg\max_{a \in\mathcal{A}_t} f_*(x_t, a).

Subgaussian noise. Let F0\mathcal{F}_0 be the initial information and define

Gt=σ(Ft−1,xt,At,ft,at),Ft=σ(Gt,rt).\mathcal{G}_t = \sigma(\mathcal{F}_{t-1}, x_t, \mathcal{A}_t, f_t, a_t), \qquad\mathcal{F}_t = \sigma(\mathcal{G}_t, r_t).

Here ftf_t is the function sampled by the learner, as specified below. Thus Gt\mathcal{G}_t is the information available after action selection and before observing rtr_t. Following previous works on feel-good Thompson sampling (FGTS), we use the following normalization of subgaussian noise.

Assumption 3.1. For any t∈[T]t \in[T] and λ∈R\lambda\in\mathbb{R}, the noise ϵt\epsilon_t satisfies

log⁡E[exp⁡(λϵt)∣Gt]≤λ2/8almost surely.\log\mathbb{E}[\exp(\lambda\epsilon_t)\mid\mathcal{G}_t] \le\lambda^2/8 \quad\text{almost surely}.

Reward function class. The learner estimates the reward function using a class F⊆{f:X×A→[−1,1]}\mathcal{F} \subseteq\{f : \mathcal{X} \times\mathcal{A} \to[-1,1]\}. We assume that the function class is realizable, i.e., f∗∈Ff_* \in\mathcal{F}. We consider the linear function class as an example, defined as Flin={fθ:θ∈Θ}\mathcal{F}_{\mathrm{lin}} = \{f_\theta: \theta\in\Theta\} where Θ⊂B(0,1)\Theta\subset B(0,1), fθ(x,a)=⟨θ,ϕ(x,a)⟩f_\theta(x,a) = \langle\theta, \phi(x,a)\rangle. Here B(0,1)={v∈Rd:∥v∥2≤1}B(0,1) = \{v \in\mathbb{R}^d : \lVert v\rVert_2 \le1\}, d≥1d \ge1, θ\theta is the model parameter, and ϕ:X×A→B(0,1)\phi: \mathcal{X} \times\mathcal{A} \to B(0,1) is a feature mapping.

Feel-Good Thompson Sampling

In vanilla Thompson sampling, the agent draws samples of the estimated reward function ft∈Ff_t \in\mathcal{F} from the posterior distribution ptp_t:

pt(f)∝p0(f)⋅exp⁡(−η∑s=1t−1(rs−f(xs,as))2).p_t(f) \propto p_0(f) \cdot\exp\left(-\eta\sum_{s=1}^{t-1}(r_s-f(x_s,a_s))^2\right).

where p0p_0 is a fixed prior distribution, and η>0\eta> 0 is a tunable hyperparameter. After drawing ftf_t, the learner chooses

at∈argmax⁡a∈Atft(xt,a).a_t \in\mathop{\operatorname{argmax}}_{a\in\mathcal{A}_t} f_t(x_t,a).

We assume that the displayed maxima are attained and use fixed measurable tie-breaking rules. The posterior formulas describe the conditional law of ftf_t given Ft−1,xt,At\mathcal{F}_{t-1},x_t,\mathcal{A}_t; densities are taken with respect to a common dominating measure. However, vanilla Thompson sampling can suffer suboptimal regret even for linear reward functions [16]. Feel-good Thompson sampling addresses this limitation by adding an exploration term to the exponent of the posterior density, of the form

λmax⁡a∈Atf(xt,a),\lambda\max_{a\in\mathcal{A}_t}f(x_t,a),

where λ>0\lambda> 0 is a tunable hyperparameter.

The intuition is to favor plausible reward functions that predict a high achievable reward. The squared-loss term evaluates a function only on the actions that have been selected. Consequently, functions that agree on frequently selected actions but disagree on an unexplored action can remain indistinguishable from the observed rewards. If most posterior mass underestimates that unexplored action, vanilla Thompson sampling may select it too rarely to correct this pessimism. Feel-good exploration increases the relative weight of functions under which an action offers a higher reward, encouraging the learner to test these optimistic predictions [16]. When such a function is sampled, the greedy action rule directs the learner toward its predicted best action. Subsequent observations can then penalize inaccurate predictions through the squared-loss term. Thus the posterior balances agreement with the data against the prospect of a larger reward, with λ\lambda controlling the strength of the latter preference. This bias promotes exploration while retaining random sampling over reward functions; it does not require every sampled function to be optimistic.

Li and Gu [13] identified two types of feel-good exploration terms:

  • Type A: Cumulative feel-good exploration [16, 3], which is the sum of max⁡a∈Asf(xs,a)\max_{a\in\mathcal{A}_s} f(x_s,a) in all previous steps:

ptA(f)∝p0(f)⋅exp⁡(∑s=1t−1[−η(rs−f(xs,as))2+λmax⁡a∈Asf(xs,a)]).p_t^A(f) \propto p_0(f)\cdot\exp\left(\sum_{s=1}^{t-1}\left[-\eta(r_s-f(x_s,a_s))^2+\lambda\max_{a\in\mathcal{A}_s}f(x_s,a)\right]\right).
  • Type B: Current-step feel-good exploration [8], which only contains max⁡a∈Atf(xt,a)\max_{a\in\mathcal{A}_t} f(x_t,a) for the current step:

ptB(f)∝p0(f)⋅exp⁡(−η∑s=1t−1(rs−f(xs,as))2+λmax⁡a∈Atf(xt,a)).p_t^B(f) \propto p_0(f)\cdot\exp\left(-\eta\sum_{s=1}^{t-1}(r_s-f(x_s,a_s))^2+\lambda\max_{a\in\mathcal{A}_t}f(x_t,a)\right).

The two variants differ in where they encourage optimism. Type A rewards functions that predict high achievable rewards across past contexts, accumulating this preference as observations arrive. Type B evaluates the exploration bonus at the current context and feasible action set, so its optimistic bias responds directly to the decision at hand. Both variants use all past reward observations to assess fit, but they combine this evidence with different measures of the potential benefit of exploration. This difference in the placement of the feel-good term leads to the distinct decoupling and concentration arguments developed below.

Main Results

Decoupling Coefficient and Prior Coverage

The analyses of Type-A (cumulative) and Type-B (current-step) FGTS use the following decoupling coefficients to characterize the complexity of the function class.

Definition 4.1. The decoupling coefficient for FGTS with the cumulative feel-good exploration term is the smallest nonnegative number dc\mathrm{dc} such that, for every γ>0\gamma> 0, context x∈Xx \in\mathcal{X}, and joint distribution PP over F×A\mathcal{F} \times\mathcal{A}, we have

E(f,a)∼P[f(x,a)−f∗(x,a)]≤dc4γ+γ⋅Ea∼PEf∼P[(f(x,a)−f∗(x,a))2].\mathbb{E}_{(f,a)\sim P}\left[f(x,a)-f_*(x,a)\right] \le\frac{\mathrm{dc}}{4\gamma}+\gamma\cdot\mathbb{E}_{a\sim P}\mathbb{E}_{f\sim P}\left[(f(x,a)-f_*(x,a))^2\right].

The expectations on the right use independent draws from the two marginals of PP.

Definition 4.2. Let Z=(z1,…,zT)Z=(z_1,\ldots,z_T), where zt=(xt,at)∈X×Az_t=(x_t,a_t)\in\mathcal{X}\times\mathcal{A}. The decoupling coefficient for FGTS with the current-step feel-good exploration term is dcT(F)=sup⁡Zdc(F,Z)\mathrm{dc}_T(\mathcal{F})=\sup_Z\mathrm{dc}(\mathcal{F},Z), where dc(F,Z)\mathrm{dc}(\mathcal{F},Z) is the smallest nonnegative number such that, for every 0<γ≤10<\gamma\le1 and every sequence f1,…,fT∈Ff_1,\ldots,f_T\in\mathcal{F}, we have

∑t=1T(ft(zt)−f∗(zt))≤γ∑t=1T∑s=1t−1(ft(zs)−f∗(zs))2+dc(F,Z)4γ.\sum_{t=1}^{T}(f_t(z_t)-f_*(z_t))\le\gamma\sum_{t=1}^{T}\sum_{s=1}^{t-1}(f_t(z_s)-f_*(z_s))^2+\frac{\mathrm{dc}(\mathcal{F},Z)}{4\gamma}.

This is the contextual-bandit form of the online decoupling inequality in Dann et al. [8]. We abbreviate dcT(F)\mathrm{dc}_T(\mathcal{F}) as dcT\mathrm{dc}_T.

Decoupling in the linear setting. For the linear class Flin\mathcal{F}_{\mathrm{lin}} in § 3.1, the two coefficients satisfy

dc≤d,dcT=O(dlog⁡(2T)).\mathrm{dc}\le d,\qquad\mathrm{dc}_T=O(d\log(2T)).

The first bound follows from the covariance argument underlying the linear decoupling bound of Fan and Gu [9]; Zhang [16]. To see this for the joint distributions in Definition 4.1, fix xx and let Σ=Ea∼P[ϕ(x,a)ϕ(x,a)⊤]\Sigma=\mathbb{E}_{a\sim P}[\phi(x,a)\phi(x,a)^\top]. Cauchy–Schwarz in the geometry of Σ\Sigma, using its pseudoinverse if it is singular, gives

E(f,a)∼P[f(x,a)−f∗(x,a)]≤d⋅Ea∼PEf∼P[(f(x,a)−f∗(x,a))2]≤d4γ+γEa∼PEf∼P[(f(x,a)−f∗(x,a))2].\begin{aligned} \mathbb{E}_{(f,a)\sim P}\left[f(x,a)-f_*(x,a)\right] &\le\sqrt{d\cdot\mathbb{E}_{a\sim P}\mathbb{E}_{f\sim P}\left[(f(x,a)-f_*(x,a))^2\right]}\\ &\le\frac{d}{4\gamma}+\gamma\mathbb{E}_{a\sim P}\mathbb{E}_{f\sim P}\left[(f(x,a)-f_*(x,a))^2\right]. \end{aligned}

Here the dimension factor comes from Ea[ϕ(x,a)⊤Σ†ϕ(x,a)]=rank⁡(Σ)≤d\mathbb{E}_a[\phi(x,a)^\top\Sigma^\dagger\phi(x,a)] = \operatorname{rank}(\Sigma) \le d. The second bound follows from the elliptical-potential argument used for the online decoupling coefficient in Dann et al. [8]. In the present normalization, one can use the regularized design matrix Vt=T−1I+∑s<tϕ(zs)ϕ(zs)⊤V_t = T^{-1}I + \sum_{s<t}\phi(z_s)\phi(z_s)^\top: the accumulated clipped leverage scores min⁡{1,ϕ(zt)⊤Vt−1ϕ(zt)}\min\{1,\phi(z_t)^\top V_t^{-1}\phi(z_t)\} are O(dlog⁡(2T))O(d\log(2T)). Together with ∥θt−θ∗∥2≤2\|\theta_t-\theta_*\|_2 \le2 and γ≤1\gamma\le1, this yields the stated bound uniformly over the sequences in Definition 4.2. Thus both coefficients scale linearly with dimension, up to a logarithmic factor, without an explicit dependence on the number of actions.

Expectation versus sequential control. Definition 4.1 addresses the dependence between a sampled function and the action selected from it. Its left-hand side averages their coupled prediction error, while its right-hand side evaluates squared error under independent draws from the same marginals. This is a statement about expectations at a single context. In the regret analysis, it is applied conditionally on the history, so an additional concentration argument is needed to pass from conditional expected regret to realized regret. Definition 4.2, in contrast, holds for every realized sequence of functions and context–action pairs, without averaging over posterior samples. It compares the current prediction error of ftf_t with the errors of that same function on all previously visited pairs. Intuitively, a function that fits the past can make a large new error only along directions that have not been sufficiently explored; the design matrix tracks how these directions are resolved over time.

These structures align with the two exploration terms. Type A accumulates optimism across rounds, and its posterior update supports a telescoping argument for conditional posterior averages. Type B favors optimism at the current context, while its likelihood tests the current sampled function against the entire observation history. Its decoupling inequality therefore controls a sequence of sampled functions directly. The logarithmic horizon dependence in the linear Type-B bound reflects this sequential accumulation of information; Type A instead pays a dimension-dependent cost for decoupling one joint distribution at a time.

Prior coverage. Additionally, for any h>0h > 0, let Fh\mathcal{F}_h be a neighborhood of f∗f_* defined as

Fh={f∈F:∥f−f∗∥∞≤h},∥f−f∗∥∞=sup⁡(x,a)∈X×A∣f(x,a)−f∗(x,a)∣.\mathcal{F}_h = \{f \in\mathcal{F} : \|f-f_*\|_\infty\le h\}, \qquad\|f-f_*\|_\infty= \sup_{(x,a)\in\mathcal{X}\times\mathcal{A}} |f(x,a)-f_*(x,a)|.

We write p0−1(Fh)=1/p0(Fh)p_0^{-1}(\mathcal{F}_h) = 1/p_0(\mathcal{F}_h) and use the quantity log⁡p0−1(Fh)\log p_0^{-1}(\mathcal{F}_h) in the regret bounds, which characterizes the coverage of the neighborhood Fh\mathcal{F}_h by the prior distribution.

Prior coverage in the linear setting. This quantity also has a dimension-dependent bound under a suitable prior, as in the parametric prior-mass analyses of Zhang [16]; Dann et al. [8]. For a concrete choice, take Θ=B(0,1)\Theta= B(0,1) and let p0p_0 be induced by the uniform distribution on this ball. Since ∥ϕ(x,a)∥2≤1\|\phi(x,a)\|_2 \le1, we have ∥fθ−fθ∗∥∞≤∥θ−θ∗∥2\|f_\theta-f_{\theta_*}\|_\infty\le\|\theta-\theta_*\|_2. For 0<h≤10 < h \le1, the ball

B((1−h/2)θ∗,h/2)⊆B(0,1)∩B(θ∗,h)B((1-h/2)\theta_*,h/2) \subseteq B(0,1)\cap B(\theta_*,h)

therefore consists entirely of parameters whose functions belong to Fh\mathcal{F}_h. Comparing volumes gives

p0(Fh)≥(h/2)d,log⁡p0−1(Fh)≤dlog⁡(2/h).p_0(\mathcal{F}_h) \ge(h/2)^d,\qquad\log p_0^{-1}(\mathcal{F}_h) \le d\log(2/h).

In particular, at h=1/Th=1/T we obtain log⁡p0−1(F1/T)≤DT:=dlog⁡(2T)=O~(d)\log p_0^{-1}(\mathcal{F}_{1/T}) \le D_T := d\log(2T) = \widetilde{O}(d). More generally, the same order holds whenever the parameter prior assigns at least (ch)d(ch)^d mass to B(θ∗,h)∩ΘB(\theta_*,h)\cap\Theta, for a fixed c>0c>0.

Cumulative Feel-Good Exploration

Theorem 4.3. Under Assumption 3.1, suppose that 0<dc<∞0 < d_c < \infty and 0<p0(F1/T)<10 < p_0(\mathcal{F}_{1/T}) < 1. For δ∈(0,1/3)\delta\in(0,1/3), choose the hyperparameters of FGTS with the cumulative feel-good exploration term as

η=0.2,λ=log⁡p0−1(F1/T)5T⋅dc.\eta= 0.2,\qquad\lambda= \sqrt{\frac{\log p_0^{-1}(\mathcal{F}_{1/T})}{5T \cdot d_c}}.

Then with probability at least 1−3δ1-3\delta, the regret satisfies

Regret⁡(T)≤25T⋅dc⋅log⁡p0−1(F1/T)+4Tlog⁡p0−1(F1/T)5dc\operatorname{Regret}(T) \leq2\sqrt{5T\cdot d_c\cdot\log p_0^{-1}(\mathcal{F}_{1/T})}+4\sqrt{\frac{T\log p_0^{-1}(\mathcal{F}_{1/T})}{5d_c}}
+(4T+dc5log⁡p0−1(F1/T))2log⁡(1/δ)\qquad+\left(4\sqrt{T}+\sqrt{\frac{d_c}{5\log p_0^{-1}(\mathcal{F}_{1/T})}}\right)\sqrt{2\log(1/\delta)}
+5Tdclog⁡p0−1(F1/T)log⁡(1/δ)+dc5Tlog⁡p0−1(F1/T)+1.\qquad+\sqrt{\frac{5T d_c}{\log p_0^{-1}(\mathcal{F}_{1/T})}}\log(1/\delta)+\sqrt{\frac{d_c}{5T\log p_0^{-1}(\mathcal{F}_{1/T})}}+1.

Implications for linear bandits. Consider the uniform-prior linear setting of § 4.1. The proof of Theorem 4.3 allows us to use the deterministic upper bounds dd and DT=dlog⁡(2T)D_T=d\log(2T) for the decoupling coefficient and log inverse prior mass before optimizing λ\lambda. Taking η=0.2\eta=0.2 and λ=DT/(5Td)\lambda=\sqrt{D_T/(5Td)}, and applying the proof with failure parameter δ/3\delta/3, gives, for any δ∈(0,1)\delta\in(0,1), with probability at least 1−δ1-\delta,

Regret⁡(T)=O(dTlog⁡(2T)+Tlog⁡(3/δ)+Tlog⁡(2T)log⁡(3/δ))=O~(dT),\begin{aligned} \operatorname{Regret}(T)=O\left(d\sqrt{T}\log(2T)+\sqrt{T}\log(3/\delta)+\sqrt{\frac{T}{\log(2T)}}\log(3/\delta)\right) \\ &=\widetilde{O}(d\sqrt{T}), \end{aligned}

where O~\widetilde{O} suppresses logarithmic factors in TT and 1/δ1/\delta. Using upper bounds for tuning avoids requiring a lower bound on log⁡p0−1(F1/T)\log p_0^{-1}(\mathcal{F}_{1/T}). The leading term combines a dimension factor from decoupling with another from prior coverage. The result retains the dimension and horizon dependence of the expected-regret guarantee for linear FGTS in Zhang [16], while controlling the realized regret with only logarithmic dependence on the inverse failure probability.

Current-Step Feel-Good Exploration

Theorem 4.4. Under Assumption 3.1, suppose that dcT>0d_{cT}>0 and 0<p0(F1/T)<10<p_0(\mathcal{F}_{1/T})<1. For δ∈(0,1)\delta\in(0,1), choose the hyperparameters of FGTS with the current-step feel-good exploration term as

η=0.5,λ=max⁡{14,TdcT−1log⁡(p0−1(F1/T))}.\eta=0.5,\qquad\lambda=\max\left\{\frac{1}{4},\sqrt{T d_{cT}^{-1}\log\left(p_0^{-1}(\mathcal{F}_{1/T})\right)}\right\}.

Then with probability at least 1−δ1-\delta the regret satisfies

Regret⁡(T)≤2TdcTlog⁡(p0−1(F1/T))+3+TdcTlog⁡(p0−1(F1/T))log⁡(T/δ).\operatorname{Regret}(T)\leq2\sqrt{T d_{cT}\log\left(p_0^{-1}(\mathcal{F}_{1/T})\right)}+3+\sqrt{\frac{T d_{cT}}{\log\left(p_0^{-1}(\mathcal{F}_{1/T})\right)}}\log(T/\delta).

Implications for linear bandits. For the same linear class and uniform prior, let d‾CT=Cdlog⁡(2T)\overline{d}_{C_T}=Cd\log(2T) be the upper bound from § 4.1, where CC is a sufficiently large universal constant, and let DT=dlog⁡(2T)D_T=d\log(2T). Using these bounds in the proof of Theorem 4.4, with η=0.5\eta=0.5 and λ=max⁡{1/4,TDT/d‾CT}\lambda=\max\{1/4,\sqrt{TD_T/\overline{d}_{C_T}}\}, gives, with probability at least 1−δ1-\delta,

Regret⁡(T)=O(dTlog⁡(2T)+Tlog⁡(T/δ))=O~(dT).\operatorname{Regret}(T)=O\left(d\sqrt{T}\log(2T)+\sqrt{T}\log(T/\delta)\right)=\widetilde{O}(d\sqrt{T}).

Thus current-step exploration also achieves the same dimension and horizon dependence as the expected-regret linear specialization of Dann et al. [8], now with a high-probability guarantee. Relative to Type A, the additional logarithmic factor in the decoupling coefficient affects only logarithmic factors in the regret. Although the Type-B decoupling step is deterministic, the posterior samples and reward observations remain random, so concentration is still needed to control the remaining loss terms. Both exploration schemes consequently attain O~(dT)\widetilde{O}(d\sqrt{T}) regret with high probability through different forms of decoupling.

Highlights of Proof

An expected-regret bound gives a tail bound through Markov’s inequality at the cost of a factor 1/δ1/\delta. To obtain logarithmic dependence on 1/δ1/\delta, we establish exponential bounds for the losses left by decoupling. The quantities requiring control differ between the two algorithms: Type A produces a random sum of conditional posterior averages, whereas Type B produces losses evaluated at the sampled functions. We write

LSt(f)=(f(xt,at)−f∗(xt,at))2,FGt(f)=max⁡a∈Atf(xt,a)−f∗(xt,at∗).\mathrm{LS}_t(f)=(f(x_t,a_t)-f^*(x_t,a_t))^2,\qquad\mathrm{FG}_t(f)=\max_{a\in A_t}f(x_t,a)-f^*(x_t,a_t^*).

The greedy action rule gives the regret identity f∗(xt,at∗)−f∗(xt,at)=ft(xt,at)−f∗(xt,at)−FGt(ft)f^*(x_t,a_t^*)-f^*(x_t,a_t)=f_t(x_t,a_t)-f^*(x_t,a_t)-\mathrm{FG}_t(f_t).

Type A: exponential control of conditional losses

Although Definition 4.1 is stated in expectation, it holds for every joint law of a function and an action. We can therefore apply it conditionally on Ft−1,xt,At\mathcal{F}_{t-1},x_t,A_t. For γ>0\gamma>0, let

bt=E[Ef~∼ptA[γLSt(f~)−FGt(f~)]|Ft−1].b_t=\mathbb{E}\left[\mathbb{E}_{\widetilde{f}\sim p_t^A}\left[\gamma\mathrm{LS}_t(\widetilde{f})-\mathrm{FG}_t(\widetilde{f})\right]\middle|\mathcal{F}_{t-1}\right].

where f~\widetilde{f} is drawn from the posterior independently of ata_t under this conditioning. Combining the conditional decoupling inequality with Azuma–Hoeffding’s inequality gives, with probability at least 1−δ1-\delta,

Regret⁡(T)≤T⋅dc4γ+∑t=1Tbt+32Tlog⁡(1/δ).(1)\operatorname{Regret}(T)\le\frac{T\cdot\mathrm{dc}}{4\gamma}+\sum_{t=1}^{T}b_t+\sqrt{32T\log(1/\delta)}. \tag*{(1)}

The sum ∑tbt\sum_t b_t is still random. The expected-regret analysis reviewed in Li and Gu [13] controls the loss by telescoping expected log normalizers. To obtain a tail bound for this sum, we instead prove a conditional multiplicative bound for the normalizer itself.

Let ZtAZ_t^A be the normalizing integral of the Type-A posterior after subtracting its exponent at f∗f_\ast, as defined in (A.2). Lemma A.1 establishes the following estimate for 0<η≤0.20 < \eta\le0.2:

E[Zt+1A∣Ft−1]ZtA≤exp⁡(E[Ef∼pA[−ηLS⁡t(f)/4+λFG⁡t(f)]|Ft−1]+4λ2)≤e−λbt+4λ2.\begin{aligned} \frac{\mathbb{E}[Z_{t+1}^A \mid\mathcal{F}_{t-1}]}{Z_t^A} \le\exp\left(\mathbb{E}\left[\mathbb{E}_{f\sim p^A}\left[-\eta\operatorname{LS}_t(f)/4+\lambda\operatorname{FG}_t(f)\right]\middle|\mathcal{F}_{t-1}\right]+4\lambda^2\right) \\ &\le e^{-\lambda b_t+4\lambda^2}. \end{aligned}

where the second inequality uses γλ≤η/4\gamma\lambda\le\eta/4. For the first inequality, we average the current reward noise using Assumption 3.1, then apply the bounded-loss argument from the expected-regret analysis. This bounds the squared-loss exponential in terms of its mean; the bounded feel-good term contributes 4λ24\lambda^2. Retaining the conditioning on the history places exactly the random btb_t from (5.1) in the exponent.

The factor e−λbte^{-\lambda b_t} cancels round tt’s contribution to eλ∑s=1tbse^{\lambda\sum_{s=1}^t b_s}. Since btb_t is Ft−1\mathcal{F}_{t-1}-measurable, multiplying the one-step estimate by ZtAexp⁡(λ∑s=1tbs−4tλ2)Z_t^A\exp(\lambda\sum_{s=1}^t b_s-4t\lambda^2) and iterating from Z1A=1Z_1^A=1 gives

E[ZT+1Aexp⁡(λ∑t=1Tbt−4Tλ2)]≤1.\mathbb{E}\left[Z_{T+1}^A\exp\left(\lambda\sum_{t=1}^T b_t-4T\lambda^2\right)\right]\le1.

Markov’s inequality therefore yields, with probability at least 1−δ1-\delta,

∑t=1Tbt≤−log⁡ZT+1A+log⁡(1/δ)λ+4Tλ.\sum_{t=1}^T b_t\le\frac{-\log Z_{T+1}^A+\log(1/\delta)}{\lambda}+4T\lambda.

Lemma A.2 bounds −log⁡ZT+1A-\log Z_{T+1}^A using the prior mass of Fh\mathcal{F}_h. Combining that estimate with the preceding Markov bound and (5.1), with h=1/Th=1/T and γ=η/(4λ)\gamma=\eta/(4\lambda), gives Theorem 4.3.

Type B: controlling the noise in the posterior ratio

For Type B, Definition 4.2 gives the pathwise reduction

Regret⁡(T)≤dCT4γ+∑t=1TQt(ft),Qt(f)=γ∑s=1t−1LS⁡s(f)−FG⁡t(f),\operatorname{Regret}(T)\le\frac{\mathrm{d}_{\mathrm{CT}}}{4\gamma}+\sum_{t=1}^T Q_t(f_t),\qquad Q_t(f)=\gamma\sum_{s=1}^{t-1}\operatorname{LS}_s(f)-\operatorname{FG}_t(f),

where 0<γ≤10<\gamma\le1. The expected-regret argument in Li and Gu [13] uses fixed-function exponential estimates and KL-regularized optimality to bound a loss averaged over the posterior and the history. Here we bound EeλQt(ft)\mathbb{E}e^{\lambda Q_t(f_t)}, keeping the sampled function inside the exponential. Since ftf_t depends on past rewards, a fixed-function noise bound cannot be applied directly at ftf_t.

Substituting the posterior density in (A.3) into EeλQt(ft)\mathbb{E}e^{\lambda Q_t(f_t)} cancels the current feel-good factor and leaves integration over fixed functions under p0p_0. The remaining numerator and denominator ZtBZ_t^B contain the same past noises. To use the prior mass near f∗f_\ast, we bound their ratio before taking expectation. Fix h>0h>0 with p0(Fh)>0p_0(\mathcal{F}_h)>0, let p0hp_0^h be the prior conditioned on Fh\mathcal{F}_h, and write fˉh(x,a)=Ef∼p0hf(x,a)\bar{f}_h(x,a)=\mathbb{E}_{f\sim p_0^h}f(x,a).

Restricting the normalizer to Fh\mathcal{F}_h and applying Jensen’s inequality gives a pathwise bound on $1/Z_t^B(LemmaA.3).Theexponentinthisboundcontainsthenoiseterm(Lemma A.3). The exponent in this bound contains the noise term-2\eta\sum_{s<t}\epsilon_s(\bar{f}_h(x_s,a_s)f⋆(xs,as))f_\star(x_s,a_s)). Combining it with the numerator changes the noise coefficient from f−f⋆f-f_\star to f−fˉhf-\bar f_h. With zs=(xs,as)z_s=(x_s,a_s), the resulting estimate is

EeλQt(ft)≤eλhp0(Fh)Ef∼p0Eexp⁡(∑s<t[2ηϵs(f(zs)−fˉh(zs))+(γλ−η)LSs(f)+ηh2]).\mathbb{E}e^{\lambda Q_t(f_t)}\leq\frac{e^{\lambda h}}{p_0(\mathcal{F}_h)}\mathbb{E}_{f\sim p_0}\mathbb{E}\exp\left(\sum_{s<t}\left[2\eta\epsilon_s(f(z_s)-\bar f_h(z_s))+(\gamma\lambda-\eta)\mathrm{LS}_s(f)+\eta h^2\right]\right).

Since p0hp_0^h is supported on Fh\mathcal{F}_h, we have ∣fˉh(zs)−f⋆(zs)∣≤h|\bar f_h(z_s)-f_\star(z_s)|\leq h. For fixed ff, the new noise coefficient is Gs\mathcal{G}_s-measurable and, by this bound, satisfies (f(zs)−fˉh(zs))2≤2LSs(f)+2h2(f(z_s)-\bar f_h(z_s))^2\leq2\mathrm{LS}_s(f)+2h^2. By Assumption 3.1,

E[e2ηϵs(f(zs)−fˉh(zs))+(γλ−η)LSs(f)+ηh2∣Gs]≤exp⁡((γλ−η+η2)LSs(f)+(η+η2)h2).\mathbb{E}\left[\left.e^{2\eta\epsilon_s(f(z_s)-\bar f_h(z_s))+(\gamma\lambda-\eta)\mathrm{LS}_s(f)+\eta h^2}\right|\mathcal{G}_s\right] \leq\exp\left((\gamma\lambda-\eta+\eta^2)\mathrm{LS}_s(f)+(\eta+\eta^2)h^2\right).

The negative squared-loss term therefore absorbs the noise contribution when γλ≤η−η2\gamma\lambda\leq\eta-\eta^2. Iterating this estimate and integrating over the prior gives, for 0<η≤0.50<\eta\leq0.5,

EeλQt(ft)≤eλh+0.75(t−1)h2p0(Fh).\mathbb{E}e^{\lambda Q_t(f_t)}\leq\frac{e^{\lambda h+0.75(t-1)h^2}}{p_0(\mathcal{F}_h)}.

Markov’s inequality with failure probability δ/T\delta/T and a union bound imply, simultaneously for t∈[T]t\in[T],

Qt(ft)≤h+0.75(t−1)h2+log⁡p0−1(Fh)+log⁡(T/δ)λ.Q_t(f_t)\leq h+\frac{0.75(t-1)h^2+\log p_0^{-1}(\mathcal{F}_h)+\log(T/\delta)}{\lambda}.

with probability at least 1−δ1-\delta. Summation in the regret inequality, with h=1/Th=1/T and γ=1/(4λ)\gamma=1/(4\lambda), gives Theorem 4.4.

Conclusion

We established high-probability regret bounds for feel-good Thompson sampling in contextual bandits with general realizable function approximation. Our results cover both cumulative and current-step feel-good exploration, with bounds governed by the corresponding decoupling coefficient and the prior mass near the true reward function. In the linear setting, suitable prior coverage and parameter tuning yield O~(dT)\tilde O(d\sqrt{T}) regret with high probability for both variants, preserving the dimension and horizon dependence of their expected-regret guarantees while introducing only logarithmic dependence on the inverse failure probability.

The analyses distinguish the probabilistic structures of the two exploration schemes. For cumulative exploration, we control conditional posterior averages through an exponential estimate that telescopes across rounds. For current-step exploration, we combine a pathwise decoupling inequality with exponential control of losses at the sampled functions, accounting for their dependence on past reward noise. These arguments show how the structural complexity measures used in expected-regret analyses can also support high-probability guarantees. Extending the guarantees to reinforcement learning and the variance-dependent setting is a natural direction for future work.

Acknowledgement

The proof ideas are partially developed by GPT-6 Astra under the authors’ guidance under stronger assumptions. The authors simplified the arguments and re-organized the proof, verified the proof details, prepared the draft, and take full responsibility for its contents.

Proof of Main Results

We use LSt\mathrm{LS}_t, FGt\mathrm{FG}_t, and p0hp_0^h from § 5, and the filtrations from § 3.1. We can then rewrite ptAp_t^A and ptBp_t^B with LSt\mathrm{LS}_t and FGt\mathrm{FG}_t. Since rs=f∗(xs,as)+ϵsr_s=f_*(x_s,a_s)+\epsilon_s, we have

−η(rs−f(xs,as))2+η(rs−f∗(xs,as))2=2ηϵs(f(xs,as)−f∗(xs,as))−ηLSs(f).-\eta(r_s-f(x_s,a_s))^2+\eta(r_s-f_*(x_s,a_s))^2=2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))-\eta\mathrm{LS}_s(f).

Subtracting the exponent evaluated at f∗f_* from each posterior exponent changes only its normalizing constant. Therefore,

ptA(f)=p0(f)ZtAexp⁡(∑s=1t−1[2ηϵs(f(xs,as)−f∗(xs,as))−ηLSs(f)+λFGs(f)]).(2)p_t^A(f)=\frac{p_0(f)}{Z_t^A}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))-\eta\mathrm{LS}_s(f)+\lambda\mathrm{FG}_s(f)\right]\right). \tag*{(2)}

The normalizing integral is

ZtA=Ef∼p0exp⁡(∑s=1t−1[2ηϵs(f(xs,as)−f∗(xs,as))−ηLSs(f)+λFGs(f)]).(3)Z_t^A=\mathbb{E}_{f\sim p_0}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))-\eta\mathrm{LS}_s(f)+\lambda\mathrm{FG}_s(f)\right]\right). \tag*{(3)}

Similarly, we have

ptB(f)=p0(f)ZtBexp⁡(∑s=1t−1[2ηϵs(f(xs,as)−f∗(xs,as))−ηLSs(f)]+λFGt(f)),(4)p_t^B(f)=\frac{p_0(f)}{Z_t^B}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))-\eta\mathrm{LS}_s(f)\right]+\lambda\mathrm{FG}_t(f)\right), \tag*{(4)}

where

ZtB=Ef∼p0exp⁡(∑s=1t−1[2ηϵs(f(xs,as)−f∗(xs,as))−ηLSs(f)]+λFGt(f)).(5)Z_t^B=\mathbb{E}_{f\sim p_0}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))-\eta\mathrm{LS}_s(f)\right]+\lambda\mathrm{FG}_t(f)\right). \tag*{(5)}

By the greedy action rule, the regret can also be written as

∑t=1T[f∗(xt,at∗)−f∗(xt,at)]=∑t=1T[ft(xt,at)−f∗(xt,at)−FGt(ft)].\sum_{t=1}^{T}[f_*(x_t,a_t^*)-f_*(x_t,a_t)]=\sum_{t=1}^{T}[f_t(x_t,a_t)-f_*(x_t,a_t)-\mathrm{FG}_t(f_t)].

Proof of Theorem 4.3

Proof of Theorem 4.3. In order to use the decoupling coefficient which is related to the expectation with respect to the joint distribution, we firstly perform the following decomposition of the regret:

Regret⁡(T)=∑t=1T{(f∗(xt,at∗)−f∗(xt,at))−E[f∗(xt,at∗)−f∗(xt,at)∣Ft−1]}+∑t=1TE[f∗(xt,at∗)−f∗(xt,at)∣Ft−1].\begin{aligned} \operatorname{Regret}(T) &=\sum_{t=1}^{T}\left\{(f_*(x_t,a_t^*)-f_*(x_t,a_t))-\mathbb{E}[f_*(x_t,a_t^*)-f_*(x_t,a_t)\mid\mathcal{F}_{t-1}]\right\}\\ &\quad+\sum_{t=1}^{T}\mathbb{E}[f_*(x_t,a_t^*)-f_*(x_t,a_t)\mid\mathcal{F}_{t-1}]. \end{aligned}

By Azuma-Hoeffding’s inequality, we have with probability at least 1−δ1-\delta,

I1≤32Tlog⁡(1/δ).I_1 \le\sqrt{32T\log(1/\delta)}.

For the term I2I_2, apply Definition 4.14.1 conditionally on Ft−1,xt,At\mathcal{F}_{t-1},x_t,\mathcal{A}_t and then average over the current context and action set. The auxiliary draw f~∼ptA\tilde{f}\sim p_t^A is independent of ata_t given this information. This gives

E[f∗(xt,at∗)−f∗(xt,at)∣Ft−1]=E[ft(xt,at)−f∗(xt,at)−FGt(ft)∣Ft−1]≤dc4γ+E[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1],\begin{aligned} \mathbb{E}[f_*(x_t,a_t^*)-f_*(x_t,a_t)\mid\mathcal{F}_{t-1}] &=\mathbb{E}[f_t(x_t,a_t)-f_*(x_t,a_t)-\mathrm{FG}_t(f_t)\mid\mathcal{F}_{t-1}]\\ &\le\frac{\mathrm{d}c}{4\gamma}+\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right], \end{aligned}

so with probability at least 1−δ1-\delta,

Regret⁡(T)≤32Tlog⁡(1/δ)+T⋅dc4γ+∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1].\operatorname{Regret}(T)\le\sqrt{32T\log(1/\delta)}+\frac{T\cdot\mathrm{d}c}{4\gamma}+\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right].

By Markov’s inequality, for any LδL_\delta we have

P{λ∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1]≥−log⁡ZT+1A+Lδ}=P{ZT+1A⋅exp⁡(λ∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1])≥eLδ}≤e−LδE[ZT+1A⋅exp⁡(λ∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1])]=e−LδE[E[ZT+1A∣FT−1]⋅exp⁡(λ∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1])].\begin{aligned} \mathbb{P}\left\{\lambda\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\ge-\log Z_{T+1}^A+L_\delta\right\} \\ &=\mathbb{P}\left\{Z_{T+1}^A\cdot\exp\left(\lambda\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\right)\ge e^{L_\delta}\right\} \\ &\le e^{-L_\delta}\mathbb{E}\left[Z_{T+1}^A\cdot\exp\left(\lambda\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\right)\right] \\ &=e^{-L_\delta}\mathbb{E}\left[\mathbb{E}[Z_{T+1}^A\mid\mathcal{F}_{T-1}]\cdot\exp\left(\lambda\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\right)\right]. \end{aligned}

For the term E[ZT+1A∣FT−1]\mathbb{E}[Z_{T+1}^A\mid\mathcal{F}_{T-1}], we use the following lemma:

Lemma A.1. Suppose that 0<η≤0.20<\eta\le0.2 and λ>0\lambda>0. Under Assumption 3.13.1, the Type-A normalizer satisfies

E[Zt+1A∣Ft−1]≤ZtA⋅exp⁡(E[Ef∼ptA[−0.25ηLSt(f)+λFGt(f)]∣Ft−1]+4λ2).\mathbb{E}[Z_{t+1}^A\mid\mathcal{F}_{t-1}]\le Z_t^A\cdot\exp\left(\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}[-0.25\eta\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)]\mid\mathcal{F}_{t-1}\right]+4\lambda^2\right).

With Lemma A.1A.1, we have

P{λ∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1]≥−log⁡ZT+1A+Lδ}≤e−LδE[ZTA⋅exp⁡(λ∑t=1T−1E[Ef~∼ptA[γLSt(f~)−FGt(f~)]∣Ft−1])\begin{aligned} \mathbb{P}\left\{\lambda\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\ge-\log Z_{T+1}^A+L_\delta\right\} \\ &\le e^{-L_\delta}\mathbb{E}\left[Z_T^A\cdot\exp\left(\lambda\sum_{t=1}^{T-1}\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_t^A}[\gamma\mathrm{LS}_t(\tilde{f})-\mathrm{FG}_t(\tilde{f})]\mid\mathcal{F}_{t-1}\right]\right)\right. \end{aligned}
⋅exp⁡(E[Ef~∼pTA[(γλ−0.25η)LST(f~)]∣FT−1]+4λ2)]\left.\cdot\exp\left(\mathbb{E}\left[\mathbb{E}_{\tilde{f}\sim p_T^A}[(\gamma\lambda-0.25\eta)\mathrm{LS}_T(\tilde{f})]\mid\mathcal{F}_{T-1}\right]+4\lambda^2\right)\right]
≤⋯≤exp⁡(4Tλ2−Lδ),\begin{aligned} &\le\cdots\\ &\le\exp(4T\lambda^2-L_\delta), \end{aligned}

where the second inequality holds because γλ≤0.25η\gamma\lambda\le0.25\eta, and the last inequality follows by repeating this step down to Z1A=1Z^A_1=1. Therefore, taking

Lδ=4Tλ2+log⁡(1/δ),L_\delta=4T\lambda^2+\log(1/\delta),

then the following event holds with probability at least 1−δ1-\delta:

∑t=1TE[Ef~∼ptA[γLSt(f~)−FGt(f~)]|Ft−1]≤−log⁡ZT+1A+log⁡(1/δ)λ+4Tλ.\sum_{t=1}^{T}\mathbb{E}\left[\mathbb{E}_{\tilde f\sim p^A_t}\left[\gamma L S_t(\tilde f)-F G_t(\tilde f)\right]\middle| \mathcal{F}_{t-1}\right]\le\frac{-\log Z^A_{T+1}+\log(1/\delta)}{\lambda}+4T\lambda.

The following lemma provides the bound for −log⁡ZT+1A-\log Z^A_{T+1}:

Lemma A.2. Under Assumption 3.1, for any h>0h>0 with p0(Fh)>0p_0(\mathcal{F}_h)>0 and δ∈(0,1)\delta\in(0,1), with probability at least 1−δ1-\delta, we have

−log⁡ZT+1A≤ηh2Tlog⁡(1/δ)+ηTh2+λTh+log⁡p0−1(Fh).-\log Z^A_{T+1}\le\eta h\sqrt{2T\log(1/\delta)}+\eta T h^2+\lambda T h+\log p_0^{-1}(\mathcal{F}_h).

With Lemma A.2, combining all the above, with probability at least 1−3δ1-3\delta, we have

Regret⁡(T)≤(4+ηh/λ)2Tlog⁡(1/δ)+T⋅dc4γ+4Tλ+ηTh2λ+Th+log⁡p0−1(Fh)+log⁡(1/δ)λ.\begin{aligned} \operatorname{Regret}(T)&\le(4+\eta h/\lambda)\sqrt{2T\log(1/\delta)}+\frac{T\cdot\mathrm{dc}}{4\gamma}+4T\lambda\\ &\quad+\frac{\eta T h^2}{\lambda}+Th+\frac{\log p_0^{-1}(\mathcal{F}_h)+\log(1/\delta)}{\lambda}. \end{aligned}

Set

h=T−1,η=0.2,λ=log⁡p0−1(Fh)5T⋅dc,γ=0.05λ−1,h=T^{-1},\qquad\eta=0.2,\qquad\lambda=\sqrt{\frac{\log p_0^{-1}(\mathcal{F}_h)}{5T\cdot\mathrm{dc}}},\qquad\gamma=0.05\lambda^{-1},

then

Regret⁡(T)≤25T⋅dc⋅log⁡p0−1(Fh)+4Tlog⁡p0−1(Fh)5dc+(4T+dc5log⁡p0−1(Fh))2log⁡(1/δ)+5Tdclog⁡p0−1(Fh)log⁡(1/δ)+dc5Tlog⁡p0−1(Fh)+1.\begin{aligned} \operatorname{Regret}(T)\le{}&2\sqrt{5T\cdot\mathrm{dc}\cdot\log p_0^{-1}(\mathcal{F}_h)} +4\sqrt{\frac{T\log p_0^{-1}(\mathcal{F}_h)}{5\mathrm{dc}}}\\ &+\left(4\sqrt{T}+\sqrt{\frac{\mathrm{dc}}{5\log p_0^{-1}(\mathcal{F}_h)}}\right)\sqrt{2\log(1/\delta)}\\ &+\sqrt{\frac{5T\mathrm{dc}}{\log p_0^{-1}(\mathcal{F}_h)}}\log(1/\delta) +\sqrt{\frac{\mathrm{dc}}{5T\log p_0^{-1}(\mathcal{F}_h)}}+1. \end{aligned}

Proof of Theorem 4.4

Proof of Theorem 4.4. According to the definition of the decoupling coefficient, for any 0<γ≤10 < \gamma\le1, the regret further satisfies

Regret⁡(T)≤∑t=1T[γ∑s=1t−1LS⁡s(ft)−FG⁡t(ft)]+dc⁡T(F)4γ.\operatorname{Regret}(T) \le\sum_{t=1}^{T} \left[\gamma\sum_{s=1}^{t-1} \operatorname{LS}_{s}(f_t) - \operatorname{FG}_{t}(f_t)\right] + \frac{\operatorname{dc}_{T}(\mathcal{F})}{4\gamma}.

It then suffices to provide a high-probability upper bound of γ∑s=1t−1LS⁡s(ft)−FG⁡t(ft)\gamma\sum_{s=1}^{t-1} \operatorname{LS}_{s}(f_t)-\operatorname{FG}_{t}(f_t). By Markov’s inequality, we have for any CtC_t,

P[γ∑s=1t−1LS⁡s(ft)−FG⁡t(ft)≥Ct]=P[exp⁡(γλ∑s=1t−1LS⁡s(ft)−λFG⁡t(ft))≥exp⁡(λCt)]≤exp⁡(−λCt)⋅Eexp⁡(γλ∑s=1t−1LS⁡s(ft)−λFG⁡t(ft))=exp⁡(−λCt)⋅E[1ZtBEf~∼p0exp⁡(∑s=1t−1[2ηϵs(f~(xs,as)−f∗(xs,as))+(γλ−η)LS⁡s(f~)])].(6)\begin{aligned} \mathbb{P}\left[\gamma\sum_{s=1}^{t-1} \operatorname{LS}_{s}(f_t)-\operatorname{FG}_{t}(f_t) \ge C_t\right] \\ &= \mathbb{P}\left[\exp\left(\gamma\lambda\sum_{s=1}^{t-1} \operatorname{LS}_{s}(f_t)-\lambda\operatorname{FG}_{t}(f_t)\right) \ge\exp(\lambda C_t)\right] \\ &\le\exp(-\lambda C_t)\cdot\mathbb{E}\exp\left(\gamma\lambda\sum_{s=1}^{t-1} \operatorname{LS}_{s}(f_t)-\lambda\operatorname{FG}_{t}(f_t)\right) \\ &= \exp(-\lambda C_t)\cdot\mathbb{E}\left[\frac{1}{Z_t^{B}}\mathbb{E}_{\widetilde{f}\sim p_0}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(\widetilde{f}(x_s,a_s)-f_*(x_s,a_s))+(\gamma\lambda-\eta)\operatorname{LS}_{s}(\widetilde{f})\right]\right)\right]. \tag*{(6)} \end{aligned}

where the last equality first conditions on Ft−1,xt,At\mathcal{F}_{t-1},x_t,A_t and then substitutes the posterior density in (A.3). A key challenge is that the past noises ϵ1,…,ϵt−1\epsilon_1,\ldots,\epsilon_{t-1} appear in both the numerator and the denominator ZtBZ_t^{B}. To solve this problem, we use the following lemma that provides a lower bound of ZtBZ_t^{B}:

Lemma A.3. For any h>0h>0 with p0(Fh)>0p_0(\mathcal{F}_h)>0, the Type-B normalizer satisfies

1ZtB≤1p0(Fh)exp⁡(Ef∼p0h[∑s=1t−1[−2ηϵs(f(xs,as)−f∗(xs,as))+ηh2]]+λh).\frac{1}{Z_t^{B}} \le\frac{1}{p_0(\mathcal{F}_h)}\exp\left(\mathbb{E}_{f\sim p_0^h}\left[\sum_{s=1}^{t-1}\left[-2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))+\eta h^2\right]\right]+\lambda h\right).

Lemma A.3\mathrm{A.3} converts ZtBZ_t^{B}, which is the expectation of the exponential, into the exponential of the expectation, thus enabling the joint analysis of the past noises ϵ1,…,ϵt−1\epsilon_1,\ldots,\epsilon_{t-1} in the numerator and the denominator. We thus have

E[1ZtBEf~∼p0exp⁡(∑s=1t−1[2ηϵs(f~(xs,as))−f∗(xs,as))+(γλ−η)LS⁡s(f~)])]≤exp⁡(λh)p0(Fh)Ef~∼p0Eexp⁡(∑s=1t−1[2ηϵs{f~(xs,as)−Ef∼p0h[f(xs,as)]}+(γλ−η)LS⁡s(f~)+ηh2]).(7)\begin{aligned} \mathbb{E}\left[\frac{1}{Z_t^{B}}\mathbb{E}_{\widetilde{f}\sim p_0}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s(\widetilde{f}(x_s,a_s))-f_*(x_s,a_s))+(\gamma\lambda-\eta)\operatorname{LS}_{s}(\widetilde{f})\right]\right)\right] \\ &\le\frac{\exp(\lambda h)}{p_0(\mathcal{F}_h)}\mathbb{E}_{\widetilde{f}\sim p_0}\mathbb{E}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\epsilon_s\{\widetilde{f}(x_s,a_s)-\mathbb{E}_{f\sim p_0^h}[f(x_s,a_s)]\}+(\gamma\lambda-\eta)\operatorname{LS}_{s}(\widetilde{f})+\eta h^2\right]\right). \tag*{(7)} \end{aligned}

We use the following lemma to further bound the right-hand side:

Lemma A.4. Under Assumption 3.1, suppose that 0<η≤0.50 < \eta\le0.5, γ,λ>0\gamma,\lambda> 0, and γλ≤η−η2\gamma\lambda\le\eta-\eta^2. For any fixed f~∈F\tilde{f} \in\mathcal{F} and h>0h > 0 with p0(Fh)>0p_0(\mathcal{F}_h)>0, we have

Eexp⁡(∑s=1t−1[2ηεs{f~(xs,as)−Ef∼p0h[f(xs,as)]}+(γλ−η)LS⁡s(f~)+ηh2])≤exp⁡(0.75(t−1)h2).\mathbb{E}\exp\left(\sum_{s=1}^{t-1}\left[2\eta\varepsilon_s\left\{\tilde{f}(x_s,a_s)-\mathbb{E}_{f\sim p_0^h}[f(x_s,a_s)]\right\}+(\gamma\lambda-\eta)\operatorname{LS}_s(\tilde{f})+\eta h^2\right]\right) \le\exp\left(0.75(t-1)h^2\right).

Plugging Lemma A.4 and (A.6) into (A.5), we have

P[γ∑s=1t−1LS⁡s(ft)−FG⁡t(ft)≥Ct]≤exp⁡(λh+0.75(t−1)h2−λCt)p0(Fh).\mathbb{P}\left[\gamma\sum_{s=1}^{t-1}\operatorname{LS}_s(f_t)-\operatorname{FG}_t(f_t)\ge C_t\right]\le\frac{\exp\left(\lambda h+0.75(t-1)h^2-\lambda C_t\right)}{p_0(\mathcal{F}_h)}.

Let

Ct=h+0.75(t−1)h2λ+log⁡(p0−1(Fh))λ+log⁡(T/δ)λ.C_t=h+\frac{0.75(t-1)h^2}{\lambda}+\frac{\log\left(p_0^{-1}(\mathcal{F}_h)\right)}{\lambda}+\frac{\log(T/\delta)}{\lambda}.

and Et\mathcal{E}_t be the event such that

γ∑s=1t−1LS⁡s(ft)−FG⁡t(ft)≤Ct.\gamma\sum_{s=1}^{t-1}\operatorname{LS}_s(f_t)-\operatorname{FG}_t(f_t)\le C_t.

Then Et\mathcal{E}_t holds with probability at least 1−δ/T1-\delta/T. Taking the union bound, we have the good event E:=⋂t∈[T]Et\mathcal{E}:=\bigcap_{t\in[T]}\mathcal{E}_t holds with probability at least 1−δ1-\delta. Under the good event E\mathcal{E}, we have

Regret⁡(T)≤dcT4γ+∑t=1TCt=dcT4γ+Th+3T(T−1)h28λ+Tlog⁡(p0−1(Fh))λ+Tlog⁡(T/δ)λ.\begin{aligned} \operatorname{Regret}(T)\le\frac{\mathrm{dc}_T}{4\gamma}+\sum_{t=1}^{T}C_t \\ &=\frac{\mathrm{dc}_T}{4\gamma}+Th+\frac{3T(T-1)h^2}{8\lambda}+\frac{T\log\left(p_0^{-1}(\mathcal{F}_h)\right)}{\lambda}+\frac{T\log(T/\delta)}{\lambda}. \end{aligned}

Let

h=T−1,η=0.5,λ=max⁡{14,T dcT−1log⁡(p0−1(F1/T))},γ=14λ.h=T^{-1},\qquad\eta=0.5,\qquad\lambda=\max\left\{\frac{1}{4},\sqrt{T\,\mathrm{dc}_T^{-1}\log\left(p_0^{-1}(\mathcal{F}_{1/T})\right)}\right\},\qquad\gamma=\frac{1}{4\lambda}.

The choice of λ\lambda ensures that 0<γ≤10<\gamma\le1 and γλ=η−η2\gamma\lambda=\eta-\eta^2. Since λ≥1/4\lambda\ge1/4, the preceding bound gives

Regret⁡(T)≤dcTλ+3+Tλ[log⁡p0−1(F1/T)+log⁡(T/δ)].\operatorname{Regret}(T)\le\mathrm{dc}_T\lambda+3+\frac{T}{\lambda}\left[\log p_0^{-1}(\mathcal{F}_{1/T})+\log(T/\delta)\right].

To verify the final substitution, write D=log⁡p0−1(F1/T)D=\log p_0^{-1}(\mathcal{F}_{1/T}) and r=TD/dcTr=\sqrt{TD/\mathrm{dc}_T} within this proof. If r≥1/4r\ge1/4, substitute λ=r\lambda=r. If r<1/4r<1/4 and T≥2T\ge2, Definition 4.2 gives dcT≤8T\mathrm{dc}_T\le8T, since ft(zt)−f∗(zt)≤2f_t(z_t)-f_*(z_t)\le2. Consequently, the function

g(u)=dcTu+T[D+log⁡(T/δ)]ug(u)=\mathrm{dc}_T u+\frac{T[D+\log(T/\delta)]}{u}

satisfies, for r≤u≤1/4r\le u\le1/4,

g′(u)=dcT−T[D+log⁡(T/δ)]u2≤8T−16Tlog⁡2<0.g'(u)=\mathrm{dc}_T-\frac{T[D+\log(T/\delta)]}{u^2}\le8T-16T\log2<0.

Thus g(λ)≤g(r)g(\lambda) \le g(r) in both cases, and

Regret⁡(T)≤2TdCTlog⁡(p0−1(F1/T))+3+TdCTlog⁡(p0−1(F1/T))log⁡(T/δ).\operatorname{Regret}(T) \le2\sqrt{T d_{\mathrm{CT}} \log\left(p_0^{-1}(\mathcal{F}_{1/T})\right) + 3} + \sqrt{\frac{T d_{\mathrm{CT}}}{\log\left(p_0^{-1}(\mathcal{F}_{1/T})\right)}}\log(T/\delta).

For T=1T = 1, the same conclusion follows from Regret⁡(1)≤2\operatorname{Regret}(1) \le2.

Proof of Lemmas in Appendix A

Proof of Lemma A.1

Proof of Lemma A.1. We first notice that

Zt+1A=ZtA⋅Ef∼ptAexp⁡(2ηϵt(f(xt,at)−f∗(xt,at))−ηLSt(f)+λFGt(f)).Z_{t+1}^{A} = Z_t^{A} \cdot\mathbb{E}_{f\sim p_t^A}\exp\left(2\eta\epsilon_t(f(x_t,a_t)-f_*(x_t,a_t))-\eta\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)\right).

Note that ZtAZ_t^A and ptAp_t^A are Ft−1\mathcal{F}_{t-1}-measurable. Taking the conditional expectation, we have

E[Zt+1A∣Ft−1]=ZtA⋅E[Ef∼ptA[exp⁡(2ηϵt(f(xt,at)−f∗(xt,at))−ηLSt(f)+λFGt(f))∣Gt]∣Ft−1]≤ZtA⋅E[Ef∼ptAexp⁡((η2/2−η)LSt(f)+λFGt(f))∣Ft−1]≤ZtA⋅E[Ef∼ptAexp⁡(−0.9ηLSt(f)+λFGt(f))∣Ft−1],\begin{aligned} \mathbb{E}[Z_{t+1}^{A}\mid\mathcal{F}_{t-1}] &= Z_t^A\cdot\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\left[\exp\left(2\eta\epsilon_t(f(x_t,a_t)-f_*(x_t,a_t))-\eta\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{G}_t\right]\mid\mathcal{F}_{t-1}\right] \\ &\le Z_t^A\cdot\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left((\eta^2/2-\eta)\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{F}_{t-1}\right] \\ &\le Z_t^A\cdot\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(-0.9\eta\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{F}_{t-1}\right], \end{aligned}

where the first inequality holds due to Assumption 3.1, and the second inequality holds because η≤0.2\eta\le0.2. To bound this exponential moment in terms of the mean loss and mean feel-good term, we use the Cauchy-Schwarz inequality:

E[Ef∼ptAexp⁡(−0.9ηLSt(f)+λFGt(f))∣Ft−1]≤E[Ef∼ptAexp⁡(−1.8ηLSt(f))∣Ft−1]⋅E[Ef∼ptAexp⁡(2λFGt(f))∣Ft−1].(8)\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(-0.9\eta\mathrm{LS}_t(f)+\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{F}_{t-1}\right] \le\sqrt{\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(-1.8\eta\mathrm{LS}_t(f)\right)\mid\mathcal{F}_{t-1}\right]}\cdot\sqrt{\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(2\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{F}_{t-1}\right]}. \tag*{(8)}

Since ez≤1+z+z2/2e^z \le1+z+z^2/2 for z≤0z\le0, we have

E[Ef∼ptAexp⁡(−1.8ηLSt(f))∣Ft−1]≤E[Ef∼ptA[1−1.8ηLSt(f)+1.62η2LSt2(f)]∣Ft−1]≤E[Ef∼ptA[1−1.8ηLSt(f)+1.296ηLSt(f)]∣Ft−1]≤1−0.5ηE[Ef∼ptA[LSt(f)]∣Ft−1]≤exp⁡(−0.5ηE[Ef∼ptA[LSt(f)]∣Ft−1]).(9)\begin{aligned} \mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(-1.8\eta\mathrm{LS}_t(f)\right)\mid\mathcal{F}_{t-1}\right] &\le\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\left[1-1.8\eta\mathrm{LS}_t(f)+1.62\eta^2\mathrm{LS}_t^2(f)\right]\mid\mathcal{F}_{t-1}\right] \\ &\le\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\left[1-1.8\eta\mathrm{LS}_t(f)+1.296\eta\mathrm{LS}_t(f)\right]\mid\mathcal{F}_{t-1}\right] \\ &\le1-0.5\eta\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}[\mathrm{LS}_t(f)]\mid\mathcal{F}_{t-1}\right] \\ &\le\exp\left(-0.5\eta\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}[\mathrm{LS}_t(f)]\mid\mathcal{F}_{t-1}\right]\right). \tag*{(9)} \end{aligned}

where the second inequality holds because η≤0.2\eta\le0.2 and LSt(f)≤4\mathrm{LS}_t(f) \le4, and the last inequality holds because 1+z≤ez1+z \le e^z. For the term related to FGt(f)\mathrm{FG}_t(f), by Hoeffding’s lemma, since FGt(f)∈[−2,2]\mathrm{FG}_t(f)\in[-2,2], we have

E[Ef∼ptAexp⁡(2λFGt(f))∣Ft−1]≤exp⁡(2λE[Ef∼ptA[FGt(f)]∣Ft−1]+8λ2).(10)\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(2\lambda\mathrm{FG}_t(f)\right)\mid\mathcal{F}_{t-1}\right]\le\exp\left(2\lambda\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}[\mathrm{FG}_t(f)]\mid\mathcal{F}_{t-1}\right]+8\lambda^2\right). \tag*{(10)}

Plugging (B.2) and (B.3) into (B.1), we have

E[Ef∼ptAexp⁡(−0.9ηLS⁡t(f)+λFG⁡t(f))|Ft−1]≤exp⁡(E[Ef∼ptA[−0.25ηLS⁡t(f)+λFG⁡t(f)]|Ft−1]+4λ2).\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\exp\left(-0.9\eta\operatorname{LS}_t(f)+\lambda\operatorname{FG}_t(f)\right)\middle|\mathcal{F}_{t-1}\right] \le\exp\left(\mathbb{E}\left[\mathbb{E}_{f\sim p_t^A}\left[-0.25\eta\operatorname{LS}_t(f)+\lambda\operatorname{FG}_t(f)\right]\middle|\mathcal{F}_{t-1}\right]+4\lambda^2\right).

Proof of Lemma A.2

Proof of Lemma A.2. We use Lemma C.1 with

P=p0h,P0=p0,U(f)=∑t=1T[−2ηϵt(f(xt,at)−f∗(xt,at))+ηLS⁡t(f)−λFG⁡t(f)].P=p_0^h,\qquad P_0=p_0,\qquad U(f)=\sum_{t=1}^{T}\left[-2\eta\epsilon_t\left(f(x_t,a_t)-f_*(x_t,a_t)\right)+\eta\operatorname{LS}_t(f)-\lambda\operatorname{FG}_t(f)\right].

Then Lemma C.1 gives

−log⁡ZT+1A≤Ef∼p0h[∑t=1T[−2ηϵt(f(xt,at)−f∗(xt,at))+ηLS⁡t(f)−λFG⁡t(f)]]+KL⁡(p0h∥p0).-\log Z_{T+1}^A\le\mathbb{E}_{f\sim p_0^h}\left[\sum_{t=1}^{T}\left[-2\eta\epsilon_t\left(f(x_t,a_t)-f_*(x_t,a_t)\right)+\eta\operatorname{LS}_t(f)-\lambda\operatorname{FG}_t(f)\right]\right]+\operatorname{KL}(p_0^h\mathbin\Vert p_0).

Due to the definition of Fh\mathcal{F}_h, for any f∈Fhf\in\mathcal{F}_h, we have

LS⁡t(f)≤h2,−FG⁡t(f)=f∗(xt,at∗)−max⁡a∈Atf(xt,a)≤f∗(xt,at∗)−f(xt,at∗)≤h.\operatorname{LS}_t(f)\le h^2,\qquad-\operatorname{FG}_t(f)=f_*(x_t,a_t^*)-\max_{a\in\mathcal{A}_t}f(x_t,a)\le f_*(x_t,a_t^*)-f(x_t,a_t^*)\le h.

For the KL divergence term, we have

KL⁡(p0h∥p0)=Ef∼p0hlog⁡p0h(f)p0(f)=log⁡p0−1(Fh).\operatorname{KL}(p_0^h\mathbin\Vert p_0)=\mathbb{E}_{f\sim p_0^h}\log\frac{p_0^h(f)}{p_0(f)}=\log p_0^{-1}(\mathcal{F}_h).

Additionally, since ∣Ef∼p0hf(xt,at)−f∗(xt,at)∣≤h\left|\mathbb{E}_{f\sim p_0^h}f(x_t,a_t)-f_*(x_t,a_t)\right|\le h, Lemma C.2 gives that with probability at least 1−δ1-\delta, we have

∑t=1Tϵt⋅Ef∼p0h[f∗(xt,at)−f(xt,at)]≤hT/2log⁡(1/δ).\sum_{t=1}^{T}\epsilon_t\cdot\mathbb{E}_{f\sim p_0^h}\left[f_*(x_t,a_t)-f(x_t,a_t)\right]\le h\sqrt{T/2\log(1/\delta)}.

Combining all the above, we have

−log⁡ZT+1A≤ηh2Tlog⁡(1/δ)+ηTh2+λTh+log⁡p0−1(Fh).-\log Z_{T+1}^A\le\eta h\sqrt{2T\log(1/\delta)}+\eta T h^2+\lambda T h+\log p_0^{-1}(\mathcal{F}_h).

Proof of Lemma A.3

Proof of Lemma A.3. We use Lemma C.1 with

P=p0h,P0=p0,U(f)=∑s=1t−1[−2ηϵs(f(xs,as)−f∗(xs,as))+ηLS⁡s(f)]−λFG⁡t(f).P=p_0^h,\qquad P_0=p_0,\qquad U(f)=\sum_{s=1}^{t-1}\left[-2\eta\epsilon_s\left(f(x_s,a_s)-f_*(x_s,a_s)\right)+\eta\operatorname{LS}_s(f)\right]-\lambda\operatorname{FG}_t(f).

Then Lemma C.1 gives

log⁡1ZtB≤Ef∼p0h[∑s=1t−1[−2ηϵs(f(xs,as)−f∗(xs,as))+ηLSs(f)]−λFGt(f)]+KL(p0h∥p0).\log\frac{1}{Z_t^B} \leq\mathbb{E}_{f\sim p_0^h}\left[\sum_{s=1}^{t-1}\left[-2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))+\eta\mathrm{LS}_s(f)\right]-\lambda\mathrm{FG}_t(f)\right]+\mathrm{KL}(p_0^h\|p_0).

Due to the definition of Fh\mathcal{F}_h, for any f∈Fhf\in\mathcal{F}_h, we have

LSs(f)≤h2,−FGt(f)=f∗(xt,at∗)−max⁡a∈Atf(xt,a)≤f∗(xt,at∗)−f(xt,at∗)≤h.\mathrm{LS}_s(f)\leq h^2,\qquad-\mathrm{FG}_t(f)=f_*(x_t,a_t^*)-\max_{a\in\mathcal{A}_t}f(x_t,a)\leq f_*(x_t,a_t^*)-f(x_t,a_t^*)\leq h.

For the KL divergence term, we have

KL(p0h∥p0)=Ef∼p0hlog⁡p0h(f)p0(f)=log⁡p0−1(Fh).\mathrm{KL}(p_0^h\|p_0)=\mathbb{E}_{f\sim p_0^h}\log\frac{p_0^h(f)}{p_0(f)}=\log p_0^{-1}(\mathcal{F}_h).

Combining all the above, we have

1ZtB≤1p0(Fh)exp⁡(Ef∼p0h[∑s=1t−1[−2ηϵs(f(xs,as)−f∗(xs,as))+ηh2]]+λh).\frac{1}{Z_t^B}\leq\frac{1}{p_0(\mathcal{F}_h)}\exp\left(\mathbb{E}_{f\sim p_0^h}\left[\sum_{s=1}^{t-1}\left[-2\eta\epsilon_s(f(x_s,a_s)-f_*(x_s,a_s))+\eta h^2\right]\right]+\lambda h\right).

Proof of Lemma A.4

Proof of Lemma A.4. We denote

ws=2ηϵs{f~(xs,as)−Ef∼p0h[f(xs,as)]}+(γλ−η)LSs(f~)+ηh2,w_s=2\eta\epsilon_s\left\{\widetilde{f}(x_s,a_s)-\mathbb{E}_{f\sim p_0^h}[f(x_s,a_s)]\right\}+(\gamma\lambda-\eta)\mathrm{LS}_s(\widetilde{f})+\eta h^2,

Then wsw_s is Fs\mathcal{F}_s-measurable. For 1≤k<t1\leq k<t, we have

Eexp⁡(∑s=1kws)=E{exp⁡(∑s=1k−1ws)⋅E[exp⁡(wk)∣Fk−1]}.\mathbb{E}\exp\left(\sum_{s=1}^{k}w_s\right)=\mathbb{E}\left\{\exp\left(\sum_{s=1}^{k-1}w_s\right)\cdot\mathbb{E}[\exp(w_k)\mid\mathcal{F}_{k-1}]\right\}.

where

E[exp⁡(wk)∣Fk−1]=E{E[exp⁡(wk)∣Gk]∣Fk−1}≤E[exp⁡(η22{f~(xk,ak)−Ef∼p0h[f(xk,ak)]}2+(γλ−η)LSk(f~)+ηh2)|Fk−1]≤E[exp⁡(η2{Ef∼p0h[f∗(xk,ak)−f(xk,ak)]}2+(γλ−η+η2)LSk(f~)+ηh2)|Fk−1]≤exp⁡(0.75h2),\begin{aligned} \mathbb{E}[\exp(w_k)\mid\mathcal{F}_{k-1}] &=\mathbb{E}\{\mathbb{E}[\exp(w_k)\mid\mathcal{G}_k]\mid\mathcal{F}_{k-1}\}\\ &\leq\mathbb{E}\left[\exp\left(\frac{\eta^2}{2}\{\widetilde{f}(x_k,a_k)-\mathbb{E}_{f\sim p_0^h}[f(x_k,a_k)]\}^2+(\gamma\lambda-\eta)\mathrm{LS}_k(\widetilde{f})+\eta h^2\right)\middle|\mathcal{F}_{k-1}\right]\\ &\leq\mathbb{E}\left[\exp\left(\eta^2\{\mathbb{E}_{f\sim p_0^h}[f_*(x_k,a_k)-f(x_k,a_k)]\}^2+(\gamma\lambda-\eta+\eta^2)\mathrm{LS}_k(\widetilde{f})+\eta h^2\right)\middle|\mathcal{F}_{k-1}\right]\\ &\leq\exp(0.75h^2), \end{aligned}

where the first inequality holds due to Assumption 3.1, the second inequality holds from (u+v)2≤2u2+2v2(u+v)^2\leq2u^2+2v^2, and the last inequality holds because ∣Ef∼p0h[f∗(xk,ak)−f(xk,ak)]∣≤h\left|\mathbb{E}_{f\sim p_0^h}[f_*(x_k,a_k)-f(x_k,a_k)]\right|\leq h, η+η2≤0.75\eta+\eta^2\leq0.75, and γλ≤η−η2\gamma\lambda\leq\eta-\eta^2. Iteratively using the argument above, we have

Eexp⁡(∑s=1t−1ws)≤exp⁡(0.75(t−1)h2).\mathbb{E}\exp\left(\sum_{s=1}^{t-1}w_s\right)\leq\exp(0.75(t-1)h^2).

Auxiliary Lemmas

Lemma C.1. (Donsker–Varadhan duality, see e.g., Proposition 7.16 in Zhang [17]). Let (X,F,P0)(\mathcal{X},\mathcal{F},P_0) be a probability space and U(x)U(x) be a bounded measurable function. Then for any distribution PP on (X,F)(\mathcal{X},\mathcal{F}), we have

Ex∼P[U(x)]+KL⁡(P∥P0)≥−log⁡Ex∼P0exp⁡(−U(x)),\mathbb{E}_{x\sim P}[U(x)] + \operatorname{KL}(P\Vert P_0) \ge-\log\mathbb{E}_{x\sim P_0}\exp(-U(x)),

and equality holds for the distribution with density exp⁡(−U)/EP0exp⁡(−U)\exp(-U)/\mathbb{E}_{P_0}\exp(-U) with respect to P0P_0.

Lemma C.2. Let {Ft}\{\mathcal{F}_t\} and {Gt}\{\mathcal{G}_t\} be filtrations such that Ft−1⊆Gt⊆Ft\mathcal{F}_{t-1}\subseteq\mathcal{G}_t\subseteq\mathcal{F}_t. Let ϵt\epsilon_t be Ft\mathcal{F}_t-measurable and satisfy

log⁡E[exp⁡(λϵt)∣Gt]≤λ2/8for every λ∈R.\log\mathbb{E}[\exp(\lambda\epsilon_t)\mid\mathcal{G}_t]\le\lambda^2/8 \qquad\text{for every }\lambda\in\mathbb{R}.

Let μt\mu_t be Gt\mathcal{G}_t-measurable with ∣μt∣≤C|\mu_t|\le C almost surely, where C>0C>0. For every M≥0M\ge0, we have

P{∑t=1Tμtϵt≥M}≤exp⁡(−2M2C2T).\mathbb{P}\left\{\sum_{t=1}^{T}\mu_t\epsilon_t\ge M\right\}\le\exp\left(-\frac{2M^2}{C^2T}\right).

Therefore, for any δ∈(0,1)\delta\in(0,1), with probability at least 1−δ1-\delta, we have

∑t=1Tμtϵt≤CT2log⁡(1/δ).\sum_{t=1}^{T}\mu_t\epsilon_t\le C\sqrt{\frac{T}{2}\log(1/\delta)}.

Proof of Lemma C.2. For M>0M>0 and γ>0\gamma>0, Markov’s inequality gives

P{∑t=1Tμtϵt≥M}=P{exp⁡(γ∑t=1Tμtϵt)≥exp⁡(γM)}≤exp⁡(−γM)Eexp⁡(γ∑t=1Tμtϵt)=exp⁡(−γM)E{E[exp⁡(γ∑t=1Tμtϵt)∣GT]}≤exp⁡(−γM)Eexp⁡(γ∑t=1T−1μtϵt+γ2μT28)≤exp⁡(−γM)Eexp⁡(γ∑t=1T−1μtϵt+γ2C28)≤exp⁡(−γM+γ2C2T/8).\begin{aligned} \mathbb{P}\left\{\sum_{t=1}^{T}\mu_t\epsilon_t\ge M\right\} =\mathbb{P}\left\{\exp\left(\gamma\sum_{t=1}^{T}\mu_t\epsilon_t\right)\ge\exp(\gamma M)\right\} \\ &\le\exp(-\gamma M)\mathbb{E}\exp\left(\gamma\sum_{t=1}^{T}\mu_t\epsilon_t\right) \\ &= \exp(-\gamma M)\mathbb{E}\left\{\mathbb{E}\left[\exp\left(\gamma\sum_{t=1}^{T}\mu_t\epsilon_t\right)\mid\mathcal{G}_T\right]\right\} \\ &\le\exp(-\gamma M)\mathbb{E}\exp\left(\gamma\sum_{t=1}^{T-1}\mu_t\epsilon_t+\frac{\gamma^2\mu_T^2}{8}\right) \\ &\le\exp(-\gamma M)\mathbb{E}\exp\left(\gamma\sum_{t=1}^{T-1}\mu_t\epsilon_t+\frac{\gamma^2C^2}{8}\right) \\ &\le\exp(-\gamma M+\gamma^2C^2T/8). \end{aligned}

where the second inequality holds by the conditional moment bound given GT\mathcal{G}_T, the third inequality holds because ∣μt∣≤C|\mu_t|\le C almost surely, and the last inequality holds by recursively applying the inequalities. Taking γ=4M/(C2T)\gamma=4M/(C^2T) gives

P{∑t=1Tμtϵt≥M}≤exp⁡(−2M2C2T).\mathbb{P}\left\{\sum_{t=1}^{T}\mu_t\epsilon_t\ge M\right\}\le\exp\left(-\frac{2M^2}{C^2T}\right).

For M=0M=0, the asserted bound is 1.

References

  1. [1]Abbasi-Yadkori, Y., Pál, D. and Szepesvári, C. (2011). Improved algorithms for linear stochastic bandits. Advances in neural information processing systems 24.
  2. [2]Abeille, M. and Lazaric, A. (2017). Linear thompson sampling revisited. In Artificial Intelligence and Statistics. PMLR.DOI
  3. [3]Agarwal, A. and Zhang, T. (2022). Model-based rl with optimistic posterior sampling: Structural conditions and sample complexity. Advances in Neural Information Processing Systems 35 35284– 35297.
  4. [4]Agrawal, S. and Goyal, N. (2013). Thompson sampling for contextual bandits with linear payoffs. In International conference on machine learning. PMLR.arxiv.org/abs/1209.3352
  5. [5]Auer, P. (2002). Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research 3 397–422.DOI
  6. [6]Chapelle, O. and Li, L. (2011). An empirical evaluation of thompson sampling. Advances in neural information processing systems 24.
  7. [7]Chu, W., Li, L., Reyzin, L. and Schapire, R. (2011). Contextual bandits with linear payoff functions. In Proceedings of the fourteenth international conference on artificial intelligence and statistics. JMLR Workshop and Conference Proceedings.
  8. [8]Dann, C., Mohri, M., Zhang, T. and Zimmert, J. (2021). A provably efficient model-free posterior sampling method for episodic reinforcement learning. Advances in Neural Information Processing Systems 34 12040–12051.arxiv.org/abs/2208.10904
  9. [9]Fan, Z. and Gu, Q. (2023). The power of feel-good thompson sampling: A unified framework for linear bandits .
  10. [10]Foster, D., Agarwal, A., Dudík, M., Luo, H. and Schapire, R. (2018). Practical contextual bandits with regression oracles. In Proceedings of the 35th International Conference on Machine Learning, vol. 80. PMLR.arxiv.org/abs/1803.01088
  11. [11]Foster, D. and Rakhlin, A. (2020). Beyond UCB: Optimal and efficient contextual bandits with regression oracles. In Proceedings of the 37th International Conference on Machine Learning, vol. 119. PMLR.arxiv.org/abs/2002.04926
  12. [12]Langford, J. and Zhang, T. (2007). The epoch-greedy algorithm for multi-armed bandits with side information. Advances in neural information processing systems 20.
  13. [13]Li, X. and Gu, Q. (2025). Variance-aware feel-good thompson sampling for contextual bandits. Advances in Neural Information Processing Systems 38 23081–23106.arxiv.org/abs/2511.02123
  14. [15]Russo, D. and Van Roy, B. (2013). Eluder dimension and the sample complexity of optimistic exploration. Advances in Neural Information Processing Systems 26.
  15. [16]ZHANG, T. (2022). Feel-good thompson sampling for contextual bandits and reinforcement learning. SIAM Journal on Mathematics of Data Science 4 834–857.arxiv.org/abs/2110.00871
  16. [17]ZHANG, T. (2023). Mathematical analysis of machine learning algorithms. Cambridge University Press.DOI

Paper details

vlnc:W_cx6vqy7a
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

GPT-6 Astra (bare)

View statement
Looking for related papers…
Contents