Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Bandit Algorithms

212 missions · 107 completed

Missions

Open105Completed107All212
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms III: Asymptotic and Minimax Optimality of UCBTextbook

The basic UCB regret bound of Mission II is logarithmic but not tight: its leading constant 16/Δi16/\Delta_i16/Δi​ is eight times the information-theoretic limit, and its worst-case rate carries a spurious log⁡n\sqrt{\log n}logn​. Chapters 8–9 of Lattimore–Szepesvári close both gaps. A refined confidence schedule f(t)=1+tlog⁡2tf(t) = 1 + t\log^2 tf(t)=1+tlog2t yields the asymptotically optimal lim sup⁡n→∞Rn/log⁡n≤∑i:Δi>02/Δi\limsup_{n\to\infty} R_n/\log n \le \sum_{i:\Delta_i>0} 2/\Delta_ilimsupn→∞​Rn​/logn≤∑i:Δi​>0​2/Δi​ — exactly matching the instance-dependent lower bound of Mission VII for Gaussian noise. The MOSS index μ^i+4Tilog⁡+ ⁣(nkTi)\hat\mu_i + \sqrt{\tfrac{4}{T_i}\log^+\!\big(\tfrac{n}{k T_i}\big)}μ^​i​+Ti​4​log+(kTi​n​)​ achieves minimax regret Rn≤39kn+∑iΔiR_n \le 39\sqrt{kn} + \sum_i \Delta_iRn​≤39kn​+∑i​Δi​, matching the Ω(kn)\Omega(\sqrt{kn})Ω(kn​) lower bound up to a constant. These two theorems are the gold standard for finite-armed stochastic bandits.

25 thms10 active usersReviewed
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms II: Stochastic Bandits and the UCB AlgorithmTextbook

A learner repeatedly chooses one of kkk slot machines, observes only the reward of the chosen arm, and wants to earn almost as much as the best arm in hindsight. This is the stochastic multi-armed bandit, the canonical model of the exploration–exploitation dilemma. This mission formalizes the model (environments, policies, regret, and the regret decomposition Rn=∑iΔi E[Ti(n)]R_n = \sum_i \Delta_i\,\mathbb{E}[T_i(n)]Rn​=∑i​Δi​E[Ti​(n)]) and the two classical algorithms of Chapters 6–7 of Lattimore–Szepesvári: Explore-Then-Commit and the Upper Confidence Bound algorithm built on the optimism principle. The goal theorem is the instance-dependent UCB regret bound Rn≤3∑iΔi+∑i:Δi>016log⁡(n)/ΔiR_n \le 3\sum_i \Delta_i + \sum_{i:\Delta_i>0} 16\log(n)/\Delta_iRn​≤3∑i​Δi​+∑i:Δi​>0​16log(n)/Δi​ — logarithmic regret with explicit constants, the single most cited result of bandit theory — together with its distribution-free companion Rn≤8nklog⁡n+3∑iΔiR_n \le 8\sqrt{nk\log n} + 3\sum_i \Delta_iRn​≤8nklogn​+3∑i​Δi​.

27 thms9 active usersReviewed
🏆Completed
Information TheoryMachine LearningOperations Research·Captain: mikedeng1

Phase Transitions in Bandits with Switching Constraints: every policy with at most S switches has regret at least the phase-dependent rate up to a logarithmic factorResearch Paper

Motivation

In many sequential decision problems, changing the action is costly or administratively limited: a retailer can revise a posted price only a few times per season, a clinical trial can change its treatment allocation only a few times, and a firm can reconfigure its production line only so often. The multi-armed bandit with switching constraints (BwSC) captures this tension between learning and limited adaptivity: the learner must explore to find a good action, but every change of action consumes a hard budget. Simchi-Levi and Xu (arXiv:1905.10825, Management Science 2023) determine the optimal regret of this problem up to logarithmic factors.

Timeline. Classical bandit theory gives the minimax regret Θ(KT)\Theta(\sqrt{KT})Θ(KT​) for KKK arms and horizon TTT with unlimited switching (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020). Cesa-Bianchi, Dekel and Shamir (2013) showed that in adversarial bandits with switching costs the regret is Θ~(T2/3)\widetilde\Theta(T^{2/3})Θ(T2/3). For stochastic bandits processed in a fixed number of batches, Perchet, Rigollet, Chassang and Snowberg (2016) and Gao, Han, Ren and Zhou (2019) obtained regret rates of the form T1/(2−21−M)T^{1/(2-2^{1-M})}T1/(2−21−M) for MMM batches. Simchi-Levi and Xu (2019, revised 2021) treat a hard budget SSS on the number of switches and prove matching upper and lower bounds; the lower bound, Theorem 2, is the subject of this mission.

Setting

There are K>1K>1K>1 arms and TTT rounds. In round ttt the learner picks at∈[K]a_t\in[K]at​∈[K] and observes a reward Xt∼N(μat,1)X_t\sim\mathcal N(\mu_{a_t},1)Xt​∼N(μat​​,1) from the unit-variance Gaussian environment with mean vector μ∈RK\mu\in\mathbb R^Kμ∈RK; admissible environments have mean spread ∣μi−μj∣≤1|\mu_i-\mu_j|\le1∣μi​−μj​∣≤1. A policy π\piπ chooses at+1a_{t+1}at+1​ by a Markov kernel from the past actions and rewards; Pμπ\mathbb P^\pi_\muPμπ​ is the law of the history. The regret is

Rμπ(T)=Tmax⁡iμi−Eμπ[∑t=1TXt].R^\pi_\mu(T)=T\max_i\mu_i-\mathbb E^\pi_\mu\Big[\sum_{t=1}^T X_t\Big].Rμπ​(T)=Timax​μi​−Eμπ​[t=1∑T​Xt​].

With unit switching costs, the number of switches is ∑t=1T−11{at≠at+1}\sum_{t=1}^{T-1}\mathbb 1\{a_t\neq a_{t+1}\}∑t=1T−1​1{at​=at+1​}. For a budget S∈NS\in\mathbb NS∈N, the class ΠS\Pi_SΠS​ of SSS-switch policies consists of the policies whose number of switches is at most SSS almost surely under every environment.

The budget enters through the phase index q(S,K)=⌊(S−1)/(K−1)⌋q(S,K)=\lfloor (S-1)/(K-1)\rfloorq(S,K)=⌊(S−1)/(K−1)⌋ (with q(0,K)=0q(0,K)=0q(0,K)=0) and the remainder r(S,K)=S−1−q(S,K)(K−1)r(S,K)=S-1-q(S,K)(K-1)r(S,K)=S−1−q(S,K)(K−1) (so r(0,K)=−1r(0,K)=-1r(0,K)=−1). Two rates appear, with a(q)=1/(2−2−q)a(q)=1/(2-2^{-q})a(q)=1/(2−2−q):

A=(K−r(S,K))2−a(q(S,K))K Ta(q(S,K)),B=K1−a(q(S,K)+1) Ta(q(S,K)+1).A=\frac{(K-r(S,K))^{2-a(q(S,K))}}{K}\,T^{a(q(S,K))},\qquad B=K^{1-a(q(S,K)+1)}\,T^{a(q(S,K)+1)}.A=K(K−r(S,K))2−a(q(S,K))​Ta(q(S,K)),B=K1−a(q(S,K)+1)Ta(q(S,K)+1).

In Lean these are IsSwitchPolicy S T π, qIdx S K, rIdx S K, rateA K S T, rateB K S T, on top of the published BanditPolicy, banditMeasure, banditRegret and gaussianBandit.

Formalization targets

Goal: Theorem 2 (p. 21)

There is an absolute constant C>0C>0C>0 such that for all K>1K>1K>1, S∈NS\in\mathbb NS∈N, T≥2KT\ge2KT≥2K and every π∈ΠS\pi\in\Pi_Sπ∈ΠS​, some admissible Gaussian environment μ\muμ satisfies

Rμπ(T) ≥ Clog⁡Tmax⁡{A, B}.R^\pi_\mu(T)\ \ge\ \frac{C}{\log T}\max\{A,\ B\}.Rμπ​(T) ≥ logTC​max{A, B}.

The constant is not fixed: the goal asserts the shape of the bound, which survives any improvement of constants.

Milestones

The proof in Appendix J (pp. 59–75) reduces to the regime q(S,K)+2≤log⁡2log⁡2(T/K)q(S,K)+2\le\log_2\log_2(T/K)q(S,K)+2≤log2​log2​(T/K) (p. 59, two bounds by O(KT)O(\sqrt{KT})O(KT​) outside it) and then runs a five-step program on two families of environments:

  1. the localized Pinsker inequality (Lemma 5) and the generalized reverse Fano inequality (Proposition 5, (35));
  2. counting bounds on risky events under a single environment (Lemmas 6–7, Corollary 4);
  3. bad-event regret bounds under alternative environments and the reduction to bad-event probabilities (Lemmas 8–11);
  4. divergence bounds for restricted measures (property 1 of p. 72, Lemmas 12–13);
  5. the final probability bounds (46)–(47).

Significance

The result. Theorem 2, together with the AdaLS upper bound (Theorem 1), shows that the optimal regret is Θ~(max⁡{A,B})\widetilde\Theta(\max\{A,B\})Θ(max{A,B}) for every KKK, SSS and TTT. In particular, for fixed KKK the regret as a function of TTT is Θ~(T1/(2−2−q(S,K)))\widetilde\Theta(T^{1/(2-2^{-q(S,K)})})Θ(T1/(2−2−q(S,K))): it changes only when SSS crosses a multiple of K−1K-1K−1, a phase transition in the switching budget, and Θ(log⁡log⁡T)\Theta(\log\log T)Θ(loglogT) switches suffice for the classical T\sqrt TT​ rate. The lower bound holds for all randomized adaptive policies, not only batched ones.

Formalizing it. The result is proved on paper but has no machine-checked proof. Formalizing the lower bound adds a reusable change-of-measure toolkit for adaptively collected data: a reverse Fano-type inequality over families of measure spaces, stopping-time-based counting arguments on switching patterns, and divergence bounds for censored histories. Three printed steps needed repair (see Formalization scope), so the formal development also certifies a corrected version of the argument.

Difficulty

The obvious argument fails at the counting step. A naive choice of risky events (arms unobserved in fixed time windows) only gives a sum of probabilities of at least K−1−⌊S/(q+1)⌋K-1-\lfloor S/(q+1)\rfloorK−1−⌊S/(q+1)⌋, which vanishes when SSS is at the end of a phase; this loses the floor ⌊(S−1)/(K−1)⌋\lfloor (S-1)/(K-1)\rfloor⌊(S−1)/(K−1)⌋ in the exponent. The paper's events in the last window are defined through the stopping time at which the switching budget is exhausted, and they interact with the measure-change step: the restricted measures must hide enough information about the tested arm to make divergences small, while still deciding the stopping-time event. A second difficulty is that the policy is adaptive and randomized, so all events and measures are path-dependent.

Formalization scope

  • Model. Histories are the published canonical bandit histories Fin T → Fin K × ℝ; rounds are 1-based in every statement (entry sss is round s+1s+1s+1). Environments are unit-variance Gaussian (gaussianBandit), which is all the proof uses (p. 59).
  • Admissible policies. IsSwitchPolicy S T π asks the budget to hold almost surely under every unit-variance Gaussian environment, a weaker requirement than the paper's "for all sub-Gaussian D\mathcal DD", so the goal covers at least the paper's policy class. The regret lower bound is witnessed by one Gaussian instance with mean spread at most 111, which implies the paper's bound on the supremum.
  • Conventions. S∈NS\in\mathbb NS∈N and unit costs (§3, p. 14); q(0,K)=0q(0,K)=0q(0,K)=0 and r(0,K)=−1r(0,K)=-1r(0,K)=−1 by the paper's convention ⌊x⌋=0\lfloor x\rfloor=0⌊x⌋=0 for x<0x<0x<0; τ=∞\tau=\inftyτ=∞ is encoded as T+1T+1T+1; divergences are Mathlib's klDiv in [0,∞][0,\infty][0,∞], and the reverse KL is Dre(P∥Q)=KL(Q∥P)D_{\rm re}(\mathbb P\|\mathbb Q)=\mathrm{KL}(\mathbb Q\|\mathbb P)Dre​(P∥Q)=KL(Q∥P); conditional expectations in Lemmas 8 and 10 are stated in product form.
  • Repairs. (i) Lemma 8's integrand is the regret Tμ∗−∑tμatT\mu^*-\sum_t\mu_{a_t}Tμ∗−∑t​μat​​; the printed integrand is non-positive for j=q+2j=q+2j=q+2. (ii) The artificial measures (45) are replaced by records stopped at the first pull of the tested arm in the window; the printed measures do not have the claimed divergence. (iii) The p. 59 bound 2KT\sqrt{2KT}2KT​ is corrected to 2KT2\sqrt{KT}2KT​, and the companion bound for the first term, which the page omits, is a separate milestone. The first-class lemmas assume q(S,K)≥1q(S,K)\ge1q(S,K)≥1, where the page's construction is defined; the goal does not.
  • Ruled out. A constant CCC depending on KKK, SSS or TTT; dropping the mean-spread condition; restricting to deterministic or batched policies; a switching constraint only in expectation; or stating the theorem for one fixed (K,S)(K,S)(K,S) — each makes the statement trivial or different, and none is used.
  • Infrastructure. Reused: the published canonical bandit model, the Bernoulli divergence ExploreFirst.FundIneq.klBer, the first half of Lemma 5 (ExploreFirst.Collective.lemma_6) and the classical bound BanditAlgorithm.bandit_minimax_lower_bound. Needed and reusable beyond this mission: the divergence decomposition for stopped histories, joint convexity and data processing for KL across different spaces, and the KL divergence of unit-variance Gaussians. Proofs of any milestone, and of the Gaussian-instance reduction, are welcome.

Selected references

  • D. Simchi-Levi and Y. Xu, Phase Transitions in Bandits with Switching Constraints, Management Science, 2023; arXiv:1905.10825v4. https://arxiv.org/abs/1905.10825
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
  • N. Cesa-Bianchi, O. Dekel and O. Shamir, Online Learning with Switching Costs and Other Adaptive Adversaries, NeurIPS 2013. https://arxiv.org/abs/1302.4387
  • V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics, 2016. https://arxiv.org/abs/1505.00369
  • Z. Gao, Y. Han, Z. Ren and Z. Zhou, Batched Multi-armed Bandits Problem, NeurIPS 2019. https://arxiv.org/abs/1904.01763
  • S. Gerchinovitz, P. Ménard and G. Stoltz, Fano's Inequality for Random Variables, Statistical Science, 2020. https://arxiv.org/abs/1702.05985
31 thms7 active usersReviewed
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms XIV: Bayesian Bandits, the Gittins Index and Thompson SamplingTextbook

The oldest bandit algorithm (Thompson, 1933) is also the most modern: sample a parameter from the posterior and act greedily. Chapters 34–36 of Lattimore–Szepesvári develop the Bayesian view in two crowning results. The Gittins index theorem: for infinite-horizon discounted Markov bandits, the seemingly intractable dynamic program is solved exactly by an index policy — each arm gets a retirement-value index computable arm-by-arm, and playing the largest index is Bayesian optimal. And the frequentist analysis of Thompson sampling — the goal theorem: with Gaussian posteriors, Thompson sampling on 1-subgaussian bandits achieves lim⁡n→∞Rn/log⁡n=∑i:Δi>02/Δi\lim_{n\to\infty} R_n/\log n = \sum_{i:\Delta_i>0} 2/\Delta_ilimn→∞​Rn​/logn=∑i:Δi​>0​2/Δi​, exactly asymptotically optimal, alongside the minimax-grade Rn≤Cknlog⁡nR_n \le C\sqrt{kn\log n}Rn​≤Cknlogn​. Together they explain why posterior sampling is both principled and practically dominant.

89 thms7 active usersReviewed
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms XI: Lower Bounds for Stochastic Linear BanditsTextbook

Is the dnd\sqrt{n}dn​ regret of LinUCB (Mission X) an artifact of the algorithm or a law of nature? Chapters 24–25 of Lattimore–Szepesvári prove it is essentially unimprovable. On the unit ball there is a parameter θ\thetaθ with ∥θ∥22=d2/(48n)\|\theta\|_2^2 = d^2/(48n)∥θ∥22​=d2/(48n) forcing Rn≥dn163R_n \ge \frac{d\sqrt{n}}{16\sqrt{3}}Rn​≥163​dn​​ — the goal theorem — and the hypercube gives the same Ω(dn)\Omega(d\sqrt{n})Ω(dn​) rate. The asymptotic chapter is more striking still: for fixed finite action sets, the instance-optimal constant c(A,θ)c(\mathcal{A},\theta)c(A,θ) is characterized by an allocation program, and optimism itself is provably suboptimal — LinUCB and Thompson sampling cannot achieve it, because exploration must sometimes deliberately play actions optimism would never touch. These lower bounds define the targets for the entire linear-bandit literature.

14 thms7 active usersReviewed
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms V: Adversarial Bandits and Exp3Textbook

What if the rewards are not random at all, but chosen by an adversary who knows your algorithm? Remarkably, a randomized learner can still compete with the best fixed arm in hindsight. Chapters 11–12 of Lattimore–Szepesvári develop the adversarial kkk-armed bandit: rewards xti∈[0,1]x_{ti} \in [0,1]xti​∈[0,1] are an arbitrary fixed matrix, the learner samples At∼PtA_t \sim P_tAt​∼Pt​, and regret is measured against max⁡i∑txti\max_i \sum_t x_{ti}maxi​∑t​xti​. The exponential-weights algorithm Exp3, fed by importance-weighted loss estimates X^ti=1−1{At=i}(1−Xt)/Pti\hat X_{ti} = 1 - \mathbb{1}\{A_t = i\}(1 - X_t)/P_{ti}X^ti​=1−1{At​=i}(1−Xt​)/Pti​, achieves Rn≤2nklog⁡kR_n \le \sqrt{2nk\log k}Rn​≤2nklogk​ — the goal theorem. The companion Exp3-IX, which deliberately biases its estimator, upgrades this to a bound holding with high probability rather than only in expectation. These results are the foundation of all adversarial online learning with partial feedback.

12 thms7 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability+1·Captain: mikedeng1

Learning and Optimization with Seasonal Patterns 2: Regret Lower Bound for Periodic Multi-Armed Bandits with Known PeriodsResearch Paper

Motivation

Demand, prices and click-through rates often follow seasonal cycles: weekly, monthly, yearly. A decision maker who repeatedly chooses among options whose expected payoffs repeat in time faces a non-stationary multi-armed bandit. Chen, Wang and Wang (arXiv:2005.08088v4, Operations Research, 2025) study the model in which each arm's mean reward is periodic with its own unknown period. They give a two-stage policy whose regret is O~(T∑kTk)\tilde O(\sqrt{T\sum_k T_k})O~(T∑k​Tk​​), and a lower bound showing that no policy, even one told the periods, does better than Ω(Tmax⁡kTk)\Omega(\sqrt{T\max_k T_k})Ω(Tmaxk​Tk​​). This mission formalizes that lower bound, Theorem 3 of the paper. A companion mission of the same series covers the upper bound.

Lower bounds of this kind fix what is achievable. For the stationary KKK-armed bandit, the minimax regret is of order TK\sqrt{TK}TK​ (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020, Ch. 15). In the periodic model a learner effectively faces ∑kTk\sum_k T_k∑k​Tk​ "effective arms" (arm kkk at each phase of its cycle), which suggests the rate T∑kTk\sqrt{T\sum_k T_k}T∑k​Tk​​. The paper proves the weaker but general bound Tmax⁡kTk/(32e)\sqrt{T\max_k T_k}/(32e)Tmaxk​Tk​​/(32e), which matches the upper bound up to a factor K\sqrt KK​ and logarithms.

Setting

There are K≥2K \ge 2K≥2 arms and epochs t=1,…,Tt = 1, \dots, Tt=1,…,T. An instance ν\nuν is a family of mean rewards μk,t\mu_{k,t}μk,t​. If arm kkk is pulled at epoch ttt, the reward is drawn from the Gaussian law N(μk,t,1)\mathcal N(\mu_{k,t}, 1)N(μk,t​,1), independently of the past given the arm.

A sequence fff has minimum period p≥1p \ge 1p≥1 if f(t+p)=f(t)f(t+p) = f(t)f(t+p)=f(t) for all t≥1t \ge 1t≥1 and no smaller positive integer has this property.

A policy π\piπ chooses the arm πt\pi_tπt​ at epoch ttt at random, from a distribution that depends on the previous arms and rewards. Its expected regret on ν\nuν is display (1) of the paper:

Eν[RTπ]=∑t=1T(max⁡kμk,t−E[μπt,t]).\mathbb E_\nu[R^\pi_T] = \sum_{t=1}^T\Big(\max_k \mu_{k,t} - \mathbb E[\mu_{\pi_t,t}]\Big).Eν​[RTπ​]=t=1∑T​(kmax​μk,t​−E[μπt​,t​]).

Three classes of instances appear, all with unit-variance Gaussian rewards and means in [0,1][0,1][0,1] (Assumption 1):

  1. E1\mathcal E_1E1​: every arm is stationary;
  2. E2(T1)\mathcal E_2(T_1)E2​(T1​): the first arm's mean has minimum period T1T_1T1​, the other arms are stationary;
  3. E3(T1,…,TK)\mathcal E_3(T_1,\dots,T_K)E3​(T1​,…,TK​): arm kkk's mean has minimum period TkT_kTk​.

The proof compares instances through the metric (B-48),

M(ν1,ν2)=(∑k=1K∑p=1Tk(μk,p(ν1)−μk,p(ν2))2)1/2.\mathcal M(\nu_1,\nu_2) = \Big(\sum_{k=1}^K\sum_{p=1}^{T_k}\big(\mu^{(\nu_1)}_{k,p} - \mu^{(\nu_2)}_{k,p}\big)^2\Big)^{1/2}.M(ν1​,ν2​)=(k=1∑K​p=1∑Tk​​(μk,p(ν1​)​−μk,p(ν2​)​)2)1/2.

The periods satisfy Assumption 3 with the parameters (7): with n=⌊T/K⌋n = \lfloor\sqrt{T/K}\rfloorn=⌊T/K​⌋ and g=⌈n⌉g = \lceil\sqrt n\rceilg=⌈n​⌉, T>4KT > 4KT>4K, g≥2g \ge 2g≥2 and Tk<n/(2g)T_k < n/(2g)Tk​<n/(2g) for every kkk.

Formalization targets

Goal: Theorem 3 (p. 24)

For every policy π\piπ there is ν∈E3(T1,…,TK)\nu \in \mathcal E_3(T_1,\dots,T_K)ν∈E3​(T1​,…,TK​) with

Eν[RTπ]≥132eTmax⁡kTk.\mathbb E_\nu[R^\pi_T] \ge \frac{1}{32e}\sqrt{T\max_k T_k}.Eν​[RTπ​]≥32e1​Tkmax​Tk​​.

Milestones

  1. Lemma 12 (p. 23). Stationary Gaussian bandits whose arms other than the first have known mean 1/21/21/2: every policy has regret at least T/(82e)\sqrt T/(8\sqrt2 e)T​/(82​e) on some choice of μ1∈[0,1]\mu_1 \in [0,1]μ1​∈[0,1].
  2. Lemma 13 (p. 23). One periodic arm: every policy has regret at least TT1/(16e)\sqrt{TT_1}/(16e)TT1​​/(16e) on some instance of E2(T1)\mathcal E_2(T_1)E2​(T1​) whose other arms have mean 1/21/21/2.
  3. Fact 1 (proof of Theorem 3, p. 48). E3\mathcal E_3E3​ is dense in E2∪E3\mathcal E_2 \cup \mathcal E_3E2​∪E3​ under M\mathcal MM: an instance of E2(T1)\mathcal E_2(T_1)E2​(T1​) can be perturbed on the arms other than the first into an instance of E3(T1,…,TK)\mathcal E_3(T_1,\dots,T_K)E3​(T1​,…,TK​) at M\mathcal MM-distance less than any δ>0\delta > 0δ>0.
  4. Fact 2 (proof of Theorem 3, p. 48). The regret fπ(ν)=Eν[RTπ]f_\pi(\nu) = \mathbb E_\nu[R^\pi_T]fπ​(ν)=Eν​[RTπ​] is continuous in ν\nuν on E2∪E3\mathcal E_2 \cup \mathcal E_3E2​∪E3​ for M\mathcal MM, uniformly in π\piπ.

Significance

Theorem 3 shows that knowing the periods does not remove the cost of learning them phase by phase: the regret must grow like Tmax⁡kTk\sqrt{T\max_k T_k}Tmaxk​Tk​​, not like TK\sqrt{TK}TK​. Together with the paper's upper bound O~(T∑kTk)\tilde O(\sqrt{T\sum_k T_k})O~(T∑k​Tk​​) and the inequality Tmax⁡kTk≥T∑kTk/K\sqrt{T\max_k T_k} \ge \sqrt{T\sum_k T_k}/\sqrt KTmaxk​Tk​​≥T∑k​Tk​​/K​, it shows the two-stage policy is near-optimal when KKK is fixed. The intermediate results are reusable: Lemma 12 is a clean two-point Gaussian lower bound, Lemma 13 is a phase-decomposition argument that applies to any bandit model with known cyclic structure, and facts 1 and 2 give a continuity framework for the regret as a function of the instance.

The result has a published proof. As far as the platform's records show, none of it has been machine-checked. The stationary minimax lower bound of Lattimore and Szepesvári (a different family and constant) exists on the platform, together with the Bretagnolle–Huber inequality, the Gaussian KL divergence and the divergence decomposition, which this mission lists as tools.

Difficulty

The two-point argument of Lemma 12 is standard, but its constant needs Δ=1/(2T)<1/2\Delta = \sqrt{1/(2T)} < 1/2Δ=1/(2T)​<1/2, so small horizons must be handled separately. Lemma 13 decomposes the problem into T1T_1T1​ phase problems; making this rigorous means showing that a policy on the periodic problem induces, on each phase, a policy on a stationary problem of horizon ⌊T/T1⌋\lfloor T/T_1\rfloor⌊T/T1​⌋, with a history law that factorizes accordingly. The phase-wise instances produced by the decomposition need not have minimum period exactly T1T_1T1​ (all phases may coincide), so a perturbation is needed to land in E2(T1)\mathcal E_2(T_1)E2​(T1​); the constant has slack for it. Fact 2 asks for continuity of an integral against the law of a TTT-round adaptive process, uniformly over all policies, which needs a domination argument that does not depend on the policy's kernels.

