Sam Babichenko

Reading notes / Bandits and exploration

Satisficing bandits

Russo and Van Roy, 2022; Reverdy et al., 2017

Satisficing Thompson sampling (Russo and Van Roy)
A\mathcal Aset of actions the agent picks from
AtA_taction chosen in round tt, t=0,1,…t=0,1,\dots
θ\thetaunknown parameter, fixed over time and drawn from a known prior; all uncertainty about the problem is put in it
WtW_tnoise of round tt, i.i.d. across rounds, entering the outcome Yt=g(At,θ,Wt)Y_t=g(A_t,\theta,W_t)
YtY_toutcome of round tt, Yt=g(At,θ,Wt)Y_t=g(A_t,\theta,W_t) with the function gg known
RtR_treward of round tt, carried by the outcome YtY_t
μ(a,θ)\mu(a,\theta)mean reward of action aa when the parameter is θ\theta
R∗R^*best mean reward, R∗=sup⁡aμ(a,θ)R^*=\sup_a\mu(a,\theta); random, since it depends on θ\theta
A∗A^*an action attaining the best mean reward R∗R^*
Ht−1H_{t-1}history before round tt, (A0,Y0,…,At−1,Yt−1)(A_0,Y_0,\dots,A_{t-1},Y_{t-1}), available when AtA_t is chosen
H∞H_\inftywhole history of all rounds (Step 1)
γ\gammadiscount factor in [0,1][0,1]: a reward tt rounds ahead counts γt\gamma^t as much as one now, so 1/(1−γ)1/(1-\gamma) is the effective horizon; the paper writes α\alpha
DDtolerance: an action whose mean is within DD of the best counts as good enough
A~\tilde Asatisficing action: any action computed from θ\theta, and possibly randomness independent of the noise, with ER~≥ER∗−D\mathbb E\tilde R\ge\mathbb ER^*-D
R~\tilde Rmean reward of the satisficing action, R~=μ(A~,θ)\tilde R=\mu(\tilde A,\theta)
IImutual information, in nats; I(A~;θ)I(\tilde A;\theta) is how much the agent must learn about θ\theta to know A~\tilde A
HHentropy, in nats; H(A∗)H(A^*) is an upper bound on R(D)\mathcal R(D)
ItI_tinformation revealed about A~\tilde A in round tt, It=I(A~;(At,Yt)∣Ht−1)I_t=I\big(\tilde A;(A_t,Y_t)\mid H_{t-1}\big)
Γt\Gamma_tinformation ratio of round tt, Γt=(E[R~−Rt])2/It\Gamma_t=(\mathbb E[\tilde R-R_t])^2/I_t: the squared shortfall against A~\tilde A per nat revealed about A~\tilde A
Γ(A~)\Gamma(\tilde A)information ratio of the target A~\tilde A, the discounted average Γ(A~)=(1−γ2)∑t≥0γ2tΓt\Gamma(\tilde A)=(1-\gamma^2)\sum_{t\ge0}\gamma^{2t}\Gamma_t
R(D)\mathcal R(D)rate-distortion function, R(D)=min⁡I(A~;θ)\mathcal R(D)=\min I(\tilde A;\theta) over targets with E[R∗−μ(A~,θ)]≤D\mathbb E[R^*-\mu(\tilde A,\theta)]\le D; the paper writes R(D)R(D)
qqprior probability that an untried arm is within DD of the best, q=P(θa≥R∗−D)q=\mathbb P(\theta_a\ge R^*-D); the paper writes δ\delta
At\mathcal A_tarms tried before round tt
dddimension of the action and parameter vectors in the linear bandit; the paper writes pp
θˉ\bar\thetaprior mean of θ\theta in Step 4, θ∼N(θˉ,Σ)\theta\sim N(\bar\theta,\Sigma); the paper writes μ\mu
Σ\Sigmaprior covariance of θ\theta in Step 4, θ∼N(θˉ,Σ)\theta\sim N(\bar\theta,\Sigma)
BBmatrix of the ellipsoid {x:x⊤B−1x≤1}\{x:x^\top B^{-1}x\le1\} that contains the actions; the paper writes QQ
ξ\xiGaussian perturbation of θ\theta in the target A~=arg⁡max⁡a⟨a,θ+ξ⟩\tilde A=\arg\max_a\langle a,\theta+\xi\rangle, ξ∼N(0,β2Σ)\xi\sim N(0,\beta^2\Sigma); never observed
β\betascale of the perturbation ξ\xi, β=D/tr(BΣ)\beta=D/\sqrt{\mathrm{tr}(B\Sigma)}
Thresholds and confidence (Reverdy et al.)
KKnumber of arms (the paper writes NN)
a∗a^*best arm, the one with the largest mean μa\mu_a
μa\mu_aunknown mean reward of arm aa; the paper writes mim_i
νa\nu_areward distribution of arm aa, N(μa,σ2)N(\mu_a,\sigma^2) in the theorems
σ2\sigma^2common reward variance of the arms, known (the paper writes σs2\sigma_s^2)
σa\sigma_aknown standard deviation of arm aa's rewards, in the per-reward threshold problem (d)
TTnumber of rounds (the horizon) in Reverdy et al.'s undiscounted problems
tta round
MMsatisfaction threshold on an arm's mean reward, chosen by the agent
δ\deltaaccepted probability of not meeting the threshold: the agent is content once its posterior probability that its arm meets MM is at least 1−δ1-\delta
kknumber of arms whose mean is at least MM
ν(k)\nu_{(k)}reward distribution of the kk-th best arm, the worst arm whose mean is at least MM
Δa\Delta_agap to the best arm, Δa=μa∗−μa\Delta_a=\mu_{a^*}-\mu_a
ΔaM\Delta^M_ashortfall of arm aa's mean from the threshold, ΔaM=max⁡{M−μa,0}\Delta^M_a=\max\{M-\mu_a,0\}
nan_anumber of times arm aa has been pulled (the paper writes nitn_i^t)
μ^a\hat\mu_asample mean of arm aa's rewards, equal to its posterior mean under a flat prior
QaQ_aUCL index of arm aa under a flat prior, Qa=μ^a+c σ/naQ_a=\hat\mu_a+c\,\sigma/\sqrt{n_a}
ccstandard normal quantile that sets the confidence of the index QaQ_a: Φ−1(1−1/t)\Phi^{-1}(1-1/t) in the standard rule, Φ−1(1−δ/2)\Phi^{-1}(1-\delta/2) in the δ-sufficing rule
Φ\Phistandard normal distribution function, Φ(z)=P(Z≤z)\Phi(z)=\mathbb P(Z\le z) for Z∼N(0,1)Z\sim N(0,1)
pap_aprobability of a happy round under arm aa, pa=P(rt≥M∣At=a)p_a=\mathbb P(r_t\ge M\mid A_t=a)
p0p_0required probability of a happy round, the threshold on pap_a (the paper writes Π\Pi)
xax_astandardized mean of arm aa, xa=(μa−M)/σax_a=(\mu_a-M)/\sigma_a; for Gaussian rewards pa=Φ(xa)p_a=\Phi(x_a)

Context. Standard bandit algorithms such as upper confidence bound: play the arm whose estimated mean plus a confidence width is largest, the width shrinking as the arm is pulled. Reading note: UCB and Thompson sampling and draw the unknown parameters from the posterior and play the action that is best for the draw, so each action is played with the posterior probability that it is optimal. Reading note: UCB and Thompson sampling seek the single best arm, and their regret charges every pull of a worse arm. When many arms are nearly optimal, or when arms outnumber rounds, confirming the best takes far more pulls than finding a good one. An optimal-arm learner then keeps exploring long after a good arm is in hand. Herbert Simon called the alternative choosing an option that is good enough by a stated standard instead of searching for the best; Simon's blend of satisfy and suffice: settling for an option that meets an aspiration level. Russo and Van Roy (2022) design a Bayesian learner for a good-enough target and measure what it saves under discounting. Reverdy et al. (2017) define satisficing by a reward threshold and a required confidence, reducing each objective to a bandit problem with known bounds.

How much an agent must learn depends on its target. Naming the best among the number of arms; Reverdy et al. write NN equally likely arms takes ln⁡K\ln K units of information measured with natural logarithms; one nat is 1/ln⁡2≈1.441/\ln2\approx1.44 bits of information, which grows without bound as arms are added. When a fixed fraction of arms qualifies, finding the first good-enough arm takes a bounded amount however many arms exist. Russo and Van Roy's satisficing Thompson sampling (STS) aims at a chosen target, such as the first good-enough arm, and plays each action with its posterior probability of being that target. Its regret bound grows with the square root of the information that target requires. Take infinitely many arms with noiseless values uniform on [0,1][0,1] and rewards discounted by the discount factor in [0,1][0,1]: a reward tt rounds ahead counts γt\gamma^t as much as one now, so 1/(1−γ)1/(1-\gamma) is the effective horizon; Russo and Van Roy write α\alpha per round. Thompson sampling tries a new arm every round and loses 1/(2(1−γ))1/(2(1-\gamma)) in discounted regret, whereas STS loses at most 1/1−γ1/\sqrt{1-\gamma}.

In Reverdy et al.'s setup, the required confidence sets how regret grows over the number of rounds (the horizon) in Reverdy et al.'s undiscounted problems rounds. When the agent demands certainty that its arm meets the threshold, regret grows like ln⁡T\ln T. When it accepts a probability the probability of being wrong that the agent accepts: it is content once its posterior probability that the arm meets the threshold is at least 1−δ1-\delta of being wrong, the lower bound no longer grows with TT. The authors' corrected rules match that bound up to a ln⁡ln⁡T\ln\ln T term.

In practice STS is a small change to Thompson sampling. Each round, draw the arms' means from the posterior, including untried arms. Play the earliest-tried arm whose draw lies within a tolerance the tolerance: an action whose mean is within DD of the best counts as good enough of the largest draw, or try a new arm if none qualifies. A larger DD ends the search sooner while accepting an arm up to DD worse. Reverdy et al.'s algorithms modify a a UCB rule whose index is a high quantile of the posterior distribution of the arm's mean (Kaufmann et al., 2012) with a fixed confidence level or a test against the threshold. Both papers test their rules only in simulation. On 400 ads sharing two binary features, STS averaged 1.21 reward per round over the first 50 rounds, against 0.67 for Thompson sampling. In Reverdy et al.'s four-arm Gaussian simulation, a fixed 95% confidence level cut arm switches roughly in half for nearly the same total reward.