Formalization scope

  • Arms are Fin K, 0-based: the paper's first arm is index 000. Epochs are 1-based natural numbers; history coordinate iii is epoch i+1i+1i+1. Values of the means at t=0t = 0t=0 are ignored.
  • A policy is the platform's BanditAlgorithm.BanditPolicy K: one Markov kernel per round from the history to the next arm. The history law periodicMeasure reuses the platform's step kernel with the Gaussian bandit of the current epoch's means; with constant means it is BanditAlgorithm.banditMeasure of BanditAlgorithm.gaussianBandit. Lemma 12 is stated with the platform's banditRegret, Tμ∗−E[∑tXt]T\mu^* - \mathbb E[\sum_t X_t]Tμ∗−E[∑t​Xt​], which equals (1) for Gaussian arms; the other statements use (1) directly.
  • Assumption 1 is stated on epochs 1,…,T1,\dots,T1,…,T. Minimum periods are exact.
  • Every lower bound has the order "for every policy there is an instance", with the instance in the class, so the policy may depend on KKK, TTT and the periods; this is the paper's "policy that knows TkT_kTk​". The supremum over the class is replaced by an attained instance, which is the stronger form.
  • Added hypotheses, all disclosed: K≥2K \ge 2K≥2 (with one arm the regret is 000); Tk≥1T_k \ge 1Tk​≥1 (the paper's Tk∈N+T_k \in \mathbb N^+Tk​∈N+); in Lemmas 12 and 13, the means of the arms other than the first are 1/21/21/2, which is how "a policy that knows μk\mu_kμk​ for k≥2k \ge 2k≥2" is read (with arbitrary known values the printed lemmas fail). Assumption 3 with (7) is the standing assumption of Appendix B.4.
  • A statement with the quantifiers in the order "there is an instance for every policy", without the [0,1][0,1][0,1] clause, or without exact minimum periods, would be false or trivial; none of these is the target.

Welcome contributions: the bridge between periodicMeasure with constant means and banditMeasure, the phase decomposition of the history law, and the uniform continuity of the regret in the means.

Selected references

  • N. Chen, C. Wang, L. Wang, Learning and Optimization with Seasonal Patterns, Operations Research, 2025; arXiv:2005.08088v4, 2021. https://arxiv.org/abs/2005.08088v4
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
  • P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The nonstochastic multiarmed bandit problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
15 thms6 active usersReviewed
🏆Completed
Machine LearningProbabilityReinforcement Learning·Captain: mikedeng1

Provably Efficient Reinforcement Learning with Linear Function Approximation 2: LSVI-UCB Has Regret O(√(d³H³Tι²) + ζdHT√ι) on ζ-Approximately Linear MDPsResearch Paper

Motivation

Reinforcement learning with large or continuous state spaces relies on function approximation: value functions are represented as functions of a ddd-dimensional feature map instead of tables indexed by states. Before 2019, regret guarantees for exploration with function approximation either needed strong assumptions (deterministic dynamics, a generative model) or applied only to tabular problems. Jin, Yang, Wang and Jordan (arXiv:1907.05388, COLT 2020) showed that in a linear MDP, where transitions and rewards are linear in known features, an optimistic version of least-squares value iteration, LSVI-UCB, has regret O~(d3H3T)\tilde O(\sqrt{d^3H^3T})O~(d3H3T​), with no dependence on the number of states or actions (Theorem 3.1).

Exact linearity is rarely satisfied by features chosen in practice. A guarantee that collapses under a small modelling error would say little about real use, and a naive adaptation of linear-bandit methods can break down entirely when the model is wrong. Theorem 3.2 of the same paper addresses this: if the MDP is only ζ\zetaζ-approximately linear, LSVI-UCB with an episode-dependent bonus still has sublinear regret plus an additive term linear in ζT\zeta TζT. This mission formalizes that result. A companion mission formalizes Theorem 3.1.

Setting

An episodic MDP has a measurable state space S\mathcal SS, a finite action set A\mathcal AA, a horizon HHH, and for each step h∈[H]h\in[H]h∈[H] a transition kernel Ph(⋅∣x,a)\mathbb P_h(\cdot\mid x,a)Ph​(⋅∣x,a) and a reward rh:S×A→[0,1]r_h:\mathcal S\times\mathcal A\to[0,1]rh​:S×A→[0,1]. A policy π\piπ chooses an action π(x,h)\pi(x,h)π(x,h) at state xxx and step hhh. Its value functions satisfy the Bellman equation

Qhπ(x,a)=rh(x,a)+∫Vh+1π dPh(⋅∣x,a),Vhπ(x)=Qhπ(x,π(x,h)),VH+1π=0,Q^\pi_h(x,a)=r_h(x,a)+\int V^\pi_{h+1}\,\mathrm d\mathbb P_h(\cdot\mid x,a),\qquad V^\pi_h(x)=Q^\pi_h(x,\pi(x,h)),\qquad V^\pi_{H+1}=0,Qhπ​(x,a)=rh​(x,a)+∫Vh+1π​dPh​(⋅∣x,a),Vhπ​(x)=Qhπ​(x,π(x,h)),VH+1π​=0,

and Vh⋆(x)=max⁡aQh⋆(x,a)V^\star_h(x)=\max_aQ^\star_h(x,a)Vh⋆​(x)=maxa​Qh⋆​(x,a) is the optimal value, with Q⋆Q^\starQ⋆ defined by the same recursion.

A feature map ϕ:S×A→Rd\phi:\mathcal S\times\mathcal A\to\mathbb R^dϕ:S×A→Rd with ∥ϕ∥≤1\|\phi\|\le1∥ϕ∥≤1 makes the MDP ζ\zetaζ-approximately linear (Assumption B) if for every step hhh there are signed measures μh=(μh(1),…,μh(d))\mu_h=(\mu_h^{(1)},\dots,\mu_h^{(d)})μh​=(μh(1)​,…,μh(d)​) on S\mathcal SS and a vector θh\theta_hθh​ with

∥Ph(⋅∣x,a)−⟨ϕ(x,a),μh(⋅)⟩∥TV≤ζ,∣rh(x,a)−⟨ϕ(x,a),θh⟩∣≤ζ\big\|\mathbb P_h(\cdot\mid x,a)-\langle\phi(x,a),\mu_h(\cdot)\rangle\big\|_{\mathrm{TV}}\le\zeta,\qquad|r_h(x,a)-\langle\phi(x,a),\theta_h\rangle|\le\zeta​Ph​(⋅∣x,a)−⟨ϕ(x,a),μh​(⋅)⟩​TV​≤ζ,∣rh​(x,a)−⟨ϕ(x,a),θh​⟩∣≤ζ

for all (x,a)(x,a)(x,a), together with the normalization ∥θh∥≤d\|\theta_h\|\le\sqrt d∥θh​∥≤d​ and a d\sqrt dd​ bound on the masses of μh\mu_hμh​. At ζ=0\zeta=0ζ=0 this is a linear MDP.

LSVI-UCB (Algorithm 1) plays KKK episodes. In episode kkk, with data ϕhτ=ϕ(xhτ,ahτ)\phi^\tau_h=\phi(x^\tau_h,a^\tau_h)ϕhτ​=ϕ(xhτ​,ahτ​) from earlier episodes, it computes backwards from QH+1k≡0Q^k_{H+1}\equiv0QH+1k​≡0

Λhk=∑τ<kϕhτ(ϕhτ)⊤+λI,whk=(Λhk)−1∑τ<kϕhτ[rh(xhτ,ahτ)+max⁡aQh+1k(xh+1τ,a)],\Lambda^k_h=\sum_{\tau<k}\phi^\tau_h(\phi^\tau_h)^\top+\lambda I,\qquad w^k_h=(\Lambda^k_h)^{-1}\sum_{\tau<k}\phi^\tau_h\big[r_h(x^\tau_h,a^\tau_h)+\max_aQ^k_{h+1}(x^\tau_{h+1},a)\big],Λhk​=τ<k∑​ϕhτ​(ϕhτ​)⊤+λI,whk​=(Λhk​)−1τ<k∑​ϕhτ​[rh​(xhτ​,ahτ​)+amax​Qh+1k​(xh+1τ​,a)], Qhk(x,a)=min⁡{⟨whk,ϕ(x,a)⟩+βk∥ϕ(x,a)∥(Λhk)−1, H},Q^k_h(x,a)=\min\big\{\langle w^k_h,\phi(x,a)\rangle+\beta_k\|\phi(x,a)\|_{(\Lambda^k_h)^{-1}},\,H\big\},Qhk​(x,a)=min{⟨whk​,ϕ(x,a)⟩+βk​∥ϕ(x,a)∥(Λhk​)−1​,H},

and then acts greedily, ahk=arg⁡max⁡aQhk(xhk,a)a^k_h=\arg\max_aQ^k_h(x^k_h,a)ahk​=argmaxa​Qhk​(xhk​,a). An adversary may choose each initial state x1kx^k_1x1k​. The regret after KKK episodes is

Regret(K)=∑k=1K[V1⋆(x1k)−V1πk(x1k)],\mathrm{Regret}(K)=\sum_{k=1}^K\big[V^\star_1(x^k_1)-V^{\pi_k}_1(x^k_1)\big],Regret(K)=k=1∑K​[V1⋆​(x1k​)−V1πk​​(x1k​)],

where πk\pi_kπk​ is the greedy policy of episode kkk. Throughout, T=KHT=KHT=KH and ι=log⁡(2dT/p)\iota=\log(2dT/p)ι=log(2dT/p).

Formalization targets

Goal: Theorem 3.2

There are absolute constants c,C>0c,C>0c,C>0 such that for every ζ\zetaζ-approximately linear MDP, every p∈(0,1)p\in(0,1)p∈(0,1) and every run of LSVI-UCB with λ=1\lambda=1λ=1 and βk=c (dι+ζkd)H\beta_k=c\,(d\sqrt\iota+\zeta\sqrt{kd})Hβk​=c(dι​+ζkd​)H, with probability at least 1−p1-p1−p,

Regret(K)≤C(d3H3Tι2+ζdHTι).\mathrm{Regret}(K)\le C\Big(\sqrt{d^3H^3T\iota^2}+\zeta dHT\sqrt\iota\Big).Regret(K)≤C(d3H3Tι2​+ζdHTι​).

The constants are not fixed numerically, so improvements of the constants in the proof do not invalidate the target.

Milestones

The milestones follow Appendix C: the approximate linearity of QπQ^\piQπ (Lemma C.1) and the bound on its weights (Lemma C.2); the trace inequality D.1 and the adversarial-noise bound C.4; the self-normalized concentration bound D.3 (published) and the concentration event of Lemma C.3; the key estimate C.5; approximate optimism C.6; the recursive formula C.7; and the elliptical potential lemma D.2 (published) with the bonus-sum bound (21)–(24).

Significance

Theorem 3.2 shows that the regret of LSVI-UCB degrades gracefully under misspecification: the extra cost is of order ζdHTι\zeta dHT\sqrt\iotaζdHTι​, linear in TTT because of the bias of linear approximation and negligible when ζ≲1/T\zeta\lesssim1/\sqrt Tζ≲1/T​. The paper also converts it into a PAC guarantee with an additive O~(ζdH2)\tilde O(\zeta dH^2)O~(ζdH2) error. It is a reference point for later work on misspecified linear bandits and RL, which asks how far the linear term can be improved.

The result is proved on paper; no machine-checked proof is known. The formalization supplies an episodic MDP on a general measurable state space, LSVI-UCB as a function of the observed data, and its interaction with an adaptive adversary on a filtered probability space. These are shared with the companion mission on Theorem 3.1 and are reusable for other optimistic algorithms with linear function approximation. At ζ=0\zeta=0ζ=0 the goal specializes to Theorem 3.1 under the same normalization; this is a consistency check, not a dependency.

Difficulty

The central difficulty is that the regression targets rh+Vh+1k(xh+1τ)r_h+V^k_{h+1}(x^\tau_{h+1})rh​+Vh+1k​(xh+1τ​) depend on the data through Vh+1kV^k_{h+1}Vh+1k​, which is computed from all earlier episodes. A martingale concentration bound for a fixed function does not apply. Lemma C.3 needs a bound that holds uniformly over the class of functions LSVI-UCB can produce, which requires a covering-number argument whose size depends on βk\beta_kβk​; that is why the constant CCC must be independent of cβc_\betacβ​ and cβc_\betacβ​ is chosen afterwards. Under misspecification a second error appears: the deviations rh−⟨ϕ,θh⟩r_h-\langle\phi,\theta_h\ranglerh​−⟨ϕ,θh​⟩ and (Ph−⟨ϕ,μh⟩)V(\mathbb P_h-\langle\phi,\mu_h\rangle)V(Ph​−⟨ϕ,μh​⟩)V are not mean-zero and can be adversarial, so they cannot be concentrated away. Lemma C.4 absorbs them into the bonus at the price of the ζkd\zeta\sqrt{kd}ζkd​ term in βk\beta_kβk​. Optimism then holds only up to an error that accumulates over the horizon (Lemma C.6).

Formalization scope

  • Indices are 1-based, as on the page; values and estimates are 000 outside 1≤h≤H1\le h\le H1≤h≤H.
  • Values: VπV^\piVπ and V⋆V^\starV⋆ are defined by the Bellman recursions (1) and (2), not by sup⁡π\sup_\pisupπ​.
  • Measurability: the state space is a bare measurable space. Features ϕ(⋅,a)\phi(\cdot,a)ϕ(⋅,a) are assumed measurable, and lemmas about a policy π\piπ assume it measurable, so that every integral is meaningful.
  • Actions: A\mathcal AA is finite and nonempty. Argmax ties are broken towards the least action of a fixed linear order on A\mathcal AA.
  • Interaction: the run is a process adapted to an arbitrary filtration, with actions given by Algorithm 1 and the next-state law holding conditionally on the past. The initial states are only required to be adapted.
  • Probability statements: "with probability 1−p1-p1−p" is "the bad set has (outer) measure at most ppp".
  • Constants: ccc and CCC are quantified before all types, dimensions, horizons, ζ\zetaζ, ppp and runs. The hypotheses d,H,K≥1d,H,K\ge1d,H,K≥1 and 0≤ζ≤10\le\zeta\le10≤ζ≤1 are stated.
  • Assumption B measures the TV distance by the total variation norm ∣ν∣(S)|\nu|(\mathcal S)∣ν∣(S). The page's normalization ∥μh(S)∥≤d\|\mu_h(\mathcal S)\|\le\sqrt d∥μh​(S)∥≤d​ is replaced by the same bound on the vector of total variations (∣μh(i)∣(S))i(|\mu_h^{(i)}|(\mathcal S))_i(∣μh(i)​∣(S))i​, because Lemma C.2 is false under the printed form; the replacement implies the printed condition and holds for tabular MDPs.
  • Lemma C.7 carries the +4Hζ+4H\zeta+4Hζ term that its own proof derives; the printed statement omits it. Theorem 3.2 is unaffected.

Lemmas C.3 and C.5 are formalized as printed. Their proofs use sup⁡x∣Vh+1k(x)∣≤H\sup_x|V^k_{h+1}(x)|\le Hsupx​∣Vh+1k​(x)∣≤H, which Algorithm 1 does not enforce from below; a solver may find that one of them needs an additional argument.

A formalization in which the goal assumes the event E\mathfrak EE, the optimism of Lemma C.6 or the recursion of Lemma C.7, or in which the run does not fix the actions to Algorithm 1's, would be trivial or false; the goal assumes none of these. Contributions are welcome on the linear-algebra lemmas (D.1, C.4, (21)–(24)), on measurability of the LSVI-UCB estimates, and on the covering argument behind Lemma C.3.

Selected references

  • C. Jin, Z. Yang, Z. Wang, M. I. Jordan, Provably Efficient Reinforcement Learning with Linear Function Approximation, COLT 2020; arXiv:1907.05388v2, 2019. https://arxiv.org/abs/1907.05388
  • Y. Abbasi-Yadkori, D. Pál, C. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NeurIPS 2011. https://papers.nips.cc/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html
  • L. F. Yang, M. Wang, Sample-Optimal Parametric Q-Learning Using Linearly Additive Features, ICML 2019; arXiv:1902.04779. https://arxiv.org/abs/1902.04779
17 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems V: Symmetric Monotonic Strategies Draw the Suboptimal Arms Collectively a Linear Number of TimesResearch Paper

Motivation

In a stochastic multi-armed bandit, a player repeatedly chooses one of KKK arms and receives a random reward drawn from the chosen arm's unknown distribution. The classical lower bounds of Lai and Robbins (1985) and Burnetas and Katehakis (1996) describe the regret of good strategies when the horizon TTT tends to infinity: it grows like ln⁡T\ln TlnT, with a constant determined by Kullback–Leibler divergences. They say nothing about small horizons.

Garivier, Ménard and Stoltz (Math. Oper. Res., 2019; arXiv:1602.07182v3) show that the regret has a definite shape over the whole range of TTT: it is almost linear at first ("explore first"), and only afterwards logarithmic ("exploit next"). Their §3 gives three non-asymptotic lower bounds for the initial phase, each for a natural class of strategies. This mission is the third of them, Theorem 4 (p. 13): a collective lower bound on the total number of pulls of all suboptimal arms. It is the bound that remains informative when many arms are suboptimal, and it is the one illustrated for large KKK in the paper's §3.4.

Setting

A bandit problem ν‾=(νa)a=1,…,K\underline\nu=(\nu_a)_{a=1,\dots,K}ν​=(νa​)a=1,…,K​ is a family of probability distributions on R\mathbb RR, each with an expectation μa=E(νa)\mu_a=E(\nu_a)μa​=E(νa​). A model D\mathcal DD is a set of such distributions, and ν‾\underline\nuν​ is in D\mathcal DD when every νa∈D\nu_a\in\mathcal Dνa​∈D. Put μ⋆=max⁡aμa\mu^\star=\max_a\mu_aμ⋆=maxa​μa​.

At each round t≥1t\ge1t≥1 a strategy ψ\psiψ chooses an arm AtA_tAt​ from the past rewards (possibly with auxiliary randomization) and observes a reward Yt∼νAtY_t\sim\nu_{A_t}Yt​∼νAt​​. The number of pulls of arm aaa up to round TTT is Nψ,a(T)=∑t=1T1{At=a}N_{\psi,a}(T)=\sum_{t=1}^T\mathbb 1\{A_t=a\}Nψ,a​(T)=∑t=1T​1{At​=a}, and Eν‾\mathbb E_{\underline\nu}Eν​​ is the expectation when ψ\psiψ interacts with ν‾\underline\nuν​.

The set of optimal arms is A⋆(ν‾)={a:μa=μ⋆}\mathcal A^\star(\underline\nu)=\{a:\mu_a=\mu^\star\}A⋆(ν​)={a:μa​=μ⋆}, of cardinality Aν‾⋆A^\star_{\underline\nu}Aν​⋆​, and the set of worst arms is W(ν‾)\mathcal W(\underline\nu)W(ν​), the arms of smallest mean. The paper defines a partial order: ν‾′≼ν‾\underline\nu'\preccurlyeq\underline\nuν​′≼ν​ when νa′=νa\nu'_a=\nu_aνa′​=νa​ for every optimal arm aaa of ν‾\underline\nuν​ and E(νa′)≤E(νa)E(\nu'_a)\le E(\nu_a)E(νa′​)≤E(νa​) for every other arm. Two classes of strategies enter the theorem.

  1. ψ\psiψ is pairwise symmetric for optimal arms on D\mathcal DD (Definition 3, p. 11) if, for every ν‾\underline\nuν​ in D\mathcal DD and every pair of optimal arms a⋆,a⋆a^\star,a_\stara⋆,a⋆​ with νa⋆=νa⋆\nu_{a^\star}=\nu_{a_\star}νa⋆​=νa⋆​​, for all T≥1T\ge1T≥1, the pairs (Nψ,a⋆(T),Nψ,a⋆(T))(N_{\psi,a^\star}(T),N_{\psi,a_\star}(T))(Nψ,a⋆​(T),Nψ,a⋆​​(T)) and (Nψ,a⋆(T),Nψ,a⋆(T))(N_{\psi,a_\star}(T),N_{\psi,a^\star}(T))(Nψ,a⋆​​(T),Nψ,a⋆​(T)) have the same distribution.
  2. ψ\psiψ is monotonic on D\mathcal DD (Definition 4, p. 13) if for all ν‾′≼ν‾\underline\nu'\preccurlyeq\underline\nuν​′≼ν​ in D\mathcal DD, ∑a⋆∈A⋆(ν‾′)Eν‾′[Nψ,a⋆(T)]≥∑a⋆∈A⋆(ν‾)Eν‾[Nψ,a⋆(T)]\sum_{a^\star\in\mathcal A^\star(\underline\nu')}\mathbb E_{\underline\nu'}[N_{\psi,a^\star}(T)]\ge\sum_{a^\star\in\mathcal A^\star(\underline\nu)}\mathbb E_{\underline\nu}[N_{\psi,a^\star}(T)]∑a⋆∈A⋆(ν​′)​Eν​′​[Nψ,a⋆​(T)]≥∑a⋆∈A⋆(ν​)​Eν​​[Nψ,a⋆​(T)]: on an easier problem the optimal arms are pulled at least as often.

With KL\mathrm{KL}KL the Kullback–Leibler divergence, the constant of the theorem is

Kν‾max⁡=min⁡w∈W(ν‾) max⁡a⋆∈A⋆(ν‾)KL(νw,νa⋆).\mathcal K^{\max}_{\underline\nu}=\min_{w\in\mathcal W(\underline\nu)}\ \max_{a^\star\in\mathcal A^\star(\underline\nu)}\mathrm{KL}(\nu_w,\nu_{a^\star}).Kν​max​=w∈W(ν​)min​ a⋆∈A⋆(ν​)max​KL(νw​,νa⋆​).

The Bernoulli divergence is kl(p,q)=pln⁡pq+(1−p)ln⁡1−p1−q\mathrm{kl}(p,q)=p\ln\frac pq+(1-p)\ln\frac{1-p}{1-q}kl(p,q)=plnqp​+(1−p)ln1−q1−p​, (5).

Formalization targets

Goal: Theorem 4 (main display), p. 13

For every model D\mathcal DD, every strategy ψ\psiψ pairwise symmetric for optimal arms and monotonic on D\mathcal DD, every bandit problem ν‾\underline\nuν​ in D\mathcal DD and every T≥1T\ge1T≥1,

∑a∉A⋆(ν‾)Eν‾[Nψ,a(T)] ≥ T(1−Aν‾⋆K−Aν‾⋆2TKν‾max⁡K−2Aν‾⋆TKν‾max⁡K).\sum_{a\notin\mathcal A^\star(\underline\nu)}\mathbb E_{\underline\nu}\big[N_{\psi,a}(T)\big]\ \ge\ T\left(1-\frac{A^\star_{\underline\nu}}K-\frac{A^\star_{\underline\nu}\sqrt{2T\mathcal K^{\max}_{\underline\nu}}}K-\frac{2A^\star_{\underline\nu}T\mathcal K^{\max}_{\underline\nu}}K\right).a∈/A⋆(ν​)∑​Eν​​[Nψ,a​(T)] ≥ T(1−KAν​⋆​​−KAν​⋆​2TKν​max​​​−K2Aν​⋆​TKν​max​​).

Milestones, in the order of the paper's proof

  1. Lemma 2 (p. 14): if (x−α)2≤βx(x-\alpha)^2\le\beta x(x−α)2≤βx with α,β≥0\alpha,\beta\ge0α,β≥0, then x≤α+β+αβx\le\alpha+\beta+\sqrt{\alpha\beta}x≤α+β+αβ​.
  2. Lemma 6 (p. 20): for 0≤p<q≤10\le p<q\le10≤p<q≤1, kl(p,q)≥(p−q)2/(2max⁡x∈[p,q]x(1−x))≥(p−q)2/(2q)\mathrm{kl}(p,q)\ge(p-q)^2/(2\max_{x\in[p,q]}x(1-x))\ge(p-q)^2/(2q)kl(p,q)≥(p−q)2/(2maxx∈[p,q]​x(1−x))≥(p−q)2/(2q).
  3. Monotonicity reduction (p. 13): with w~\tilde ww~ a worst arm and ν‾‾\underline{\underline\nu}ν​​ equal to ν‾\underline\nuν​ on the optimal arms and to νw~\nu_{\tilde w}νw~​ elsewhere, ∑a∉A⋆(ν‾)Eν‾[Nψ,a(T)]≥∑a∉A⋆(ν‾‾)Eν‾‾[Nψ,a(T)]\sum_{a\notin\mathcal A^\star(\underline\nu)}\mathbb E_{\underline\nu}[N_{\psi,a}(T)]\ge\sum_{a\notin\mathcal A^\star(\underline{\underline\nu})}\mathbb E_{\underline{\underline\nu}}[N_{\psi,a}(T)]∑a∈/A⋆(ν​)​Eν​​[Nψ,a​(T)]≥∑a∈/A⋆(ν​​)​Eν​​​[Nψ,a​(T)].
  4. Uniform split (p. 13): if all arms of ν~‾\underline{\tilde\nu}ν~​ carry the same distribution, Eν~‾[Nψ,a(T)]=T/K\mathbb E_{\underline{\tilde\nu}}[N_{\psi,a}(T)]=T/KEν~​​[Nψ,a​(T)]=T/K for every arm.
  5. The kl display (p. 14): TAν‾⋆Kν‾max⁡/K≥kl(Aν‾⋆/K,x)T A^\star_{\underline\nu}\mathcal K^{\max}_{\underline\nu}/K\ge\mathrm{kl}(A^\star_{\underline\nu}/K,x)TAν​⋆​Kν​max​/K≥kl(Aν​⋆​/K,x) with x=1T∑a⋆∈A⋆(ν‾)Eν‾‾[Nψ,a⋆(T)]x=\frac1T\sum_{a^\star\in\mathcal A^\star(\underline\nu)}\mathbb E_{\underline{\underline\nu}}[N_{\psi,a^\star}(T)]x=T1​∑a⋆∈A⋆(ν​)​Eν​​​[Nψ,a⋆​(T)].
  6. Equation (14) (p. 14): x≤Aν‾⋆K(1+2TKν‾max⁡+2TKν‾max⁡)x\le\frac{A^\star_{\underline\nu}}K\big(1+2T\mathcal K^{\max}_{\underline\nu}+\sqrt{2T\mathcal K^{\max}_{\underline\nu}}\big)x≤KAν​⋆​​(1+2TKν​max​+2TKν​max​​).

Significance

Theorem 4 bounds the regret from below through Rψ,ν‾,T≥(min⁡a∉A⋆Δa)∑a∉A⋆Eν‾[Nψ,a(T)]R_{\psi,\underline\nu,T}\ge(\min_{a\notin\mathcal A^\star}\Delta_a)\sum_{a\notin\mathcal A^\star}\mathbb E_{\underline\nu}[N_{\psi,a}(T)]Rψ,ν​,T​≥(mina∈/A⋆​Δa​)∑a∈/A⋆​Eν​​[Nψ,a​(T)], (13). While TTT is small compared with K/(Aν‾⋆Kν‾max⁡)K/(A^\star_{\underline\nu}\mathcal K^{\max}_{\underline\nu})K/(Aν​⋆​Kν​max​), the right-hand side of the theorem is of order T(1−A⋆/K)T(1-A^\star/K)T(1−A⋆/K), so the regret is linear: a reasonable strategy cannot avoid spending a constant fraction of the first rounds on the suboptimal arms. Unlike the per-arm bounds of Theorems 2 and 3, the bound concerns all suboptimal arms at once and does not degrade as KKK grows; §3.4 of the paper shows numerically that it gives the stronger regret bound for many arms.

The theorem is proved in the paper; to our knowledge no part of it has been machine-checked. A formal proof would exercise the published canonical bandit model of the platform (StochasticBandit, BanditPolicy, banditMeasure) on a genuine lower-bound argument with two auxiliary bandit problems, together with a local Pinsker inequality for Bernoulli divergences in [0,+∞][0,+\infty][0,+∞] that is reusable in other bandit lower bounds.

Difficulty

The obvious attempt applies the fundamental inequality (6) to ν‾\underline\nuν​ and an alternative in which one suboptimal arm becomes optimal, as in Theorem 2. That gives a bound arm by arm, which deteriorates with KKK and does not see the number A⋆A^\starA⋆ of optimal arms; it also needs a hypothesis of the type "smarter than uniform", which is not assumed here. Nothing is known about how a general ψ\psiψ behaves on ν‾\underline\nuν​ itself, so the two hypotheses on ψ\psiψ must carry all the information, and both are weak: Definition 3 only constrains pairs of optimal arms with equal laws, and only through the joint distribution of their pull counts under the canonical bandit measure; Definition 4 only compares problems ordered by ≼\preccurlyeq≼. On the analytic side, the classical Pinsker inequality kl(p,q)≥2(p−q)2\mathrm{kl}(p,q)\ge2(p-q)^2kl(p,q)≥2(p−q)2 loses the factor A⋆/KA^\star/KA⋆/K and gives a weaker theorem, so a local refinement is required, and every divergence is valued in [0,+∞][0,+\infty][0,+∞].

Formalization scope

Arms are indexed by Fin K (the paper's arm aaa is index a−1a-1a−1), with K≥1K\ge1K≥1 assumed in the goal. A bandit problem is the published BanditAlgorithm.StochasticBandit K, a strategy is a published BanditPolicy K (a family of Markov kernels from histories to arms; every strategy of the paper with auxiliary uniform randomization induces one with the same law of arms and rewards), and Eν‾[Nψ,a(T)]\mathbb E_{\underline\nu}[N_{\psi,a}(T)]Eν​​[Nψ,a​(T)] is the integral of the pull count against banditMeasure. A model is a Set (Measure ℝ) whose members are probability measures with an integrable identity, the standing assumption of §1.1–§1.2. Definitions 3 and 4 leave TTT implicit and are read "for all T≥1T\ge1T≥1"; in Definition 3 equality of distributions is equality of the image measures of the pair of counts, not of their expectations. KL\mathrm{KL}KL, kl\mathrm{kl}kl and Kmax⁡\mathcal K^{\max}Kmax take values in [0,+∞][0,+\infty][0,+∞]; the goal assumes Kν‾max⁡<+∞\mathcal K^{\max}_{\underline\nu}<+\inftyKν​max​<+∞, since otherwise the printed bound is −∞-\infty−∞ and a real-valued conversion would silently replace +∞+\infty+∞ by 000. The Bernoulli divergence is defined as the divergence between two Bernoulli laws on R\mathbb RR, so it is +∞+\infty+∞ where (5) is, rather than a finite junk value. The auxiliary problems of the proof are not constructed; the milestones quantify over them with their defining properties.

The paper's "In particular" clause, ∑a∉A⋆E[Nψ,a(T)]≥T2(1−A⋆/K)\sum_{a\notin\mathcal A^\star}\mathbb E[N_{\psi,a}(T)]\ge\frac T2(1-A^\star/K)∑a∈/A⋆​E[Nψ,a​(T)]≥2T​(1−A⋆/K) for T≤K/(8A⋆Kmax⁡)T\le K/(8A^\star\mathcal K^{\max})T≤K/(8A⋆Kmax), is not stated: it follows from the main display only when A⋆/K+A⋆/K≤1/2A^\star/K+\sqrt{A^\star/K}\le1/2A⋆/K+A⋆/K​≤1/2 (at A⋆/K=1/2A^\star/K=1/2A⋆/K=1/2 the main bound is negative), and whether it holds in general is not known here.

A formalization that weakens the strategy classes (full permutation symmetry, or equality of expected counts in Definition 3), drops the requirement that the problems lie in the model, or uses a real Bernoulli divergence with finite values at q∈{0,1}q\in\{0,1\}q∈{0,1} does not count.

A complete development needs the fundamental inequality (6) on the canonical bandit model (the subject of mission I of this series; the chain rule for the divergence of bandit measures is already proved on the platform), the symmetry argument on the canonical measure, Lemma 6 and Lemma 2. Contributions of any of these, and of the identity ∑aNψ,a(T)=T\sum_a N_{\psi,a}(T)=T∑a​Nψ,a​(T)=T integrated against banditMeasure, are welcome; Lemma 6 and the symmetry lemma are reusable beyond this mission.

Selected references

  • A. Garivier, P. Ménard, G. Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research, 2019; arXiv:1602.07182v3. https://arxiv.org/abs/1602.07182, https://doi.org/10.1287/moor.2017.0928
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics, 1996. https://doi.org/10.1006/aama.1996.0007
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
15 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems VI: Uniformly Super-Fast Convergent Strategies Draw Each Suboptimal Arm ln T / K_inf Times up to Explicit Lower-Order TermsResearch Paper

Why the large-horizon bound matters

In a stochastic multi-armed bandit, a decision maker repeatedly chooses one of several unknown reward sources. Sampling an arm reveals its reward but uses a round that could have been spent on a better arm. A good strategy must therefore reduce sampling of inferior arms, yet it cannot stop sampling them too early: it must still distinguish the current problem from a nearby one in which an apparently inferior arm is best. This tension produces the logarithmic lower bounds that benchmark bandit algorithms.

Garivier, Ménard and Stoltz revisit that benchmark in Explore First, Exploit Next. Their Theorem 5 gives a finite-horizon lower bound with explicit terms beyond the leading logarithm. It concerns every uniformly super-fast convergent strategy on a well-behaved model, not a particular algorithm. The distinction matters when comparing an algorithm's upper bound to what any strategy with that uniform performance guarantee must pay. The theorem is proved in the paper; this mission asks for a machine-checked statement and proof of that established result.

Bandit model and information cost

There are KKK arms. Arm aaa has an unknown probability distribution νa\nu_aνa​ over real rewards, with finite mean μa\mu_aμa​. The vector ν‾=(νa)a=1K\underline\nu=(\nu_a)_{a=1}^Kν​=(νa​)a=1K​ is a bandit problem. Its best mean is μ∗=max⁡aμa\mu^*=\max_a\mu_aμ∗=maxa​μa​, and the gap of arm aaa is Δa=μ∗−μa\Delta_a=\mu^*-\mu_aΔa​=μ∗−μa​. An arm with Δa>0\Delta_a>0Δa​>0 is suboptimal. A strategy ψ\psiψ selects an arm each round using the previous arms and rewards, possibly with randomization. Write Nψ,a(T)N_{\psi,a}(T)Nψ,a​(T) for the number of times it selects arm aaa by round TTT, and Eν‾[Nψ,a(T)]\mathbb E_{\underline\nu}[N_{\psi,a}(T)]Eν​​[Nψ,a​(T)] for the expected count under the problem ν‾\underline\nuν​.

A model D\mathcal DD specifies the probability distributions that an arm may have. All its laws have a finite first moment, and a bandit problem is in D\mathcal DD when every arm law belongs to it. For a law PPP and a target mean xxx, the paper's minimal information cost is

Kinf⁡(P,x,D)=inf⁡{KL(P,Q):Q∈D, E(Q)>x},\mathcal K_{\inf}(P,x,\mathcal D) =\inf\{\mathrm{KL}(P,Q):Q\in\mathcal D,\ \mathrm E(Q)>x\},Kinf​(P,x,D)=inf{KL(P,Q):Q∈D, E(Q)>x},

where an empty infimum is +∞+\infty+∞. This measures how much the law of an arm must change to make its mean exceed xxx. The Bernoulli divergence kl(p,q)\mathrm{kl}(p,q)kl(p,q) used in the intermediate change-of-measure bound keeps its infinite values at the boundary.

Let E(D)E(\mathcal D)E(D) be the interior of the set of expectations of laws in D\mathcal DD. A model is well behaved when positive functions εD\varepsilon_{\mathcal D}εD​ and ωD\omega_{\mathcal D}ωD​ satisfy, whenever P∈DP\in\mathcal DP∈D, x∈E(D)x\in E(\mathcal D)x∈E(D), E(P)<x\mathrm E(P)<xE(P)<x, and 0<ε<εD(x)0<\varepsilon<\varepsilon_{\mathcal D}(x)0<ε<εD​(x),

Kinf⁡(P,x+ε,D)≤Kinf⁡(P,x,D)+εωD(P,x).\mathcal K_{\inf}(P,x+\varepsilon,\mathcal D) \le \mathcal K_{\inf}(P,x,\mathcal D)+\varepsilon\omega_{\mathcal D}(P,x).Kinf​(P,x+ε,D)≤Kinf​(P,x,D)+εωD​(P,x).

A strategy is uniformly super-fast convergent with constant Cψ,DC_{\psi,\mathcal D}Cψ,D​ when Eν‾[Nψ,a(T)]≤Cψ,Dln⁡T/Δa2\mathbb E_{\underline\nu}[N_{\psi,a}(T)]\le C_{\psi,\mathcal D}\ln T/\Delta_a^2Eν​​[Nψ,a​(T)]≤Cψ,D​lnT/Δa2​ for every problem in D\mathcal DD, every suboptimal arm, and every T≥2T\ge2T≥2. The same constant applies throughout. Finally, H(ν‾)=∑a:Δa>0Δa−2H(\underline\nu)=\sum_{a:\Delta_a>0}\Delta_a^{-2}H(ν​)=∑a:Δa​>0​Δa−2​ records the inverse-squared gaps of all suboptimal arms.

Formalization targets

For each suboptimal arm let K=Kinf⁡(νa,μ∗,D)\mathcal K=\mathcal K_{\inf}(\nu_a,\mu^*,\mathcal D)K=Kinf​(νa​,μ∗,D). The goal is Theorem 5, with εT=(ln⁡T)−4\varepsilon_T=(\ln T)^{-4}εT​=(lnT)−4 and

aT=ωD(νa,μ∗)KεT,bT=Cψ,DH(ν‾)ln⁡TT,cT=ln⁡(KCψ,D(ln⁡T)9)ln⁡T.a_T=\frac{\omega_{\mathcal D}(\nu_a,\mu^*)}{\mathcal K}\varepsilon_T, \qquad b_T=C_{\psi,\mathcal D}H(\underline\nu)\frac{\ln T}{T}, \qquad c_T=\frac{\ln(KC_{\psi,\mathcal D}(\ln T)^9)}{\ln T}.aT​=KωD​(νa​,μ∗)​εT​,bT​=Cψ,D​H(ν​)TlnT​,cT​=lnTln(KCψ,D​(lnT)9)​.

For every T≥2T\ge2T≥2 satisfying εT<εD(μ∗)\varepsilon_T<\varepsilon_{\mathcal D}(\mu^*)εT​<εD​(μ∗), aT<1a_T<1aT​<1, bT<1b_T<1bT​<1, and 0≤cT<10\le c_T<10≤cT​<1, the target is

Eν‾[Nψ,a(T)]≥ln⁡TK(1−(aT+bT+cT))−ln⁡2K.\mathbb E_{\underline\nu}[N_{\psi,a}(T)] \ge \frac{\ln T}{\mathcal K}\bigl(1-(a_T+b_T+c_T)\bigr) -\frac{\ln 2}{\mathcal K}.Eν​​[Nψ,a​(T)]≥KlnT​(1−(aT​+bT​+cT​))−Kln2​.

The milestones follow the paper's displayed bounds: the one-alternative inequality (15), the optimized inequality (17), the inverse-information-cost bound after (17), and the product inequality quoted immediately before Theorem 5. They preserve the same constants and the same H(ν‾)H(\underline\nu)H(ν​).

What the result supplies

The leading term ln⁡T/K\ln T/\mathcal KlnT/K is the familiar distribution-dependent sampling barrier. The explicit aTa_TaT​, bTb_TbT​, and cTc_TcT​ quantify the correction at a finite horizon; the paper observes that their combined contribution has order ln⁡ln⁡T\ln\ln TlnlnT under its conditions. This makes the result useful when an algorithm's upper bound includes a second-order term and one wants to know the scale that a lower bound permits. It also identifies precisely which model regularity and uniform strategy guarantee support that comparison.

Formalizing Theorem 5 would add a reusable finite-horizon lower bound to the bandit library. The published definitions of stochastic bandits, policies, pull counts, and Kinf⁡\mathcal K_{\inf}Kinf​ supply the base model; this mission adds the paper's well-behavedness and super-fast convergence predicates and states the intermediate inequalities as separate targets. The paper's proof is established mathematically, while these mission statements remain open Lean theorems until solvers supply machine-checked proofs.

Main difficulty

The information cost is an infimum over alternative reward laws, so the finite-horizon bound must remain meaningful when the feasible set is empty or its divergence is infinite. The displayed formulas also divide by that information cost and use logarithms of quantities involving the strategy's uniform constant. For Theorem 5, the explicit correction factors must all lie in the range where the paper's final product inequality applies. A purely asymptotic statement would discard exactly the constants and horizon conditions that distinguish this theorem.

Formalization scope

Arms are Fin K, so the paper's arm a∈{1,…,K}a\in\{1,\ldots,K\}a∈{1,…,K} has Lean index a−1a-1a−1. A strategy is represented by Markov kernels on observed arm-reward histories; its expected pull count is an integral of a bounded count. The model consists of probability measures on R\mathbb RR with integrable identity. The information cost and Bernoulli divergence live in [0,+∞][0,+\infty][0,+∞]; a finite positive cost is converted to a real number only where a displayed reciprocal requires it. The goal contains a suboptimal arm, which rules out the empty-arm and single-arm cases. The model's witness functions are total in Lean, with requirements only on their paper-defined domains.

The theorem explicitly assumes μ∗∈E(D)\mu^*\in E(\mathcal D)μ∗∈E(D) and 0<K<+∞0<\mathcal K<+\infty0<K<+∞, which are implicit in the paper's use of εD(μ∗)\varepsilon_{\mathcal D}(\mu^*)εD​(μ∗) and 1/K1/\mathcal K1/K. It also assumes cT≥0c_T\ge0cT​≥0: the printed proof invokes a product inequality requiring that sign, although the theorem prints only cT<1c_T<1cT​<1. The version of (17) in the milestone list assumes bT≤1b_T\le1bT​≤1 in the case of a negative logarithm. These conditions and the model's integrability prevent vacuous or totalized-value readings of the lower bound. Contributions toward the four displayed milestones, the required measure-theoretic change of measure, and the finite-horizon arithmetic are in scope.

Selected references

  • Aurélien Garivier, Pierre Ménard, and Gilles Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44 (2019); arXiv:1602.07182v3, DOI:10.1287/moor.2017.0928.
  • Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Cambridge University Press (2020), Chapters 4 and 16; DOI:10.1017/9781108571401.
14 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems IV: Under Pairwise Symmetry a Suboptimal Arm Is Drawn T/K Times or Almost as Often as an Optimal ArmResearch Paper

Motivation

Lower bounds for stochastic multi-armed bandits are usually stated for a large horizon: Lai and Robbins (1985) and Burnetas and Katehakis (1996) show that a consistent strategy pulls a suboptimal arm at least about ln⁡T/Kinf⁡\ln T / \mathcal{K}_{\inf}lnT/Kinf​ times. These bounds say nothing about the small-horizon regime, the first rounds in which a strategy has not yet had time to separate the arms. Garivier, Ménard and Stoltz (arXiv:1602.07182v3, Mathematics of Operations Research, 2019) describe that regime through one information-theoretic inequality, their (6), and derive several lower bounds from it. This mission formalizes their relative lower bound, Theorem 3 (p. 11): under a mild symmetry assumption on the strategy, a suboptimal arm is either pulled at the uniform rate T/KT/KT/K or, on average, almost as often as an optimal arm. It is the statement behind the title's claim that bandit strategies must first explore.

Setting

There are KKK arms. A bandit problem ν‾=(ν1,…,νK)\underline{\nu} = (\nu_1, \dots, \nu_K)ν​=(ν1​,…,νK​) assigns to each arm aaa a probability distribution νa\nu_aνa​ on R\mathbb{R}R with expectation μa\mu_aμa​. The optimal mean is μ⋆=max⁡aμa\mu^\star = \max_a \mu_aμ⋆=maxa​μa​, the gap of arm aaa is Δa=μ⋆−μa\Delta_a = \mu^\star - \mu_aΔa​=μ⋆−μa​; arm aaa is optimal if Δa=0\Delta_a = 0Δa​=0 and suboptimal if Δa>0\Delta_a > 0Δa​>0.

A model D\mathcal{D}D is a set of distributions on R\mathbb{R}R, each with an expectation; a bandit problem is in D\mathcal{D}D when every νa\nu_aνa​ belongs to D\mathcal{D}D.

At each round ttt a strategy ψ\psiψ picks an arm AtA_tAt​, possibly at random, as a function of the past arms and rewards, and receives a reward YtY_tYt​ drawn from νAt\nu_{A_t}νAt​​. The number of pulls of arm aaa in the first TTT rounds is

Nψ,a(T)=∑t=1T1{At=a},N_{\psi,a}(T) = \sum_{t=1}^{T} \mathbb{1}\{A_t = a\},Nψ,a​(T)=t=1∑T​1{At​=a},

and Eν‾\mathbb{E}_{\underline{\nu}}Eν​​ denotes expectation when ψ\psiψ plays against ν‾\underline{\nu}ν​. Write Nψ,a+(T)=max⁡{Nψ,a(T),1}N^+_{\psi,a}(T) = \max\{N_{\psi,a}(T), 1\}Nψ,a+​(T)=max{Nψ,a​(T),1}.

Kullback–Leibler divergence. KL(P,Q)∈[0,+∞]\mathrm{KL}(P, Q) \in [0, +\infty]KL(P,Q)∈[0,+∞] is the Kullback–Leibler divergence between distributions, and kl(p,q)\mathrm{kl}(p, q)kl(p,q) the divergence between Bernoulli laws of parameters ppp and qqq.

Pairwise symmetry (Definition 3, p. 11). A strategy ψ\psiψ is pairwise symmetric for optimal arms on D\mathcal{D}D if for every bandit problem ν‾\underline{\nu}ν​ in D\mathcal{D}D, every pair of optimal arms a⋆,a⋆a^\star, a_\stara⋆,a⋆​ with νa⋆=νa⋆\nu_{a^\star} = \nu_{a_\star}νa⋆​=νa⋆​​ and every T≥1T \ge 1T≥1, the pairs (Nψ,a⋆(T),Nψ,a⋆(T))(N_{\psi,a^\star}(T), N_{\psi,a_\star}(T))(Nψ,a⋆​(T),Nψ,a⋆​​(T)) and (Nψ,a⋆(T),Nψ,a⋆(T))(N_{\psi,a_\star}(T), N_{\psi,a^\star}(T))(Nψ,a⋆​​(T),Nψ,a⋆​(T)) have the same distribution. A strategy that uses only the observed payoffs, and not the labels of the arms, has this property.

Formalization targets

Goal: Theorem 3 (p. 11)

For every model D\mathcal{D}D, every strategy ψ\psiψ pairwise symmetric for optimal arms on D\mathcal{D}D, every bandit problem ν‾\underline{\nu}ν​ in D\mathcal{D}D, every suboptimal arm aaa, every optimal arm a⋆a^\stara⋆ with KL(νa,νa⋆)<∞\mathrm{KL}(\nu_a, \nu_{a^\star}) < \inftyKL(νa​,νa⋆​)<∞ and every T≥1T \ge 1T≥1,

Eν‾[Nψ,a(T)]≥TKorEν‾[Nψ,a+(T)Nψ,a⋆+(T)]≥1−22T KL(νa,νa⋆)K.\mathbb{E}_{\underline{\nu}}\big[N_{\psi,a}(T)\big] \ge \frac{T}{K} \quad\text{or}\quad \mathbb{E}_{\underline{\nu}}\left[\frac{N^+_{\psi,a}(T)}{N^+_{\psi,a^\star}(T)}\right] \ge 1 - 2\sqrt{\frac{2T\,\mathrm{KL}(\nu_a, \nu_{a^\star})}{K}} .Eν​​[Nψ,a​(T)]≥KT​orEν​​[Nψ,a⋆+​(T)Nψ,a+​(T)​]≥1−2K2TKL(νa​,νa⋆​)​​.

Companion: the "in particular" clause

For T≤K/(32 KL(νa,νa⋆))T \le K / (32\,\mathrm{KL}(\nu_a, \nu_{a^\star}))T≤K/(32KL(νa​,νa⋆​)) the second alternative becomes Eν‾[Nψ,a+(T)/Nψ,a⋆+(T)]≥1/2\mathbb{E}_{\underline{\nu}}[N^+_{\psi,a}(T)/N^+_{\psi,a^\star}(T)] \ge 1/2Eν​​[Nψ,a+​(T)/Nψ,a⋆+​(T)]≥1/2.

Milestones (p. 12)

  1. The symmetry identity: for the alternative problem ν‾′\underline{\nu}'ν​′ obtained by replacing νa\nu_aνa​ by νa⋆\nu_{a^\star}νa⋆​, Eν‾′[Nψ,a+/(Nψ,a++Nψ,a⋆+)]=1/2\mathbb{E}_{\underline{\nu}'}[N^+_{\psi,a}/(N^+_{\psi,a} + N^+_{\psi,a^\star})] = 1/2Eν​′​[Nψ,a+​/(Nψ,a+​+Nψ,a⋆+​)]=1/2.
  2. Inequality (12): Eν‾[Nψ,a(T)] KL(νa,νa′)≥kl(Eν‾[Nψ,a+/(Nψ,a++Nψ,a⋆+)],1/2)\mathbb{E}_{\underline{\nu}}[N_{\psi,a}(T)]\,\mathrm{KL}(\nu_a, \nu'_a) \ge \mathrm{kl}\big(\mathbb{E}_{\underline{\nu}}[N^+_{\psi,a}/(N^+_{\psi,a} + N^+_{\psi,a^\star})], 1/2\big)Eν​​[Nψ,a​(T)]KL(νa​,νa′​)≥kl(Eν​​[Nψ,a+​/(Nψ,a+​+Nψ,a⋆+​)],1/2).
  3. The Jensen display: Eν‾[Nψ,a+/(Nψ,a++Nψ,a⋆+)]≤r/(1+r)\mathbb{E}_{\underline{\nu}}[N^+_{\psi,a}/(N^+_{\psi,a} + N^+_{\psi,a^\star})] \le r/(1+r)Eν​​[Nψ,a+​/(Nψ,a+​+Nψ,a⋆+​)]≤r/(1+r) with r=Eν‾[Nψ,a+/Nψ,a⋆+]r = \mathbb{E}_{\underline{\nu}}[N^+_{\psi,a}/N^+_{\psi,a^\star}]r=Eν​​[Nψ,a+​/Nψ,a⋆+​].
  4. The bound r/(1+r)≥1/2−T KL(νa,νa′)/(2K)r/(1+r) \ge 1/2 - \sqrt{T\,\mathrm{KL}(\nu_a,\nu'_a)/(2K)}r/(1+r)≥1/2−TKL(νa​,νa′​)/(2K)​ in the case Eν‾[Nψ,a(T)]≤T/K\mathbb{E}_{\underline{\nu}}[N_{\psi,a}(T)] \le T/KEν​​[Nψ,a​(T)]≤T/K, r≤1r \le 1r≤1.

Significance

The theorem shows that in the initial phase a symmetric strategy cannot discard a suboptimal arm quickly: unless the arm is already sampled at the uniform rate, it is sampled, in ratio, nearly as often as an optimal arm, as long as TTT is small compared with K/KL(νa,νa⋆)K / \mathrm{KL}(\nu_a, \nu_{a^\star})K/KL(νa​,νa⋆​). Together with Theorem 2 (absolute lower bound) and Theorem 4 (collective lower bound) it describes the regret curve before the logarithmic regime: roughly linear growth, then a transition. It requires no assumption on the model beyond the existence of expectations, and it involves the divergence between the two arms themselves rather than the model-dependent quantity Kinf⁡\mathcal{K}_{\inf}Kinf​.

The result is proved in the paper; to our knowledge it has no machine-checked proof. The mission produces a Lean statement of Theorem 3 on the canonical bandit model already used on the platform (StochasticBandit, BanditPolicy), a formal version of the symmetry assumption that sibling missions reuse (mission V, the collective lower bound, uses the same Definition 3), and the four intermediate steps of the proof as separate targets.

Difficulty

The proof compares ν‾\underline{\nu}ν​ with an alternative problem ν‾′\underline{\nu}'ν​′ that differs from it only in arm aaa, and transfers information between them through the fundamental inequality (6) of §2, a data-processing argument on the law of the whole history. The step specific to Theorem 3 is the choice of the test variable: the expectation of Nψ,a+/(Nψ,a++Nψ,a⋆+)N^+_{\psi,a}/(N^+_{\psi,a} + N^+_{\psi,a^\star})Nψ,a+​/(Nψ,a+​+Nψ,a⋆+​) is known exactly under ν‾′\underline{\nu}'ν​′ only because the strategy is pairwise symmetric, and the symmetry is a statement about joint laws of pull counts, not about their expectations. A version of the assumption that only equates expected pull counts does not determine the expectation of this ratio. The ratio expectation then has to be extracted from a bound on E[x/(1+x)]\mathbb{E}[x/(1+x)]E[x/(1+x)], which needs Jensen's inequality in the right direction and a case split on whether r≤1r \le 1r≤1.

Formalization scope

Arms are Fin K (0-based). The horizon TTT is a natural number. A strategy is a published BanditPolicy: a family of Markov kernels from the observed history of (arm, reward) pairs to the next arm. Every strategy of the paper, which may use auxiliary uniform random variables, induces such a kernel with the same law of arms and rewards. The law of the history is the published banditMeasure, and Nψ,a(T)N_{\psi,a}(T)Nψ,a​(T) is the published armPullCount. The model is a set of measures on R\mathbb{R}R, and every statement assumes the paper's standing hypothesis (§1.1, p. 3) that each member is a probability measure with an integrable identity, together with ν‾\underline{\nu}ν​ in D\mathcal{D}D.

Committed conventions:

  • KL\mathrm{KL}KL and kl\mathrm{kl}kl take values in [0,+∞][0, +\infty][0,+∞]; the Bernoulli divergence is the Kullback–Leibler divergence of two Bernoulli laws on R\mathbb{R}R, not a real formula with finite values at q∈{0,1}q \in \{0, 1\}q∈{0,1}.
  • Theorem 3 adds the hypothesis KL(νa,νa⋆)<∞\mathrm{KL}(\nu_a, \nu_{a^\star}) < \inftyKL(νa​,νa⋆​)<∞. When the divergence is infinite the paper's bound reads ≥−∞\ge -\infty≥−∞ and is empty; reading +∞+\infty+∞ as the real number 000 would make the statement false.
  • The "in particular" clause is stated as 32 T KL(νa,νa⋆)≤K32\,T\,\mathrm{KL}(\nu_a,\nu_{a^\star}) \le K32TKL(νa​,νa⋆​)≤K in [0,+∞][0, +\infty][0,+∞], which needs no finiteness assumption.
  • Definition 3 is an equality of joint laws (push-forwards of the history law), for every T≥1T \ge 1T≥1, only for optimal arms of problems in D\mathcal{D}D with equal distributions. Invariance under all permutations of the arms would strengthen the hypothesis and weaken the theorem.
  • Ratios use max⁡{N,1}\max\{N, 1\}max{N,1} as real numbers, so no division by zero occurs; all integrands are bounded by TTT.

A formalization in which the symmetry assumption equates only expected pull counts, in which the divergence is a real number with junk value 000 at +∞+\infty+∞, or in which the disjunction is replaced by its second alternative, is not this theorem.

The mission builds on the published definitions StochasticBandit and BanditPolicy. A complete development needs the fundamental inequality (6) for kernel policies (the divergence decomposition, published as BanditAlgorithm.bandit_divergence_decomposition, plus data processing for the Bernoulli test), Pinsker's inequality for Bernoulli laws (proved on the platform as BanditAlgorithm.bernoulli_relative_entropy_pinsker), Jensen's inequality for concave functions (Mathlib), and a lemma that the law of the history is unchanged in distribution when two identically distributed optimal arms are relabelled. The measurability of pull counts and the relation between the extended-real and real Bernoulli divergences are reusable beyond this mission. Proofs of any milestone, and of the general fundamental inequality, are welcome.

Selected references

  • A. Garivier, P. Ménard, G. Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44(2), 2019. arXiv:1602.07182v3, doi:10.1287/moor.2017.0928
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6(1), 1985. doi:10.1016/0196-8858(85)90002-8
  • A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics 17(2), 1996. doi:10.1006/aama.1996.0007
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. doi:10.1017/9781108571401
11 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems II: Uniformly Fast Convergent Strategies Draw Every Suboptimal Arm at Least ln T / K_inf Times AsymptoticallyResearch Paper

Why this lower bound matters

In a stochastic multi-armed bandit, a player repeatedly chooses one of finitely many arms and sees only the reward from the chosen arm. To earn a high reward, the player must favor arms that appear best. Yet an arm that currently appears inferior might be best under another plausible reward law. That uncertainty forces any strategy with uniformly strong long-run performance to keep testing apparently inferior arms. The asymptotic number of tests is a basic benchmark for comparing bandit algorithms: an algorithm that matches the bound uses no more exploration than the information in the model demands. Garivier, Ménard, and Stoltz restate this general benchmark as Theorem 1 and derive it within their analysis of the shape of regret Garivier–Ménard–Stoltz, §2.2.

The quantity controlling the benchmark comes from Burnetas and Katehakis. It measures the least information needed to replace one suboptimal arm by a plausible arm that is strictly better than the current best. The paper cites their quantity on page 4, and its Theorem 1 applies it to every suboptimal arm separately Garivier–Ménard–Stoltz, pp. 4, 9. This per-arm form matters when different arms have different reward laws and different amounts of information are needed to rule them out.

Bandit setting and notation

A bandit problem ν‾=(νa)a=1K\underline\nu=(\nu_a)_{a=1}^Kν​=(νa​)a=1K​ has KKK arms. Each νa\nu_aνa​ is a probability distribution on real rewards with a finite expectation μa=EνaX\mu_a=\mathbb E_{\nu_a}Xμa​=Eνa​​X. A strategy ψ\psiψ chooses an arm at each round using the preceding chosen arms and observed rewards, and it may randomize. Let Nψ,a(T)N_{\psi,a}(T)Nψ,a​(T) be the number of times arm aaa is chosen in the first TTT rounds. The optimal mean is μ⋆=max⁡aμa\mu^\star=\max_a\mu_aμ⋆=maxa​μa​, and the gap of arm aaa is Δa=μ⋆−μa\Delta_a=\mu^\star-\mu_aΔa​=μ⋆−μa​. An arm is suboptimal when Δa>0\Delta_a>0Δa​>0. These are the objects of §1.1 of the paper Garivier–Ménard–Stoltz, pp. 2–3.

A model D\mathcal DD is a collection of possible real-valued reward distributions, each with a finite expectation. A bandit problem belongs to D\mathcal DD when every one of its arm laws does. The Kullback–Leibler divergence KL(P,Q)\mathrm{KL}(P,Q)KL(P,Q) measures the information discrepancy from one reward law PPP to another QQQ; it may be infinite. For an arm law PPP and a real threshold xxx, define the minimal information cost

Kinf⁡(P,x,D)=inf⁡{KL(P,Q):Q∈D, EQX>x}.\mathcal K_{\inf}(P,x,\mathcal D) =\inf\{\mathrm{KL}(P,Q):Q\in\mathcal D,\ \mathbb E_QX>x\}.Kinf​(P,x,D)=inf{KL(P,Q):Q∈D, EQ​X>x}.

The infimum is +∞+\infty+∞ if there is no qualifying alternative. The strict inequality in the set matters: the replacement law must make the arm better than the original optimal mean, not merely tied with it Garivier–Ménard–Stoltz, p. 4.

Definition 1 calls ψ\psiψ uniformly fast convergent on D\mathcal DD when, on every bandit problem in the model, the expected draw count of every suboptimal arm grows more slowly than TαT^\alphaTα for each 0<α≤10<\alpha\le10<α≤1:

Eν‾Nψ,a(T)=o(Tα).\mathbb E_{\underline\nu}N_{\psi,a}(T)=o(T^\alpha).Eν​​Nψ,a​(T)=o(Tα).

Here TTT tends to infinity through integer horizons. This condition is uniform in which problem and suboptimal arm are considered; it does not mean one numerical convergence rate is shared by all problems Garivier–Ménard–Stoltz, p. 9, Definition 1.

Formalization target

The goal is the paper's Theorem 1: for every model D\mathcal DD, every uniformly fast convergent strategy ψ\psiψ, every bandit problem ν‾\underline\nuν​ in the model, and every suboptimal arm aaa,

lim inf⁡T→∞Eν‾Nψ,a(T)ln⁡T≥1Kinf⁡(νa,μ⋆,D).\liminf_{T\to\infty} \frac{\mathbb E_{\underline\nu}N_{\psi,a}(T)}{\ln T} \ge\frac1{\mathcal K_{\inf}(\nu_a,\mu^\star,\mathcal D)}.T→∞liminf​lnTEν​​Nψ,a​(T)​≥Kinf​(νa​,μ⋆,D)1​.

The bound states the minimum logarithmic exploration of each arm. It leaves the model and strategy arbitrary within the stated class. The milestones follow four statements from the proof on page 9: the Bernoulli entropy estimate in (11), the one-arm divergence chain in (10), the eventual bound on draws of the alternative's other arms, and the bound for one alternative law before taking the infimum. Their source text is recorded beside the local drafts Garivier–Ménard–Stoltz, p. 9.

What the result gives

If Kinf⁡\mathcal K_{\inf}Kinf​ is finite and positive, the theorem gives a concrete coefficient of ln⁡T\ln TlnT that any uniformly fast convergent strategy must spend on arm aaa. A small information cost means that the arm is hard to distinguish from a better alternative and must be sampled more often. If the cost is infinite because the model contains no better replacement, the reciprocal is zero and the bound makes no positive demand. If the cost is zero, the reciprocal is infinite: the normalized expected draw count must diverge. The extended-value convention is part of the target, not a choice of a finite stand-in Garivier–Ménard–Stoltz, pp. 4, 9.

The theorem is proved in the paper, while the Lean statements in this proposal are proof targets. A completed development would supply a machine-checked bridge from the canonical stochastic-bandit policy model through Bernoulli relative entropy and change of measure to the per-arm asymptotic claim. Its model and divergence definitions can also support lower bounds for other bandit classes. The existing Prove2Me StochasticBandit, BanditPolicy, and ConsistentBanditPolicy definitions provide the bandit law, policy, draw count, means, and Kinf⁡\mathcal K_{\inf}Kinf​ used here; Definition 1's exact strategy class is supplied locally.

Difficulty

The central issue is the quantification over every alternative law in an arbitrary model. A suboptimal arm may become uniquely optimal after changing only its law, while the strategy must remain uniformly fast on that new problem. The information cost is an infimum over such changes, including an empty set or costs arbitrarily close to zero. A statement that reasons about just one convenient alternative does not yield the coefficient in Theorem 1. The proof also passes from finite-horizon information inequalities to a liminf as TTT grows, so endpoint values of Bernoulli divergence and the extended-value arithmetic must agree with the source Garivier–Ménard–Stoltz, pp. 6, 9.

Formalization scope

Lean indexes the paper's arms 1,…,K1,\ldots,K1,…,K by Fin K, starting at zero, and uses natural-number horizons. A strategy is a history-dependent Markov kernel, whose generated probability measure describes the sequence of chosen arms and rewards. The pull count is bounded by TTT, so its expectation is a genuine Bochner integral. The model explicitly requires probability laws with integrable identity; this ensures that each mean in Kinf⁡\mathcal K_{\inf}Kinf​ is genuine. Bernoulli relative entropy and arm-law KL take values in extended nonnegative reals. The goal's liminf is also in extended nonnegative reals, avoiding a default real liminf for an unbounded sequence. The first two horizons, where ln⁡T≤0\ln T\le0lnT≤0, cannot affect an asymptotic liminf.

The theorem sentence on page 9 says “all bandit problems” without restricting the original problem to D\mathcal DD. Its proof applies Definition 1 to that problem, so the proposal states that its arms belong to D\mathcal DD. Without this condition a strategy can behave arbitrarily outside the model. The source's other standing conventions are kept: every reward law has an expectation, the improvement condition in Kinf⁡\mathcal K_{\inf}Kinf​ is strict, and uniform fast convergence ranges over all model problems, all suboptimal arms, and all 0<α≤10<\alpha\le10<α≤1. These choices rule out an empty strategy class or a special hard-coded bandit as a trivial route to the target.

Useful contributions include the finite-horizon change-of-measure inequality, endpoint-correct Bernoulli KL estimates, identities for sums of expected pull counts, and asymptotic lemmas for reciprocal infima. The milestone drafts identify the paper statements those contributions must support.

Selected references

  • Aurélien Garivier, Pierre Ménard, and Gilles Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research, 2019; cited here from arXiv:1602.07182v3, §§1–2.
  • Apostolos N. Burnetas and Michael N. Katehakis, Optimal Adaptive Policies for Sequential Allocation Problems, Advances in Applied Mathematics, 1996. DOI:10.1006/aama.1996.0007.
11 thms6 active usersReviewed
🏆Completed
Information TheoryMachine LearningStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems I: Expected Draws Weighted by Arm Divergences Dominate the Binary Divergence of the Means of Any [0,1]-Valued StatisticResearch Paper

Motivation

Lower bounds on the regret of stochastic multi-armed bandit strategies say how often any reasonable strategy must sample an arm that is not the best one. They are the benchmark against which upper bounds for UCB, KL-UCB and Thompson sampling are judged optimal. The classical bounds of Lai and Robbins (1985) and Burnetas and Katehakis (1996) were proved by changes of measure on carefully chosen events, combined with Markov–Chernoff estimates of their probabilities.

Garivier, Ménard and Stoltz (arXiv:1602.07182v3), published in Mathematics of Operations Research in 2019, replace those arguments with one inequality, which they call the fundamental inequality of their article, inequality (6), p. 6. Every lower bound in the paper follows from it: the asymptotic Lai–Robbins / Burnetas–Katehakis bound for an arbitrary model (Theorem 1), the non-asymptotic bounds for small horizons (Theorems 2–4), and the non-asymptotic logarithmic bound for large horizons (Theorem 5). The same inequality, in the form of Lemma 1 of Kaufmann, Cappé and Garivier (2016), underlies lower bounds for best-arm identification. This mission formalizes the inequality and the lemma that carries its proof.

Setting

A bandit problem with KKK arms is a family ν‾=(νa)a=1,…,K\underline\nu=(\nu_a)_{a=1,\dots,K}ν​=(νa​)a=1,…,K​ of probability distributions on R\mathbb RR, each with a finite expectation. A strategy ψ\psiψ plays for TTT rounds. In round t+1t+1t+1 it picks an arm At+1A_{t+1}At+1​ as a measurable function of It=(U0,Y1,U1,…,Yt,Ut)I_t=(U_0,Y_1,U_1,\dots,Y_t,U_t)It​=(U0​,Y1​,U1​,…,Yt​,Ut​), where the UtU_tUt​ are independent uniforms on [0,1][0,1][0,1]. It then observes a reward Yt+1Y_{t+1}Yt+1​ drawn from νAt+1\nu_{A_{t+1}}νAt+1​​ and a fresh independent uniform Ut+1U_{t+1}Ut+1​. The strategy together with the problem determines the law Pν‾\mathbb P_{\underline\nu}Pν​​ of ITI_TIT​; Eν‾\mathbb E_{\underline\nu}Eν​​ is its expectation. The number of draws of arm aaa is

Nψ,a(T)=∑t=1TI{At=a}.N_{\psi,a}(T)=\sum_{t=1}^T\mathbb I\{A_t=a\}.Nψ,a​(T)=t=1∑T​I{At​=a}.

KL(P,Q)∈[0,+∞]\mathrm{KL}(P,Q)\in[0,+\infty]KL(P,Q)∈[0,+∞] is the Kullback–Leibler divergence between two probability measures: ∫ln⁡dPdQ dP\int\ln\frac{\mathrm dP}{\mathrm dQ}\,\mathrm dP∫lndQdP​dP when PPP is absolutely continuous with respect to QQQ and the integral exists, and +∞+\infty+∞ otherwise. The binary divergence kl(p,q)\mathrm{kl}(p,q)kl(p,q), for p,q∈[0,1]p,q\in[0,1]p,q∈[0,1], is the Kullback–Leibler divergence between the Bernoulli distributions of parameters ppp and qqq. For q∈(0,1)q\in(0,1)q∈(0,1) it is given by (5):

kl(p,q)=pln⁡pq+(1−p)ln⁡1−p1−q.\mathrm{kl}(p,q)=p\ln\frac pq+(1-p)\ln\frac{1-p}{1-q}.kl(p,q)=plnqp​+(1−p)ln1−q1−p​.

It equals +∞+\infty+∞ for q∈{0,1}q\in\{0,1\}q∈{0,1} and p≠qp\ne qp=q.

The Lean development builds on the published StochasticBandit K, which holds the arm laws ν.P a. The local FullStrategy K implements the paper's measurable strategy on ItI_tIt​; fullHistoryMeasure ν ψ T is the law of ITI_TIT​, fullPullCount ψ a is Nψ,a(T)N_{\psi,a}(T)Nψ,a​(T), and fullExpPulls ν ψ T a is its expectation. The published BanditPolicy K describes the observed-history kernel model used by the two referenced chain-rule results. The shared definitions supply the Bernoulli law and klBer p q for kl(p,q)\mathrm{kl}(p,q)kl(p,q).

Formalization targets

Goal: the fundamental inequality (6), p. 6

For every strategy ψ\psiψ, every pair of bandit problems ν‾,ν‾′\underline\nu,\underline\nu'ν​,ν​′, every horizon TTT, and every σ(IT)\sigma(I_T)σ(IT​)-measurable statistic ZZZ with values in [0,1][0,1][0,1]:

∑a=1KEν‾[Nψ,a(T)] KL(νa,νa′) ≥ kl(Eν‾[Z], Eν‾′[Z]),\sum_{a=1}^K\mathbb E_{\underline\nu}\big[N_{\psi,a}(T)\big]\,\mathrm{KL}(\nu_a,\nu'_a)\ \ge\ \mathrm{kl}\big(\mathbb E_{\underline\nu}[Z],\ \mathbb E_{\underline\nu'}[Z]\big),a=1∑K​Eν​​[Nψ,a​(T)]KL(νa​,νa′​) ≥ kl(Eν​​[Z], Eν​′​[Z]),

in [0,+∞][0,+\infty][0,+∞], with 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0. The arm laws have the finite expectations required in §1.1; their divergences may be infinite.

Milestones, in the order of the proof (§2.1, pp. 7–8)

  1. (9), p. 7: the one-round chain rule. Under finite arm divergences, the divergence between the observed-history laws after round t+1t+1t+1 is the divergence after round ttt plus Eν‾[∑aKL(νa,νa′) I{At+1=a}]\mathbb E_{\underline\nu}\big[\sum_a\mathrm{KL}(\nu_a,\nu'_a)\,\mathbb I\{A_{t+1}=a\}\big]Eν​​[∑a​KL(νa​,νa′​)I{At+1​=a}]. The observed-history kernel version is proved on the platform.
  2. Equality in (8), p. 7: ∑aEν‾[Nψ,a(T)] KL(νa,νa′)=KL(Pν‾IT,Pν‾′IT)\sum_a\mathbb E_{\underline\nu}[N_{\psi,a}(T)]\,\mathrm{KL}(\nu_a,\nu'_a)=\mathrm{KL}(\mathbb P_{\underline\nu}^{I_T},\mathbb P_{\underline\nu'}^{I_T})∑a​Eν​​[Nψ,a​(T)]KL(νa​,νa′​)=KL(Pν​IT​​,Pν​′IT​​). The platform has the observed-history kernel version under finite arm divergences; relating it to the full information law is part of the goal's work.
  3. Lemma 1, first display, p. 8: KL(P1,P2)=KL(P1⊗λ,P2⊗λ)\mathrm{KL}(\mathbb P_1,\mathbb P_2)=\mathrm{KL}(\mathbb P_1\otimes\lambda,\mathbb P_2\otimes\lambda)KL(P1​,P2​)=KL(P1​⊗λ,P2​⊗λ), with λ\lambdaλ the Lebesgue measure on [0,1][0,1][0,1].
  4. Lemma 1, second display, p. 8: KL(P1,P2)≥kl((P1⊗λ)(E),(P2⊗λ)(E))\mathrm{KL}(\mathbb P_1,\mathbb P_2)\ge\mathrm{kl}\big((\mathbb P_1\otimes\lambda)(E),(\mathbb P_2\otimes\lambda)(E)\big)KL(P1​,P2​)≥kl((P1​⊗λ)(E),(P2​⊗λ)(E)) for every measurable E⊆Γ×[0,1]E\subseteq\Gamma\times[0,1]E⊆Γ×[0,1].
  5. Lemma 1, last display, p. 8: (P⊗λ){(γ,x):x≤Z(γ)}=E[Z](\mathbb P\otimes\lambda)\{(\gamma,x):x\le Z(\gamma)\}=\mathbb E[Z](P⊗λ){(γ,x):x≤Z(γ)}=E[Z].
  6. Lemma 1, p. 8: for probability measures P1,P2\mathbb P_1,\mathbb P_2P1​,P2​ on any measurable space and any measurable ZZZ with values in [0,1][0,1][0,1], KL(P1,P2)≥kl(E1[Z],E2[Z])\mathrm{KL}(\mathbb P_1,\mathbb P_2)\ge\mathrm{kl}(\mathbb E_1[Z],\mathbb E_2[Z])KL(P1​,P2​)≥kl(E1​[Z],E2​[Z]).

Significance

The result. Inequality (6) turns a lower bound on the number of draws into a choice of an alternative problem ν‾′\underline\nu'ν​′ and a statistic ZZZ, usually Z=Nψ,a(T)/TZ=N_{\psi,a}(T)/TZ=Nψ,a​(T)/T. The binary divergence then contains expected numbers of draws directly, and no event or concentration estimate is needed. In the paper this gives a few-line proof of the Lai–Robbins / Burnetas–Katehakis bound lim inf⁡TE[Nψ,a(T)]/ln⁡T≥1/Kinf⁡\liminf_T\mathbb E[N_{\psi,a}(T)]/\ln T\ge 1/\mathcal K_{\inf}liminfT​E[Nψ,a​(T)]/lnT≥1/Kinf​ for any model. It also gives the non-asymptotic bounds showing that the regret grows almost linearly while TTT is below a divergence-determined threshold. Each of these is a separate mission of this series, and each applies (6) once.

The formalization. The paper calls the equality in (8) standard and re-proves it for completeness; the inequality half, Lemma 1, is its own contribution. Observed-history kernel versions of the equality in (8) and the one-round step (9) are already formalized on the platform, under the hypothesis that every arm divergence is finite. Lemma 1 and the full-information inequality (6) itself are proved in the paper but not formalized. A machine-checked (6), stated with no divergence-finiteness hypothesis, would make every downstream lower bound in the series a matter of calculus with the binary divergence.

Difficulty

Two points need care. First, Lemma 1 is stated for an arbitrary [0,1][0,1][0,1]-valued ZZZ. The data-processing inequality only gives it directly for indicators of events, and pushing Pj\mathbb P_jPj​ forward by ZZZ gives a law on [0,1][0,1][0,1], not a Bernoulli law. The paper's route enlarges the space by an independent uniform variable, which needs the product with Lebesgue measure, the invariance of the divergence under that product, and Tonelli's theorem. Second, the goal has no finiteness hypothesis on the arm divergences, while the published chain-rule results assume it. When KL(νa,νa′)=+∞\mathrm{KL}(\nu_a,\nu'_a)=+\inftyKL(νa​,νa′​)=+∞ for an arm that is drawn with positive probability, the left side is +∞+\infty+∞ and there is nothing to prove. When such an arm is never drawn, its term is 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0. The divergence between the history laws must then be shown to be finite and equal to the remaining sum, which the published decomposition does not cover.

Formalization scope

  • Arms are Fin K, indexed from 000. The horizon TTT is a natural number; at T=0T=0T=0 both sides are 000. For K=0K=0K=0 no policy exists, so K≥1K\ge1K≥1 needs no hypothesis.
  • Strategies are FullStrategy K, measurable functions of the paper's ItI_tIt​. The same strategy runs under ν‾\underline\nuν​ and ν‾′\underline\nu'ν​′. The local history law includes every auxiliary uniform, so ZZZ may depend on any of them.
  • Both bandit problems satisfy Integrable id for each arm, expressing §1.1's finite-expectation condition. The published StochasticBandit structure supplies only the probability-law condition.
  • The binary divergence is the [0,+∞][0,+\infty][0,+∞]-valued Kullback–Leibler divergence of two Bernoulli laws, klBer, never a real formula. A real formula would return a finite junk value at q∈{0,1}q\in\{0,1\}q∈{0,1}, where (5) is +∞+\infty+∞, and would make the goal trivially true there. A version with a finiteness hypothesis on the arm divergences, or with a real-valued binary divergence restricted to q∈(0,1)q\in(0,1)q∈(0,1), would be a weaker theorem and is not the target.
  • In Lemma 1 and its displays, the "distributions" are probability measures on an arbitrary measurable space. λ\lambdaλ is the volume on Mathlib's unitInterval. ZZZ is real-valued and measurable, with values in [0,1][0,1][0,1].
  • Builds on the published definitions StochasticBandit and BanditPolicy and on Mathlib's InformationTheory.klDiv. The goal uses a local explicit auxiliary-uniform strategy; the published chain-rule references use observed-history kernel policies and are related proof tools. Other tools are data processing (klDiv_map_le), the chain rule for klDiv and composition products, and Tonelli. The tensorization identity for products of probability measures is Proved on the platform as Tensorization.klDiv_prod_eq_add. Lemma 1 is reusable well beyond bandits, wherever a divergence must be compared with the means of a bounded statistic. Proofs of the milestones, and an extension of the chain rule to infinite arm divergences, are welcome.

Selected references

  • A. Garivier, P. Ménard, G. Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44(2), 2019; arXiv:1602.07182v3. https://arxiv.org/abs/1602.07182v3, https://doi.org/10.1287/moor.2017.0928
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics 17, 1996. https://doi.org/10.1006/aama.1996.0007
  • E. Kaufmann, O. Cappé, A. Garivier, On the complexity of best-arm identification in multi-armed bandit models, Journal of Machine Learning Research 17, 2016. https://jmlr.org/papers/v17/kaufman16a.html
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
11 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

Improved Algorithms for Linear Stochastic Bandits I: High-Probability Regret Bound for the OFUL AlgorithmResearch Paper

Motivation

In a linear stochastic bandit, a learner repeatedly chooses an action from a set of vectors and receives a noisy reward whose mean is linear in the action. The model underlies contextual recommendation, adaptive routing and dynamic pricing, where each option is described by features and the payoff of a feature vector must be learned while it is exploited. The quality of a strategy is measured by its regret: the reward lost, relative to always playing the best action, over the first nnn rounds.

The optimism-in-the-face-of-uncertainty principle (play as if the most favourable parameter consistent with the data were true) was introduced for linear bandits by Auer (2002), and developed by Dani, Hayes and Kakade (2008) (ConfidenceBall, regret O(dnlog⁡3/2n)O(d\sqrt n\log^{3/2} n)O(dn​log3/2n) with confidence sets from a union bound over time) and Rusmevichientong and Tsitsiklis (2010). Abbasi-Yadkori, Pál and Szepesvári (NIPS 2011) replaced the union bound by a self-normalized martingale inequality that holds uniformly in time. It gives smaller confidence ellipsoids and, through them, a high-probability regret bound for the resulting algorithm, OFUL, that improves the earlier ones by logarithmic factors. The inequality became the standard tool for linear and kernelized bandits and for linear reinforcement learning.

Setting

Fix a dimension d≥1d \ge 1d≥1 and an unknown parameter θ∗∈Rd\theta_* \in \mathbb R^dθ∗​∈Rd. In round t=1,2,…t = 1, 2, \dotst=1,2,… the learner is given a nonempty decision set Dt⊆RdD_t \subseteq \mathbb R^dDt​⊆Rd, chooses Xt∈DtX_t \in D_tXt​∈Dt​, and observes the reward

Yt=⟨Xt,θ∗⟩+ηt.Y_t = \langle X_t, \theta_* \rangle + \eta_t .Yt​=⟨Xt​,θ∗​⟩+ηt​.

There is a filtration {Ft}t≥0\{F_t\}_{t \ge 0}{Ft​}t≥0​ such that XtX_tXt​ is Ft−1F_{t-1}Ft−1​-measurable and ηt\eta_tηt​ is FtF_tFt​-measurable and conditionally RRR-sub-Gaussian: E[eληt∣Ft−1]≤exp⁡(λ2R2/2)\mathbf E[e^{\lambda\eta_t} \mid F_{t-1}] \le \exp(\lambda^2R^2/2)E[eληt​∣Ft−1​]≤exp(λ2R2/2) for all λ∈R\lambda \in \mathbb Rλ∈R, with R≥0R \ge 0R≥0 fixed.

For a regularization parameter λ>0\lambda > 0λ>0 let V‾t=λI+∑s=1tXsXs⊤\overline V_t = \lambda I + \sum_{s=1}^t X_sX_s^\topVt​=λI+∑s=1t​Xs​Xs⊤​ and let θ^t=V‾t−1∑s=1tYsXs\widehat\theta_t = \overline V_t^{-1}\sum_{s=1}^t Y_sX_sθt​=Vt−1​∑s=1t​Ys​Xs​ be the regularized least-squares estimate. With ∥v∥A=v⊤Av\|v\|_A = \sqrt{v^\top A v}∥v∥A​=v⊤Av​ and a known bound ∥θ∗∥2≤S\|\theta_*\|_2 \le S∥θ∗​∥2​≤S, the confidence ellipsoid is

Ct={θ:∥θ^t−θ∥V‾t≤R2log⁡(det⁡(V‾t)1/2det⁡(λI)−1/2/δ)+λ1/2S}.C_t = \Big\{\theta : \|\widehat\theta_t - \theta\|_{\overline V_t} \le R\sqrt{2\log\big(\det(\overline V_t)^{1/2}\det(\lambda I)^{-1/2}/\delta\big)} + \lambda^{1/2}S\Big\}.Ct​={θ:∥θt​−θ∥Vt​​≤R2log(det(Vt​)1/2det(λI)−1/2/δ)​+λ1/2S}.

The OFUL algorithm chooses, in round ttt, a pair (Xt,θ~t)(X_t, \widetilde\theta_t)(Xt​,θt​) maximizing ⟨x,θ⟩\langle x, \theta \rangle⟨x,θ⟩ over Dt×Ct−1D_t \times C_{t-1}Dt​×Ct−1​. The pseudo-regret is Rn=∑t=1n⟨xt∗−Xt,θ∗⟩R_n = \sum_{t=1}^n \langle x^*_t - X_t, \theta_* \rangleRn​=∑t=1n​⟨xt∗​−Xt​,θ∗​⟩, where ⟨xt∗,θ∗⟩=max⁡x∈Dt⟨x,θ∗⟩\langle x^*_t, \theta_*\rangle = \max_{x\in D_t}\langle x,\theta_*\rangle⟨xt∗​,θ∗​⟩=maxx∈Dt​​⟨x,θ∗​⟩.

Formalization targets

Goal: Theorem 3, the regret of OFUL

If ∥Xt∥2≤L\|X_t\|_2 \le L∥Xt​∥2​≤L, ⟨x,θ∗⟩∈[−1,1]\langle x, \theta_*\rangle \in [-1,1]⟨x,θ∗​⟩∈[−1,1] for all x∈Dtx \in D_tx∈Dt​, and λ≥max⁡(1,L2)\lambda \ge \max(1, L^2)λ≥max(1,L2), then for every δ>0\delta > 0δ>0, with probability at least 1−δ1 - \delta1−δ,

∀n≥0,Rn≤4ndlog⁡(λ+nL2/d)(λ1/2S+R2log⁡(1/δ)+dlog⁡(1+nL2/(λd))).\forall n \ge 0, \quad R_n \le 4\sqrt{nd\log(\lambda + nL^2/d)}\Big(\lambda^{1/2}S + R\sqrt{2\log(1/\delta) + d\log(1 + nL^2/(\lambda d))}\Big).∀n≥0,Rn​≤4ndlog(λ+nL2/d)​(λ1/2S+R2log(1/δ)+dlog(1+nL2/(λd))​).

Milestone: Theorem 1, the self-normalized bound

For any positive definite VVV, V‾t=V+∑s≤tXsXs⊤\overline V_t = V + \sum_{s\le t}X_sX_s^\topVt​=V+∑s≤t​Xs​Xs⊤​ and St=∑s≤tηsXsS_t = \sum_{s \le t}\eta_sX_sSt​=∑s≤t​ηs​Xs​: with probability at least 1−δ1-\delta1−δ, for all t≥0t \ge 0t≥0,

∥St∥V‾t−12≤2R2log⁡(det⁡(V‾t)1/2det⁡(V)−1/2/δ).\|S_t\|^2_{\overline V_t^{-1}} \le 2R^2\log\big(\det(\overline V_t)^{1/2}\det(V)^{-1/2}/\delta\big).∥St​∥Vt−1​2​≤2R2log(det(Vt​)1/2det(V)−1/2/δ).

Milestones: Theorem 2, the confidence ellipsoids

With probability at least 1−δ1 - \delta1−δ, θ∗∈Ct\theta_* \in C_tθ∗​∈Ct​ for all t≥0t \ge 0t≥0 (first claim). If ∥Xt∥2≤L\|X_t\|_2 \le L∥Xt​∥2​≤L, then with probability at least 1−δ1-\delta1−δ, for all ttt, ∥θ^t−θ∗∥V‾t≤Rdlog⁡((1+tL2/λ)/δ)+λ1/2S\|\widehat\theta_t - \theta_*\|_{\overline V_t} \le R\sqrt{d\log((1 + tL^2/\lambda)/\delta)} + \lambda^{1/2}S∥θt​−θ∗​∥Vt​​≤Rdlog((1+tL2/λ)/δ)​+λ1/2S (second claim, stated here for d≥2d \ge 2d≥2).

Significance

Theorem 3 bounds the regret of OFUL by O(dnlog⁡n)O(d\sqrt n\log n)O(dn​logn) with high probability, uniformly over the horizon, so it holds for an unknown horizon without restarting. The bound applies to arbitrary, even adversarially changing, decision sets. Theorem 1 is the ingredient that makes this possible: a deviation bound for a vector-valued martingale, normalized by its own random covariance, that holds for all times simultaneously and whose logarithmic term is a determinant rather than a union-bound count. The same inequality underlies regret analyses of generalized linear bandits, kernelized bandits, linear Markov decision processes and many confidence-sequence constructions.

All three results are proved in the paper's appendices (not included in the source file used here). None of them is formalized in the stated generality. Prove2Me holds the special cases V=λIV = \lambda IV=λI, R=1R = 1R=1, δ<1\delta < 1δ<1 of Theorems 1 and 2 (from the Bandit Algorithms textbook series), a pathwise LinUCB regret lemma that assumes the confidence event, and the elliptical potential lemma. A formal proof of Theorem 3 would be the first machine-checked high-probability regret bound for OFUL with the paper's confidence sets.

Difficulty

The actions are chosen adaptively, by an argmax over a data-dependent set, so the sequence XtX_tXt​ has no independence structure and the least-squares estimate is not a sum of independent terms. A fixed-design concentration bound followed by a union bound over time and over a covering of the sphere loses logarithmic factors and does not produce the determinant in the radius; that is the route of the earlier work that Theorem 1 improves. Theorem 1 must hold for all times at once for a quantity normalized by the random matrix V‾t\overline V_tVt​, which is itself built from the adaptively chosen actions; a bound for each fixed ttt does not give it.

Formalization scope

Vectors are Fin d → ℝ, matrices Matrix (Fin d) (Fin d) ℝ, and ∥x∥A\|x\|_A∥x∥A​ is Real.sqrt (x ⬝ᵥ A *ᵥ x). Rounds are indexed t+1t+1t+1 for t:Nt : ℕt:N, so sums over s≤ts \le ts≤t are sums over Finset.range t at index s + 1, and the time-0 objects are empty sums. The probability space is standard Borel, as Mathlib's conditional sub-Gaussianity (HasCondSubgaussianMGF, variance proxy R2R^2R2) requires; this is an added hypothesis. Every "with probability at least 1−δ1-\delta1−δ, for all ttt" is stated as an outer-measure bound ≤δ\le \delta≤δ on the failure event, with the time quantifier inside the event. det⁡(⋅)1/2\det(\cdot)^{1/2}det(⋅)1/2 is the real square root of the determinant; the matrices inverted are positive definite, so Lean's junk inverse never occurs.

OFUL is a predicate on the whole process: in every round the chosen pair maximizes ⟨x,θ⟩\langle x,\theta\rangle⟨x,θ⟩ over Dt×Ct−1D_t \times C_{t-1}Dt​×Ct−1​, with any tie-breaking. Runs exist whenever the decision sets are nonempty and compact. The measurability of the actions is assumed, as in Theorem 1. The optimal reward ⟨xt∗,θ∗⟩\langle x^*_t, \theta_*\rangle⟨xt∗​,θ∗​⟩ is the supremum over DtD_tDt​, finite because of the reward bound.

Two corrections to the printed Theorem 3 are made and disclosed. The printed nL/dnL/dnL/d is replaced by nL2/dnL^2/dnL2/d, which is what the determinant–trace bound det⁡V‾n≤(λ+nL2/d)d\det\overline V_n \le (\lambda + nL^2/d)^ddetVn​≤(λ+nL2/d)d gives; for L≤1L \le 1L≤1 the corrected bound implies the printed one. The hypothesis λ≥max⁡(1,L2)\lambda \ge \max(1, L^2)λ≥max(1,L2) is added: for λ<1\lambda < 1λ<1 the printed logarithm can be negative, and the printed bound would then assert Rn≤0R_n \le 0Rn​≤0. In the second claim of Theorem 2, d≥2d \ge 2d≥2 is added, because at d=1d = 1d=1 the claim does not follow from the first claim and the paper's proof is not available.

The goal is a probability bound over the noise, not the pathwise statement "if θ∗∈Ct−1\theta_* \in C_{t-1}θ∗​∈Ct−1​ for all ttt then Rn≤…R_n \le \dotsRn​≤…". The pathwise statement assumes the confidence event instead of proving it, and is already on the platform. The confidence sets inside the OFUL predicate use the same δ\deltaδ as the conclusion.

Needed infrastructure: maximal inequalities for nonnegative supermartingales, Gaussian integrals of quadratic forms on Rd\mathbb R^dRd, log-determinant bounds for sums of rank-one updates, and the determinant–trace inequality. The platform rows BanditAlgorithm.self_normalized_martingale_bound, BanditAlgorithm.least_squares_confidence_ellipsoid and BanditAlgorithm.elliptical_potential_lemma are referenced as tools. Proofs of the milestones, generalizations of the existing special cases to general VVV and RRR, and reusable determinant lemmas are all welcome.

Selected references

  • Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, Advances in Neural Information Processing Systems 24 (NIPS), 2011. https://proceedings.neurips.cc/paper/2011
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • V. Dani, T. P. Hayes, S. M. Kakade, Stochastic Linear Optimization under Bandit Feedback, COLT, 2008. http://colt2008.cs.helsinki.fi/papers/80-Dani.pdf
  • P. Rusmevichientong, J. N. Tsitsiklis, Linearly Parameterized Bandits, Mathematics of Operations Research 35(2), 2010. https://doi.org/10.1287/moor.1100.0446
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapters 19–20. https://doi.org/10.1017/9781108571401
15 thms6 active usersReviewed
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms XVI: Markov Decision Processes and UCRL2Textbook

The final step from bandits to reinforcement learning: actions now change the state of the world. Chapter 38 of Lattimore–Szepesvári studies online learning in an unknown Markov decision process with SSS states, AAA actions and rewards in [0,1][0,1][0,1]. The optimism principle of Mission II scales up: UCRL2 maintains confidence sets over transition kernels, solves an extended MDP by extended value iteration, and recomputes only when a state-action count doubles. The goal theorem: with probability 1−δ1-\delta1−δ, R^n<C D(M) SAnlog⁡(nSA/δ)\hat R_n < C\,D(M)\,S\sqrt{An\log(nSA/\delta)}R^n​<CD(M)SAnlog(nSA/δ)​, where D(M)D(M)D(M) is the diameter of the MDP — sublinear regret with no prior knowledge of the dynamics. The matching lower bound E[R^n]≥C′DSAn\mathbb{E}[\hat R_n] \ge C'\sqrt{DSAn}E[R^n​]≥C′DSAn​ brackets the true complexity of tabular reinforcement learning up to DS\sqrt{DS}DS​.

35 thms6 active users
🏆Completed
Machine LearningOperations Research·Captain: Shuze Chen

Bandit Algorithms VII: Lower Bounds for Finite-Armed BanditsTextbook

How well can any algorithm possibly do? Chapters 13–17 of Lattimore–Szepesvári answer with three matching impossibility results. The divergence decomposition identifies the information a policy collects: D(Pνπ,Pν′π)=∑iE[Ti(n)]D(Pi,Pi′)D(\mathbb{P}_{\nu\pi}, \mathbb{P}_{\nu'\pi}) = \sum_i \mathbb{E}[T_i(n)] D(P_i, P_i')D(Pνπ​,Pν′π​)=∑i​E[Ti​(n)]D(Pi​,Pi′​). Feeding it into the Bretagnolle–Huber inequality of Mission VI yields the goal theorem — the minimax lower bound Rn≥127(k−1)nR_n \ge \frac{1}{27}\sqrt{(k-1)n}Rn​≥271​(k−1)n​ over Gaussian bandits, showing MOSS (Mission III) is optimal up to a constant. The same machinery gives the instance-dependent bound of Lai–Robbins type: every consistent policy suffers lim inf⁡nRn/log⁡n≥∑i:Δi>0Δi/dinf⁡(Pi,μ∗,Mi)\liminf_n R_n/\log n \ge \sum_{i:\Delta_i>0} \Delta_i / d_{\inf}(P_i, \mu^*, \mathcal{M}_i)liminfn​Rn​/logn≥∑i:Δi​>0​Δi​/dinf​(Pi​,μ∗,Mi​), certifying the asymptotic optimality of the UCB of Mission III and KL-UCB of Mission IV, and a high-probability lower bound showing the Exp3-IX guarantees of Mission V cannot be improved.

13 thms6 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

Learning Product Rankings Robust to Fake Users: With the Fakeness Budget F Unknown, FORC Has Regret O((n²F + log T) Σ_{j<i} log(nT)/Δ_{j,i})Research Paper

Motivation

Online platforms rank products, and the ranking is learned from clicks. Click farms and bots exploit this: fake users click on a product so that the platform promotes it. Golrezaei, Manshadi, Schneider and Sekar (arXiv:2009.05138, Operations Research 71(4), 2023) study how to learn a ranking when an unknown number of users are fake and cannot be told apart from real ones. They show that a standard optimistic learner (UCB) can be pushed to regret linear in TTT by O(log⁡2T)O(\log^2 T)O(log2T) fake users (their Theorem 1), and they give two robust algorithms: FAR, which needs the number FFF of fake users, and FORC (Fake-Oblivious Ranking with Cross-learning), which does not. The multi-level idea behind FORC comes from corruption-robust bandits (Lykouris, Mirrokni, Paes Leme, STOC 2018). The ranking setting makes it harder, because which products a customer examines is itself random.

Setting

A platform shows nnn products to TTT users in turn. Product iii has an unknown click probability μi∈[0,1]\mu_i\in[0,1]μi​∈[0,1], indexed so that

μ1>μ2>⋯>μn,\mu_1>\mu_2>\dots>\mu_n,μ1​>μ2​>⋯>μn​,

and Δj,i=μj−μi\Delta_{j,i}=\mu_j-\mu_iΔj,i​=μj​−μi​. A ranking π\piπ puts product π(j)\pi(j)π(j) at position jjj.

A real customer follows a cascade. She examines positions 1,2,…1,2,\dots1,2,… in turn and clicks the product at position jjj with probability μπ(j)\mu_{\pi(j)}μπ(j)​, which ends her visit. If she does not click, she leaves with an unknown exit probability qj∈[0,1]q_j\in[0,1]qj​∈[0,1], or moves on to position j+1j+1j+1. After position nnn she always leaves. The platform observes ctc_tct​: the last examined position and whether its product was clicked.

A fake entity controls the fake users. Its adaptive policy P\mathbf PP maps the history Ht−1={(πs,fs,cs)}s<t\mathcal H_{t-1}=\{(\pi_s,f_s,c_s)\}_{s<t}Ht−1​={(πs​,fs​,cs​)}s<t​ (past rankings, fake indicators and observations) to a probability distribution over this round's user. The user is either real, or fake and clicking any chosen product, or fake and clicking nothing and leaving at any chosen position. The fakeness budget FFF says that at most FFF rounds are fake on every realization. The platform never learns which users were fake. Only real clicks count:

RegT=sup⁡P{E[∑t=1TCr,t(π⋆)]−E[∑t=1TCr,t(πt)]},\mathrm{Reg}_T=\sup_{\mathbf P}\Big\{\mathbb E\Big[\sum_{t=1}^T\mathcal C_{r,t}(\pi^\star)\Big]-\mathbb E\Big[\sum_{t=1}^T\mathcal C_{r,t}(\pi_t)\Big]\Big\},RegT​=Psup​{E[t=1∑T​Cr,t​(π⋆)]−E[t=1∑T​Cr,t​(πt​)]},

where Cr,t=1\mathcal C_{r,t}=1Cr,t​=1 when the user of round ttt is real and clicks, and π⋆(i)=i\pi^\star(i)=iπ⋆(i)=i is the optimal ranking.

FORC runs L=⌈log⁡2T⌉L=\lceil\log_2T\rceilL=⌈log2​T⌉ levels. In each round it samples level ℓ\ellℓ with probability 2−ℓ2^{-\ell}2−ℓ (level 111 takes the remaining mass). Each level keeps feedback counts and a product-ordering graph G(ℓ)G^{(\ell)}G(ℓ), whose edge (i,j)(i,j)(i,j) records that product jjj is believed better than iii. The displayed ranking is GraphRankSelect(η(ℓt),G)\mathrm{GraphRankSelect}(\eta^{(\ell_t)},G)GraphRankSelect(η(ℓt​),G). It fills the positions in order, each time with a product that has no outgoing edge into the remaining set, preferring the one with the fewest observations. Samples propagate upward, with weight 2−ℓ2^{-\ell}2−ℓ at level ℓ\ellℓ (cross-learning). Edges propagate downward, and a graph that acquires a cycle is eliminated.

Formalization targets

Goal: Theorem 3

There is an absolute constant CCC such that, for all n≥1n\ge1n≥1, T≥2T\ge2T≥2, F≥0F\ge0F≥0, every instance, every policy within budget FFF, and every resolution of FORC's unspecified choices,

RegT(FORC)≤C (n2F+log⁡T)∑j=1n∑i=j+1nlog⁡(nT)Δj,i.\mathrm{Reg}_T(\mathrm{FORC})\le C\,\big(n^2F+\log T\big)\sum_{j=1}^n\sum_{i=j+1}^n\frac{\log(nT)}{\Delta_{j,i}}.RegT​(FORC)≤C(n2F+logT)j=1∑n​i=j+1∑n​Δj,i​log(nT)​.

This is the paper's O(⋅)O(\cdot)O(⋅) statement (16), with the constant made explicit and uniform.

Milestones, in the order the proof uses them

  1. Lemma 1 (regret decomposition): for any algorithm, regret ≤F+∑t∑j<iΔj,iPr⁡[Ar,t(πt(j)=i)]\le F+\sum_t\sum_{j<i}\Delta_{j,i}\Pr[\mathcal A_{r,t}(\pi_t(j)=i)]≤F+∑t​∑j<i​Δj,i​Pr[Ar,t​(πt​(j)=i)].
  2. Lemma 11: one level ℓ≥log⁡2F\ell\ge\log_2Fℓ≥log2​F is exposed to at most log⁡(2L/δ)+3\log(2L/\delta)+3log(2L/δ)+3 fake users with probability at least 1−δ/(2L)1-\delta/(2L)1−δ/(2L).
  3. Lemma 5: with probability at least 1−δ/21-\delta/21−δ/2, every level ℓ≥log⁡2F\ell\ge\log_2Fℓ≥log2​F is exposed to at most log⁡(2L/δ)+3\log(2L/\delta)+3log(2L/δ)+3 fake users, with δ=1/(n3T)\delta=1/(n^3T)δ=1/(n3T).
  4. Lemma 13: a Hoeffding bound 2e−2ε2η^2e^{-2\varepsilon^2\hat\eta}2e−2ε2η^​ for the cross-learned weighted mean.
  5. Lemma 6: the good event G\mathcal GG (accurate estimates at the high levels, few fake users there) has probability at least 1−δ1-\delta1−δ.
  6. Lemma 15: on G\mathcal GG, the graphs of levels ℓ≥⌈log⁡2F⌉\ell\ge\lceil\log_2F\rceilℓ≥⌈log2​F⌉ never hold an incorrect edge, and they hold the correct edge between iii and jjj once both products have γj,i=64log⁡(4nT/δ)/Δj,i2\gamma_{j,i}=64\log(4nT/\delta)/\Delta_{j,i}^2γj,i​=64log(4nT/δ)/Δj,i2​ cross-learned samples.
  7. Lemma 9: the loss off G\mathcal GG is at most 1/n21/n^21/n2.

Significance

Theorem 3 says that a platform that does not know how many of its users are fake loses only O((n2F+log⁡T)log⁡T)O((n^2F+\log T)\log T)O((n2F+logT)logT) real clicks against the best fixed ranking (for fixed nnn and gaps bounded below). The obvious algorithms lose Ω(T)\Omega(T)Ω(T). It extends multi-layer corruption robustness from multi-armed bandits to a combinatorial feedback model in which the observed coordinates are themselves random and depend on the ranking.

Formalizing it gives:

  • a machine-checked cascade click model with exit probabilities and an adaptive adversary;
  • a reusable regret decomposition for rankings (Lemma 1);
  • a per-level corruption bound for randomized level sampling (Lemmas 5 and 11);
  • a fully specified FORC.

None of these results is formalized anywhere, to our knowledge. The theorem is proved in the paper, so the remaining work is a formal proof of the known argument. The planning check of that argument found slips in constants of auxiliary lemmas (Lemmas 7, 8, 10) but nothing affecting the O(⋅)O(\cdot)O(⋅) statement.

Difficulty

The levels at or above ℓ⋆=⌈log⁡2F⌉\ell^\star=\lceil\log_2F\rceilℓ⋆=⌈log2​F⌉ are the easy part. They see O(log⁡log⁡T)O(\log\log T)O(loglogT) fake users, so their confidence windows absorb the corruption and their graphs stay correct (Lemmas 5, 6, 15).

The levels below ℓ⋆\ell^\starℓ⋆ are the hard part. They are sampled more often and can be corrupted arbitrarily. The obvious argument would bound the misplacements at each low level separately, and that fails: a corrupted low level can keep a bad product on top for as long as it is not eliminated. The paper's Lemma 10 controls these levels only through the interaction of the two cross-learning directions. It runs an induction over products with a change of measure between levels, and that step is where the factor n2Fn^2Fn2F comes from.

The adversary is adaptive and sees all past rankings. The bound fails if the adversary could see the current round's level.

Formalization scope

  • Model. Products, positions, levels and rounds are Fin n, Fin n, Fin L and Fin T, all 0-based. Lean level kkk is paper level ℓ=k+1\ell=k+1ℓ=k+1, so the condition ℓ≥⌈log⁡2F⌉\ell\ge\lceil\log_2F\rceilℓ≥⌈log2​F⌉ becomes F≤2k+1F\le2^{k+1}F≤2k+1.
  • Probabilities. Every space is finite, so expectations are finite sums over trajectories Fin T→Step\mathtt{Fin}\ T\to\mathtt{Step}Fin T→Step. Each trajectory is weighted by the level probabilities, the policy's PMF and the cascade law. No measure theory is used except in Lemma 13.
  • Adversary. The policy is a function of the past history only. It never sees the current ranking or level.
  • Algorithms. A general algorithm (Lemma 1) draws an internal label with history-dependent weights and ranks as a function of its own past. It never sees the fake indicators.
  • Committed conventions. L=⌈log⁡2T⌉L=\lceil\log_2T\rceilL=⌈log2​T⌉, δ=1/(n3T)\delta=1/(n^3T)δ=1/(n3T), natural logarithms. Rewards are averages of clicks, which reads Step 8's denominator η+1\eta+1η+1 as η\etaη. FORC's tie-breaking, its "arbitrary ranking" and its fallback when no level qualifies are arbitrary functions of its past, and every statement holds for all of them.
  • Added hypotheses. T≥2T\ge2T≥2 is added to the goal, because at T=1T=1T=1 the right-hand side is 000 while the regret can be positive. n≥1n\ge1n≥1 is added because δ\deltaδ is undefined at n=0n=0n=0.
  • Ruled out. FORC's definition takes no FFF, μ\muμ or qqq. The adversary is randomized and adaptive rather than oblivious. The customer law and the level weights are probability distributions (checked in a sorry-free sanity file). CCC is quantified before every other variable. Trivializing variants of the goal are therefore excluded.
  • Out of scope. Theorem 1 (UCB's linear regret), Theorem 2 (FAR, with FFF known), Lemmas 7, 8, 10, 16–18 (printed constants rest on non-integer counts), and the numerical study of §7.
  • Infrastructure. A complete development needs a Freedman/Bernstein inequality for bounded martingale differences (Lemma 12, cited from Beygelzimer et al. 2011). It also needs the conditional form of Hoeffding behind Lemma 6, and a coupling of the finite trajectory law with independent sample sequences. These pieces are reusable for any cascade or corruption-robust bandit formalization. Proofs of the milestones, and of Lemmas 7, 8 and 10 in any faithful form, are welcome.

Selected references

  • N. Golrezaei, V. Manshadi, J. Schneider, S. Sekar, Learning Product Rankings Robust to Fake Users, Operations Research 71(4), 2023; arXiv:2009.05138v1 (2020). https://arxiv.org/abs/2009.05138
  • T. Lykouris, V. Mirrokni, R. Paes Leme, Stochastic Bandits Robust to Adversarial Corruptions, STOC 2018. https://arxiv.org/abs/1803.09353
  • A. Beygelzimer, J. Langford, L. Li, L. Reyzin, R. Schapire, Contextual Bandit Algorithms with Supervised Learning Guarantees, AISTATS 2011. https://arxiv.org/abs/1002.4058
  • N. Craswell, O. Zoeter, M. Taylor, B. Ramsey, An Experimental Comparison of Click Position-Bias Models, WSDM 2008. https://doi.org/10.1145/1341531.1341545
  • B. Kveton, C. Szepesvári, Z. Wen, A. Ashkan, Cascading Bandits: Learning to Rank in the Cascade Model, ICML 2015. https://arxiv.org/abs/1502.02763
22 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

Dynamic Pricing with Unknown Non-Parametric Demand and Limited Price Changes: The SLPE Policy Has Regret O(√T log T log log T) on Its Concentration Event and Makes O(log log T) Price ChangesResearch Paper

Motivation

A retailer selling one product over TTT periods must choose a price each period without knowing how demand responds to price. Charging different prices reveals the demand curve but costs revenue, and in practice every price change has its own cost: relabelling, customer goodwill, contractual limits on repricing. Dynamic pricing with learning asks for policies whose cumulative revenue loss against the best fixed price, the regret, grows slowly in TTT, and recent work also asks that the policy change its price rarely.

The paper's literature review (pp. 3–5) frames the gap. For parametric demand, Broder (2011) gives an MLE-based policy with O~(T)\tilde O(\sqrt T)O~(T​) regret and O(log⁡T)O(\log T)O(logT) price changes, and Cheung, Simchi-Levi and Wang (2017) study limited price changes when demand is one of finitely many known curves. Non-parametric policies such as Besbes and Zeevi (2015) and the continuum-armed bandit algorithm of Agarwal et al. (2011) do not control price changes and incur at least O(log⁡T)O(\log T)O(logT) of them. Perakis and Singhvi (SSRN 3336949; published in Operations Research, doi:10.1287/opre.2020.0445) show that, under a two-point bandit feedback assumption borrowed from online convex optimisation (Agarwal and Dekel 2010, Nesterov 2011), a non-parametric policy can keep O~(T)\tilde O(\sqrt T)O~(T​) regret while changing its price only O(log⁡log⁡T)O(\log\log T)O(loglogT) times.

Setting

Prices lie in [0,1][0,1][0,1]. In period ttt the retailer charges ptp_tpt​ and observes demand

Yt=d(pt)+ϵt,Y_t=d(p_t)+\epsilon_t,Yt​=d(pt​)+ϵt​,

where ddd is an unknown smooth non-increasing demand curve and ϵt\epsilon_tϵt​ is noise. The revenue is r(p)=p d(p)r(p)=p\,d(p)r(p)=pd(p), maximised on [0,1][0,1][0,1] at a unique interior price p∗p^*p∗. The two performance measures are

R(T)=∑t=1T(r(p∗)−r(pt)),LPC(T)=1+∣{2≤t≤T: pt≠pt−1}∣.\mathcal R(T)=\sum_{t=1}^T\big(r(p^*)-r(p_t)\big),\qquad LPC(T)=1+\big|\{2\le t\le T:\ p_t\ne p_{t-1}\}\big|.R(T)=t=1∑T​(r(p∗)−r(pt​)),LPC(T)=1+​{2≤t≤T: pt​=pt−1​}​.

Assumption 1 asks for κ>0\kappa>0κ>0 with d(p∗)−κ(p−p∗)2≤−d′(p) p∗d(p^*)-\kappa(p-p^*)^2\le-d'(p)\,p^*d(p∗)−κ(p−p∗)2≤−d′(p)p∗; Assumption 2 asks that among the observations at two charged prices there is one pair with identical noise, and that the policy can identify it. K1K_1K1​ bounds ∣d(k)∣|d^{(k)}|∣d(k)∣ for k≤3k\le3k≤3.

The SLPE policy (Algorithm 1) runs in rounds i=1,2,…i=1,2,\dotsi=1,2,… with half-widths Δ1=12\Delta_1=\tfrac12Δ1​=21​, Δi+1=μΔi2\Delta_{i+1}=\mu\Delta_i^2Δi+1​=μΔi2​. Round iii charges piL=piM−Δip^L_i=p^M_i-\Delta_ipiL​=piM​−Δi​, piMp^M_ipiM​ and piH=piM+Δip^H_i=p^M_i+\Delta_ipiH​=piM​+Δi​ for ni=2ρ4log⁡T/Δi4n_i=2\rho^4\log T/\Delta_i^4ni​=2ρ4logT/Δi4​ periods each, starting from p1M=12p^M_1=\tfrac12p1M​=21​. It fits a two-piece linear demand estimate whose level is the average demand Dˉni(piM)\bar D_{n_i}(p^M_i)Dˉni​​(piM​) and whose slopes are finite differences of the two identical-noise pairs, maximises the estimated revenue on [piL,piH][p^L_i,p^H_i][piL​,piH​] to obtain p~i∗\tilde p^*_ip~​i∗​, and recentres: pi+1M=p~i∗p^M_{i+1}=\tilde p^*_ipi+1M​=p~​i∗​.

Formalization targets

Goal: Theorem 1 and Corollary 1

Under Assumption 1, the gradient condition ∣d′(p∗)∣≥(K1/24+κ/4)14+c/2|d'(p^*)|\ge(K_1/24+\kappa/4)\tfrac14+c/2∣d′(p∗)∣≥(K1​/24+κ/4)41​+c/2 with c>0c>0c>0, and

2>μ≥M=1c(1ρ2+K16+κ4)+K112+4κ,2>\mu\ge M=\tfrac1c\big(\tfrac1{\rho^2}+\tfrac{K_1}6+\tfrac\kappa4\big)+\tfrac{K_1}{12}+4\kappa,2>μ≥M=c1​(ρ21​+6K1​​+4κ​)+12K1​​+4κ,

there are constants C1,C2,C3C_1,C_2,C_3C1​,C2​,C3​ independent of TTT such that for every T≥3T\ge3T≥3, every noise realisation and every choice of the policy's tie-breaking and pair selection,

LPCSLPE(T)≤C3+3log⁡2(log⁡T),LPC^{SLPE}(T)\le C_3+3\log_2(\log T),LPCSLPE(T)≤C3​+3log2​(logT),

and, on every realisation where Assumption 2 and the concentration event ∣Dˉni(piM)−d(piM)∣≤Δi2/ρ2|\bar D_{n_i}(p^M_i)-d(p^M_i)|\le\Delta_i^2/\rho^2∣Dˉni​​(piM​)−d(piM​)∣≤Δi2​/ρ2 hold in each used round,

RSLPE(T)≤(C1+C2log⁡(log⁡T))Tlog⁡T.\mathcal R^{SLPE}(T)\le\big(C_1+C_2\log(\log T)\big)\sqrt T\log T .RSLPE(T)≤(C1​+C2​log(logT))T​logT.

Milestones

  1. Lemma 1 (p. 10): Assumption 1 gives p∗(d′(p)−d′(p∗))≤κ(p−p∗)2p^*(d'(p)-d'(p^*))\le\kappa(p-p^*)^2p∗(d′(p)−d′(p∗))≤κ(p−p∗)2.
  2. Lemma 2 (p. 11): d′′(p∗)=0d''(p^*)=0d′′(p∗)=0 with Lipschitz r′′r''r′′ and d′d'd′ gives the same inequality with κ=Ψ+Ψˉ+2K1\kappa=\Psi+\bar\Psi+2K_1κ=Ψ+Ψˉ+2K1​.
  3. Lemma 3 (p. 17): the identical-noise finite differences of round iii are within 12K1Δi2/12\tfrac12K_1\Delta_i^2/1221​K1​Δi2​/12 of d′d'd′ at the midpoints.
  4. Hoeffding step (pp. 19–20): P(∣Xˉn∣>Δ2/ρ2)≤1/T2\mathbb P(|\bar X_n|>\Delta^2/\rho^2)\le1/T^2P(∣Xˉn​∣>Δ2/ρ2)≤1/T2 for n≥2ρ4log⁡T/Δ4n\ge2\rho^4\log T/\Delta^4n≥2ρ4logT/Δ4 and sub-Gaussian noise with variance proxy at most 1/31/31/3.
  5. Lemma 4 (p. 17): ∣p∗−p~i∗∣≤MΔi2|p^*-\tilde p^*_i|\le M\Delta_i^2∣p∗−p~​i∗​∣≤MΔi2​ on the good event of rounds 1,…,i1,\dots,i1,…,i.
  6. Containment (p. 17): piL≤p∗≤piHp^L_i\le p^*\le p^H_ipiL​≤p∗≤piH​ on the good event of earlier rounds.
  7. Round count (p. 24): at most C+log⁡2(log⁡T)C+\log_2(\log T)C+log2​(logT) rounds start before TTT.

Significance

The result gives a non-parametric pricing policy whose number of price changes is doubly logarithmic, the same order as the number of batches needed in batched multi-armed bandits, while its regret is within log⁡Tlog⁡log⁡T\log T\log\log TlogTloglogT of the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound of Keskin and Zeevi (2014). Its key estimate, Lemma 4, is a perturbation bound for the maximiser of a piecewise linear surrogate of a smooth revenue function; it applies wherever an optimum is located from noisy function values with matched-noise finite differences.

The theorem is proved on paper and, to the extent that can be determined, has no machine-checked proof. Formalizing it adds a continuum-armed pricing policy with an explicit price-change bound, and a checked version of an argument whose printed proof has gaps: a high-probability step that is false as printed, an inequality used two-sidedly that is assumed one-sidedly, and a logarithm base that does not match. Lemma 4 is posed as printed. It is supported numerically but its printed proof is incomplete, so a formal proof, or a counterexample, is itself new information.

Difficulty

The obvious argument for Lemma 4 compares the first-order condition of the surrogate with that of the true revenue. It fails as written: the surrogate's maximiser may sit at an endpoint of [piL,piH][p^L_i,p^H_i][piL​,piH​] or at the kink piMp^M_ipiM​, where no first-order condition holds, and the comparison needs a two-sided bound on d′(p)−d′(p∗)d'(p)-d'(p^*)d′(p)−d′(p∗) while Assumption 1 is one-sided and weighted by p∗p^*p∗. The regret bound then needs the induction that keeps p∗p^*p∗ inside every round's range, a careful treatment of the last round, which the horizon truncates, and the conversion of the doubly exponential decay of Δi\Delta_iΔi​ into a log⁡2log⁡T\log_2\log Tlog2​logT round count.

Formalization scope

Periods are 0-based and rounds 1-based. The demand is d : ℝ → ℝ, and p∗p^*p∗ is a parameter satisfying hypotheses, not a defined argmax. The noise is a single realisation ε : ℕ → ℝ, and the regret and the price-change count are numbers on it, with no expectation. The policy receives only T,μ,ρT,\mu,\rhoT,μ,ρ, an argmax selector (any rule returning a maximiser of a continuous function on an interval), a pair selector (four periods per round), and the observations d(p)+ϵtd(p)+\epsilon_td(p)+ϵt​ at the prices it charges. nin_ini​ is rounded up. The concentration event's probability is the separate Hoeffding milestone.

The following hypotheses and repairs are added and disclosed in each item:

  • Assumption 1 and the bound K1K_1K1​ are imposed on [−1,2][-1,2][−1,2], because SLPE can charge prices outside [0,1][0,1][0,1].
  • p∗<1p^*<1p∗<1, so that the optimum is interior.
  • Assumption 2 is a property of the realisation, not an almost-sure statement, because under i.i.d. continuous noise it has probability zero.
  • The Hoeffding step carries σ2≤1/3\sigma^2\le1/3σ2≤1/3 and T≥2T\ge2T≥2, since the printed 1−1/T21-1/T^21−1/T2 is false for σ≥1\sigma\ge1σ≥1.
  • The round count and Corollary 1 use log⁡2log⁡T\log_2\log Tlog2​logT; the printed natural-log bounds fail numerically (19 price changes against a printed bound of 15.8 at T=106T=10^6T=106).
  • The inner log⁡(T/(2μρ4log⁡T))\log(T/(2\mu\rho^4\log T))log(T/(2μρ4logT)) is replaced by log⁡T\log TlogT, which only changes the constants.
  • Lemma 1 is posed with Assumption 1's own κ\kappaκ, since the printed "∀p ∃κ\forall p\,\exists\kappa∀p∃κ" is trivial.

Four formalizations would make the goal trivial, and the statements rule each out: a policy that reads ddd or p∗p^*p∗, constants allowed to depend on TTT or on the realisation, an argmax or pair oracle not tied to the observations, and an Assumption 2 that no realisation can satisfy (zero noise with in-block pairs satisfies it, and a sanity check exhibits a full instance).

Theorem 2 (the relaxed Assumption 2A and Algorithm 2) is not part of the mission. A complete development needs Taylor's theorem with remainder, sub-Gaussian tail bounds (available as Mathlib's HasSubgaussianMGF and the platform theorem BanditAlgorithm.subgaussian_sample_mean_tail_bound), and bookkeeping for the round schedule. The schedule lemmas and the finite-difference bound are reusable beyond this paper. Proofs of any milestone are welcome, as is a counterexample to Lemma 4's constant.

Selected references

  • G. Perakis and D. Singhvi, Dynamic Pricing with Unknown Non-Parametric Demand and Limited Price Changes, SSRN 3336949 (PDF of 2020-07-03); published in Operations Research. https://ssrn.com/abstract=3336949, https://doi.org/10.1287/opre.2020.0445
  • O. Besbes and A. Zeevi, On the (Surprising) Sufficiency of Linear Models for Dynamic Pricing with Demand Learning, Management Science 61(4), 2015. https://doi.org/10.1287/mnsc.2014.2031
  • W. C. Cheung, D. Simchi-Levi and H. Wang, Dynamic Pricing and Demand Learning with Limited Price Experimentation, Operations Research 65(6), 2017. https://doi.org/10.1287/opre.2017.1629
  • N. B. Keskin and A. Zeevi, Dynamic Pricing with an Unknown Demand Model: Asymptotically Optimal Semi-Myopic Policies, Operations Research 62(5), 2014. https://doi.org/10.1287/opre.2014.1294
  • A. Agarwal, D. P. Foster, D. Hsu, S. M. Kakade and A. Rakhlin, Stochastic Convex Optimization with Bandit Feedback, NeurIPS 2011. https://arxiv.org/abs/1107.1744
  • V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics 44(2), 2016. https://arxiv.org/abs/1505.00369
10 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models: The Adaptive-Confidence Trisection Policy Has N-Independent Regret at Most C√TResearch Paper

Learning which products to offer

A retailer that sells NNN substitutable products must decide, for each arriving customer, which subset of products to display. Customer preferences are unknown at the start and have to be learned from purchases, while every suboptimal display costs revenue. This is dynamic assortment planning, a standard problem of revenue management in e-commerce and online advertising, and its learning version is a bandit problem whose arms are the 2N2^N2N subsets of products.

Under the multinomial logit (MNL) choice model the problem has been studied through the regret of a policy over TTT customers (Chen, Wang and Zhou, §2 and Table 1):

  • Rusmevichientong, Shen and Shmoys (2010) analysed the same revenue potential as this paper with a golden-ratio search; their bound involves log⁡N\log NlogN and needs a separability (gap) assumption between candidate assortments.
  • Sauré and Zeevi (2013) also cast MNL assortment learning as regret minimization.
  • Agrawal, Avadhanula, Goyal and Zeevi gave UCB and Thompson-sampling policies with regret O~(NT+N)\tilde O(\sqrt{NT} + N)O~(NT​+N) for assortments of capacity KKK.
  • Chen and Wang (2018) proved an Ω(NT)\Omega(\sqrt{NT})Ω(NT​) lower bound in the capacitated model when K≤N/4K \le N/4K≤N/4.

In the capacitated model the regret must grow with NNN. Chen, Wang and Zhou (arXiv:1805.04785v2, Mathematics of Operations Research 2021) show that without a capacity constraint it need not: a trisection policy achieves regret C1TC_1\sqrt TC1​T​ with a universal constant, and T/384\sqrt T/384T​/384 is a lower bound. This mission formalizes the upper bound.

Setting

There are NNN items with known revenues r1,…,rN∈[0,1]r_1,\dots,r_N \in [0,1]r1​,…,rN​∈[0,1] and unknown utilities v1,…,vN≥0v_1,\dots,v_N \ge 0v1​,…,vN​≥0; the no-purchase option has utility v0=1v_0 = 1v0​=1. In each period t=1,…,Tt = 1,\dots,Tt=1,…,T the retailer offers an assortment St⊆[N]S_t \subseteq [N]St​⊆[N], and the customer buys j∈Stj \in S_tj∈St​ with probability vj/(1+∑i∈Stvi)v_j/(1+\sum_{i\in S_t} v_i)vj​/(1+∑i∈St​​vi​) or buys nothing with probability 1/(1+∑i∈Stvi)1/(1+\sum_{i\in S_t} v_i)1/(1+∑i∈St​​vi​), independently of the past. The expected revenue of SSS is

R(S)=∑j∈Srjvj1+∑j∈Svj,R(S) = \frac{\sum_{j\in S} r_j v_j}{1 + \sum_{j\in S} v_j},R(S)=1+∑j∈S​vj​∑j∈S​rj​vj​​,

and the regret of a policy is Regret=E∑t=1TR(S∗)−R(St)\mathrm{Regret} = \mathbb E\sum_{t=1}^T R(S^*) - R(S_t)Regret=E∑t=1T​R(S∗)−R(St​), where S∗S^*S∗ maximizes RRR over all 2N2^N2N subsets.

The policy rests on two objects. The level set Lθ={i:ri≥θ}\mathcal L_\theta = \{i : r_i \ge \theta\}Lθ​={i:ri​≥θ} collects the items whose revenue is at least θ\thetaθ. The revenue potential F(θ)=R(Lθ)F(\theta) = R(\mathcal L_\theta)F(θ)=R(Lθ​) is a piecewise-constant function of one real variable. Its maximum is F∗=sup⁡θ≥0F(θ)F^* = \sup_{\theta \ge 0} F(\theta)F∗=supθ≥0​F(θ), its right limit is F(θ+)F(\theta^+)F(θ+), and θ∗\theta^*θ∗ denotes the fixed point θ∗=F(θ∗)=F∗\theta^* = F(\theta^*) = F^*θ∗=F(θ∗)=F∗.

The adaptive-confidence trisection policy keeps an interval [aτ,bτ][a_\tau, b_\tau][aτ​,bτ​], starting from [0,1][0,1][0,1]. In epoch τ\tauτ it forms the points xτ=23aτ+13bτx_\tau = \tfrac23 a_\tau + \tfrac13 b_\tauxτ​=32​aτ​+31​bτ​ and yτ=13aτ+23bτy_\tau = \tfrac13 a_\tau + \tfrac23 b_\tauyτ​=31​aτ​+32​bτ​, at distance ετ=yτ−xτ=13(23)τ\varepsilon_\tau = y_\tau - x_\tau = \tfrac13(\tfrac23)^\tauετ​=yτ​−xτ​=31​(32​)τ, and runs nτ=8⌈ετ−2ln⁡(8Tετ2)⌉n_\tau = 8\lceil\varepsilon_\tau^{-2}\ln(8T\varepsilon_\tau^2)\rceilnτ​=8⌈ετ−2​ln(8Tετ2​)⌉ inner iterations. Each inner iteration does two things:

  • while yτy_\tauyτ​ lies inside the current confidence interval [ℓ,u][\ell, u][ℓ,u] for F(yτ)F(y_\tau)F(yτ​), it explores: it offers Lyτ\mathcal L_{y_\tau}Lyτ​​, adds the revenue to the running sum ρt\rho_tρt​, and sets [ℓt,ut]=ρt/t±2ln⁡(8T/t)/t[\ell_t, u_t] = \rho_t/t \pm \sqrt{2\ln(8T/t)/t}[ℓt​,ut​]=ρt​/t±2ln(8T/t)/t​;
  • it then exploits by offering Laτ\mathcal L_{a_\tau}Laτ​​.

At the end of the epoch the policy sets bτ+1=yτb_{\tau+1} = y_\taubτ+1​=yτ​ if u<yτu < y_\tauu<yτ​, and aτ+1=xτa_{\tau+1} = x_\tauaτ+1​=xτ​ otherwise. The policy knows rrr and TTT but never vvv.

Formalization targets

Goal: Theorem 3

There is a universal constant C1>0C_1 > 0C1​>0 such that for every NNN, every horizon TTT, all vi≥0v_i \ge 0vi​≥0 and all ri∈[0,1]r_i \in [0,1]ri​∈[0,1], the adaptive-confidence trisection policy satisfies

E∑t=1TR(S∗)−R(St)≤C1T.\mathbb E\sum_{t=1}^T R(S^*) - R(S_t) \le C_1\sqrt T.Et=1∑T​R(S∗)−R(St​)≤C1​T​.

No gap condition and no bound on vvv is assumed. The constant is left unspecified, as in the paper.

Milestones

  • Structure of FFF. Lemma 1 (revenue-ordered optimality), Corollary 1 (F∗=R(S∗)F^* = R(S^*)F∗=R(S∗)), Lemma 2 (the fixed point, under F∗>0F^* > 0F∗>0), the jump identity (S4)/(S8), and Lemmas 3–4 (FFF is below the diagonal to the right of θ∗\theta^*θ∗ and above it to the left).
  • Concentration. Hoeffding's inequality (Lemma 15, already proved on the platform), the uniform inequality with growing confidence levels (Lemma 8, (11)), and the two tail bounds (S32) and (S33) used in the proof of Lemma 10.
  • Recursion. With ψτω(α,β)\psi^\omega_\tau(\alpha,\beta)ψτω​(α,β) the expected regret of epochs τ,…,τ0\tau,\dots,\tau_0τ,…,τ0​ conditioned on the relative position of aτa_\tauaτ​, bτb_\taubτ​ and θ∗\theta^*θ∗ ((14)): Lemma 11 (Case 3, ψτ3≤αT\psi^3_\tau \le \alpha Tψτ3​≤αT), Lemma 9 (Case 1) and Lemma 10 (Case 2).

Significance

Theorem 3, together with the lower bound of Theorem 4, settles the minimax regret of uncapacitated MNL assortment learning at Θ(T)\Theta(\sqrt T)Θ(T​), independent of the number of products. The policy uses no estimate of the individual utilities, and its cost per period is one level-set offer, so it applies to catalogues where NNN is large compared with TTT. The structural lemmas on the revenue potential (Lemmas 1–4) are standard tools for MNL assortment problems and are reusable by other missions on static and dynamic assortment optimization. Lemma 8 is a MOSS-style concentration inequality whose confidence level grows with the sample size; it is the device that removes the log⁡T\sqrt{\log T}logT​ factor of the paper's baseline bound (Theorem 2).

The result is proved in the paper and is not presented as open; no machine-checked proof of any part of it is known. The platform has the MNL model, the UCB policy of Agrawal et al. (whose bound depends on NNN) and Hoeffding's inequality, but no level-set or trisection analysis. A formal proof would also check the paper's argument, whose printed slips are recorded in the scope section.

Difficulty

The regret concerns a stateful algorithm whose epochs end at random times: an inner iteration takes two periods while exploration is active and one afterwards, and the policy's internal state must be recomputed from the purchase history alone. The obvious argument fixes a confidence level 1/T21/T^21/T2, bounds each epoch's regret on the event that all confidence intervals hold, and sums a geometric series. That argument loses a log⁡T\sqrt{\log T}logT​ factor, and it is the paper's own Theorem 2. Removing the factor needs confidence levels that weaken as data accumulate. A failure is then no longer rare enough to be ignored, so the analysis has to track its cost. This is done by a recursion on conditional expected regrets across three cases (interval to the right of, containing, or to the left of θ∗\theta^*θ∗), in which a wrong decision in one epoch passes to another case with controlled probability. Within an epoch, the purchases made while exploring a level set must be shown to behave like i.i.d. samples with mean F(yτ)F(y_\tau)F(yτ​), although the number of explorations is itself random.

Formalization scope

  • Model. The model is the published MNLBandit.UCB.Setting with every subset admissible: histories are sequences of choices in Option (Fin N) (none = no purchase), policies are deterministic functions of the past choices, and expectations are finite sums over histories. Items and periods are 0-based in Lean; epochs and inner iterations are as on the page.
  • Policy. The policy is defined exactly. Confidence radius 2ln⁡(8T/t)/t\sqrt{2\ln(8T/t)/t}2ln(8T/t)/t​ (δ = 1/T in (12)); nτ=max⁡(1,8⌈(yτ−xτ)−2ln⁡(8T(yτ−xτ)2)⌉)n_\tau = \max(1, 8\lceil(y_\tau-x_\tau)^{-2}\ln(8T(y_\tau-x_\tau)^2)\rceil)nτ​=max(1,8⌈(yτ​−xτ​)−2ln(8T(yτ​−xτ​)2)⌉); trisection weights 2/3,1/32/3, 1/32/3,1/3; the update b←yτb \leftarrow y_\taub←yτ​ if and only if u<yτu < y_\tauu<yτ​; exploitation of Laτ\mathcal L_{a_\tau}Laτ​​ in every inner iteration; exploration only while ℓ≤yτ≤u\ell \le y_\tau \le uℓ≤yτ​≤u.
  • Conventions.
    • The max⁡(1,⋅)\max(1,\cdot)max(1,⋅) matters only for tiny TTT, where the printed nτn_\taunτ​ is 000.
    • The empty assortment is allowed (§3 asks St≠∅S_t \neq \varnothingSt​=∅; R(∅)=0R(\varnothing) = 0R(∅)=0).
    • §3's ri>0r_i > 0ri​>0 is relaxed to Theorem 3's ri∈[0,1]r_i \in [0,1]ri​∈[0,1].
    • FFF is defined on all of R\mathbb RR, and F(θ+)F(\theta^+)F(θ+) is Mathlib's Function.rightLim.
    • θ∗\theta^*θ∗ is defined as F∗F^*F∗.
    • ψ\psiψ is a ratio of finite sums and is 000 on a conditioning event of probability 000.
    • Every O(⋅)O(\cdot)O(⋅) and ≲\lesssim≲ is an existential constant chosen before all other quantities.
  • Added hypotheses. Lemma 2 assumes F∗>0F^* > 0F∗>0, which its proof uses. Lemmas 9 and 10 and (S33) assume T≥25T \ge 25T≥25 and that epoch τ\tauτ can start (∑τ′<τnτ′<T\sum_{\tau'<\tau} n_{\tau'} < T∑τ′<τ​nτ′​<T); without these, log⁡(Tε2)\log(T\varepsilon^2)log(Tε2) can be negative.
  • Repairs. Two printed statements are repaired.
    • (S32) is stated with exp⁡{−nτΔ2/2}\exp\{-n_\tau\Delta^2/2\}exp{−nτ​Δ2/2}, which its printed justification gives; the printed exp⁡{−nτΔ2}\exp\{-n_\tau\Delta^2\}exp{−nτ​Δ2} fails on an explicit instance.
    • Lemma 9 sums from τ′=τ\tau' = \tauτ′=τ, as its proof does, with exponent nτ′n_{\tau'}nτ′​ and the deterministic last epoch τˉ(T)\bar\tau(T)τˉ(T) as upper limit.
  • Ruled out. Three formalizations would make the goal trivial, and none is admissible: a policy that receives vvv (it could offer S∗S^*S∗ in every period); a constant C1C_1C1​ that depends on TTT, NNN or the instance (the regret is at most TTT); and an abstract "trisection oracle" with assumed guarantees in place of the algorithm above.
  • Not included. Theorem 4 (the T/384\sqrt T/384T​/384 lower bound) and its Lemmas 12–14 are not part of the mission, and neither are Theorem 2 and its Lemmas 5–7 (the baseline policy) or Proposition 1.
  • Contributions welcome. Lemmas 1–4 need only finite sums; Lemma 8 and (S32)/(S33) need Hoeffding's inequality and a union bound over sample sizes; the reduction of exploration purchases to i.i.d. samples is reusable for other level-set policies.

Selected references

  • X. Chen, Y. Wang, Y. Zhou, An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models, arXiv:1805.04785v2, 2019; Mathematics of Operations Research 46(4), 2021. https://arxiv.org/abs/1805.04785
  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5), 2019. https://arxiv.org/abs/1706.03880
  • X. Chen, Y. Wang, A note on tight lower bound for MNL-bandit assortment selection models, Operations Research Letters 46(5), 534–537, 2018.
  • P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic Assortment Optimization with a Multinomial Logit Choice Model and Capacity Constraint, Operations Research 58(6), 2010. https://doi.org/10.1287/opre.1100.0866
  • D. Sauré, A. Zeevi, Optimal Dynamic Assortment Planning with Demand Learning, Manufacturing & Service Operations Management 15(3), 2013. https://doi.org/10.1287/msom.2013.0429
  • K. Talluri, G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004. https://doi.org/10.1287/mnsc.1030.0147
  • J.-Y. Audibert, S. Bubeck, Minimax Policies for Adversarial and Stochastic Bandits, COLT 2009.
17 thms5 active usersReviewed
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making V: The Multi-Armed Bandit Has Localized DEC at Least 2⁻⁶·A/γ, via Hard Families of ModelsResearch Paper

Motivation

The Decision-Estimation Coefficient (DEC) of Foster, Kakade, Qian and Rakhlin (arXiv:2112.13487) is a single complexity measure that bounds the minimax regret of interactive decision making (bandits, reinforcement learning, and their structured variants) from above and from below. Its lower bound (Theorem 3.2 of the paper) states that every algorithm suffers expected regret at least a constant times decγ(Mεγ∞(M‾),M‾)⋅T\mathsf{dec}_\gamma(\mathcal{M}^\infty_{\varepsilon_\gamma}(\overline{M}), \overline{M}) \cdot Tdecγ​(Mεγ​∞​(M),M)⋅T, so concrete lower bounds on regret follow from concrete lower bounds on the DEC of localized model classes.

The multi-armed bandit is the first test of this program. Its minimax regret Θ(AT)\Theta(\sqrt{AT})Θ(AT​) is classical (Auer et al., 2002; Audibert and Bubeck, 2010). Section 5.1 of the paper recovers it through the DEC: posterior sampling (Proposition 5.1) and inverse gap weighting (Proposition 5.2) bound the DEC by A/γA/\gammaA/γ from above, and Proposition 5.3 bounds it by 2−6A/γ2^{-6} A/\gamma2−6A/γ from below. The lower bound is proved through a hard family of models (Definition 5.1, Lemma 5.1), the device that the paper reuses for linear, ReLU and gap-dependent lower bounds in §§6–7.

Setting

A decision space Π\PiΠ is a finite set; here Π=[A]={1,…,A}\Pi = [A] = \{1, \dots, A\}Π=[A]={1,…,A}, the arms. A model MMM assigns to every arm π\piπ a distribution M(π)M(\pi)M(π) over rewards in R=[0,1]\mathcal{R} = [0,1]R=[0,1] (observations are trivial). Its mean reward is fM(π)=Er∼M(π)[r]f^M(\pi) = \mathbb{E}_{r \sim M(\pi)}[r]fM(π)=Er∼M(π)​[r], and πM∈arg⁡max⁡πfM(π)\pi_M \in \arg\max_\pi f^M(\pi)πM​∈argmaxπ​fM(π) is an optimal arm. The squared Hellinger distance between distributions P,QP, QP,Q on a finite set is DH2(P,Q)=∑y(P(y)−Q(y))2D^2_{\mathrm{H}}(P, Q) = \sum_y (\sqrt{P(y)} - \sqrt{Q(y)})^2DH2​(P,Q)=∑y​(P(y)​−Q(y)​)2 (no factor 12\tfrac1221​, the paper's (5)).

For a class M\mathcal{M}M of models, a reference model M‾\overline{M}M and γ>0\gamma > 0γ>0, the DEC (2) is

decγ(M,M‾)=inf⁡p∈Δ(Π)sup⁡M∈MEπ∼p[fM(πM)−fM(π)−γ⋅DH2(M(π),M‾(π))].\mathsf{dec}_\gamma(\mathcal{M}, \overline{M}) = \inf_{p \in \Delta(\Pi)} \sup_{M \in \mathcal{M}} \mathbb{E}_{\pi \sim p}\Bigl[ f^M(\pi_M) - f^M(\pi) - \gamma \cdot D^2_{\mathrm{H}}\bigl(M(\pi), \overline{M}(\pi)\bigr) \Bigr].decγ​(M,M)=p∈Δ(Π)inf​M∈Msup​Eπ∼p​[fM(πM​)−fM(π)−γ⋅DH2​(M(π),M(π))].

With gM(π)=fM(πM)−fM(π)g^M(\pi) = f^M(\pi_M) - f^M(\pi)gM(π)=fM(πM​)−fM(π), the L∞L_\inftyL∞​-localized class (12) is Mε∞(M‾)={M∈M:∣gM(π)−gM‾(π)∣≤ε ∀π}\mathcal{M}^\infty_\varepsilon(\overline{M}) = \{ M \in \mathcal{M} : |g^M(\pi) - g^{\overline{M}}(\pi)| \le \varepsilon\ \forall \pi \}Mε∞​(M)={M∈M:∣gM(π)−gM(π)∣≤ε ∀π}.

A reference model M‾∈M\overline{M} \in \mathcal MM∈M and models M1,…,MN∈MM_1, \dots, M_N \in \mathcal MM1​,…,MN​∈M, N≥2N \ge 2N≥2, form an (α,β,δ)(\alpha, \beta, \delta)(α,β,δ)-family (Definition 5.1) if there are ui,vi:Π→[0,1]u_i, v_i : \Pi \to [0,1]ui​,vi​:Π→[0,1] with ∑iui(π)≤N/2\sum_i u_i(\pi) \le N/2∑i​ui​(π)≤N/2, ∑ivi(π)≤1\sum_i v_i(\pi) \le 1∑i​vi​(π)≤1, fMi(πMi)−fMi(π)≥α(1−ui(π))f^{M_i}(\pi_{M_i}) - f^{M_i}(\pi) \ge \alpha(1 - u_i(\pi))fMi​(πMi​​)−fMi​(π)≥α(1−ui​(π)) and DH2(Mi(π),M‾(π))≤βvi(π)+δD^2_{\mathrm{H}}(M_i(\pi), \overline{M}(\pi)) \le \beta v_i(\pi) + \deltaDH2​(Mi​(π),M(π))≤βvi​(π)+δ. Ber(q)\mathrm{Ber}(q)Ber(q) is the Bernoulli distribution with mean qqq.

Formalization targets

Goal: Proposition 5.3

For A≥2A \ge 2A≥2 arms, M‾(π)=Ber(12)\overline{M}(\pi) = \mathrm{Ber}(\tfrac12)M(π)=Ber(21​) and every γ≥A/3\gamma \ge A/3γ≥A/3, with εγ=A12γ\varepsilon_\gamma = \frac{A}{12\gamma}εγ​=12γA​,

decγ(Mεγ∞(M‾),M‾)≥2−6⋅Aγ.\mathsf{dec}_\gamma\bigl(\mathcal{M}^\infty_{\varepsilon_\gamma}(\overline{M}), \overline{M}\bigr) \ge 2^{-6} \cdot \frac{A}{\gamma}.decγ​(Mεγ​∞​(M),M)≥2−6⋅γA​.

Milestones

  1. Lemma A.7: DH2(Ber(p),Ber(q))≤(p−q)2(1p+q+12−p−q)D^2_{\mathrm{H}}(\mathrm{Ber}(p), \mathrm{Ber}(q)) \le (p-q)^2\bigl(\frac{1}{p+q} + \frac{1}{2-p-q}\bigr)DH2​(Ber(p),Ber(q))≤(p−q)2(p+q1​+2−p−q1​), and in particular DH2(Ber(12+Δ),Ber(12))≤3Δ2D^2_{\mathrm{H}}(\mathrm{Ber}(\tfrac12 + \Delta), \mathrm{Ber}(\tfrac12)) \le 3\Delta^2DH2​(Ber(21​+Δ),Ber(21​))≤3Δ2 for Δ∈(0,12)\Delta \in (0, \tfrac12)Δ∈(0,21​).
  2. Lemma 5.1: an (α,β,δ)(\alpha, \beta, \delta)(α,β,δ)-family M′\mathcal{M}'M′ with β≥0\beta \ge 0β≥0 satisfies decγ(M′,M‾)≥α2−γ(βN+δ)\mathsf{dec}_\gamma(\mathcal{M}', \overline{M}) \ge \frac{\alpha}{2} - \gamma(\frac{\beta}{N} + \delta)decγ​(M′,M)≥2α​−γ(Nβ​+δ) for all γ>0\gamma > 0γ>0.
  3. The hard family of the proof: Mi(π)=Ber(12+Δ I{π=i})M_i(\pi) = \mathrm{Ber}(\tfrac12 + \Delta\,\mathbb{I}\{\pi = i\})Mi​(π)=Ber(21​+ΔI{π=i}) is a (Δ,3Δ2,0)(\Delta, 3\Delta^2, 0)(Δ,3Δ2,0)-family around Ber(12)\mathrm{Ber}(\tfrac12)Ber(21​).
  4. Localization: this family lies in MΔ∞(M‾)\mathcal{M}^\infty_\Delta(\overline{M})MΔ∞​(M).

Companions

The mission also states monotonicity of the DEC in the class (the step from the family to the localized class), Proposition 5.1 (posterior sampling bounds the dual square-loss DEC by A/γA/\gammaA/γ), and Proposition 6.7, the gap-dependent variant: for bandits with gap exactly Δ∈(0,18)\Delta \in (0, \tfrac18)Δ∈(0,81​), some M‾\overline{M}M in the class has decγ(MΔ∞(M‾),M‾)≥Δ4I{γ≤A48Δ}\mathsf{dec}_\gamma(\mathcal{M}^\infty_\Delta(\overline{M}), \overline{M}) \ge \frac{\Delta}{4}\mathbb{I}\{\gamma \le \frac{A}{48\Delta}\}decγ​(MΔ∞​(M),M)≥4Δ​I{γ≤48ΔA​}. Proposition 5.2 (inverse gap weighting) and the decoupling step of Proposition 5.1 are already proved on the platform and are included as references.

Significance

Proposition 5.3 is the DEC half of the Ω(AT)\Omega(\sqrt{AT})Ω(AT​) minimax lower bound for multi-armed bandits: combined with Theorem 3.2 and γ≍AT\gamma \asymp \sqrt{AT}γ≍AT​, it shows that the general DEC theory loses nothing in rate on the most basic interactive problem, and that the A/γA/\gammaA/γ upper bounds of Propositions 5.1 and 5.2 are tight up to constants. Lemma 5.1 is reusable: any lower bound on the DEC of a class can be obtained by exhibiting a hard family, and the paper uses it for linear bandits (Proposition 6.2), ReLU bandits (Proposition 6.6) and gap-dependent bounds (Propositions 6.7, 6.8).

The results are proved in the paper. As far as is known, none of them is machine-checked. A formal development provides a verified Bernoulli Hellinger bound, a reusable hard-family lemma for the DEC as published on the platform, and the first verified DEC lower bound for a concrete class.

Difficulty

The DEC is an inf-sup, so a lower bound must hold against every exploration distribution ppp. A natural first attempt picks a single alternative model and compares; this fails because ppp can concentrate on the arm where that alternative differs and then the Hellinger penalty cancels the regret. The family must be spread so that no single ppp is good for all of its members at once, and the constants must balance the regret term against the information term at the chosen Δ\DeltaΔ. In Lean, an additional difficulty is that the DEC is written with real sInf/sSup, which are 000 on empty or unbounded sets: every lower bound requires showing that the relevant sets are nonempty and bounded, and passing from the family to the localized class needs monotonicity of the DEC, which the paper uses without comment.

Formalization scope

  • Finite alphabets. The paper works over measurable spaces; this mission formalizes the finite-alphabet case, as the published FoundationsRL layer does. A model is m : S → Y → ℝ with every m π a probability vector; expectations are finite sums. The DEC is the published FoundationsRL.GeneralDM.decGf, the Hellinger distance hellingerSq, the mean reward fM.
  • Bernoulli subclass. The bandit class is the Bernoulli bandits (Y = Bool, reward 111 on true), a subclass of the paper's all-distributions-on-[0,1][0,1][0,1] class. The DEC is monotone in the class and the localized class shrinks with the class, so the Bernoulli lower bounds imply the paper's.
  • Optimal-arm selector. πM\pi_MπM​ is a parameter piStar with the hypothesis that it picks a maximizer of fMf^MfM; every statement holds for every such selector, so for whichever maximizer the paper meant (the reference Ber(12)\mathrm{Ber}(\tfrac12)Ber(21​) has every arm optimal).
  • Added or dropped hypotheses. Lemma 5.1 makes the page's nonempty decision space explicit; its optimal-arm selector also implies nonemptiness. It adds β≥0\beta \ge 0β≥0, necessary for the printed averaging argument: without it, even identical models can contradict (52). The family definition includes membership of the reference and family models in a probability-model class. The localization claim inherits A≥2A \ge 2A≥2 from Proposition 5.3. Proposition 6.7 states A≥2A \ge 2A≥2, implicit on the page since a gap needs two arms. Proposition 5.1 represents models by their mean vectors and priors as finitely supported (footnote 5).
  • Constants. All constants are the page's: 2−62^{-6}2−6, A/(12γ)A/(12\gamma)A/(12γ), γ≥A/3\gamma \ge A/3γ≥A/3, 3Δ23\Delta^23Δ2, 5Δ25\Delta^25Δ2, Δ/4\Delta/4Δ/4, A/(48Δ)A/(48\Delta)A/(48Δ). The page's proof of Proposition 6.7 names a (Δ,5Δ2,0)(\Delta, 5\Delta^2, 0)(Δ,5Δ2,0)-family but computes with 12Δ212\Delta^212Δ2; the stated proposition is the one its arithmetic supports.
  • No trivialization. A formalization in which the localized class could be empty, or the payoffs unbounded, would make decGf evaluate to the junk value 000; the goal is stated over a class containing M‾\overline{M}M with bounded rewards, so the inequality is the genuine one, and its right side 2−6A/γ2^{-6} A/\gamma2−6A/γ is strictly positive.

Contributions welcome: proofs of the milestones in attack order, sorry-free lemmas on nonemptiness and boundedness of the DEC's inner sets (reusable for every DEC lower bound in this series), and a proof of the gap-dependent companion.

Selected references

  • D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, 2021 (v3, 2023). https://arxiv.org/abs/2112.13487
  • D. J. Foster, A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, lecture notes, 2023. https://arxiv.org/abs/2312.16730
  • P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The Nonstochastic Multiarmed Bandit Problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
  • J.-Y. Audibert, S. Bubeck, Regret Bounds and Minimax Policies under Partial Monitoring, Journal of Machine Learning Research 11, 2010. https://www.jmlr.org/papers/v11/audibert10a.html
  • D. J. Foster, A. Rakhlin, Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles, ICML, 2020. https://arxiv.org/abs/2002.04926
13 thms5 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: mikedeng1

On the Gittins Index for Multiarmed Bandits 3: The Optimal Expected Discounted Reward Is a Submodular Function of the Set of Available BanditsResearch Paper

Motivation

The multiarmed bandit problem asks how a gambler should allocate successive plays among nnn independent projects, each of which changes state only when it is played, so as to maximize the expected total-discounted reward. Gittins and Jones (1974) showed that it is optimal to play, at every epoch, a project of greatest Gittins index, a number computed from that project alone. The result underlies job scheduling on a single machine, sequential clinical trials and many stochastic resource-allocation models.

Weber (1992) gave a short proof of the index theorem through prevailing charges, and used the same idea to prove a result that was new: the optimal value is a submodular function of the set of projects that are available. Submodularity of the value says that the marginal worth of an extra project shrinks as more projects are on hand. Two consequences appear in the paper: for statistically identical projects started in a common state, the optimal value is concave in their number; and a bound of Tsitsiklis (1986) for a problem with a retirement option is a special case.

Timeline. Gittins and Jones (1974): the index theorem, by an interchange argument (book-length treatment in Gittins (1989)). Whittle (1980): a proof through a retirement option. Varaiya, Walrand and Buyukkoc (1985): the interchange argument in a general setting. Tsitsiklis (1986): a short proof of the index theorem, including the bound V(S)≤V({i,1})+V(S∖{i})−MV(S)\le V(\{i,1\})+V(S\setminus\{i\})-MV(S)≤V({i,1})+V(S∖{i})−M for a retirement bandit. Weber (1992): the prevailing-charge proof and the submodularity of the value (Theorem 4).

Setting

There are nnn bandits j∈{1,…,n}j\in\{1,\dots,n\}j∈{1,…,n}. Bandit jjj is a Markov chain on a state space SSS with transition kernel PPP; at each epoch t=0,1,2,…t=0,1,2,\dotst=0,1,2,… the gambler plays one bandit j(t)j(t)j(t), receives the reward r(xj(t)(t))r(x_{j(t)}(t))r(xj(t)​(t)), the played bandit moves one step of its chain and the others stay where they are. Rewards are nonnegative and uniformly bounded, and 0<β<10<\beta<10<β<1 is the discount factor. The initial states x(0)=xx(0)=xx(0)=x are fixed. A policy chooses j(t)j(t)j(t) from the history; its value is Vπ(x)=Eπ[∑t≥0βtr(xj(t)(t))]V_\pi(x)=\mathbb E_\pi\big[\sum_{t\ge0}\beta^t r(x_{j(t)}(t))\big]Vπ​(x)=Eπ​[∑t≥0​βtr(xj(t)​(t))].

For a set of bandits I⊆{1,…,n}I\subseteq\{1,\dots,n\}I⊆{1,…,n}, the restricted problem P(I)P(I)P(I) is the same game played with the bandits of III only, each started in its state in xxx, and

V(I)=sup⁡πVπover the policies of P(I),V(∅)=0.V(I)=\sup_\pi V_\pi\quad\text{over the policies of }P(I),\qquad V(\emptyset)=0 .V(I)=πsup​Vπ​over the policies of P(I),V(∅)=0.

The fair charge γ(y)\gamma(y)γ(y) of a state yyy is the largest ratio of expected discounted reward to expected discounted time over stopping times τ≥1\tau\ge1τ≥1 of a single bandit started at yyy (Weber's (4)). On a fixed realisation, where bandit jjj passes through states ωj(0)=xj,ωj(1),…\omega_j(0)=x_j,\omega_j(1),\dotsωj​(0)=xj​,ωj​(1),… on its successive plays, the prevailing charge after kkk plays is γjk=min⁡0≤v≤kγ(ωj(v))\gamma_{jk}=\min_{0\le v\le k}\gamma(\omega_j(v))γjk​=min0≤v≤k​γ(ωj​(v)), a nonincreasing sequence. Ut(I)U_t(I)Ut​(I) is the sum of the first ttt terms of the interleaving of the sequences (γjk)k≥0(\gamma_{jk})_{k\ge0}(γjk​)k≥0​, j∈Ij\in Ij∈I, into nonincreasing order.

Formalization targets

Goal: Theorem 4, eq. (9)

V(I∩J)+V(I∪J)≤V(I)+V(J)for all I,J⊆{1,…,n}.V(I\cap J)+V(I\cup J)\le V(I)+V(J)\qquad\text{for all }I,J\subseteq\{1,\dots,n\}.V(I∩J)+V(I∪J)≤V(I)+V(J)for all I,J⊆{1,…,n}.

This holds for arbitrary bandits (no identical-bandit hypothesis) under the standing assumptions of the paper's Section 1.

Milestones on the path

  1. Eq. (10): for nonincreasing nonnegative sequences and every t≥0t\ge0t≥0, Ut(I∩J)+Ut(I∪J)≤Ut(I)+Ut(J)U_t(I\cap J)+U_t(I\cup J)\le U_t(I)+U_t(J)Ut​(I∩J)+Ut​(I∪J)≤Ut​(I)+Ut​(J). A deterministic inequality.
  2. The representation used in the last line of the proof:
V(I)=E[∑t≥0βt(Ut+1(I)−Ut(I))],V(I)=\mathbb E\Big[\sum_{t\ge0}\beta^t\big(U_{t+1}(I)-U_t(I)\big)\Big],V(I)=E[t≥0∑​βt(Ut+1​(I)−Ut​(I))],

the expectation over independent realisations of the bandits' state sequences.

Consequences stated in the paper

  1. Identical bandits started in a common state: m↦Vm\mapsto Vm↦V of the mmm-bandit problem is nondecreasing and concave.
  2. Tsitsiklis's bound: if bandit bbb always pays (1−β)M(1-\beta)M(1−β)M, then V(S)≤V({i,b})+V(S∖{i})−MV(S)\le V(\{i,b\})+V(S\setminus\{i\})-MV(S)≤V({i,b})+V(S∖{i})−M for i≠bi\ne bi=b.

Significance

Submodularity of the value is a structural fact about the bandit problem that the index theorem alone does not give: the index theorem identifies an optimal policy for a fixed set of projects, while (9) compares optimal values across sets. It yields diminishing returns from adding projects, the concavity of the value in the number of identical projects, and Tsitsiklis's retirement bound, which separates one project from the rest. Bounds of this kind are used when choosing which projects to make available before allocation begins.

Theorem 1 of the paper, the optimality of the Gittins index policy, is already on Prove2Me as BanditAlgorithm.gittins_index_theorem (Proved, Shuze Chen), together with the discounted Markov bandit model and the Gittins index (GittinsIndex, Shuze Chen) and a finite-horizon form of the prevailing-charge coupling (BanditAlgorithm.gittins_finite_prevailing_charge_eq_stack_coupling_value, Harry_Xu). This mission builds on those items. Theorem 4, inequality (10) and the infinite-horizon representation of V(I)V(I)V(I) have no machine-checked proof that we know of. The other two missions of this series formalize Weber's Theorem 2 (mission 1, a suboptimality bound by prevailing charges) and Theorem 3 (mission 2, a suboptimality bound by index gaps); this mission does not depend on them.

Difficulty

Inequality (10) concerns sums of largest terms of merged sequences; it fails without nonnegativity when III and JJJ are disjoint, and a proof must use both the monotonicity of each sequence and the sign of the terms. The representation of V(I)V(I)V(I) requires the fair-game property of prevailing charges in infinite horizon: that the optimal policy of P(I)P(I)P(I) collects in expectation exactly the discounted charges it pays, and that, on a common probability space of independent bandit trajectories, the charges paid by the optimal policy are the nonincreasing interleaving. The finite-horizon coupling is on the platform; passing to infinite horizon, identifying the interleaving with the play of an index policy, and handling ties and measurability are the remaining work. Finally, (10) is an undiscounted, pathwise statement while (9) compares discounted expectations, so the two must be connected through series of increments of UtU_tUt​ and an exchange of expectation and series.

Formalization scope

The model is the published BanditAlgorithm discounted Markov bandit: one standard Borel state space SSS, one kernel PPP and one measurable reward rrr shared by all bandits; bandits with different dynamics are encoded by a disjoint union of state spaces. rrr is the mean reward. The value of a policy is the series of per-round expected rewards (markovBanditDiscountedValue), equal to the expectation of the discounted sum for bounded rewards. The fair charge γ\gammaγ is the published gittinsIndex.

Explicit readings of the paper's phrases:

  • "the restriction of the problem to bandits in III": the ∣I∣|I|∣I∣-armed game whose arms are the bandits of III in increasing order, started at their states in xxx (restrictedValue), with V(∅)=0V(\emptyset)=0V(∅)=0 set explicitly;
  • "the maximal expected total-discounted reward": the supremum over all history-dependent randomized policies;
  • "a fixed realisation of the states through which bandit jjj evolves": a point of the product of independent Markov chain laws Measure.pi (fun j => markovChainMeasure P (x j));
  • "interleaving into nonincreasing order … summing the first ttt elements": partialInterleavedSum, the maximum over allocations of ttt plays of the sum of initial segments, equal to the interleaving sum for nonincreasing sequences, with Ut(∅)=0U_t(\emptyset)=0Ut​(∅)=0; the sequences start at k=0k=0k=0 (the printed {γjk}k=1∞\{\gamma_{jk}\}_{k=1}^\infty{γjk​}k=1∞​ is a misprint);
  • "multiplying (10) by βt\beta^tβt, summing": the discounted charge is ∑tβt(Ut+1−Ut)\sum_t\beta^t(U_{t+1}-U_t)∑t​βt(Ut+1​−Ut​), the increments of UtU_tUt​;
  • "rewards are nonnegative and uniformly bounded", 0<β<10<\beta<10<β<1: binders of every probabilistic statement, together with StandardBorelSpace S and Measurable r;
  • "concave increasing": nondecreasing and with nonincreasing increments, including n=0n=0n=0;
  • "bandit 1 always pays (1−β)M(1-\beta)M(1−β)M": an absorbing initial state with reward (1−β)M(1-\beta)M(1−β)M.

Trivializing formalizations are ruled out: V(∅)V(\emptyset)V(∅) and Ut(∅)U_t(\emptyset)Ut​(∅) are defined as 000 rather than obtained from a supremum over an empty type, the supremum defining V(I)V(I)V(I) is over a nonempty family bounded by C/(1−β)C/(1-\beta)C/(1−β), UtU_tUt​ is a maximum over a finite nonempty set, and the hypotheses are satisfiable (checked on a one-bandit instance).

A complete development needs: the infinite-horizon prevailing-charge identity for index policies, measurability of the charge stacks (the measurability of gittinsIndex is on the platform), and a combinatorial lemma on merges of nonincreasing sequences. Inequality (10) and the merge lemmas are reusable beyond bandits, for sums of largest elements and weighted rank functions of uniform matroids.

Selected references

  • R. Weber, On the Gittins index for multiarmed bandits, Ann. Appl. Probab. 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • J. C. Gittins, D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani, ed.), North-Holland, 241–266, 1974.
  • J. C. Gittins, Bandit Processes and Dynamic Allocation Indices, Wiley, 1989.
  • P. Whittle, Multiarmed bandits and the Gittins index, J. Roy. Statist. Soc. Ser. B 42, 143–149, 1980.
  • P. Varaiya, J. Walrand, C. Buyukkoc, Extensions of the multiarmed bandit problem: the discounted case, IEEE Trans. Automat. Control 30, 426–439, 1985.
  • J. N. Tsitsiklis, A lemma on the multiarmed bandit problem, IEEE Trans. Automat. Control 31, 576–577, 1986.
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
16 thms5 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: mikedeng1

On the Gittins Index for Multiarmed Bandits 1: A Policy Falls Short of the Gittins Policy by at Most Its Expected Discounted Excess of the Greatest Prevailing Charge over Its RewardResearch Paper

Motivation

The multiarmed bandit problem asks how to allocate a single resource, one play per period, among several alternative projects whose states evolve only while they are worked on. It models the scheduling of jobs on one machine, the sequencing of research projects, and the design of sequential clinical trials. Gittins and Jones (1974) showed that the problem with discounted rewards is solved by an index policy: compute for every project a number depending only on that project's current state, and always work on a project of greatest index. Weber's paper (Ann. Appl. Probab. 2 (1992)) gives a short proof of this theorem through fair and prevailing charges, and uses the same accounting to derive bounds on how much any other policy loses.

In practice the optimal policy is often not the one used: indices may be expensive to compute, or a simpler heuristic may be preferred. A bound on the loss of an arbitrary policy, computable along that policy's own trajectory, tells a practitioner how far from optimal the chosen heuristic is. This mission formalizes the first such bound of the paper, Theorem 2, which Weber attributes to Glazebrook (1990).

Timeline. Gittins and Jones (1974) and Gittins (1979) proved optimality of the index policy by an interchange argument. Whittle (1980) gave a proof through a retirement option. Glazebrook (1982) bounded the suboptimality of a policy in terms of Gittins indices only; Glazebrook (1990) gave the sharper bound stated here as Theorem 2. Weber (1992) rederived it from the prevailing-charge accounting and added the index-gap bound (Theorem 3) and the submodularity of the optimal value (Theorem 4).

Setting

There are kkk bandits. Bandit iii has a state xi(t)x_i(t)xi​(t) at each epoch t=0,1,2,…t = 0, 1, 2, \dotst=0,1,2,…. At each epoch the gambler plays one bandit j(t)j(t)j(t), receives the reward r(xj(t)(t))r(x_{j(t)}(t))r(xj(t)​(t)), and the state of bandit j(t)j(t)j(t) moves according to a Markov kernel PPP; the states of all other bandits stay unchanged. Rewards are nonnegative and uniformly bounded, and future rewards are discounted by a factor β\betaβ with 0<β<10<\beta<10<β<1. A policy π\piπ chooses j(t)j(t)j(t), possibly at random, as a function of everything observed so far. Its value from the initial states xxx is

Vπ(x)=Eπ[∑t=0∞βt r(xj(t)(t)) ∣ x(0)=x].(1)V_\pi(x) = \mathbb{E}_\pi\Big[\sum_{t=0}^\infty \beta^t\, r\big(x_{j(t)}(t)\big) \,\Big|\, x(0)=x\Big]. \tag{1}Vπ​(x)=Eπ​[t=0∑∞​βtr(xj(t)​(t))​x(0)=x].(1)

The fair charge γ(y)\gamma(y)γ(y) of a state yyy is the per-play charge at which a gambler holding a single bandit in state yyy, free to stop at any time, would only just break even. Equivalently it is the largest ratio of expected discounted reward to expected discounted time over stopping times τ≥1\tau \ge 1τ≥1. Weber's Gittins index is G(y)=γ(y)/(1−β)G(y) = \gamma(y)/(1-\beta)G(y)=γ(y)/(1−β). The prevailing charge of bandit iii at time ttt is the least fair charge seen so far on that bandit, min⁡0≤s≤tγ(xi(s))\min_{0\le s\le t}\gamma(x_i(s))min0≤s≤t​γ(xi​(s)). A Gittins policy π∗\pi^*π∗ plays at each epoch a bandit of greatest index; Theorem 1 of the paper says it is optimal.

Formalization targets

Goal: Theorem 2, inequality (6)

For a Gittins policy π∗\pi^*π∗, every policy π\piπ and every initial state vector xxx,

Vπ∗(x)−Vπ(x)≤(1−β) Eπ[∑t=0∞βt(max⁡imin⁡0≤s≤tGi(xi(s))−Rj(t)(xj(t)(t))1−β) ∣ x(0)=x].V_{\pi^*}(x) - V_\pi(x) \le (1-\beta)\,\mathbb{E}_\pi\Big[\sum_{t=0}^\infty \beta^t\Big(\max_i \min_{0\le s\le t} G_i(x_i(s)) - \frac{R_{j(t)}(x_{j(t)}(t))}{1-\beta}\Big) \,\Big|\, x(0)=x\Big].Vπ∗​(x)−Vπ​(x)≤(1−β)Eπ​[t=0∑∞​βt(imax​0≤s≤tmin​Gi​(xi​(s))−1−βRj(t)​(xj(t)​(t))​)​x(0)=x].

Milestones

  1. Eq. (5), from Remark 1: for every policy, Vπ(x)≤Eπ[∑tβtmin⁡0≤s≤tγj(t)(xj(t)(s))]V_\pi(x) \le \mathbb{E}_\pi\big[\sum_t \beta^t \min_{0\le s\le t}\gamma_{j(t)}(x_{j(t)}(s))\big]Vπ​(x)≤Eπ​[∑t​βtmin0≤s≤t​γj(t)​(xj(t)​(s))].
  2. The greatest prevailing charge on a fixed realisation (p. 1028): along any fixed realisation of the bandits' state sequences, the greatest prevailing charge at time ttt under any policy is at least its value under the Gittins policy.
  3. The bound is achieved by the Gittins policy (proof of Theorem 1): Vπ∗(x)=Eπ∗[∑tβtmax⁡imin⁡0≤s≤tγ(xi(s))]V_{\pi^*}(x) = \mathbb{E}_{\pi^*}\big[\sum_t \beta^t \max_i \min_{0\le s\le t}\gamma(x_i(s))\big]Vπ∗​(x)=Eπ∗​[∑t​βtmaxi​min0≤s≤t​γ(xi​(s))].

Significance

The result. Inequality (6) bounds the loss of an arbitrary policy by a quantity observed along that policy's own trajectory: at each epoch, how far the reward collected falls below the greatest prevailing charge. A policy that plays a bandit of greatest prevailing charge whenever possible and collects its charge as reward loses nothing, which recovers Theorem 1. The bound is the basis of Glazebrook's analysis of near-optimal heuristics for bandit and stochastic-scheduling problems, and of the index-gap bound (7) of Theorem 3, which is the second mission of this series.

Formalizing it. Theorem 1 of the paper (optimality of the Gittins policy) is already formalized and proved on Prove2Me as BanditAlgorithm.gittins_index_theorem (Shuze Chen, following Lattimore and Szepesvári, Theorem 35.9), together with the finite-horizon prevailing-charge accounting and the charge-stack interleaving lemmas (Harry_Xu). Theorem 2 itself has no machine-checked proof. This mission produces the infinite-horizon forms of the charge accounting, (5) and its equality case for the Gittins policy, and the realisation-wise comparison of greatest prevailing charges, and combines them into (6). Missions 2 (Theorem 3, the index-gap bound) and 3 (Theorem 4, submodularity of the optimal value) of this series state the paper's other results on the same model; none of the three relies on the others.

Difficulty

The paper's proof is one sentence: combine (5) with the realisation-wise observation. The two pieces live on different probability spaces. Inequality (5) and the equality for the Gittins policy are expectations under the law of each policy's own history, while the comparison of greatest prevailing charges is made on a fixed realisation of each bandit's state sequence. Transferring the deterministic comparison into an inequality between expectations under two different policies needs a coupling under which every policy sees the same per-bandit state sequences, so that the prevailing-charge stacks are the same random objects under π\piπ and π∗\pi^*π∗. The naive approach, comparing the two laws round by round, fails: the round-ttt histories of π\piπ and π∗\pi^*π∗ have different distributions, and no pointwise inequality holds between them. The infinite-horizon statements also require controlling the terminal retirement potential, which vanishes only in the discounted limit.

Formalization scope

The development uses the published BanditAlgorithm model (GittinsIndex, GittinsTerminalPotential, GittinsPrevailingChargeValue, GittinsChargeInterleaving). Conventions committed to:

  • Weber's nnn bandits with separate state spaces are one state space SSS with one kernel PPP and reward rrr (take the disjoint union). SSS is a standard Borel space and rrr is measurable: regularity the paper leaves implicit.
  • rrr is the conditional mean of Weber's random reward Rj(xj(t))R_j(x_j(t))Rj​(xj​(t)); only the mean enters (1), (5) and (6).
  • The standing assumptions of Section 1, "rewards are nonnegative and uniformly bounded" and 0<β<10<\beta<10<β<1, are hypotheses of the goal and of milestones 1 and 3.
  • Every Eπ[∑tβt(⋅)]\mathbb{E}_\pi[\sum_t \beta^t(\cdot)]Eπ​[∑t​βt(⋅)] is written as ∑tβt Eπ[⋅]\sum_t \beta^t\,\mathbb{E}_\pi[\cdot]∑t​βtEπ​[⋅], the convention of the published value VπV_\piVπ​; these agree for bounded rewards.
  • Time starts at 000. At round ttt the integrand is evaluated on the history of the first ttt rounds together with the current state vector x(t)x(t)x(t), so every min⁡0≤s≤t\min_{0\le s\le t}min0≤s≤t​ includes the current state.
  • γ\gammaγ is the published gittinsIndex (the ratio (4)); G=γ/(1−β)G = \gamma/(1-\beta)G=γ/(1−β) is a new definition weberIndex. The goal uses GGG and the factor 1−β1-\beta1−β, as in (6); milestones 1 and 3 use γ\gammaγ, as the paper does.
  • "π∗\pi^*π∗ is the optimal (Gittins) policy" is any policy satisfying the published IsGittinsIndexPolicy (with probability one it plays an arm of greatest index, ties arbitrary). The goal does not assume such a policy exists; a one-armed instance shows the hypotheses can be met.
  • "On a fixed realisation" (milestone 2) is encoded deterministically: arbitrary nonincreasing sequences HiH_iHi​ as the prevailing-charge stacks, any action sequence as a policy, and any greedy interleaving as the Gittins policy.
  • max⁡i\max_imaxi​ is a supremum over Fin k\mathrm{Fin}\,kFink; at k=0k=0k=0 no policy exists.

Replacing GGG by γ\gammaγ in (6) would weaken the bound by the factor 1−β1-\beta1−β, and dropping the boundedness of rewards would let the published value be a junk 000; neither is the paper's statement, and both are ruled out by the conventions above.

Contributions welcome: the infinite-horizon limits of the published finite accounting, a coupling of all policies on independent per-bandit state sequences, and the deterministic comparison of greatest exposed charges, which is reusable for any interleaving argument on nonincreasing sequences.

Selected references

  • R. Weber, On the Gittins index for multiarmed bandits, Annals of Applied Probability 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • K. D. Glazebrook, Procedures for the evaluation of strategies for resource allocation in a stochastic environment, Journal of Applied Probability 27(1), 215–220, 1990.
  • K. D. Glazebrook, On the evaluation of suboptimal strategies for families of alternative bandit processes, Journal of Applied Probability 19(3), 716–722, 1982.
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
  • P. Whittle, Multi-armed bandits and the Gittins index, Journal of the Royal Statistical Society B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • T. Lattimore and Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
12 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

Analysis of Thompson Sampling for the Multi-armed Bandit Problem 1: Logarithmic Regret for Two ArmsResearch Paper

Motivation

Thompson Sampling (TS) is the oldest heuristic for the stochastic multi-armed bandit problem: it was proposed by Thompson in 1933 (Biometrika 25) and is used in practice for online advertising and recommendation, where it often performs as well as or better than upper-confidence-bound methods (Chapelle and Li, NIPS 2011; Scott 2010). Until 2012 its theoretical guarantees for the frequentist regret were weak: earlier analyses gave only o(T)o(T)o(T) regret in time TTT (Granmo 2010; May, Korda, Lee and Leslie 2011).

Agrawal and Goyal, Analysis of Thompson Sampling for the Multi-armed Bandit Problem (arXiv:1111.1797v3, COLT 2012), gave the first logarithmic finite-time bound on the expected regret of TS. This mission formalizes their two-armed result, Theorem 1. A companion mission covers the NNN-armed bound, Theorem 2.

Timeline. Lai and Robbins (1985) proved that every consistent algorithm has regret at least [∑iΔi/D(μi∥μ∗)+o(1)]ln⁡T\big[\sum_i \Delta_i/D(\mu_i\|\mu^*)+o(1)\big]\ln T[∑i​Δi​/D(μi​∥μ∗)+o(1)]lnT. Auer, Cesa-Bianchi and Fischer (2002) gave UCB1 with an O(∑iln⁡T/Δi)O(\sum_i \ln T/\Delta_i)O(∑i​lnT/Δi​) finite-time bound. Agrawal and Goyal (2012) proved O(ln⁡T/Δ+1/Δ3)O(\ln T/\Delta+1/\Delta^3)O(lnT/Δ+1/Δ3) for two-armed TS. Kaufmann, Korda and Munos (ALT 2012) and Agrawal and Goyal (AISTATS 2013) later proved asymptotically optimal bounds for Bernoulli TS.

Setting

There are two arms. Arm i∈{1,2}i\in\{1,2\}i∈{1,2} has a fixed, unknown reward distribution DiD_iDi​ supported in [0,1][0,1][0,1], with mean μi\mu_iμi​. Plays of an arm give i.i.d. rewards, independent of the other arm. Arm 1 is the unique optimal arm, μ1>μ2\mu_1>\mu_2μ1​>μ2​, and Δ=μ1−μ2\Delta=\mu_1-\mu_2Δ=μ1​−μ2​ is the gap.

Thompson Sampling for general stochastic bandits (Algorithm 2 of the paper) keeps, for each arm iii, a success count SiS_iSi​ and a failure count FiF_iFi​, both starting at 000. In each round t=1,2,…t=1,2,\dotst=1,2,… it

  1. samples, independently for each arm, θi(t)∼Beta(Si+1,Fi+1)\theta_i(t)\sim\mathrm{Beta}(S_i+1,F_i+1)θi​(t)∼Beta(Si​+1,Fi​+1);
  2. plays i(t)=arg⁡max⁡iθi(t)i(t)=\arg\max_i\theta_i(t)i(t)=argmaxi​θi​(t) and observes a reward r~t∼Di(t)\tilde r_t\sim D_{i(t)}r~t​∼Di(t)​;
  3. performs a Bernoulli trial with success probability r~t\tilde r_tr~t​, with outcome rt∈{0,1}r_t\in\{0,1\}rt​∈{0,1};
  4. increments Si(t)S_{i(t)}Si(t)​ if rt=1r_t=1rt​=1 and Fi(t)F_{i(t)}Fi(t)​ otherwise.

ki(t)k_i(t)ki​(t) is the number of plays of arm iii before round ttt. The expected regret in time TTT is

E[R(T)]=E[∑t=1T(μ1−μi(t))],\mathbb E[\mathcal R(T)]=\mathbb E\Big[\sum_{t=1}^T(\mu_1-\mu_{i(t)})\Big],E[R(T)]=E[t=1∑T​(μ1​−μi(t)​)],

the expectation being over the rewards and the algorithm's randomness.

The analysis uses the Beta cdf Fα,βbetaF^{beta}_{\alpha,\beta}Fα,βbeta​, the binomial cdf Fn,pBF^B_{n,p}Fn,pB​, and the random variable X(j,s,y)X(j,s,y)X(j,s,y): the number of independent Beta(s+1,j−s+1)\mathrm{Beta}(s+1,j-s+1)Beta(s+1,j−s+1) draws made before one exceeds yyy.

Formalization targets

Goal: Theorem 1 (p. 3)

There is an absolute constant C>0C>0C>0 such that for every two-armed instance with rewards in [0,1][0,1][0,1] and μ1>μ2\mu_1>\mu_2μ1​>μ2​, and every T≥2T\ge 2T≥2,

E[R(T)]≤C(ln⁡TΔ+1Δ3).\mathbb E[\mathcal R(T)]\le C\Big(\frac{\ln T}{\Delta}+\frac1{\Delta^3}\Big).E[R(T)]≤C(ΔlnT​+Δ31​).

The constant is not fixed numerically: the paper states the theorem in O(⋅)O(\cdot)O(⋅) form (footnote 1), and the explicit display it reports on p. 8, 40ln⁡T/Δ+48/Δ3+18Δ40\ln T/\Delta+48/\Delta^3+18\Delta40lnT/Δ+48/Δ3+18Δ, is not the formal claim.

Milestones

  • Fact 1 (p. 12): Fα,βbeta(y)=1−Fα+β−1,yB(α−1)F^{beta}_{\alpha,\beta}(y)=1-F^B_{\alpha+\beta-1,y}(\alpha-1)Fα,βbeta​(y)=1−Fα+β−1,yB​(α−1) for positive integers α,β\alpha,\betaα,β.
  • Lemma 1 (p. 6): E[X(j,s,y)]=1/Fj+1,yB(s)−1\mathbb E[X(j,s,y)]=1/F^B_{j+1,y}(s)-1E[X(j,s,y)]=1/Fj+1,yB​(s)−1.
  • Lemma 6 (p. 13): Hoeffding-type bounds (10)–(11) on binomial cdfs.
  • Fact 2 (p. 13): every median of Binomial(n,p)\mathrm{Binomial}(n,p)Binomial(n,p) is ⌊np⌋\lfloor np\rfloor⌊np⌋ or ⌈np⌉\lceil np\rceil⌈np⌉.
  • Lemma 2 (p. 7): Pr⁡(E2(t))≥1−2/T2\Pr(E_2(t))\ge 1-2/T^2Pr(E2​(t))≥1−2/T2, where E2(t)={θ2(t)≤μ2+Δ/2 or k2(t)<24ln⁡T/Δ2}E_2(t)=\{\theta_2(t)\le\mu_2+\Delta/2\ \text{or}\ k_2(t)<24\ln T/\Delta^2\}E2​(t)={θ2​(t)≤μ2​+Δ/2 or k2​(t)<24lnT/Δ2}.
  • Lemma 3 (p. 7): a three-case bound on E[E[min⁡{X(j,s(j),y),T}∣s(j)]]\mathbb E\big[\mathbb E[\min\{X(j,s(j),y),T\}\mid s(j)]\big]E[E[min{X(j,s(j),y),T}∣s(j)]] for s(j)∼Binomial(j,μ1)s(j)\sim\mathrm{Binomial}(j,\mu_1)s(j)∼Binomial(j,μ1​).
  • Eq. (1) (p. 7): E[k2(T)]≤C(ln⁡T/Δ2+1/Δ4)\mathbb E[k_2(T)]\le C(\ln T/\Delta^2+1/\Delta^4)E[k2​(T)]≤C(lnT/Δ2+1/Δ4).

Significance

The result. Theorem 1 shows that TS, a randomized Bayesian heuristic with no explicit confidence bonus, has regret logarithmic in TTT on every two-armed instance, matching the order in TTT of the Lai–Robbins lower bound. The proof introduced a way to control the optimal arm's waiting time between plays through the Beta–Binomial duality, and later analyses of TS reuse that device.

Formalizing it. The result is proved on paper and has no machine-checked proof that we know of. The platform's existing TS results concern Gaussian TS (Lattimore and Szepesvári, Ch. 36) and Bayesian regret, which are different algorithms or regret notions. A formalization adds a reusable Lean model of Algorithm 2 on [0,1][0,1][0,1]-valued rewards, Beta–Binomial facts (Fact 1, Lemma 1), a binomial-median theorem, and binomial Hoeffding bounds. It also produces a proof with a constant that has been checked, since the printed constants contain an arithmetic slip.

Difficulty

The standard UCB argument does not transfer to TS. For UCB, the optimal arm's index exceeds its mean with high probability however often the arm has been played, because the exploration bonus is deterministic; the analysis then only has to count plays of the suboptimal arm until its own index concentrates, after Θ(ln⁡T/Δ2)\Theta(\ln T/\Delta^2)Θ(lnT/Δ2) plays. Under TS the optimal arm's sample θ1(t)\theta_1(t)θ1​(t) is random and, if the arm has been played rarely or its early rewards were poor, it falls below μ2\mu_2μ2​ with constant probability. The optimal arm may then wait a long, random time between plays, and the length of that wait depends on the arm's posterior, which in turn depends on how long it has waited. Counting plays of the suboptimal arm with a union bound over rounds, under the assumption that the optimal arm is already concentrated, therefore does not work; controlling these waiting times is the central difficulty and is where the 1/Δ31/\Delta^31/Δ3 dependence enters.

Formalization scope

  • Model. The instance is the platform's StochasticBandit 2 (a probability measure on R\mathbb RR per arm, mean banditArmMean), with the hypothesis that each reward law gives mass 111 to [0,1][0,1][0,1]. Lean arm 0 is the paper's arm 1 and Lean arm 1 the paper's arm 2. Lean rounds are indexed from 000.
  • Algorithm. Algorithm 2 is realized on one probability space with three independent i.i.d. tables: Beta draws W(i,t,a,b)∼Beta(a+1,b+1)W(i,t,a,b)\sim\mathrm{Beta}(a+1,b+1)W(i,t,a,b)∼Beta(a+1,b+1), rewards X(i,t)∼DiX(i,t)\sim D_iX(i,t)∼Di​, and uniforms V(i,t)V(i,t)V(i,t). Round ttt uses θi(t)=W(i,t,Si(t),Fi(t))\theta_i(t)=W(i,t,S_i(t),F_i(t))θi​(t)=W(i,t,Si​(t),Fi​(t)), r~t=X(i(t),t)\tilde r_t=X(i(t),t)r~t​=X(i(t),t) and rt=1{V(i(t),t)<r~t}r_t=\mathbf 1\{V(i(t),t)<\tilde r_t\}rt​=1{V(i(t),t)<r~t​}. Ties in the arg max go to the smaller index (a null event).
  • Values. Regret and expectations are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. X(j,s,y)X(j,s,y)X(j,s,y) is N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued, so Lemma 1 at y=1y=1y=1 reads ∞=∞\infty=\infty∞=∞, as in the paper.
  • O(·). The paper's O(⋅)O(\cdot)O(⋅) (footnote 1: f≤cgf\le cgf≤cg for n≥n0n\ge n_0n≥n0​) is stated with one universal constant C>0C>0C>0, quantified before the instance, the means and the horizon, for all T≥2T\ge 2T≥2. Eq. (1) is stated the same way, without its printed numerals.
  • Not trivial. The goal is about Algorithm 2 itself, with fresh Beta samples, fresh rewards and the Bernoulli coin. A statement about "any policy satisfying Lemma 2's event bound", or one whose constant depends on Δ\DeltaΔ, the reward laws or TTT, would not be Theorem 1.
  • Edge cases. μ1<1\mu_1<1μ1​<1 is assumed only in Lemma 3, where the paper's RRR and DDD require it. It is not a hypothesis of the goal.
  • Infrastructure. A complete proof needs: inverse-transform or order-statistics facts for Beta laws (Fact 1); geometric expectations; Hoeffding's inequality for sums of Bernoulli variables (Mathlib has Hoeffding/Azuma); the binomial median theorem (Jogdeo–Samuels; Kaas–Buhrman); and the coupling from the reward tables to the per-arm i.i.d. output stacks the paper reasons with. Fact 1, Lemma 6 and Fact 2 are reusable beyond this mission. Contributions to any milestone are welcome, and so is a direct proof of the regret bound with an explicit constant.

Selected references

  • S. Agrawal and N. Goyal, Analysis of Thompson Sampling for the Multi-armed Bandit Problem, COLT 2012; arXiv:1111.1797v3. https://arxiv.org/abs/1111.1797
  • W. R. Thompson, On the likelihood that one unknown probability exceeds another in view of the evidence of two samples, Biometrika 25 (1933) 285–294. https://doi.org/10.2307/2332286
  • T. L. Lai and H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6 (1985) 4–22. https://doi.org/10.1016/0196-8858(85)90002-8
  • P. Auer, N. Cesa-Bianchi and P. Fischer, Finite-time analysis of the multiarmed bandit problem, Machine Learning 47 (2002) 235–256. https://doi.org/10.1023/A:1013689704352
  • K. Jogdeo and S. M. Samuels, Monotone convergence of binomial probabilities and a generalization of Ramanujan's equation, Annals of Mathematical Statistics 39 (1968) 1191–1195. https://doi.org/10.1214/aoms/1177698243
  • R. Kaas and J. M. Buhrman, Mean, median and mode in binomial distributions, Statistica Neerlandica 34 (1980) 13–18. https://doi.org/10.1111/j.1467-9574.1980.tb00681.x
  • O. Chapelle and L. Li, An empirical evaluation of Thompson Sampling, NIPS 2011. https://papers.nips.cc/paper/4321-an-empirical-evaluation-of-thompson-sampling
12 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence IV: Asymptotic Optimality of the Track-and-Stop StrategyResearch Paper

Motivation

In best arm identification with fixed confidence, a learner samples KKK unknown distributions (arms) sequentially and must, as early as possible, name the arm with the largest mean, while being wrong with probability at most a prescribed risk δ\deltaδ. The problem models adaptive A/B/n testing, clinical and simulation-based selection among alternatives, and the "ranking and selection" problem of operations research and simulation optimization. The quantity of interest is the sample complexity Eμ[τδ]\mathbb E_{\boldsymbol\mu}[\tau_\delta]Eμ​[τδ​], the expected number of samples a strategy takes before stopping.

Timeline of the question this mission formalizes:

  • Chernoff (1959) introduced sequential tests based on generalized likelihood ratios for adaptive design of experiments, with a finite set of hypotheses (doi:10.1214/aoms/1177706205).
  • Kaufmann, Cappé and Garivier (2016, JMLR) proved a change-of-measure lower bound on the sample complexity of every δ\deltaδ-PAC strategy (arXiv:1407.4443).
  • Garivier and Kaufmann (COLT 2016) identified the exact constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) in that lower bound and gave the first strategy, Track-and-Stop, whose sample complexity matches it asymptotically as δ→0\delta\to0δ→0 (arXiv:1602.04589). This mission covers the upper-bound half of that paper.

Setting

A canonical one-parameter exponential family is a family of laws νθ\nu_\thetaνθ​, θ∈Θ\theta\in\Thetaθ∈Θ, on R\mathbb RR with density exp⁡(θx−b(θ))\exp(\theta x-b(\theta))exp(θx−b(θ)) with respect to a reference measure ξ\xiξ; bbb is twice differentiable and strictly convex, and νθ\nu_\thetaνθ​ has mean b˙(θ)\dot b(\theta)b˙(θ). Bernoulli, Poisson and Gaussian laws with known variance are examples. The divergence d(μ,μ′)d(\mu,\mu')d(μ,μ′) is the Kullback–Leibler divergence between the members with means μ\muμ and μ′\mu'μ′.

A bandit model μ=(μ1,…,μK)\boldsymbol\mu=(\mu_1,\dots,\mu_K)μ=(μ1​,…,μK​) assigns a member of the family to each arm. The class S\mathcal SS consists of models with a unique optimal arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ). At each round t=1,2,…t=1,2,\dotst=1,2,… the learner picks an arm AtA_tAt​ as a function of past observations, observes a reward drawn from that arm's law, and at a stopping time τδ\tau_\deltaτδ​ recommends an arm. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa in the first ttt rounds and μ^a(t)\hat\mu_a(t)μ^​a​(t) its empirical mean.

With Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu)=\{\boldsymbol\lambda\in\mathcal S: a^*(\boldsymbol\lambda)\ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)} and ΣK\Sigma_KΣK​ the probability simplex, the characteristic time is

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ) ∑a=1Kwa d(μa,λa),T^*(\boldsymbol\mu)^{-1}=\sup_{w\in\Sigma_K}\ \inf_{\boldsymbol\lambda\in\mathrm{Alt}(\boldsymbol\mu)}\ \sum_{a=1}^K w_a\,d(\mu_a,\lambda_a),T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​ a=1∑K​wa​d(μa​,λa​),

and the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) are the optimal proportions of arm draws.

Track-and-Stop combines two ingredients:

  • a sampling rule that tracks the plug-in proportions w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) while forcing each arm to be drawn about t\sqrt tt​ times: C-Tracking tracks the cumulated sum of projections of w∗(μ^(s))w^*(\hat{\boldsymbol\mu}(s))w∗(μ^​(s)) onto ΣKϵs={w∈ΣK:wa≥ϵs}\Sigma^{\epsilon_s}_K=\{w\in\Sigma_K: w_a\ge\epsilon_s\}ΣKϵs​​={w∈ΣK​:wa​≥ϵs​}, ϵs=(K2+s)−1/2/2\epsilon_s=(K^2+s)^{-1/2}/2ϵs​=(K2+s)−1/2/2; D-Tracking draws an under-sampled arm when some Na(t)<t−K/2N_a(t)<\sqrt t-K/2Na​(t)<t​−K/2, and otherwise the arm maximizing t wa∗(μ^(t))−Na(t)t\,w^*_a(\hat{\boldsymbol\mu}(t))-N_a(t)twa∗​(μ^​(t))−Na​(t);
  • Chernoff's stopping rule, which stops at the first ttt at which some arm aaa beats every other arm bbb in a generalized likelihood ratio test, Za,b(t)>β(t,δ)Z_{a,b}(t)>\beta(t,\delta)Za,b​(t)>β(t,δ), here with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ).