Setting. In Russo and Van Roy's Bayesian setup, an agent picks actions A0,A1,…A_0,A_1,\dots from a set A\mathcal A and observes outcomes Yt=g(At,θ,Wt)Y_t=g(A_t,\theta,W_t). The function gg is known, the noise WtW_t is i.i.d., and the unknown parameter, fixed over time and drawn from a known prior; all uncertainty about the problem is put in it comes from a known prior. Each outcome determines a reward RtR_t, and the mean reward of action aa when the parameter is θ\theta; written μa\mu_a in Reverdy et al.'s part is the mean reward of action aa. Write R∗R^*=sup⁡aμ(a,θ){}=\sup_a\mu(a,\theta) for the best mean, A∗A^* for an action attaining it, and the history (A0,Y0,…,At−1,Yt−1)(A_0,Y_0,\dots,A_{t-1},Y_{t-1}) available when AtA_t is chosen for the history before round tt. Discounted regret and satisficing regret at tolerance DD areRegret=E∑t≥0γt(R∗−Rt),SRegretD=E∑t≥0γt(R∗−D−Rt),\begin{aligned}\mathrm{Regret}&=\mathbb E\textstyle\sum_{t\ge0}\gamma^t(R^*-R_t),\\\mathrm{SRegret}_D&=\mathbb E\textstyle\sum_{t\ge0}\gamma^t(R^*-D-R_t),\end{aligned}and differ by D/(1−γ)D/(1-\gamma).

A an action A~\tilde A computed from θ\theta and randomness independent of the noise, with mean R~=μ(A~,θ)\tilde R=\mu(\tilde A,\theta) satisfying ER~≥ER∗−D\mathbb E\tilde R\ge\mathbb ER^*-D A~\tilde A is any action determined by θ\theta, possibly with independent randomness. Its mean R~\tilde R=μ(A~,θ){}=\mu(\tilde A,\theta) must satisfy ER~≥ER∗−D\mathbb E\tilde R\ge\mathbb ER^*-D. STS for A~\tilde A plays each action with its posterior probability of being A~\tilde A, P(At=a∣Ht−1)=P(A~=a∣Ht−1)\mathbb P(A_t=a\mid H_{t-1})=\mathbb P(\tilde A=a\mid H_{t-1}). When A~=A∗\tilde A=A^*, this reduces to Thompson sampling. Russo and Van Roy bound the cost of learning A~\tilde A through two quantities. The mutual information I(A~;θ)I(\tilde A;\theta) measures how many nats about θ\theta suffice to identify A~\tilde A. The Γ(A~)=(1−γ2)∑t≥0γ2tΓt\Gamma(\tilde A)=(1-\gamma^2)\sum_{t\ge0}\gamma^{2t}\Gamma_t, with Γt=(E[R~−Rt])2/It\Gamma_t=(\mathbb E[\tilde R-R_t])^2/I_t and ItI_t the information round tt reveals about A~\tilde A: the squared shortfall against A~\tilde A per nat learned about it, averaged over rounds with the squared discount; small when every round that falls short reveals much Γ(A~)\Gamma(\tilde A) is the discounted average over rounds of the squared unconditional shortfall per nat revealed about A~\tilde A:It=I(A~;(At,Yt) ∣ Ht−1),Γt=(E[R~−Rt])2/It,Γ(A~)=(1−γ2)∑t≥0γ2tΓt.\begin{aligned}I_t&=I\big(\tilde A;(A_t,Y_t)\,\big|\,H_{t-1}\big),\\\Gamma_t&=(\mathbb E[\tilde R-R_t])^2/I_t,\\\Gamma(\tilde A)&=(1-\gamma^2)\textstyle\sum_{t\ge0}\gamma^{2t}\Gamma_t.\end{aligned}Here ItI_t is the information round tt reveals about A~\tilde A, and Γt\Gamma_t is that round's ratio. A small ratio means rounds that fall short of A~\tilde A reveal much about it.

Main results. (a) Regret through target information (Russo and Van Roy, Theorem 1). For any policy and any satisficing action A~\tilde A at tolerance DD,SRegretD≤Γ(A~) I(A~;θ)1−γ2.\mathrm{SRegret}_D\le\sqrt{\frac{\Gamma(\tilde A)\,I(\tilde A;\theta)}{1-\gamma^2}}.Discounted regret is therefore at most E[R∗−R~]/(1−γ)\mathbb E[R^*-\tilde R]/(1-\gamma) plus this square root. The first term is what aiming at A~\tilde A gives up; the second is what learning A~\tilde A costs. Because the bound holds for every target, the tightest choice minimizes their sum. The least information any target within DD requires is the R(D)=min⁡I(A~;θ)\mathcal R(D)=\min I(\tilde A;\theta) over targets with E[R∗−μ(A~,θ)]≤D\mathbb E[R^*-\mu(\tilde A,\theta)]\le D: the fewest nats about θ\theta that a decision within DD of the best needs, by analogy with lossy compression; Russo and Van Roy write R(D)R(D) R(D)\mathcal R(D). It never exceeds the entropy H(A∗)H(A^*), and it can stay finite even when H(A∗)H(A^*) is infinite.

In a actions are vectors a∈Rda\in\mathbb R^d and the mean reward is a⊤θa^\top\theta in dimension the dimension of the action and parameter vectors; Russo and Van Roy write pp with rewards in [−1/2,1/2][-1/2,1/2] and feedback only from the chosen action, STS satisfies Γ(A~)≤d/2\Gamma(\tilde A)\le d/2 for every target. Aiming at the target that attains R(D)\mathcal R(D) then gives satisficing regret at most R(D) d/(2(1−γ2))\sqrt{\mathcal R(D)\,d/(2(1-\gamma^2))}. Take a Gaussian prior with covariance Σ\Sigma and actions inside an ellipsoid with matrix BB. Perturbing the objective produces a target needing at most (d/2)ln⁡(1+tr(BΣ)/D2)(d/2)\ln(1+\mathrm{tr}(B\Sigma)/D^2) nats, regardless of how many actions exist (Step 4).