Formalization targets

Goal: Theorem 14 (p. 13)

For α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2] and r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα), Chernoff's stopping rule with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ) combined with C-Tracking or D-Tracking satisfies

lim sup⁡δ→0Eμ[τδ]log⁡(1/δ)≤α T∗(μ)\limsup_{\delta\to0}\frac{\mathbb E_{\boldsymbol\mu}[\tau_\delta]}{\log(1/\delta)}\le\alpha\,T^*(\boldsymbol\mu)δ→0limsup​log(1/δ)Eμ​[τδ​]​≤αT∗(μ)

for every μ∈S\boldsymbol\mu\in\mathcal Sμ∈S.

Milestones

  • Lemma 15 (p. 20): greedy tracking of cumulated proportions P(k)P(k)P(k) keeps max⁡i∣Ni(n)−Pi(n)∣≤K−1\max_i|N_i(n)-P_i(n)|\le K-1maxi​∣Ni​(n)−Pi​(n)∣≤K−1.
  • Lemma 7 (p. 7): C-Tracking ensures Na(t)≥t+K2−2KN_a(t)\ge\sqrt{t+K^2}-2KNa​(t)≥t+K2​−2K and max⁡a∣Na(t)−∑s<twa∗(μ^(s))∣≤K(1+t)\max_a|N_a(t)-\sum_{s<t}w^*_a(\hat{\boldsymbol\mu}(s))|\le K(1+\sqrt t)maxa​∣Na​(t)−∑s<t​wa∗​(μ^​(s))∣≤K(1+t​).
  • Lemma 8 (p. 7): D-Tracking ensures Na(t)≥(t−K/2)+−1N_a(t)\ge(\sqrt t-K/2)_+-1Na​(t)≥(t​−K/2)+​−1, and proportions within 3(K−1)ϵ3(K-1)\epsilon3(K−1)ϵ of w∗(μ)w^*(\boldsymbol\mu)w∗(μ) after a time tϵt_\epsilontϵ​ that does not depend on the trajectory, once the plug-in targets are within ϵ\epsilonϵ.
  • Proposition 9 (p. 8): under either rule, Na(t)/t→wa∗(μ)N_a(t)/t\to w^*_a(\boldsymbol\mu)Na​(t)/t→wa∗​(μ) almost surely.
  • Lemma 18 (p. 27): an explicit xxx with c1x≥log⁡(c2xα)c_1x\ge\log(c_2x^\alpha)c1​x≥log(c2​xα) for α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2].
  • Proposition 13 (p. 11): with any sampling rule whose proportions converge almost surely to w∗w^*w∗, τδ<∞\tau_\delta<\inftyτδ​<∞ almost surely and lim sup⁡δ→0τδ/log⁡(1/δ)≤αT∗(μ)\limsup_{\delta\to0}\tau_\delta/\log(1/\delta)\le\alpha T^*(\boldsymbol\mu)limsupδ→0​τδ​/log(1/δ)≤αT∗(μ) almost surely.

Significance

Theorem 1 of the same paper shows Eμ[τδ]≥T∗(μ) kl(δ,1−δ)\mathbb E_{\boldsymbol\mu}[\tau_\delta]\ge T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta,1-\delta)Eμ​[τδ​]≥T∗(μ)kl(δ,1−δ) for every δ\deltaδ-PAC strategy, and kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta,1-\delta)\sim\log(1/\delta)kl(δ,1−δ)∼log(1/δ). Theorem 14 with α=1\alpha=1α=1 therefore shows that the lower bound is attained: T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is the exact asymptotic sample complexity of best arm identification in exponential family models, and Track-and-Stop is asymptotically optimal.

The result is proved in the paper. What is not available is a machine-checked proof for exponential families. The platform already holds a Lean development of the Gaussian case following Lattimore and Szepesvári, Bandit Algorithms, Ch. 33, stated for one existentially chosen policy with a different threshold. This mission asks for the universal statement: every run of either tracking rule, for every exponential family, with the paper's thresholds. The tracking lemmas (Lemmas 15, 7, 8) are deterministic combinatorics and reusable by any tracking-based algorithm.

Difficulty

The obvious argument plugs the almost-sure behaviour of Proposition 13 into an expectation. That step fails: almost-sure convergence of τδ/log⁡(1/δ)\tau_\delta/\log(1/\delta)τδ​/log(1/δ) does not control E[τδ]\mathbb E[\tau_\delta]E[τδ​], because on the rare events where the empirical means are far from μ\boldsymbol\muμ the stopping time may be very large. Theorem 14 needs a quantitative concentration of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) on events whose complements have summable probability, which in turn relies on the forced exploration guaranteed by the t\sqrt tt​ lower bounds on Na(t)N_a(t)Na​(t) (the concentration step of App. D, Lemmas 19–20).