(b) Infinitely many arms (Russo and Van Roy, Theorems 4 and 5). Suppose arm means θa∈[0,1]\theta_a\in[0,1] are why: then a trial of one arm says nothing about another, so the first good-enough arm is found by trying arms in turn, and its position is geometric (Step 3), with noisy rewards in [0,1][0,1]. Take A~\tilde A to be the first arm with θa≥R∗−D\theta_a\ge R^*-D, and write qq=P(θa≥R∗−D){}=\mathbb P(\theta_a\ge R^*-D) for the prior probability that an untried arm qualifies. Then STS achievesSRegretD=O~(min⁡{11−γ,1/q1−γ}),\mathrm{SRegret}_D=\tilde O\Big(\min\Big\{\frac{1}{1-\gamma},\sqrt{\frac{1/q}{1-\gamma}}\Big\}\Big),where big-O up to logarithmic factors in 1/q1/q and 1/(1−γ2)1/(1-\gamma^2) hides logarithmic factors. For certain three-valued priors, no algorithm beats a constant times the same minimum. The first term is the trivial bound for rewards in [0,1][0,1]. The second improves on it whenever the effective horizon 1/(1−γ)1/(1-\gamma) exceeds 1/q1/q, the expected number of new arms tried until a good one turns up.

(c) Threshold and confidence (Reverdy et al.). Here KK arms yield Gaussian rewards with unknown means μa\mu_a and why: the index of Step 7 sets its width from σ\sigma; for an unknown variance the paper substitutes the sample-variance index of UCB1-Normal and states that performance stays efficient common variance the reward variance, the same for every arm in the theorems; Reverdy et al. write σs2\sigma_s^2. The agent seeks an arm with mean at least a chosen threshold the satisfaction threshold on an arm's mean reward, chosen by the agent and posterior probability at least 1−δ1-\delta of meeting it. A round costs max⁡{M−μAt,0}\max\{M-\mu_{A_t},0\} whenever that posterior probability is at most 1−δ1-\delta, and zero otherwise.

Write the reward distribution of arm aa, here N(μa,σ2)N(\mu_a,\sigma^2) for arm aa's reward distribution and a∗a^* for the best arm. Under certainty (δ=0\delta=0), regret grows logarithmically. If only a∗a^* meets MM, the problem reduces to the standard bandit. Each worse arm then needs at least about ln⁡T/KL(νa∥νa∗)\ln T/\mathrm{KL}(\nu_a\|\nu_{a^*}) pulls (Lai and Robbins, 1985), where KL is the Kullback-Leibler divergence. If the number of arms whose mean is at least MM≥2{}\ge2 arms meet MM, each non-qualifying arm needs at least about ln⁡T/KL(νa∥ν(k))\ln T/\mathrm{KL}(\nu_a\|\nu_{(k)}) pulls, where the reward distribution of the kk-th best arm, the worst arm whose mean is at least MM is the reward distribution of the worst qualifying arm. Under fixed confidence (δ>0\delta\gt0), the lower bound no longer grows with TT in either case. When only a∗a^* qualifies, each worse arm needs order σ2ln⁡(1/δ)/Δa2\sigma^2\ln(1/\delta)/\Delta_a^2 pulls, where Δa=μa∗−μa\Delta_a=\mu_{a^*}-\mu_a, the gap between the best arm's mean and arm aa's is its gap to a∗a^*. Bayesian UCB rules match each rate up to constants, and up to a ln⁡ln⁡T\ln\ln T term for δ>0\delta\gt0 after the authors' 2021 correction (Step 7).

(d) A threshold on each reward (Reverdy et al., Lemma 5). An agent may instead care about individual rewards rtr_t, aiming for rt≥Mr_t\ge M as often as possible rather than maximizing the mean. For Gaussian rewards with per-arm standard deviation the known standard deviation of arm aa's rewards, the arm most likely to reach MM maximizes the standardized mean (μa−M)/σa(\mu_a-M)/\sigma_a. That arm need not have the highest mean. Standardizing the rewards turns this problem directly into the mean-threshold problem of (c) (Step 8).

Consequences and limits. Satisficing pays off when good-enough arms are plentiful while the best arm is rare or costly to verify. That happens with many arms, a short effective horizon, or an approximate reward model whose exact optimum carries no special weight. Both frameworks take the aspiration level as given. Russo and Van Roy tie the best DD to R(D)\mathcal R(D), which is computable only in special cases, while Reverdy et al. leave MM unspecified. Russo and Van Roy's bounds are Bayesian, averaged over the prior, and their infinite-armed analysis is worst-case over priors. Applied to a uniform prior over TT undiscounted rounds, that analysis yields O(T2/3)O(T^{2/3}) regret, whereas their simulations suggest STS reaches the optimal T\sqrt{T} rate.

In Reverdy et al.'s published rules, a fixed confidence level can lock out the best arm. Because an unpulled arm's sample mean and confidence width stay frozen, a few poor early draws can keep the best arm from being tried again. Take the paper's four-arm example with δ=0.05\delta=0.05 and unit variance. Over 20,000 rounds, the fixed-confidence rule aimed at the best arm spent most of the run on a worse arm in about 2 of every 1,000 runs (computed here). Each arm's index is its sample mean plus 1.961.96 divided by the square root of its pull count. The second-best arm (mean 3) therefore settles just above 3, so the best arm (mean 4) is unlikely to be tried again once its frozen index drops below 3. After one pull, that happens when the first reward falls below 3−1.96≈1.043-1.96\approx1.04, nearly three standard deviations below 4, with probability about 0.0015. Averaging below 3−1.96/23-1.96/\sqrt2 after two pulls adds about 0.0004. The authors' 2021 correction lets the multiplier grow slowly with tt, so every arm is eventually revisited.

Step 1

The general regret bound follows from the chain rule for mutual information and Cauchy-Schwarz. Because A~\tilde A is independent of the history given θ\theta, the total information gathered about A~\tilde A across all rounds cannot exceed I(A~;θ)I(\tilde A;\theta). With ItI_t and Γt\Gamma_t as in the Setting and H∞H_\infty the full history,∑t≥0It=I(A~;H∞)≤I(A~;θ),SRegretD≤∑tγt E[R~−Rt]≤∑tγtΓtIt≤∑tγ2tΓt ∑tIt.\begin{aligned}\textstyle\sum_{t\ge0}I_t&=I(\tilde A;H_\infty)\le I(\tilde A;\theta),\\\mathrm{SRegret}_D&\le\textstyle\sum_t\gamma^t\,\mathbb E[\tilde R-R_t]\\&\le\textstyle\sum_t\gamma^t\sqrt{\Gamma_tI_t}\\&\le\sqrt{\textstyle\sum_t\gamma^{2t}\htmlData{gr=gn10}{\Gamma_t}}\,\sqrt{\textstyle\sum_tI_t}.\end{aligned}The first line applies the I(X;(Y1,…,Yn))=∑tI(X;Yt∣Y1,…,Yt−1)I(X;(Y_1,\dots,Y_n))=\sum_tI(X;Y_t\mid Y_1,\dots,Y_{t-1}): the information in a sequence is the sum of what each observation adds given the earlier ones and the if ZZ depends on XX only through YY, then I(X;Z)≤I(X;Y)I(X;Z)\le I(X;Y): processing cannot create information about XX. The regret chain uses ER~≥ER∗−D\mathbb E\tilde R\ge\mathbb ER^*-D, then E[R~−Rt]≤ΓtIt\mathbb E[\tilde R-R_t]\le\sqrt{\Gamma_tI_t} from the definition of Γt\Gamma_t, and finally Cauchy-Schwarz. Substituting ∑tγ2tΓt=Γ(A~)/(1−γ2)\sum_t\gamma^{2t}\Gamma_t=\htmlData{gr=gn11}{\Gamma(\tilde A)}/(1-\gamma^2) and ∑tIt≤I(A~;θ)\sum_tI_t\le I(\tilde A;\theta) yields (a). The squared discount in Γ(A~)\Gamma(\tilde A) matches the objective because (γt E[R~−Rt])2=γ2t(E[R~−Rt])2(\gamma^t\,\mathbb E[\tilde R-R_t])^2=\gamma^{2t}(\mathbb E[\tilde R-R_t])^2.

Step 2

With unlimited arms observed without noise, Thompson sampling never settles, and STS settles once. Give every arm an independent value uniform on [0,1][0,1], revealed exactly on its first pull, so R∗=1R^*=1. Each tried arm's posterior collapses to its known value, strictly below 1. Because infinitely many untried arms remain, some untried arm always draws higher in Thompson sampling's posterior sample. Thompson sampling therefore tries a new arm every round, earning 1/21/2 on average for discounted regret ∑t≥0γt/2=1/(2(1−γ))\sum_{t\ge0}\gamma^t/2=1/(2(1-\gamma)).

STS with tolerance DD tries new arms until it hits one with value at least 1−D1-D, then plays that arm forever. The round τ\tau when it finds a qualifying arm follows a geometric distribution of failures with success probability DD, so E[τ]=(1−D)/D<1/D\mathbb E[\tau]=(1-D)/D\lt1/D. Each failed arm costs E[1−θa∣θa<1−D]=(1+D)/2\mathbb E[1-\theta_a\mid\theta_a\lt1-D]=(1+D)/2, and the kept arm costs D/2D/2 per round. Splitting (1+D)/2=1/2+D/2(1+D)/2=1/2+D/2 folds the D/2D/2 term across all rounds, and ∑t<τγt≤τ\sum_{t\lt\tau}\gamma^t\le\tau givesRegret=E∑t<τγt1+D2+E∑t≥τγtD2=12 E∑t<τγt+D2(1−γ)≤12D+D2(1−γ).\begin{aligned}\mathrm{Regret}&=\mathbb E\textstyle\sum_{t\lt\tau}\gamma^t\frac{1+D}{2}\\&\quad+\mathbb E\textstyle\sum_{t\ge\tau}\gamma^t\frac{D}{2}\\&=\tfrac{1}{2}\,\mathbb E\textstyle\sum_{t\lt\tau}\gamma^t+\frac{D}{2(1-\gamma)}\\&\le\frac{1}{2D}+\frac{D}{2(1-\gamma)}.\end{aligned}The first term is the search cost, and the second is the cost of settling up to DD below the best. Setting D=1−γD=\sqrt{1-\gamma} equalizes both terms, putting their sum at 1/1−γ1/\sqrt{1-\gamma}. As γ→1\gamma\to1, Thompson sampling's regret exceeds STS's by a factor of order 1/1−γ1/\sqrt{1-\gamma}.

Step 3