A second obstacle is the regularity of w∗w^*w∗: the tracking lemmas only transfer convergence of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) to convergence of Na(t)/tN_a(t)/tNa​(t)/t through the continuity of μ↦w∗(μ)\boldsymbol\mu\mapsto w^*(\boldsymbol\mu)μ↦w∗(μ) on S\mathcal SS, proved from the characterization of w∗w^*w∗ in §2.2 (Proposition 6). The GLR statistic also needs its closed form (7) near μ\boldsymbol\muμ, which requires the empirical means to lie in the interior of the mean space.

Formalization scope

  • Model. The exponential family is a structure (ξ,Θ,b)(\xi,\Theta,b)(ξ,Θ,b) with Θ\ThetaΘ a nonempty open interval, each νθ\nu_\thetaνθ​ normalized, bbb twice continuously differentiable and b¨>0\ddot b>0b¨>0 on Θ\ThetaΘ. Openness and b¨>0\ddot b>0b¨>0 are added to the paper's "convex, twice differentiable"; strict convexity is what makes νμ\nu^\muνμ unique. Bandit models are parameter vectors θ∈ΘK\theta\in\Theta^Kθ∈ΘK with K≥2K\ge2K≥2; arms are indexed 0,…,K−10,\dots,K-10,…,K−1. S\mathcal SS is the set of parameter vectors with a unique arm of largest mean b˙(θa)\dot b(\theta_a)b˙(θa​).
  • Protocol. Policies, the trajectory law Pμ\mathbb P_{\boldsymbol\mu}Pμ​, pull counts, empirical means and T∗(μ)T^*(\boldsymbol\mu)T∗(μ) are the platform's published definitions (BanditPolicy, BanditTrajectory, TrackAndStop). T∗T^*T∗ uses Kullback–Leibler divergences of the arm laws over the class S\mathcal SS and takes values in [0,∞][0,\infty][0,∞]. Trajectory coordinate ttt is round t+1t+1t+1. An arm never drawn has empirical mean 000.
  • Target map. w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) is undefined in the paper when μ^(t)∉S\hat{\boldsymbol\mu}(t)\notin\mathcal Sμ^​(t)∈/S (an unsampled arm, ties, a mean outside b˙(Θ)\dot b(\Theta)b˙(Θ)). Every tracking statement quantifies over every target map with values in ΣK\Sigma_KΣK​ that returns optimal proportions on S\mathcal SS, over every choice of L∞L^\inftyL∞ projections, and over every tie-breaking, including randomized ones.
  • Stopping rule. The two maxima in Za,b(t)Z_{a,b}(t)Za,b​(t) are suprema over Θ\ThetaΘ in the extended reals. Za,b(t)>βZ_{a,b}(t)>\betaZa,b​(t)>β is written without subtracting infinities. The stopping time is the first t≥1t\ge1t≥1 at which the test succeeds, +∞+\infty+∞ if none. "r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα)" is r(t)≤Dtαr(t)\le Dt^\alphar(t)≤Dtα for t≥1t\ge1t≥1; r>0r>0r>0 is added so that log⁡(r(t)/δ)\log(r(t)/\delta)log(r(t)/δ) is defined.
  • Values in [0,∞][0,\infty][0,∞]. Expectations of τδ\tau_\deltaτδ​, the ratios and T∗T^*T∗ live in [0,∞][0,\infty][0,∞]. No statement converts them to reals, so an infinite expected stopping time is never read as 000.
  • Corrections, disclosed. Proposition 9's printed Pw\mathbb P_wPw​ is Pμ\mathbb P_{\boldsymbol\mu}Pμ​. Lemma 18 adds c2/c1α>1c_2/c_1^\alpha>1c2​/c1α​>1 and x>0x>0x>0, without which its expressions are undefined.
  • Ruled out. Specializing to Gaussian arms, or asserting that some sampling policy achieves the bound, would restate existing platform results and is not this theorem: the goal is about every C-Tracking or D-Tracking run in every exponential family.
  • Welcome contributions. Exponential-family facts (b˙\dot bb˙ is the mean, the KL formula, concentration of empirical means); the continuity of w∗w^*w∗ (Proposition 6, App. A.3); Lemma 17 (App. B.2), from which Lemma 8 follows; the closed form (7) of the GLR statistic.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016, JMLR W&CP 49. arXiv:1602.04589v2
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, JMLR 17, 2016. arXiv:1407.4443
  • H. Chernoff, Sequential Design of Experiments, Ann. Math. Statist. 30(3), 1959. doi:10.1214/aoms/1177706205
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Ch. 33. doi:10.1017/9781108571401
17 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchProbability+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence I: Non-Asymptotic Lower Bound on the Sample ComplexityResearch Paper