With noisy rewards, the first good-enough arm needs at most 1+ln⁡(1/q)1+\ln(1/q) nats, and each round's ratio is at most twice the number of arms tried plus 2/q2/q. Because A~\tilde A is a deterministic function of θ\theta, I(A~;θ)I(\tilde A;\theta) equals its entropy H(A~)H(\tilde A). In the order arms are tried, A~\tilde A's index is geometric with success probability qq. Its entropy is therefore at most 1+ln⁡(1/q)1+\ln(1/q), regardless of how many arms exist. For the information ratio, a round's expected shortfall against A~\tilde A splits into two parts: picking among tried arms, and the chance that none of them qualifies. Write the set of arms tried before round tt for the set of arms tried before round tt. for distributions P,QP,Q and a function ff with range at most 1, ∣EPf−EQf∣≤KL(P∥Q)/2|\mathbb E_Pf-\mathbb E_Qf|\le\sqrt{\mathrm{KL}(P\|Q)/2} bounds each part in terms of the information round tt reveals, showing that the information ratio, computed under the posterior of round tt, is at most 2∣At∣+2/q2|\mathcal A_t|+2/q. Because STS tries a new arm only with the posterior probability that no tried arm qualifies, E∣At∣≤2+ln⁡(t)/q\mathbb E|\mathcal A_t|\le2+\ln(t)/q. Averaging over rounds with γ2t\gamma^{2t} gives Γ(A~)≤6+4/q+(2/q)ln⁡(1/(1−γ2))\Gamma(\tilde A)\le6+4/q+(2/q)\ln(1/(1-\gamma^2)), and Step 1 delivers the upper bound in (b).

The matching lower bound puts each arm's mean on three values: 1/21/2 minus a gap, 1/21/2, or 1/2+D1/2+D, with probabilities 1−q1-q, q−ϵq-\epsilon, and a tiny ϵ\epsilon. The exact optimum at 1/2+D1/2+D is too rare to find within the effective horizon, while a good-enough arm at 1/21/2 occurs with probability qq. Any algorithm therefore pays at least a constant times the minimum in (b).

Step 4

In a linear bandit, perturbing the objective bounds the information needed, independently of the number of actions. Let θ∼N(θˉ,Σ)\theta\sim N(\bar\theta,\Sigma) in Rd\mathbb R^d and let actions lie in the ellipsoid {x:x⊤B−1x≤1}\{x:x^\top B^{-1}x\le1\}. Define A~=arg⁡max⁡a⟨a,θ+ξ⟩\tilde A=\arg\max_a\langle a,\theta+\xi\rangle with independent Gaussian noise added to θ\theta when defining the target, ξ∼N(0,β2Σ)\xi\sim N(0,\beta^2\Sigma); never observed∼N(0,β2Σ){}\sim N(0,\beta^2\Sigma) and β=D/tr(BΣ)\beta=D/\sqrt{\mathrm{tr}(B\Sigma)}. Because E[ξ]=0\mathbb E[\xi]=0, Jensen's inequality gives E⟨A∗,θ⟩=Emax⁡a⟨a,θ⟩≤Emax⁡a⟨a,θ+ξ⟩=E⟨A~,θ+ξ⟩\mathbb E\langle \htmlData{gr=gn6}{A^*},\theta\rangle=\mathbb E\max_a\langle a,\theta\rangle\le\mathbb E\max_a\langle a,\theta+\xi\rangle=\mathbb E\langle\tilde A,\theta+\xi\rangle. Rearranging and using max⁡a⟨a,ξ⟩≤∥ξ∥B=ξ⊤Bξ\max_a\langle a,\xi\rangle\le\|\xi\|_B=\sqrt{\xi^\top B\xi} on the ellipsoid yieldsE⟨A∗−A~,θ⟩≤E⟨A~,ξ⟩≤E∥ξ∥B≤β2tr(BΣ)=D,\begin{aligned}\mathbb E\langle A^*-\tilde A,\theta\rangle&\le\mathbb E\langle\tilde A,\xi\rangle\le\mathbb E\|\xi\|_B\\&\le\sqrt{\beta^2\mathrm{tr}(B\Sigma)}=D,\end{aligned}where the last step applies Jensen's inequality to ξ⊤Bξ\sqrt{\xi^\top B\xi} and uses E[ξ⊤Bξ]=β2tr(BΣ)\mathbb E[\xi^\top B\xi]=\beta^2\mathrm{tr}(B\Sigma). Since A~\tilde A depends on θ\theta only through θ+ξ\theta+\xi, data processing and the Gaussian entropy formula giveI(A~;θ)≤I(θ+ξ;θ)=d2ln⁡(1+1/β2)=d2ln⁡(1+tr(BΣ)/D2),\begin{aligned}I(\tilde A;\theta)&\le I(\theta+\xi;\theta)=\tfrac{\htmlData{gr=g20}{d}}{2}\ln(1+1/\beta^2)\\&=\tfrac{d}{2}\ln\big(1+\mathrm{tr}(B\Sigma)/D^2\big),\end{aligned}independently of the number of actions. STS for this target is Thompson sampling with added noise: draw θ^\hat\theta from the posterior and ξ^\hat\xi from N(0,β2Σ)N(0,\beta^2\Sigma), then play arg⁡max⁡a⟨a,θ^+ξ^⟩\arg\max_a\langle a,\hat\theta+\hat\xi\rangle.

Step 5

In simulations STS loses less early on, and modeling shared features matters as much as satisficing. With 250 arms of uniform value, STS at tolerance 0.05 cuts per-round regret much faster than Thompson sampling over the first 500 rounds. That holds for both exact observations and Bernoulli rewards of mean θa\theta_a (5,000 runs; shown only as figures). In the hierarchical problem, 400 ads each carry one of the four binary feature vectors in {0,1}2\{0,1\}^2. Each ad's reward is a shared linear function of those features plus an ad-specific effect. Over the first 50 noiseless rounds at D=1D=1 (2,000 runs), STS with shared features averaged 1.21 per round, unrelated STS averaged 0.79, and Thompson sampling averaged 0.67. Thompson sampling shares information across ads but keeps chasing the best ad. Unrelated STS settles early without learning from the features.

Step 6

Each threshold-and-confidence objective is a bandit problem with known lower bounds. In Reverdy et al.'s setup, a threshold MM at or below the second-best mean makes all kk qualifying arms interchangeable, so the task is only to avoid the rest. That is the kk-play bandit of Anantharam et al. (1987), whose lower bound charges each non-qualifying arm ln⁡T/KL(νa∥ν(k))\ln T/\mathrm{KL}(\htmlData{gr=g27f}{\nu_a}\|\nu_{(k)}) pulls. Accepting a failure probability δ>0\delta\gt0 asks only for an arm that qualifies with probability 1−δ1-\htmlData{gr=g8}{\delta}. That is the probably approximately correct: return, with probability at least 1−δ1-\delta, an arm within a tolerance of the target, using as few samples as possible. Reading note: Best arm identification setting of Even-Dar et al. (2002) and Mannor and Tsitsiklis (2004) for one arm, and Kalyanakrishnan et al. (2012) for kk arms. Their sample-complexity lower bounds scale as ln⁡(1/δ)\ln(1/\delta) over the squared gap and do not grow with TT, so bounded regret is not ruled out. When δ=0\delta=0, certainty never arrives in finite time, so every algorithm keeps exploring and regret grows at least like ln⁡T\ln T.

Step 7

In the published analysis, fixed-confidence Bayesian UCB rules match these rates, with a worse-arm pull threshold independent of TT. Under a flat prior, Reverdy et al.'s upper credible limit, Reverdy et al.'s Bayesian UCB rule: an arm's index is a high quantile of the posterior of its mean; with a flat prior it is Qa=μ^a+c σ/naQ_a=\hat\mu_a+c\,\sigma/\sqrt{n_a}, the sample mean plus cc posterior standard deviations rule assigns arm aa the indexQa=μ^a+σna c.Q_a=\hat\mu_a+\frac{\sigma}{\sqrt{n_a}}\,c.Here the sample mean of arm aa's rewards, equal to its posterior mean under a flat prior is arm aa's sample mean, the number of times arm aa has been pulled; Reverdy et al. write nitn_i^t is its pull count, and a quantile of the standard normal distribution that sets the confidence of the index: c=Φ−1(1−1/t)c=\Phi^{-1}(1-1/t) in the standard rule, which grows with tt, and fixed at Φ−1(1−δ/2)\Phi^{-1}(1-\delta/2) or Φ−1(1−δ/3)\Phi^{-1}(1-\delta/3) in the two fixed-confidence rules is a quantile of the Φ(z)=P(Z≤z)\Phi(z)=\mathbb P(Z\le z) for Z∼N(0,1)Z\sim N(0,1); Φ−1\Phi^{-1} is its quantile function. The standard rule grows c=Φ−1(1−1/t)c=\Phi^{-1}(1-1/t) with round tt. The δ\delta-sufficing rule fixes c=Φ−1(1−δ/2)c=\Phi^{-1}(1-\delta/2) and plays the highest-index arm. The (M,δ)(\htmlData{gr=g26}{M},\delta)-satisficing rule fixes c=Φ−1(1−δ/3)c=\Phi^{-1}(1-\delta/3) and plays any arm whose index is at least MM, keeping the current arm when it qualifies. If no arm qualifies, it plays the highest-index arm.

A worse arm aa beats a∗a^* only if one of three events holds: μ^a−μa\hat\mu_a-\htmlData{gr=gn15}{\mu_a} exceeds aa's width, μa∗−μ^a∗\mu_{a^*}-\hat\mu_{a^*} exceeds a∗a^*'s width, or twice aa's width exceeds Δa\Delta_a. The third event becomes impossible oncena≥4σ2c2/Δa2,c=Φ−1(1−δ/2)≤2ln⁡(2/δ).\begin{aligned}n_a&\ge4\sigma^2c^2/\Delta_a^2,\\c&=\Phi^{-1}(1-\delta/2)\le\sqrt{2\ln(2/\delta)}.\end{aligned}Past about 8σ2ln⁡(2/δ)/Δa2+18\htmlData{gr=g25}{\sigma^2}\ln(2/\delta)/\Delta_a^2+1 pulls, arm aa is chosen in a given round only when one of the first two tail events occurs. For a fixed pull count, each tail event has probability at most δ/2\delta/2. That pull threshold does not depend on TT and matches the PAC rate of Step 6 up to constants.

Because the argument above treats nan_a as fixed when pull counts actually depend on past rewards, the published proof fails and allows lock-in. The authors' correction (Reverdy et al., 2021) lets both fixed-confidence quantiles grow like ln⁡ln⁡t\sqrt{\ln\ln t}, replacing ln⁡(2/δ)\ln(2/\delta) in the threshold by about ln⁡(2ln⁡T/δ)\ln(2\ln T/\delta). The (M,δ)(M,\delta) rule follows the same argument with δ/3\delta/3 and shortfall ΔaM\Delta^M_a=M−μa{}=M-\mu_a, giving a published pull threshold of 8σ2ln⁡(3/δ)/(ΔaM)28\sigma^2\ln(3/\delta)/(\Delta^M_a)^2. With the growing quantile, the eligible set, and δ=0\delta=0, the corrected rule pulls a non-qualifying arm at most 8bln⁡T/(ΔaM)2+o(ln⁡T)8b\ln T/(\Delta^M_a)^2+o(\ln T) times in expectation, for unit variance and any constant b>4/3b\gt4/3. That matches the ln⁡T\ln T rate of Step 6.

Step 8