Motivation

Best arm identification with fixed confidence is the pure-exploration counterpart of the multi-armed bandit problem. A learner faces KKK unknown reward distributions ("arms"), samples them sequentially, and must stop and name the arm with the largest mean, being wrong with probability at most a prescribed δ\deltaδ. The question is how many samples this requires. It arises in adaptive A/B testing, in the selection of the best of several simulated systems (ranking and selection in simulation optimization), and in clinical trials that must declare the best treatment with a guaranteed error rate.

Lower bounds for this problem were first stated in terms of the gaps between means (Mannor and Tsitsiklis, 2004). Kaufmann, Cappé and Garivier (2016) replaced ad hoc changes of measure by a single "transportation" lemma relating expected sample counts, Kullback–Leibler divergences and the error probability. Garivier and Kaufmann (COLT 2016, arXiv:1602.04589v2) combine this lemma over all alternative models at once, in the spirit of Graves and Lai (1997), and obtain a lower bound whose constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is exactly matched, as δ→0\delta \to 0δ→0, by their Track-and-Stop strategy. This mission formalizes that lower bound (Theorem 1 of the paper, p. 3).

Setting

A canonical one-parameter exponential family is given by a reference measure ξ\xiξ on R\mathbb RR, an open interval Θ⊂R\Theta \subset \mathbb RΘ⊂R and a function bbb, twice continuously differentiable on Θ\ThetaΘ with b¨>0\ddot b > 0b¨>0, such that the laws νθ\nu_\thetaνθ​ with density exp⁡(θx−b(θ))\exp(\theta x - b(\theta))exp(θx−b(θ)) with respect to ξ\xiξ are probability measures for θ∈Θ\theta \in \Thetaθ∈Θ. The mean of νθ\nu_\thetaνθ​ is b˙(θ)\dot b(\theta)b˙(θ). Bernoulli laws and Gaussian laws of known variance are examples.