For Gaussian rewards, a threshold on each reward is a threshold on the standardized mean. Call a round happy if rt≥Mr_t\ge M, and write arm aa's probability of a happy round, P(rt≥M∣At=a)\mathbb P(r_t\ge M\mid A_t=a) for arm aa's probability of a happy round. Seeking an arm with pap_a at least a required level the required probability of a happy round; Reverdy et al. write Π\Pi is a satisficing problem for a Bernoulli bandit with means pap_a. With ZZ standard normal,pa=P(μa+σaZ≥M)=Φ(xa),xa=(μa−M)/σa.\begin{aligned}p_a&=\mathbb P(\mu_a+\sigma_aZ\ge M)=\Phi(x_a),\\x_a&=(\mu_a-M)/\htmlData{gr=g31}{\sigma_a}.\end{aligned}Because Φ\Phi is increasing, arms rank identically by pap_a and by the standardized mean (μa−M)/σa(\mu_a-M)/\sigma_a, how many standard deviations arm aa's mean lies above the threshold. The standardized rewards (rt−M)/σAt(r_t-M)/\sigma_{A_t} follow N(xAt,1)N(x_{A_t},1), so running any rule of Step 7 on them with threshold Φ−1(p0)\Phi^{-1}(p_0) solves the happiness problem with the same guarantees. This ranking can disagree with the ranking by mean. With means 1, 2, 3, 4, standard deviations 1, 1, 1, 3, and M=2M=2, the standardized means are x=−1,0,1,2/3x=-1,0,1,2/3. The mean-3 arm therefore beats M=2M=2 most often, at Φ(1)≈0.84\Phi(1)\approx0.84 against Φ(2/3)≈0.75\Phi(2/3)\approx0.75 for mean 4.

Step 9

In simulations, a fixed confidence level stops the growth of regret and halves arm switches. Four Gaussian arms have means 1, 2, 3, 4 and unit variance (100 runs per rule). With δ=0\delta=0, regret against both the best arm and M=2.5M=2.5 grows like ln⁡t\ln t. With δ=0.05\delta=0.05, both level off. In all four cases, realized regret stays well below the theoretical bounds. The δ\delta-sufficing rule earns slightly less total reward than the standard rule while switching arms about half as often, which matters when switching is costly. In the happiness setting (M=2M=2, standard deviations 1, 1, 1, 3), rules targeting happy rounds deliver more of them than the standard rule. Fixing confidence also keeps their extra arm switching close to the standard rule's level.

Terms

Satisficing
settling for an option that meets a stated standard instead of the best one
Satisficing regret
E∑tγt(R∗−D−Rt)\mathbb E\sum_t\gamma^t(R^*-D-R_t), the discounted regret minus D/(1−γ)D/(1-\gamma)
STS
play aa with probability P(A~=a∣Ht−1)\mathbb P(\tilde A=a\mid H_{t-1}); with unlimited arms, keep the earliest tried arm whose drawn mean is within DD of the best, else try a new one
Information ratio
squared shortfall against the target per nat learned about it, discounted average Γ(A~)\Gamma(\tilde A)
General bound
SRegretD≤Γ(A~)I(A~;θ)/(1−γ2)\mathrm{SRegret}_D\le\sqrt{\Gamma(\tilde A)I(\tilde A;\theta)/(1-\gamma^2)} for any policy and any target
Rate-distortion function
R(D)\mathcal R(D), the least information about θ\theta a decision within DD of the best needs; at most H(A∗)H(A^*)
Unlimited noiseless arms
Thompson sampling 1/(2(1−γ))1/(2(1-\gamma)); STS with D=1−γD=\sqrt{1-\gamma} at most 1/1−γ1/\sqrt{1-\gamma}
Unlimited noisy arms
STS O~(min⁡{1/(1−γ),(1/q)/(1−γ)})\tilde O(\min\{1/(1-\gamma),\sqrt{(1/q)/(1-\gamma)}\}), matched by a lower bound
Satisfaction and sufficiency
threshold MM on the mean and confidence 1−δ1-\delta; δ=0\delta=0 gives ln⁡T\ln T regret, δ>0\delta\gt0 nearly bounded (ln⁡ln⁡T\ln\ln T)
Fixed-confidence UCB
index μ^a+σc/na\hat\mu_a+\sigma c/\sqrt{n_a} with fixed cc; a worse arm needs about 8σ2ln⁡(2/δ)/Δa28\sigma^2\ln(2/\delta)/\Delta_a^2 pulls; corrected cc grows like ln⁡ln⁡t\sqrt{\ln\ln t} so no arm is locked out
Happiness threshold
for Gaussian rewards, P(rt≥M)=Φ((μa−M)/σa)\mathbb P(r_t\ge M)=\Phi((\mu_a-M)/\sigma_a); rank arms by the standardized mean

Sources

Connected notes

  • Expected reward is linear in the policy, so its maximum is a vertex of the simplex, all mass on the best sequence, even for a reward that ranks every sequence correctly; the KL penalty makes the target the tilt πrefer/β/Z\pi_{\rm ref}e^{r/\beta}/Z, which puts mass wherever the reference does and concentrates on the best sequences only as β→0\beta\to0.

  • On a 0/1 reward, RL raises the chance pxp_x of solving problems the model often solves and can push it to zero on problems it rarely solves; in Yue et al.'s runs the starting model overtakes the trained one in pass@kk as kk grows, and longer training raises pass@1 while pass@256 falls.

  • Classifier-confidence distillation collapses images onto typical prototypes and attraction-only drifting reduces to mean shift on density peaks (FID 177 against 8.5), while adding repulsion between synthetic views spreads ten images across each class and raises SigLIP2 coverage from under 10% to 77.0%.

  • Standard policy gradients push answers in proportion to their probability and create rank bias that favors popular proofs, whereas unlikeliness rewards, pass@kk objectives weighting prompts by k(1−q)k−1k(1-q)^{k-1}, and RepExp's novelty bonus keep rarer solutions in play.

Threads