A bandit model is a vector θ=(θ1,…,θK)∈ΘK\theta = (\theta_1, \dots, \theta_K) \in \Theta^Kθ=(θ1​,…,θK​)∈ΘK; arm aaa returns i.i.d. rewards with law νθa\nu_{\theta_a}νθa​​ and mean μa=b˙(θa)\mu_a = \dot b(\theta_a)μa​=b˙(θa​). Arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ) is the unique optimal arm if μa∗>μa\mu_{a^*} > \mu_aμa∗​>μa​ for every a≠a∗a \ne a^*a=a∗. Let S\mathcal SS be any set of bandit models of the family each having a unique optimal arm, and put Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu) = \{\boldsymbol\lambda \in \mathcal S : a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)}.

A strategy consists of a sampling rule π\piπ (the arm AtA_tAt​ drawn at round ttt depends, possibly with extra randomization, on the first t−1t - 1t−1 observations), a stopping time τ\tauτ of the natural filtration Ft=σ(A1,X1,…,At,Xt)\mathcal F_t = \sigma(A_1, X_1, \dots, A_t, X_t)Ft​=σ(A1​,X1​,…,At​,Xt​), and an Fτ\mathcal F_\tauFτ​-measurable decision a^τ\hat a_\taua^τ​. It is δ\deltaδ-PAC on S\mathcal SS if for every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S, Pμ(τ<∞)=1\mathbb P_{\boldsymbol\mu}(\tau < \infty) = 1Pμ​(τ<∞)=1 and Pμ(a^τ≠a∗(μ))≤δ\mathbb P_{\boldsymbol\mu}(\hat a_\tau \ne a^*(\boldsymbol\mu)) \le \deltaPμ​(a^τ​=a∗(μ))≤δ. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa among the first ttt rounds.

Write d(μa,λa)=KL(νθa,νλa)d(\mu_a, \lambda_a) = \mathrm{KL}(\nu_{\theta_a}, \nu_{\lambda_a})d(μa​,λa​)=KL(νθa​​,νλa​​) for the divergence between two arm laws, kl(x,y)=xlog⁡xy+(1−x)log⁡1−x1−y\mathrm{kl}(x, y) = x\log\frac{x}{y} + (1 - x)\log\frac{1 - x}{1 - y}kl(x,y)=xlogyx​+(1−x)log1−y1−x​, and ΣK\Sigma_KΣK​ for the probability simplex on the KKK arms. The characteristic time is defined by eq. (1):

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ)∑a=1Kwa d(μa,λa).T^*(\boldsymbol\mu)^{-1} = \sup_{w \in \Sigma_K}\ \inf_{\boldsymbol\lambda \in \mathrm{Alt}(\boldsymbol\mu)} \sum_{a=1}^K w_a\, d(\mu_a, \lambda_a).T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​a=1∑K​wa​d(μa​,λa​).

Formalization targets

Goal: Theorem 1 (p. 3)

For δ∈(0,1/2]\delta \in (0, 1/2]δ∈(0,1/2], every δ\deltaδ-PAC strategy on S\mathcal SS and every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S,

Eμ[τ] ≥ T∗(μ) kl(δ,1−δ).\mathbb E_{\boldsymbol\mu}[\tau] \ \ge\ T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta, 1 - \delta).Eμ​[τ] ≥ T∗(μ)kl(δ,1−δ).

The statement fixes no constant beyond those of the paper, and it holds for every δ\deltaδ, not only in the limit.

Milestone: eq. (2) (p. 4)

For every λ∈S\boldsymbol\lambda \in \mathcal Sλ∈S with a∗(λ)≠a∗(μ)a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)a∗(λ)=a∗(μ),

∑a=1Kd(μa,λa) Eμ[Na(τ)] ≥ kl(δ,1−δ).\sum_{a=1}^K d(\mu_a, \lambda_a)\, \mathbb E_{\boldsymbol\mu}[N_a(\tau)] \ \ge\ \mathrm{kl}(\delta, 1 - \delta).a=1∑K​d(μa​,λa​)Eμ​[Na​(τ)] ≥ kl(δ,1−δ).

This is Lemma 1 of Kaufmann et al. (2016), which the paper quotes without proof; Theorem 1 follows from it for every alternative simultaneously.

Significance

Theorem 1 identifies T∗(μ)T^*(\boldsymbol\mu)T∗(μ) as the exact problem-dependent complexity of fixed-confidence best arm identification: since kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta, 1 - \delta) \sim \log(1/\delta)kl(δ,1−δ)∼log(1/δ), it gives lim inf⁡δ→0Eμ[τδ]/log⁡(1/δ)≥T∗(μ)\liminf_{\delta \to 0} \mathbb E_{\boldsymbol\mu}[\tau_\delta]/\log(1/\delta) \ge T^*(\boldsymbol\mu)liminfδ→0​Eμ​[τδ​]/log(1/δ)≥T∗(μ), and the paper's Track-and-Stop strategy attains this rate (the subject of mission IV of this series). The bound also explains which proportions of draws an optimal strategy must use: the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) of eq. (1) (mission II).

Both results are proved in the literature. Neither is formalized in the paper's generality. The platform holds the textbook form of Lattimore and Szepesvári (Theorem 33.5), which is stated for an arbitrary class with the weaker constant log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)); for δ≤1/2\delta \le 1/2δ≤1/2, kl(δ,1−δ)≥log⁡(1/(2.4δ))>log⁡(1/(4δ))\mathrm{kl}(\delta, 1 - \delta) \ge \log(1/(2.4\delta)) > \log(1/(4\delta))kl(δ,1−δ)≥log(1/(2.4δ))>log(1/(4δ)), so Theorem 1 is strictly stronger. A formal proof here yields the transportation lemma for exponential families on the platform's infinite-horizon bandit model, which later missions (II–IV, and any lower bound by change of measure) can reuse.

Difficulty

The obvious proof applies the finite-horizon divergence decomposition KL(Pμn,Pλn)=∑aEμ[Na(n)] d(μa,λa)\mathrm{KL}(\mathbb P^n_{\boldsymbol\mu}, \mathbb P^n_{\boldsymbol\lambda}) = \sum_a \mathbb E_{\boldsymbol\mu}[N_a(n)]\,d(\mu_a, \lambda_a)KL(Pμn​,Pλn​)=∑a​Eμ​[Na​(n)]d(μa​,λa​) at a deterministic horizon nnn. That fails here: τ\tauτ is random and unbounded, the decision is Fτ\mathcal F_\tauFτ​-measurable, and the relevant divergence is between the laws of the stopped observations. The step from a fixed horizon to a stopping time, together with the data-processing inequality that turns the error guarantees under two models into kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), is the central difficulty. A second, smaller difficulty is to identify the paper's divergence ddd and its means b˙(θ)\dot b(\theta)b˙(θ) with the measure-theoretic KL divergence and mean of the arm laws of the exponential family.

Formalization scope

Lean namespace OptimalBAI.LowerBound. The bandit protocol is the platform's (BanditAlgorithm.BanditPolicy, banditTrajMeasure, IsBanditStoppingTime, IsSoundBAI, baiComplexity); kl\mathrm{kl}kl is the platform's bernoulliRelativeEntropy and Na(t)N_a(t)Na​(t) is trajPullCount. Conventions:

  • arms are Fin K, 0-based (the paper's arm aaa is index a−1a - 1a−1); trajectory coordinate ttt is round t+1t + 1t+1;
  • Θ\ThetaΘ is a nonempty open interval and b¨>0\ddot b > 0b¨>0 on Θ\ThetaΘ (added: the paper says bbb is convex and twice differentiable; strict convexity is what makes "the unique distribution with mean μ\muμ" meaningful); the paper's ddd is written as the KL divergence of the arm laws (its first equality on p. 3), and the unique optimal arm is defined through the parameter means b˙(θa)\dot b(\theta_a)b˙(θa​);
  • S\mathcal SS is an arbitrary set of models with a unique optimal arm, not the specific set the paper fixes from p. 4 on;
  • δ\deltaδ-PAC keeps both halves of the paper's definition (almost-sure stopping and error at most δ\deltaδ);
  • T∗(μ)T^*(\boldsymbol\mu)T∗(μ), divergences and expectations of τ\tauτ take values in [0,∞][0, \infty][0,∞], never truncated to reals; T∗=0T^* = 0T∗=0 when Alt(μ)=∅\mathrm{Alt}(\boldsymbol\mu) = \emptysetAlt(μ)=∅ and T∗=∞T^* = \inftyT∗=∞ when the supremum in eq. (1) is 000;
  • δ≤1/2\delta \le 1/2δ≤1/2 is added. The paper states δ∈(0,1)\delta \in (0, 1)δ∈(0,1), but the theorem and eq. (2) are false for δ∈(1/2,1)\delta \in (1/2, 1)δ∈(1/2,1): with two unit-variance Gaussian arms, drawing arm 1 once and naming arm 1 exactly when the fractional part of the reward is below 1/21/21/2 is 0.90.90.9-PAC, while T∗(μ)→∞T^*(\boldsymbol\mu) \to \inftyT∗(μ)→∞ as the two means merge. At δ=1/2\delta = 1/2δ=1/2 the bound is 000.

A statement with log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)) in place of kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), or restricted to Gaussian arms, is the platform's existing textbook theorem and does not count as this mission's goal; nor does any version that drops the almost-sure stopping clause or truncates E[τ]\mathbb E[\tau]E[τ] or T∗T^*T∗ to real numbers.

Needed infrastructure: the transportation lemma at a stopping time (data processing for KL through an Fτ\mathcal F_\tauFτ​-measurable event, Wald-type identity for the stopped log-likelihood ratio), the identities "mean of νθ\nu_\thetaνθ​ =b˙(θ)= \dot b(\theta)=b˙(θ)" and "KL of two family members =b(θ′)−b(θ)−b˙(θ)(θ′−θ)= b(\theta') - b(\theta) - \dot b(\theta)(\theta' - \theta)=b(θ′)−b(θ)−b˙(θ)(θ′−θ)", and E[τ]=∑aE[Na(τ)]\mathbb E[\tau] = \sum_a \mathbb E[N_a(\tau)]E[τ]=∑a​E[Na​(τ)]. All are reusable beyond this mission. Contributions of any of these lemmas, of eq. (2) alone, or of the Gaussian and Bernoulli special cases as stepping stones are welcome.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016 (JMLR W&CP 49), arXiv:1602.04589v2. https://arxiv.org/abs/1602.04589
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, Journal of Machine Learning Research 17(1), 2016. https://arxiv.org/abs/1407.4443
  • T. L. Graves, T. L. Lai, Asymptotically Efficient Adaptive Choice of Control Laws in Controlled Markov Chains, SIAM Journal on Control and Optimization 35(3), 1997. https://doi.org/10.1137/S0363012994275440
  • S. Mannor, J. N. Tsitsiklis, The Sample Complexity of Exploration in the Multi-Armed Bandit Problem, Journal of Machine Learning Research 5, 2004. https://www.jmlr.org/papers/v5/mannor04b.html
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 33. https://doi.org/10.1017/9781108571401
15 thms5 active usersReviewed
PreviousPage 1 of 5Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me