Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Bandit Algorithms

127 missions · 56 completed

Missions

Open71Completed56All127
Machine Learning·Captain: mikedeng1

An Optimal Algorithm for Stochastic and Adversarial Bandits III: α-Tsallis-INF With Gap-Tuned Asymmetric Regularization Has Logarithmic Pseudo-Regret When the Best Arm Is UniqueResearch Paper

Motivation

In the multi-armed bandit problem a learner repeatedly chooses one of KKK actions and observes only the loss of the action it chose. Two models of the environment dominate the literature. In the stochastic model the losses of each arm are drawn i.i.d. from a fixed distribution, and the optimal pseudo-regret grows like ∑i≠i∗log⁡(T)/Δi\sum_{i\ne i^*}\log(T)/\Delta_i∑i=i∗​log(T)/Δi​, where Δi\Delta_iΔi​ is the gap between the mean loss of arm iii and that of the best arm i∗i^*i∗ (Lai and Robbins, 1985). In the adversarial model the losses are arbitrary and the optimal rate is Θ(KT)\Theta(\sqrt{KT})Θ(KT​) (Audibert and Bubeck, 2010). Algorithms that are near-optimal in both models without knowing which one they face are called best of both worlds.

Timeline:

  • Bubeck and Slivkins (2012) gave the first best-of-both-worlds algorithm and asked whether one algorithm could be optimal in both regimes.
  • Seldin and Slivkins (2014) and Auer and Chiang (2016) obtained log⁡2T\log^2 Tlog2T or log⁡3T\log^3 Tlog3T stochastic rates with KT\sqrt{KT}KT​-type adversarial guarantees.
  • Wei and Luo (2018) introduced the stochastically constrained adversarial regime and the log-barrier algorithm BROAD.
  • Zimmert and Seldin (2021) showed that online mirror descent with the 12\tfrac1221​-Tsallis entropy (Tsallis-INF) is optimal in both regimes up to constants. Their Theorem 4, the subject of this mission, studies the whole family of α\alphaα-Tsallis regularizers with gap-dependent tuning in the stochastically constrained regime.

Setting

There are K≥2K\ge2K≥2 arms and rounds t=1,2,…t=1,2,\dotst=1,2,…. In round ttt the learner draws an arm ItI_tIt​ from a probability vector wtw_twt​ in the simplex ΔK−1\Delta^{K-1}ΔK−1, the environment fixes losses ℓt∈[0,1]K\ell_t\in[0,1]^Kℓt​∈[0,1]K, and only ℓt,It\ell_{t,I_t}ℓt,It​​ is observed. The environment may adapt to the past actions I1,…,It−1I_1,\dots,I_{t-1}I1​,…,It−1​ and use its own randomization, modelled by a seed ω\omegaω drawn once from a probability measure μ\muμ. The pseudo-regret is

Reg‾T=E[∑t=1Tℓt,It]−min⁡iE[∑t=1Tℓt,i],\overline{Reg}_T=\mathbb E\Big[\sum_{t=1}^T\ell_{t,I_t}\Big]-\min_i\mathbb E\Big[\sum_{t=1}^T\ell_{t,i}\Big],Reg​T​=E[t=1∑T​ℓt,It​​]−imin​E[t=1∑T​ℓt,i​],

with the expectation over the seed and the learner's draws; a minimizing arm is a best arm in hindsight iT∗i^*_TiT∗​.

α-Tsallis-INF is online mirror descent on the simplex. With α∈(0,1)\alpha\in(0,1)α∈(0,1), regularization parameters ξi>0\xi_i>0ξi​>0 and learning rates ηt>0\eta_t>0ηt​>0, set

Ψ(w)=−∑iwiα−αwiα(1−α)ξi,Ψt=Ψ/ηt.\Psi(w)=-\sum_i\frac{w_i^\alpha-\alpha w_i}{\alpha(1-\alpha)\xi_i},\qquad\Psi_t=\Psi/\eta_t .Ψ(w)=−i∑​α(1−α)ξi​wiα​−αwi​​,Ψt​=Ψ/ηt​.

The learner keeps importance-weighted loss estimates ℓ^t,i=1(It=i)ℓt,i/wt,i\hat\ell_{t,i}=\mathbb 1(I_t=i)\ell_{t,i}/w_{t,i}ℓ^t,i​=1(It​=i)ℓt,i​/wt,i​, their sums L^t\hat L_tL^t​, and plays wt=arg⁡max⁡w∈ΔK−1⟨w,−L^t−1⟩−Ψt(w)w_t=\arg\max_{w\in\Delta^{K-1}}\langle w,-\hat L_{t-1}\rangle-\Psi_t(w)wt​=argmaxw∈ΔK−1​⟨w,−L^t−1​⟩−Ψt​(w). The potential Φt(Y)=max⁡w∈ΔK−1⟨w,Y⟩−Ψt(w)\Phi_t(Y)=\max_{w\in\Delta^{K-1}}\langle w,Y\rangle-\Psi_t(w)Φt​(Y)=maxw∈ΔK−1​⟨w,Y⟩−Ψt​(w) splits the regret into a stability term E[∑tℓt,It+Φt(−L^t)−Φt(−L^t−1)]\mathbb E[\sum_t\ell_{t,I_t}+\Phi_t(-\hat L_t)-\Phi_t(-\hat L_{t-1})]E[∑t​ℓt,It​​+Φt​(−L^t​)−Φt​(−L^t−1​)] and a penalty term E[∑tΦt(−L^t−1)−Φt(−L^t)−ℓt,iT∗]\mathbb E[\sum_t\Phi_t(-\hat L_{t-1})-\Phi_t(-\hat L_t)-\ell_{t,i^*_T}]E[∑t​Φt​(−L^t−1​)−Φt​(−L^t​)−ℓt,iT∗​​].

In the stochastically constrained regime the loss differences have fixed means, E[ℓt,i−ℓt,i∗]=Δi\mathbb E[\ell_{t,i}-\ell_{t,i^*}]=\Delta_iE[ℓt,i​−ℓt,i∗​]=Δi​, with a unique best arm i∗i^*i∗ (Δi>0\Delta_i>0Δi​>0 for i≠i∗i\ne i^*i=i∗). Then Reg‾T=E[∑t∑i≠i∗wt,iΔi]\overline{Reg}_T=\mathbb E[\sum_t\sum_{i\ne i^*}w_{t,i}\Delta_i]Reg​T​=E[∑t​∑i=i∗​wt,i​Δi​] and iT∗=i∗i^*_T=i^*iT∗​=i∗. Write Δmin⁡=min⁡i≠i∗Δi\Delta_{\min}=\min_{i\ne i^*}\Delta_iΔmin​=mini=i∗​Δi​. Theorem 4 uses

ηt=16α4 1−tˉ−1+α(1−α)tα,tˉ=max⁡{e,t},ξi=Δi1−2α (i≠i∗),ξi∗=Δmin⁡1−2α.\eta_t=\frac{16^\alpha}{4}\,\frac{1-\bar t^{-1+\alpha}}{(1-\alpha)t^\alpha},\quad\bar t=\max\{e,t\},\qquad\xi_i=\Delta_i^{1-2\alpha}\ (i\ne i^*),\quad\xi_{i^*}=\Delta_{\min}^{1-2\alpha}.ηt​=416α​(1−α)tα1−tˉ−1+α​,tˉ=max{e,t},ξi​=Δi1−2α​ (i=i∗),ξi∗​=Δmin1−2α​.

Formalization targets

Goal: Theorem 4 (p. 12)

With T0=16Δmin⁡2log⁡216Δmin⁡2T_0=\frac{16}{\Delta_{\min}^2}\log^2\frac{16}{\Delta_{\min}^2}T0​=Δmin2​16​log2Δmin2​16​, for every T≥1T\ge1T≥1,

Reg‾T≤∑i≠i∗(8min⁡{11−α,log⁡T}+64)(log⁡T+1)Δi+16log⁡4(T0)Δmin⁡+4.\overline{Reg}_T\le\sum_{i\ne i^*}\frac{\big(8\min\{\frac1{1-\alpha},\log T\}+64\big)(\log T+1)}{\Delta_i}+\frac{16\log^4(T_0)}{\Delta_{\min}}+4 .Reg​T​≤i=i∗∑​Δi​(8min{1−α1​,logT}+64)(logT+1)​+Δmin​16log4(T0​)​+4.

Milestones

Lemma 17 (Hessian control along a mirror step); Lemma 11, cases 1 and 4 (instantaneous stability); Lemma 20 and Lemma 12, part 2 (penalty); Lemmas 14 and 16 (scalar inequalities for the learning-rate factors); displays (26) and (30) of Appendix D, the stability and penalty bounds under the parameters of Theorem 4.

Lemmas 20 and 12 cover any causal unbiased loss estimator satisfying the bandit feedback assumptions; the other bandit bounds use the importance-weighted estimator.

Significance

The theorem shows that the logarithmic stochastic rate is not special to the 12\tfrac1221​-Tsallis entropy: for every α∈(0,1)\alpha\in(0,1)α∈(0,1), tuning the regularizer to the gaps gives pseudo-regret of order ∑i≠i∗min⁡{11−α,log⁡T}log⁡T/Δi\sum_{i\ne i^*}\min\{\frac1{1-\alpha},\log T\}\log T/\Delta_i∑i=i∗​min{1−α1​,logT}logT/Δi​ in stochastically constrained environments. This places the log-barrier (α→0\alpha\to0α→0) and entropic (α→1\alpha\to1α→1) regularizers of earlier algorithms in one family, and isolates the role of asymmetric regularization. Unlike Theorem 1, it needs the gaps to tune ξ\xiξ, so it is a statement about the reach of the method rather than a practical algorithm.

The result is proved in the paper; no part of it has a machine-checked proof. Formalizing it produces a complete verified analysis of an online-mirror-descent bandit algorithm with time-varying, non-monotone learning rates, including the stability–penalty decomposition, the Hessian control of Lemma 17 and the explicit constant chase of Appendix D. The analysis also checks two points the paper leaves open: the printed bound has log⁡T\log TlogT where its proof gives log⁡T+1\log T+1logT+1, and Appendix D applies Lemma 12, which assumes non-increasing learning rates, to a rate that increases for a few early rounds when α\alphaα is small.

Difficulty

The obvious argument bounds each round's stability by ∑iηtξi2E[wt,i]1−α\sum_i\frac{\eta_t\xi_i}2\mathbb E[w_{t,i}]^{1-\alpha}∑i​2ηt​ξi​​E[wt,i​]1−α (Lemma 11, case 1) and sums. That bound contains the best arm, whose weight tends to one, so it grows polynomially in TTT and cannot give a logarithmic rate. The arm i∗i^*i∗ has to be removed from the stability, which needs a shifted second-order expansion where losses become slightly negative, and that is only controlled once ηtξi≤14\eta_t\xi_i\le\frac14ηt​ξi​≤41​ (Lemma 17). The early rounds before T0T_0T0​ must be paid for separately, and the asymmetric ξ\xiξ and the learning rate interact through constants that must be tracked exactly for the self-bounding step to close.

Formalization scope

Arms are Fin K with K≥2K\ge2K≥2 and the paper's arm iii is i - 1. Rounds start at 1; an action sequence is h : ℕ → Fin K with h 0 unused. The adversary is the published RegretBandits.Adversarial.Adversary (losses in [0,1][0,1][0,1] depending on past actions only) composed with a seed drawn from a probability measure, with losses measurable in the seed. Expectations are explicit: an integral over the seed of a finite sum over action paths weighted by ∏twt,It\prod_t w_{t,I_t}∏t​wt,It​​. The algorithm is an argmax predicate on the weight function, never a choice function. Φt\Phi_tΦt​ is a real supremum over the simplex. Logarithms are natural, and real powers are Real.rpow with nonnegative bases.

The goal takes α∈(0,1)\alpha\in(0,1)α∈(0,1); the endpoints α∈{0,1}\alpha\in\{0,1\}α∈{0,1}, where the paper's learning rate and regularizer are limits, are not stated. The regime "stochastically constrained with a unique best arm" is replaced by the two consequences the proof uses: the self-bounding inequality Reg‾T≥E[∑t∑i≠i∗wt,iΔi]\overline{Reg}_T\ge\mathbb E[\sum_t\sum_{i\ne i^*}w_{t,i}\Delta_i]Reg​T​≥E[∑t​∑i=i∗​wt,i​Δi​] and iT∗=i∗i^*_T=i^*iT∗​=i∗. Every such regime satisfies both, so the formal statement is at least as strong as the printed one. The constant log⁡T+1\log T+1logT+1 in the first term is the one the proof reaches. A trivial formalization is ruled out: the expectation is a genuine probability law, the gaps are tied to the losses through the self-bounding hypothesis, and the weights are determined by the algorithm, so the bound cannot hold vacuously.

A complete development needs the explicit law of a bandit run with an adaptive randomized adversary, unbiasedness of the IW estimator, convex conjugates and Bregman divergences on the simplex, and elementary real analysis for Lemmas 14 and 16. The run-law and the stability–penalty decomposition are reusable for any mirror-descent bandit algorithm. Proofs of any milestone, and of the scalar Lemmas 14 and 16 in particular, are welcome independently.

Selected references

  • J. Zimmert and Y. Seldin, Tsallis-INF: An Optimal Algorithm for Stochastic and Adversarial Bandits, Journal of Machine Learning Research 22(28), 2021. https://arxiv.org/abs/1807.07623 (v6)
  • S. Bubeck and A. Slivkins, The best of both worlds: stochastic and adversarial bandits, COLT 2012. https://arxiv.org/abs/1202.4473
  • C.-Y. Wei and H. Luo, More adaptive algorithms for adversarial bandits, COLT 2018. https://arxiv.org/abs/1801.03265
  • J. Abernethy, C. Lee and A. Tewari, Fighting bandits with a new kind of smoothness, NeurIPS 2015. https://arxiv.org/abs/1512.04152
  • T. L. Lai and H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6(1), 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • J.-Y. Audibert and S. Bubeck, Regret bounds and minimax policies under partial monitoring, Journal of Machine Learning Research 11, 2010. https://jmlr.org/papers/v11/audibert10a.html
14 thms2 active usersReviewed
Machine Learning·Captain: mikedeng1

An Optimal Algorithm for Stochastic and Adversarial Bandits II: α-Tsallis-INF With Symmetric Regularization Has Anytime Adversarial Pseudo-Regret 2√(min{1/(α−α²), log K/α, log T/(1−α)}·KT) + 1Research Paper

Motivation

In the adversarial multi-armed bandit problem a learner repeatedly picks one of KKK arms and observes only the loss of the arm it picked, while an adversary chooses the losses, possibly reacting to the learner's past choices. The minimax pseudo-regret of this problem is of order KT\sqrt{KT}KT​ after TTT rounds, and the classical algorithm Exp3 achieves only KTlog⁡K\sqrt{KT\log K}KTlogK​ (Auer et al., 2002). Online mirror descent with a Tsallis-entropy regularizer interpolates between Exp3 (negative Shannon entropy) and the log-barrier, and the choice of the Tsallis parameter α\alphaα decides which logarithmic factor appears in the bound.

Timeline:

  • 2002: Auer, Cesa-Bianchi, Freund and Schapire, Exp3, pseudo-regret O(KTlog⁡K)O(\sqrt{KT\log K})O(KTlogK​).
  • 2009: Audibert and Bubeck, the Poly-INF algorithm, the first O(KT)O(\sqrt{KT})O(KT​) adversarial bound (COLT 2009).
  • 2015: Abernethy, Lee and Tewari analyse gradient-based prediction with Tsallis regularization for α∈(0,1]\alpha\in(0,1]α∈(0,1] with a horizon-dependent learning rate (NeurIPS 2015).
  • 2017: Agarwal, Luo, Neyshabur and Schapire analyse the log-barrier (α=0\alpha=0α=0) (COLT 2017).
  • 2019/2021: Zimmert and Seldin give a single anytime analysis covering every α∈[0,1]\alpha\in[0,1]α∈[0,1], Theorem 3 of arXiv:1807.07623v6 (JMLR 22(28), 2021).

Setting

There are K≥1K\ge1K≥1 arms and rounds t=1,2,…t=1,2,\dotst=1,2,…. At round ttt the learner draws an arm ItI_tIt​ from a probability vector wtw_twt​ in the simplex ΔK−1\Delta^{K-1}ΔK−1, the adversary fixes a loss vector ℓt∈[0,1]K\ell_t\in[0,1]^Kℓt​∈[0,1]K, which may depend on I1,…,It−1I_1,\dots,I_{t-1}I1​,…,It−1​ and on the adversary's internal randomization, and the learner observes ℓt,It\ell_{t,I_t}ℓt,It​​. The pseudo-regret is

Reg‾T=E[∑t=1Tℓt,It]−min⁡iE[∑t=1Tℓt,i],\overline{Reg}_T=\mathbb E\Big[\sum_{t=1}^T\ell_{t,I_t}\Big]-\min_i\mathbb E\Big[\sum_{t=1}^T\ell_{t,i}\Big],Reg​T​=E[t=1∑T​ℓt,It​​]−imin​E[t=1∑T​ℓt,i​],

with the expectation over both sources of randomness.

The importance-weighted (IW) estimator is ℓ^t,i=1(It=i) ℓt,i/wt,i\hat\ell_{t,i}=\mathbb 1(I_t=i)\,\ell_{t,i}/w_{t,i}ℓ^t,i​=1(It​=i)ℓt,i​/wt,i​ and L^t=∑s≤tℓ^s\hat L_{t}=\sum_{s\le t}\hat\ell_sL^t​=∑s≤t​ℓ^s​. For α∈(0,1)\alpha\in(0,1)α∈(0,1) and ξi>0\xi_i>0ξi​>0 the α-Tsallis regularizer is

Ψ(w)=−∑iwiα−αwiα(1−α)ξi,Ψt=Ψ/ηt,\Psi(w)=-\sum_i\frac{w_i^\alpha-\alpha w_i}{\alpha(1-\alpha)\xi_i},\qquad\Psi_t=\Psi/\eta_t ,Ψ(w)=−i∑​α(1−α)ξi​wiα​−αwi​​,Ψt​=Ψ/ηt​,

with symmetric regularization ξi=1\xi_i=1ξi​=1. α-Tsallis-INF is online mirror descent:

wt=arg⁡max⁡w∈ΔK−1 ⟨w,−L^t−1⟩−Ψt(w),w_t=\arg\max_{w\in\Delta^{K-1}}\ \langle w,-\hat L_{t-1}\rangle-\Psi_t(w),wt​=argw∈ΔK−1max​ ⟨w,−L^t−1​⟩−Ψt​(w),

and the potential is Φt(Y)=max⁡w∈ΔK−1⟨w,Y⟩−Ψt(w)\Phi_t(Y)=\max_{w\in\Delta^{K-1}}\langle w,Y\rangle-\Psi_t(w)Φt​(Y)=maxw∈ΔK−1​⟨w,Y⟩−Ψt​(w). The pseudo-regret splits into a stability term E[∑tℓt,It+Φt(−L^t)−Φt(−L^t−1)]\mathbb E[\sum_t\ell_{t,I_t}+\Phi_t(-\hat L_t)-\Phi_t(-\hat L_{t-1})]E[∑t​ℓt,It​​+Φt​(−L^t​)−Φt​(−L^t−1​)] and a penalty term E[∑tΦt(−L^t−1)−Φt(−L^t)−ℓt,iT∗]\mathbb E[\sum_t\Phi_t(-\hat L_{t-1})-\Phi_t(-\hat L_t)-\ell_{t,i^*_T}]E[∑t​Φt​(−L^t−1​)−Φt​(−L^t​)−ℓt,iT∗​​], where iT∗i^*_TiT∗​ is a best arm in expectation in hindsight. Theorem 3 uses the learning rate

ηt=K1−2α−K−α1−α⋅1−t−ααt.\eta_t=\sqrt{\frac{K^{1-2\alpha}-K^{-\alpha}}{1-\alpha}\cdot\frac{1-t^{-\alpha}}{\alpha t}} .ηt​=1−αK1−2α−K−α​⋅αt1−t−α​​.

Formalization targets

Goal: Theorem 3, α∈(0,1)\alpha\in(0,1)α∈(0,1)

Reg‾T≤2min⁡{1α−α2,log⁡Kα,log⁡T1−α}KT+1for every T≥1.\overline{Reg}_T\le2\sqrt{\min\Big\{\frac{1}{\alpha-\alpha^2},\frac{\log K}{\alpha},\frac{\log T}{1-\alpha}\Big\}KT}+1\qquad\text{for every }T\ge1 .Reg​T​≤2min{α−α21​,αlogK​,1−αlogT​}KT​+1for every T≥1.

The goal fixes the constants of the paper; it holds against every randomized adaptive adversary.

Milestones

  1. Lemma 11 part 1: the per-round stability is at most min⁡{∑iηtξi2E[wt,i]1−α,1}\min\{\sum_i\frac{\eta_t\xi_i}{2}\mathbb E[w_{t,i}]^{1-\alpha},1\}min{∑i​2ηt​ξi​​E[wt,i​]1−α,1}.
  2. The maximum of ∑izi1−α\sum_i z_i^{1-\alpha}∑i​zi1−α​ over the simplex is KαK^\alphaKα.
  3. Lemma 20: the penalty is bounded by increments of the inverse learning rate times differences of Ψ\PsiΨ, plus ⟨u−eiT∗,LT⟩\langle u-e_{i^*_T},L_T\rangle⟨u−eiT∗​​,LT​⟩.
  4. Lemma 12 part 1: for non-increasing positive learning rates the penalty is at most (K1−α−1)(1−T−α)(1−α)αηT+1\frac{(K^{1-\alpha}-1)(1-T^{-\alpha})}{(1-\alpha)\alpha\eta_T}+1(1−α)αηT​(K1−α−1)(1−T−α)​+1.
  5. Lemma 14: (1−y−x)/x(1-y^{-x})/x(1−y−x)/x is non-increasing on x>0x>0x>0, tends to log⁡y\log ylogy, and is at most min⁡{x−1,log⁡y}\min\{x^{-1},\log y\}min{x−1,logy}.

Companions

Theorem 3 at the boundaries: α=1\alpha=1α=1 (negative-entropy regularizer, rate lim⁡α→1ηt=log⁡(K)(1−t−1)/(Kt)\lim_{\alpha\to1}\eta_t=\sqrt{\log(K)(1-t^{-1})/(Kt)}limα→1​ηt​=log(K)(1−t−1)/(Kt)​, bound 2log⁡(K)KT+12\sqrt{\log(K)KT}+12log(K)KT​+1) and α=0\alpha=0α=0 (log-barrier, rate (K−1)log⁡(t)/t\sqrt{(K-1)\log(t)/t}(K−1)log(t)/t​, bound 2log⁡(T)KT+12\sqrt{\log(T)KT}+12log(T)KT​+1).

Significance

Theorem 3 gives one anytime bound for the whole Tsallis family. At α=12\alpha=\tfrac12α=21​ it is O(KT)O(\sqrt{KT})O(KT​), the minimax rate, without knowledge of TTT; at α→1\alpha\to1α→1 it recovers the Exp3 rate and at α→0\alpha\to0α→0 the log-barrier rate, with constants matching Abernethy et al. without tuning the learning rate to the horizon. It is the adversarial half of the paper's study of α-Tsallis-INF, whose stochastic half (Theorem 4) shows why α=12\alpha=\tfrac12α=21​ is the only value that is optimal in both regimes.

The result is proved in the paper. As far as is known, no machine-checked proof of any Tsallis-INF or Poly-INF regret bound exists. The mission produces a formal model of randomized adaptive adversaries together with online mirror descent for bandits, and formal stability and penalty lemmas for the Tsallis family, which are the standard building blocks of later best-of-both-worlds analyses.

Difficulty

The obvious route, bounding the regret of each fixed seed and action sequence and averaging, fails: the IW estimates have second moments of order 1/wt,i1/w_{t,i}1/wt,i​, which are unbounded, and only their expectation under the learner's own sampling is controlled. The stability term therefore has to be bounded in expectation, for a regularizer whose convex conjugate has no closed form for general α\alphaα. The penalty term involves a learning rate that changes every round, so the potentials of consecutive rounds are not directly comparable. The expectation of the run is over a law that couples the adversary's seed with the learner's random actions, so every step that the paper writes as "take expectations" has to be carried out over that law.

Two features of the printed proof need care. Theorem 3's learning rate is 000 at t=1t=1t=1, where Ψ1=Ψ/η1\Psi_1=\Psi/\eta_1Ψ1​=Ψ/η1​ is undefined, and for small α\alphaα it increases between t=2t=2t=2 and t=3t=3t=3, while Lemma 12 part 1 assumes a non-increasing sequence of positive learning rates. A complete proof of the goal has to handle these first rounds.

Formalization scope

Arms are Fin K with K≥1K\ge1K≥1; action sequences are maps h:N→h:\mathbb N\toh:N→ Fin K with h(t)=Ith(t)=I_th(t)=It​ and h(0)h(0)h(0) unused. The adversary is a seed ω\omegaω drawn from a probability measure μ\muμ together with one published RegretBandits.Adversarial.Adversary K per seed (losses in [0,1][0,1][0,1], depending on past actions only), with losses measurable in the seed. The expectation of a quantity at horizon TTT is ∫∑a(∏t≤Twt,at)F dμ\int\sum_{a}(\prod_{t\le T}w_{t,a_t})F\,d\mu∫∑a​(∏t≤T​wt,at​​)Fdμ. The learner's weights are an argmax predicate on a weight function: for every round, the objective ηt⟨w,−L^t−1⟩−Ψ(w)\eta_t\langle w,-\hat L_{t-1}\rangle-\Psi(w)ηt​⟨w,−L^t−1​⟩−Ψ(w) is maximized over the simplex. This is the paper's rule whenever ηt>0\eta_t>0ηt​>0, and at η1=0\eta_1=0η1​=0 it makes w1w_1w1​ the minimizer of Ψ\PsiΨ, the uniform vector, which is the initialisation of online mirror descent. No hypothesis on the weights is added beyond this rule. Φt\Phi_tΦt​ is a real supremum over the simplex, attained because the simplex is compact and nonempty. Powers are real powers; log⁡\loglog is the natural logarithm.

The goal and the milestones take α∈(0,1)\alpha\in(0,1)α∈(0,1) (the page: α∈[0,1]\alpha\in[0,1]α∈[0,1]); the boundary values are separate companion theorems, with the limiting regularizers of §3.2 and the limiting learning rates of p. 12, and the log-barrier companion restricts the weights to the open simplex. Lemmas 12 and 20 are stated, as on the page, for any loss estimator that is conditionally unbiased given the seed and the past, depends on the actions through its own round only, and is measurable and integrable under the run law. The page prints the α→1\alpha\to1α→1 limit of the learning rate as log⁡(K)(1−t−1)/t\sqrt{\log(K)(1-t^{-1})/t}log(K)(1−t−1)/t​; the true limit carries an extra factor 1/K1/K1/K under the root, and the α=1\alpha=1α=1 companion uses the true limit. In Lemma 20 the term ⟨u−eiT∗,LT⟩\langle u-e_{i^*_T},L_T\rangle⟨u−eiT∗​​,LT​⟩ sits inside the expectation, since LTL_TLT​ is random under an adaptive adversary.

A trivializing formalization is ruled out: the weights are not chosen by a choice function, and an algorithm whose weights are arbitrary at η1=0\eta_1=0η1​=0 is excluded because the predicate pins w1w_1w1​.

A complete development needs: convex conjugates of separable regularizers on the simplex, the stability argument via a second-order bound, telescoping of potentials, unbiasedness of IW estimators under the run law, and elementary real-analysis estimates (Lemma 14, the simplex maximum). The run law, the IW estimator and the potential are reusable in the companion missions on Theorem 1 and Theorem 4. Contributions to any milestone, and to reusable lemmas about the run law, are welcome.

Selected references

  • J. Zimmert, Y. Seldin, Tsallis-INF: An Optimal Algorithm for Stochastic and Adversarial Bandits, J. Mach. Learn. Res. 22(28), 2021; arXiv:1807.07623v6. https://arxiv.org/abs/1807.07623
  • J. Abernethy, C. Lee, A. Tewari, Fighting Bandits with a New Kind of Smoothness, NeurIPS 2015. https://arxiv.org/abs/1505.00340
  • A. Agarwal, H. Luo, B. Neyshabur, R. E. Schapire, Corralling a Band of Bandit Algorithms, COLT 2017. https://arxiv.org/abs/1612.06246
  • J.-Y. Audibert, S. Bubeck, Minimax Policies for Adversarial and Stochastic Bandits, COLT 2009. https://www.learningtheory.org/colt2009/papers/024.pdf
  • P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The Nonstochastic Multiarmed Bandit Problem, SIAM J. Comput. 32(1), 2002. https://doi.org/10.1137/S0097539701398375
9 thms2 active usersReviewed
Machine Learning·Captain: mikedeng1

An Optimal Algorithm for Stochastic and Adversarial Bandits I: Tsallis-INF Has Square-Root Adversarial Pseudo-Regret and Logarithmic Pseudo-Regret Under a Self-Bounding ConstraintResearch Paper

Motivation

A multi-armed bandit learner repeatedly chooses one of several actions, observes only the loss of the chosen action, and tries to perform nearly as well as a single fixed action selected in hindsight. Two common loss models make different demands on the learner. In a stochastic model, each arm has a stable mean loss and the learner can gradually distinguish the best arm. In an adversarial model, losses may change with time and even respond to previous choices. A useful bandit algorithm should handle both without first being told which model generated the losses.

Zimmert and Seldin's Tsallis-INF paper analyzes one algorithm in both regimes. Its Theorem 1 gives a square-root guarantee against arbitrary adversarial losses and a logarithmic guarantee when the regret satisfies a self-bounding constraint. The latter condition includes the usual stochastic case with a unique best arm and also permits some adversarial deviations. This mission formalizes the reduced-variance (RV) estimator part of that theorem and six supporting statements from its analysis.

Setting

There are K≥1K\ge1K≥1 arms and rounds t=1,2,…t=1,2,\ldotst=1,2,…. At round ttt, the environment supplies a loss ℓt,i∈[0,1]\ell_{t,i}\in[0,1]ℓt,i​∈[0,1] for each arm iii. The learner draws an arm ItI_tIt​ from a probability vector wtw_twt​ and observes only ℓt,It\ell_{t,I_t}ℓt,It​​. The environment can base its current losses on the actions from earlier rounds. It may also randomize: a seed ω\omegaω records its internal random choices, while its response to a history remains adaptive. The learner's random actions are then drawn successively from its history-dependent weight vectors. Expectations below average over both sources of randomness.

The pseudo-regret at horizon TTT compares the learner's expected total loss with the lowest expected total loss of a fixed arm:

Reg⁡T=E ⁣[∑t=1Tℓt,It]−min⁡iE ⁣[∑t=1Tℓt,i].\operatorname{Reg}_T =\mathbb E\!\left[\sum_{t=1}^{T}\ell_{t,I_t}\right] -\min_i\mathbb E\!\left[\sum_{t=1}^{T}\ell_{t,i}\right].RegT​=E[t=1∑T​ℓt,It​​]−imin​E[t=1∑T​ℓt,i​].

For the algorithm studied here, L^t−1\widehat L_{t-1}Lt−1​ is the vector of estimated losses accumulated before round ttt. The symmetric half-Tsallis regularizer is

Ψt(w)=−4ηt−1∑i=1K(wi−12wi),ηt=4t.\Psi_t(w)=-4\eta_t^{-1}\sum_{i=1}^{K}\left(\sqrt{w_i}-\tfrac12w_i\right), \qquad \eta_t=\frac4{\sqrt t}.Ψt​(w)=−4ηt−1​i=1∑K​(wi​​−21​wi​),ηt​=t​4​.

The vector wtw_twt​ maximizes ⟨w,−L^t−1⟩−Ψt(w)\langle w,-\widehat L_{t-1}\rangle-\Psi_t(w)⟨w,−Lt−1​⟩−Ψt​(w) over the probability simplex. With the RV loss estimator, arm iii has baseline Bt(i)=121{wt,i≥ηt2}B_t(i)=\tfrac12\mathbf 1\{w_{t,i}\ge\eta_t^2\}Bt​(i)=21​1{wt,i​≥ηt2​} and estimate ℓ^t,i=1{It=i}(ℓt,i−Bt(i))/wt,i+Bt(i)\widehat\ell_{t,i}=\mathbf 1\{I_t=i\}(\ell_{t,i}-B_t(i))/w_{t,i}+B_t(i)ℓt,i​=1{It​=i}(ℓt,i​−Bt​(i))/wt,i​+Bt​(i). This is an estimator based on the one observed loss, even though its update is a vector.

The self-bounding condition chooses gaps Δi∈[0,1]\Delta_i\in[0,1]Δi​∈[0,1] with exactly one zero, at i∗i^*i∗, and a constant C≥0C\ge0C≥0, as defined in Section 2. It requires

Reg⁡T≥E ⁣[∑t=1T∑i≠i∗wt,iΔi]−C.\operatorname{Reg}_T\ge \mathbb E\!\left[\sum_{t=1}^{T}\sum_{i\ne i^*}w_{t,i}\Delta_i\right]-C.RegT​≥E​t=1∑T​i=i∗∑​wt,i​Δi​​−C.

The gaps measure how costly it is to place weight on each non-best arm. In a stochastic bandit with a unique best arm, the usual expected-loss gaps give this relation with C=0C=0C=0 Zimmert and Seldin, §2 and §4.1.

Formalization targets

Adversarial guarantee

The first target is an upper bound for every bounded, randomized adaptive adversary and every T≥1T\ge1T≥1:

Reg⁡T≤2KT+14Klog⁡T+16.\operatorname{Reg}_T\le 2\sqrt{KT}+14K\log T+16.RegT​≤2KT​+14KlogT+16.

The paper prints 10Klog⁡T10K\log T10KlogT in Theorem 1's display. Its proof yields 14Klog⁡T14K\log T14KlogT, the coefficient formalized here; the difference is recorded in the moderation notes. The theorem's other displayed bounds retain their printed constants.

Self-bounding guarantee

For K≥2K\ge2K≥2, set Δmin⁡=min⁡i≠i∗Δi\Delta_{\min}=\min_{i\ne i^*}\Delta_iΔmin​=mini=i∗​Δi​ and

X=∑i≠i∗log⁡T+3Δi+2Δmin⁡.X=\sum_{i\ne i^*}\frac{\log T+3}{\Delta_i}+\frac2{\Delta_{\min}}.X=i=i∗∑​Δi​logT+3​+Δmin​2​.

Under the self-bounding condition, the same algorithm must satisfy

Reg⁡T≤X+28Klog⁡T+32K+32+C.\operatorname{Reg}_T\le X+28K\log T+\tfrac32\sqrt K+32+C.RegT​≤X+28KlogT+23​K​+32+C.

When C>XC>XC>X, it must also satisfy Reg⁡T≤2XC+28Klog⁡T+32K+32\operatorname{Reg}_T\le2\sqrt{XC}+28K\log T+\tfrac32\sqrt K+32RegT​≤2XC​+28KlogT+23​K​+32. The goal states both clauses together with the adversarial guarantee. Its six milestones give a pathwise stability bound from Lemma 19, two per-round stability bounds from Lemma 11, two accumulated penalty bounds from Lemma 12, and a finite tail-sum estimate from Lemma 15.

Significance

The adversarial clause limits the cost of learning even when no arm has a persistent advantage. The self-bounding clause gives gap-sensitive logarithmic growth when the learner receives enough information to identify a unique best arm, while allowing the additive deviation CCC. The two guarantees apply to the same weight rule and the same RV estimator Zimmert and Seldin, Theorem 1.

The paper proves its RV claims in prose and equations. A complete Lean proof would make the algorithm's randomized adaptive loss model, its path law, the estimator and the exact constants explicit in machine-checked form. The local theorem statements and definitions in this proposal compile with placeholder theorem proofs; the mission's mathematical results are therefore targets for formalization, not results already machine checked here. The setting definitions may also support formal analyses of other bandit algorithms with adaptive randomized losses.

Difficulty

The learner sees only one loss at each round, so the weight vector depends on estimates whose individual coordinates can be much larger than the observed losses. Bounding the change in the regularized potential by a simple worst-case estimate loses the dependence on the arm weights that the gap-sensitive result needs. The RV estimator reduces this difficulty but can take negative values, which changes the stability calculation. The self-bounding guarantee also compares the theorem's zero-gap arm with a best arm chosen in expectation at horizon TTT; for C>0C>0C>0 these need not coincide. That comparator issue is documented for audit.

Formalization scope

The arms are Fin K, with the paper's first arm represented by Lean index zero. Histories are functions on natural-number rounds; entry zero is unused. A referenced published adversarial protocol supplies bounded losses and dependence on past actions. A probability measure on adversary seeds and a finite sum over action paths define the run law. The algorithm is an argmax predicate whose estimates are computed from its own weights and the observed loss. The real-valued simplex supremum defines Φt\Phi_tΦt​; K≥1K\ge1K≥1 makes that simplex nonempty, and its compactness bounds the objective. The goal requires measurable seeded losses, a probability measure, T≥1T\ge1T≥1, C≥0C\ge0C≥0 in the self-bounding regime, and K≥2K\ge2K≥2 where Δmin⁡\Delta_{\min}Δmin​ is used. The penalty milestones take conditionally unbiased estimators that depend only on actions through their own round, are measurable, and have finite expected absolute size, as required for a sequential run and genuine expectations. Positive, non-increasing learning rates are explicit.

The argmax is taken over every simplex weight vector, and the run law includes every action path with its product probability. These choices rule out an arbitrary weight rule or a zero-valued integral masquerading as the algorithm. The development needs reusable facts about the simplex, measurability and integrability of the finite-path law, positivity of Tsallis-INF weights, and bounds on the real potential. Contributions that establish those facts or close the six milestone theorems fit this mission.

Selected references

  • Julian Zimmert and Yevgeny Seldin, Tsallis-INF: An Optimal Algorithm for Stochastic and Adversarial Bandits, Journal of Machine Learning Research 22(28), 2021; formalization follows arXiv:1807.07623v6, pp. 5–10, 18–21.
9 thms2 active usersReviewed
Information TheoryMachine LearningProbability·Captain: mikedeng1

A Tutorial on Thompson Sampling I: Any Algorithm Whose Information Ratio Is at Most Γ̄ Has Expected Regret at Most √(Γ̄·H(x*)·T)Research Paper

Motivation

Thompson sampling (TS) chooses each action with the posterior probability that it is optimal. Its practical success in online advertising, recommendation and experimentation raised the question of why it works and when it does not. The tutorial of Russo, Van Roy, Kazerouni, Osband and Wen (Found. Trends Mach. Learn. 11(1), 2018) answers part of that question in §8.1 with an information-theoretic regret bound due to Russo and Van Roy (JMLR 17, 2016). The bound applies to every algorithm, not only TS. It reduces the analysis of a particular algorithm to one quantity, the information ratio: the squared expected regret of a period divided by the information the period yields about the optimal action.

Timeline:

  • 2016: Russo and Van Roy, An information-theoretic analysis of Thompson sampling (JMLR 17), introduce the information ratio with the regret and the mutual information both conditioned on a realised history, and prove the regret bound and bounds on the ratio for TS (for example ∣X∣/2|\mathcal X|/2∣X∣/2 for ∣X∣|\mathcal X|∣X∣-armed bandits and d/2d/2d/2 for linear bandits).
  • 2018: Russo and Van Roy, Learning to optimize via information-directed sampling (Oper. Res. 66), design algorithms that minimise the information ratio directly.
  • 2018: Russo and Van Roy, Satisficing in time-sensitive bandit learning (arXiv:1803.02855), observe that the same bounds hold with the information ratio averaged over histories. This is the form (8.7) the tutorial uses (footnote 1, p. 75).
  • 2018: the tutorial gives the bound as (8.8), with a three-line proof on p. 76 whose last step is cited from the 2016 paper.

Setting

An agent acts in periods t=1,2,…t=1,2,\dotst=1,2,…. In each period it selects an action xtx_txt​ from a finite set X\mathcal XX and observes an outcome yty_tyt​ from a finite set Y\mathcal YY. An unknown parameter θ\thetaθ, taking values in a measurable space Θ\ThetaΘ, has a prior distribution PPP. Given θ\thetaθ and the action xxx, the outcome is drawn from a probability vector qθ(⋅∣x)q_\theta(\cdot\mid x)qθ​(⋅∣x) that depends measurably on θ\thetaθ. The agent receives the reward r(yt)r(y_t)r(yt​) for a known function rrr. The mean reward of action xxx is

μ(x,θ)=∑yqθ(y∣x) r(y),\mu(x,\theta)=\sum_{y}q_\theta(y\mid x)\,r(y),μ(x,θ)=y∑​qθ​(y∣x)r(y),

and the optimal action x∗=x∗(θ)x^*=x^*(\theta)x∗=x∗(θ) is a measurable selector of arg⁡max⁡xμ(x,θ)\arg\max_x\mu(x,\theta)argmaxx​μ(x,θ). Ties may be broken in any measurable way, and every result holds for every selector.

The history Ht\mathbb H_tHt​ is the list (x1,y1),…,(xt,yt)(x_1,y_1),\dots,(x_t,y_t)(x1​,y1​),…,(xt​,yt​). An algorithm π\piπ assigns to every history a probability vector over X\mathcal XX, from which the next action is drawn. The joint law of (θ,Ht)(\theta,\mathbb H_t)(θ,Ht​) is P(dθ)∏s≤tπ(xs∣Hs−1) qθ(ys∣xs)P(d\theta)\prod_{s\le t}\pi(x_s\mid\mathbb H_{s-1})\,q_\theta(y_s\mid x_s)P(dθ)∏s≤t​π(xs​∣Hs−1​)qθ​(ys​∣xs​), and every expectation below is taken under it. The expected cumulative regret, or Bayesian regret, is

E[Regret(T)]=E[∑t=1T(μ(x∗,θ)−μ(xt,θ))].\mathbb E[\mathrm{Regret}(T)]=\mathbb E\Big[\sum_{t=1}^T\big(\mu(x^*,\theta)-\mu(x_t,\theta)\big)\Big].E[Regret(T)]=E[t=1∑T​(μ(x∗,θ)−μ(xt​,θ))].

The entropy of the prior distribution of x∗x^*x∗ is H(x∗)=−∑aP(x∗=a)log⁡P(x∗=a)H(x^*)=-\sum_a\mathbb P(x^*=a)\log\mathbb P(x^*=a)H(x∗)=−∑a​P(x∗=a)logP(x∗=a). The conditional mutual information I(x∗;(xt,yt)∣Ht−1)I(x^*;(x_t,y_t)\mid\mathbb H_{t-1})I(x∗;(xt​,yt​)∣Ht−1​) is the expected information that the period-ttt observation carries about x∗x^*x∗ given the past, averaged over the past. The information ratio of period ttt is (8.7):

Γt=(E[μ(x∗,θ)−μ(xt,θ)])2I(x∗;(xt,yt)∣Ht−1).\Gamma_t=\frac{\big(\mathbb E[\mu(x^*,\theta)-\mu(x_t,\theta)]\big)^2}{I(x^*;(x_t,y_t)\mid\mathbb H_{t-1})}.Γt​=I(x∗;(xt​,yt​)∣Ht−1​)(E[μ(x∗,θ)−μ(xt​,θ)])2​.

Formalization targets

Goal: (8.8)

For every model and every algorithm, every horizon TTT and every Γˉ≥0\bar\Gamma\ge0Γˉ≥0 with (E[μ(x∗,θ)−μ(xt,θ)])2≤Γˉ I(x∗;(xt,yt)∣Ht−1)\big(\mathbb E[\mu(x^*,\theta)-\mu(x_t,\theta)]\big)^2\le\bar\Gamma\,I(x^*;(x_t,y_t)\mid\mathbb H_{t-1})(E[μ(x∗,θ)−μ(xt​,θ)])2≤ΓˉI(x∗;(xt​,yt​)∣Ht−1​) for t=1,…,Tt=1,\dots,Tt=1,…,T,

E[Regret(T)]≤Γˉ H(x∗) T.\mathbb E[\mathrm{Regret}(T)]\le\sqrt{\bar\Gamma\,H(x^*)\,T}.E[Regret(T)]≤ΓˉH(x∗)T​.

When every mutual information is positive, the least such Γˉ\bar\GammaΓˉ is max⁡t≤TΓt\max_{t\le T}\Gamma_tmaxt≤T​Γt​, which is the tutorial's Γˉ\bar\GammaΓˉ. A companion theorem states that literal form under the positivity hypothesis.

Milestones, in the order of the p. 76 proof

  1. Regret is additive over periods:
E[Regret(T)]=∑t=1TE[μ(x∗,θ)−μ(xt,θ)].\mathbb E[\mathrm{Regret}(T)]=\sum_{t=1}^T\mathbb E[\mu(x^*,\theta)-\mu(x_t,\theta)].E[Regret(T)]=t=1∑T​E[μ(x∗,θ)−μ(xt​,θ)].
  1. The Jensen (Cauchy–Schwarz) step: if δt2≤ΓˉIt\delta_t^2\le\bar\Gamma I_tδt2​≤ΓˉIt​ for every ttt and ∑tIt≤H\sum_tI_t\le H∑t​It​≤H, then ∑tδt≤TΓˉH\sum_t\delta_t\le\sqrt{T\bar\Gamma H}∑t​δt​≤TΓˉH​. This milestone is the published, proved theorem BanditAlgorithm.information_ratio_cumulative_bound_signed. It states the step in the form the proof uses, with the entropy budget as a hypothesis.
  2. The entropy budget:
∑t=1TI(x∗;(xt,yt)∣Ht−1)≤H(x∗).\sum_{t=1}^T I\big(x^*;(x_t,y_t)\mid\mathbb H_{t-1}\big)\le H(x^*).t=1∑T​I(x∗;(xt​,yt​)∣Ht−1​)≤H(x∗).

Significance

The result. (8.8) separates the regret analysis of an algorithm into two independent problems. One is a per-period bound on the information ratio, which depends on the structure of the problem and the algorithm. The other is the entropy of the optimal action, which depends only on the prior. Combined with the bound Γˉ≤∣X∣/2\bar\Gamma\le|\mathcal X|/2Γˉ≤∣X∣/2 that Russo and Van Roy (2016) prove for TS on ∣X∣|\mathcal X|∣X∣-armed bandits, and with H(x∗)≤log⁡∣X∣H(x^*)\le\log|\mathcal X|H(x∗)≤log∣X∣, it gives ∣X∣ Tlog⁡∣X∣/2\sqrt{|\mathcal X|\,T\log|\mathcal X|/2}∣X∣Tlog∣X∣/2​. On the shortest-path problem of p. 76, Γˉ≤d/2\bar\Gamma\le d/2Γˉ≤d/2 makes the regret depend on the number ddd of edges and on H(x∗)H(x^*)H(x∗), not on the exponentially large number of paths. The same inequality is the design criterion of information-directed sampling, which chooses actions to minimise the ratio.

Formalizing it. The bound and its proof are known. The work here is to make the probabilistic model explicit, with a general parameter space, an outcome kernel and randomized algorithms; to formalize the per-period decomposition of the regret and the chain-rule argument behind the entropy budget, which the tutorial cites rather than proves; and to obtain (8.8) for every algorithm in one statement. The Proved platform results for Lattimore and Szepesvári's Bayesian adversarial bandit (Theorem 36.5 and its chain-rule lemmas) are about a different model: one algorithm (TS), the best arm in hindsight of a reward matrix, and the budget log⁡k\log klogk. To our knowledge, (8.8) itself has not been formalized.

Difficulty

The Cauchy–Schwarz step is elementary and already proved on the platform. Milestone 1 is bookkeeping: the cumulative regret integrates over histories of length TTT, while the period-ttt term integrates over histories of length ttt, and later periods must be integrated out.

The substance is the entropy budget. The obvious attempt bounds each period's information by H(x∗)H(x^*)H(x∗), which loses a factor TTT. The bound is uniform in TTT only because the per-period informations telescope: their sum is the information that the whole history carries about x∗x^*x∗, which is at most the entropy of x∗x^*x∗. Each step requires conditional distributions of x∗x^*x∗ given histories, where θ\thetaθ lives in a general measurable space and is integrated against the prior. Zero-probability histories must also be handled consistently with the convention 0log⁡0=00\log0=00log0=0.

Formalization scope

  • X\mathcal XX and Y\mathcal YY are finite types; Θ\ThetaΘ is an arbitrary measurable space with a probability measure PPP. The tutorial allows infinite action sets and general outcomes. The finite specialization makes H(x∗)H(x^*)H(x∗) and every mutual information a finite sum. The kernel qθ(⋅∣x)q_\theta(\cdot\mid x)qθ​(⋅∣x) of §4 replaces the noise representation yt=g(xt,θ,wt)y_t=g(x_t,\theta,w_t)yt​=g(xt​,θ,wt​) of p. 70; both describe the same laws.
  • Standing hypotheses: qθ(y∣x)≥0q_\theta(y\mid x)\ge0qθ​(y∣x)≥0, ∑yqθ(y∣x)=1\sum_yq_\theta(y\mid x)=1∑y​qθ​(y∣x)=1, measurability of θ↦qθ(y∣x)\theta\mapsto q_\theta(y\mid x)θ↦qθ​(y∣x), measurability of the level sets of x∗x^*x∗, and μ(x,θ)≤μ(x∗(θ),θ)\mu(x,\theta)\le\mu(x^*(\theta),\theta)μ(x,θ)≤μ(x∗(θ),θ). They make every integrand bounded and measurable, so no integrability hypothesis is added.
  • An algorithm is a behavioural policy, giving a probability vector over actions for each history. Under perfect recall this is equivalent to an algorithm with internal randomization. Periods are 0-based in Lean: Lean period sss is tutorial period t=s+1t=s+1t=s+1.
  • Logarithms are natural in both III and HHH. The conditional mutual information is defined directly as an average of Kullback–Leibler divergences, with joint probabilities. It is not defined as a difference of unconditional mutual informations: that would make the chain rule true by definition and empty milestone 3. Γt\Gamma_tΓt​ is never written as a quotient in the goal, so a period with zero information cannot turn the bound into one with Γˉ=0\bar\Gamma=0Γˉ=0.
  • Needed infrastructure: marginalisation over later periods of the history law, the chain rule of conditional mutual information for finite variables averaged against a general prior, and I(x∗;HT)≤H(x∗)I(x^*;\mathbb H_T)\le H(x^*)I(x∗;HT​)≤H(x∗). The Proved platform results InformationTheory.kernel_average_categorical_kl_le_marginal_entropy and its _general variant (average KL to the mixture is at most the mixture's entropy), and the adversarial-bandit lemmas BanditAlgorithm.bayesian_ts_conditional_information_gain_chain_rule and bayesian_history_mutualInformation_endpoint_bound, are related tools. A chain-rule library for this history model would be reusable beyond this mission, for example for information-directed sampling. Proofs of auxiliary lemmas are welcome.

The tutorial's argument is on pp. 75–76. The tutorial cites Russo and Van Roy (2016) for the original results, including the entropy budget.

Selected references

  • D. J. Russo, B. Van Roy, A. Kazerouni, I. Osband, Z. Wen, A Tutorial on Thompson Sampling, Foundations and Trends in Machine Learning 11(1):1–96, 2018. https://doi.org/10.1561/2200000070
  • D. Russo, B. Van Roy, An Information-Theoretic Analysis of Thompson Sampling, Journal of Machine Learning Research 17(68):1–30, 2016. https://jmlr.org/papers/v17/14-087.html (arXiv: https://arxiv.org/abs/1403.5341)
  • D. Russo, B. Van Roy, Learning to Optimize via Information-Directed Sampling, Operations Research 66(1):230–252, 2018. https://doi.org/10.1287/opre.2017.1663
  • D. Russo, B. Van Roy, Satisficing in Time-Sensitive Bandit Learning, arXiv preprint, 2018. https://arxiv.org/abs/1803.02855
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 36. https://doi.org/10.1017/9781108571401
5 thms2 active usersReviewed
Machine LearningProbabilityStatistics·Captain: mikedeng1

Thompson Sampling: An Asymptotically Optimal Finite-Time Analysis: Bernoulli Thompson Sampling Has Regret (1+ε)Σ Δ_a(ln T + ln ln T)/K(μ_a, μ*) + CResearch Paper

Motivation

Thompson Sampling is the oldest bandit algorithm: Thompson proposed it in 1933 for allocating patients between two treatments (Thompson 1933). It keeps a posterior distribution over the unknown mean reward of every action, draws one sample from each posterior, and plays the action whose sample is largest. It is simple, widely used, and in experiments competitive with index policies designed for optimality. For decades it had no matching theoretical guarantee.

The benchmark for a stochastic bandit algorithm is the lower bound of Lai and Robbins (1985): every consistent policy draws a suboptimal arm aaa at least (1−o(1))ln⁡T/K(μa,μ∗)(1-o(1))\ln T/K(\mu_a,\mu^*)(1−o(1))lnT/K(μa​,μ∗) times in TTT rounds, where KKK is the Kullback–Leibler divergence. A policy that attains this rate is called asymptotically optimal.

Timeline.

  • 1933: Thompson introduces the algorithm, without analysis.
  • 1985: Lai and Robbins prove the lower bound and construct asymptotically optimal (but complex) policies.
  • 2011–2012: KL-UCB (Garivier and Cappé 2011) and Bayes-UCB (Kaufmann, Cappé and Garivier 2012) attain the bound for Bernoulli rewards with simpler index rules.
  • 2012: Agrawal and Goyal give the first logarithmic regret bound for Thompson Sampling, O((∑a1/Δa2)2ln⁡T)O\big((\sum_a 1/\Delta_a^2)^2\ln T\big)O((∑a​1/Δa2​)2lnT), which does not have the optimal constant.
  • 2012: Kaufmann, Korda and Munos (arXiv:1205.4217) prove that Thompson Sampling with uniform priors is asymptotically optimal for Bernoulli rewards, with a finite-time bound. This mission formalizes that result.

Setting

There are K≥2K\ge2K≥2 arms. Arm aaa yields reward 111 with probability μa∈(0,1)\mu_a\in(0,1)μa​∈(0,1) and 000 otherwise. Arm 111 is the unique optimal arm: μ∗=μ1>μa\mu^*=\mu_1>\mu_aμ∗=μ1​>μa​ for every a≠1a\neq1a=1. The gap of arm aaa is Δa=μ∗−μa\Delta_a=\mu^*-\mu_aΔa​=μ∗−μa​, and μ2\mu_2μ2​ denotes the largest mean among the suboptimal arms.

Thompson Sampling with uniform priors. Let Na,tN_{a,t}Na,t​ be the number of times arm aaa has been drawn before round ttt and Sa,tS_{a,t}Sa,t​ the number of rewards equal to 111 among those draws. With a uniform prior, the posterior of μa\mu_aμa​ is Beta(Sa,t+1, Na,t−Sa,t+1)\mathrm{Beta}(S_{a,t}+1,\,N_{a,t}-S_{a,t}+1)Beta(Sa,t​+1,Na,t​−Sa,t​+1). In round ttt the algorithm draws, independently, a sample θa,t\theta_{a,t}θa,t​ from each posterior, plays At=arg⁡max⁡aθa,tA_t=\arg\max_a\theta_{a,t}At​=argmaxa​θa,t​, and observes the reward of AtA_tAt​.

The regret after TTT rounds is

R(T)=Tμ∗−E[∑t=1TRt]=∑aΔa E[Na,T],\mathcal R(T)=T\mu^*-\mathbb E\Big[\sum_{t=1}^T R_t\Big]=\sum_a\Delta_a\,\mathbb E[N_{a,T}],R(T)=Tμ∗−E[t=1∑T​Rt​]=a∑​Δa​E[Na,T​],

where Na,TN_{a,T}Na,T​ now counts the draws of aaa in rounds 1,…,T1,\dots,T1,…,T. The Bernoulli divergence is K(p,q)=pln⁡pq+(1−p)ln⁡1−p1−qK(p,q)=p\ln\frac pq+(1-p)\ln\frac{1-p}{1-q}K(p,q)=plnqp​+(1−p)ln1−q1−p​.

The analysis compares the Thompson samples with two index rules. For an arm with SSS successes in NNN draws, at round ttt of a horizon TTT, the KL-UCB index is u=sup⁡{x∈[S/N,1):N K(S/N,x)≤ln⁡t+ln⁡ln⁡T}u=\sup\{x\in[S/N,1):N\,K(S/N,x)\le\ln t+\ln\ln T\}u=sup{x∈[S/N,1):NK(S/N,x)≤lnt+lnlnT}, and the Bayes-UCB index qqq is the quantile of order 1−1tln⁡T1-\frac1{t\ln T}1−tlnT1​ of the posterior Beta(S+1,N−S+1)\mathrm{Beta}(S+1,N-S+1)Beta(S+1,N−S+1).

Formalization targets

Goal: Theorem 1 (p. 3)

For every ϵ>0\epsilon>0ϵ>0 there is a constant CCC, depending on ϵ\epsilonϵ and the instance, such that for every horizon TTT,

R(T)≤(1+ϵ)∑a: μa≠μ∗Δa(ln⁡T+ln⁡ln⁡T)K(μa,μ∗)+C.\mathcal R(T)\le(1+\epsilon)\sum_{a:\,\mu_a\neq\mu^*}\frac{\Delta_a(\ln T+\ln\ln T)}{K(\mu_a,\mu^*)}+C.R(T)≤(1+ϵ)a:μa​=μ∗∑​K(μa​,μ∗)Δa​(lnT+lnlnT)​+C.

Only the existence of CCC is asserted; its value is not fixed, so improvements of the lower-order terms do not invalidate the goal.

Milestones

  1. Eq. (1): R(T)=Tμ∗−E[∑t=1TRt]=∑aΔa E[Na,T]\mathcal R(T)=T\mu^*-\mathbb E[\sum_{t=1}^T R_t]=\sum_a\Delta_a\,\mathbb E[N_{a,T}]R(T)=Tμ∗−E[∑t=1T​Rt​]=∑a​Δa​E[Na,T​].
  2. Theorem 2 (p. 4): for each suboptimal aaa and ϵ>0\epsilon>0ϵ>0, E[Na,T]≤(1+ϵ)ln⁡T+ln⁡ln⁡TK(μa,μ1)+C\mathbb E[N_{a,T}]\le(1+\epsilon)\frac{\ln T+\ln\ln T}{K(\mu_a,\mu_1)}+CE[Na,T​]≤(1+ϵ)K(μa​,μ1​)lnT+lnlnT​+C.
  3. Proposition 1 (p. 4): there is b∈(0,1)b\in(0,1)b∈(0,1) with ∑t≥1P(N1,t≤tb)<∞\sum_{t\ge1}\mathbb P(N_{1,t}\le t^b)<\infty∑t≥1​P(N1,t​≤tb)<∞.
  4. Display (4) (p. 5): E[Na,T]≤A+B+2\mathbb E[N_{a,T}]\le A+B+2E[Na,T​]≤A+B+2, an under-estimation term AAA for arm 111 plus a KL-UCB term BBB.
  5. Lemma 1 (p. 5): ∑tP(θ1,t≤μ1−6ln⁡t/N1,t)≤N0(b)+3+Cb\sum_t\mathbb P\big(\theta_{1,t}\le\mu_1-\sqrt{6\ln t/N_{1,t}}\big)\le N_0(b)+3+C_b∑t​P(θ1,t​≤μ1​−6lnt/N1,t​​)≤N0​(b)+3+Cb​.
  6. Lemma 2 (p. 6): B≤(1+ϵ)ln⁡T+ln⁡ln⁡TK(μa,μ1)+DB\le(1+\epsilon)\frac{\ln T+\ln\ln T}{K(\mu_a,\mu_1)}+DB≤(1+ϵ)K(μa​,μ1​)lnT+lnlnT​+D for large TTT.
  7. Lemma 3 (p. 9), in its analytic form (§3.4): a bound on the probability that the optimal arm's samples stay below μ2+δ\mu_2+\deltaμ2​+δ for fff rounds.
  8. Lemma 4 (p. 9): saturated suboptimal arms rarely produce samples above μa+δa\mu_a+\delta_aμa​+δa​.
  9. §2 (p. 3): the Beta–Binomial identity (referenced) and the comparison q<uq<uq<u of the two indices.

Significance

The result. Theorem 1 shows that the leading constant of Thompson Sampling's regret equals the Lai–Robbins constant, so no consistent policy does asymptotically better on Bernoulli bandits. It settled a question open since 1933 and is the starting point for later optimality proofs of Thompson Sampling for exponential families and Gaussian rewards. Proposition 1, a summable tail bound on the event that the optimal arm is under-sampled, is the reusable core: it is a deviation inequality for the number of draws of the optimal arm, which a bound on its expectation does not imply.

The formalization. The result is proved on paper; no machine-checked proof of an optimal-constant bound for Bernoulli Thompson Sampling exists. The platform already has the Gaussian frequentist analysis of Lattimore and Szepesvári (Theorem 36.3) and the non-optimal Agrawal–Goyal bound. This mission adds the Bernoulli, Beta-posterior case with the KL constant, the KL-UCB and Bayes-UCB indices with the ln⁡t+ln⁡ln⁡T\ln t+\ln\ln Tlnt+lnlnT exploration rate, and the optimal-arm tail bound. Corrected statements are part of the output: the explicit constant DDD printed at the end of Lemma 2's proof is too small, the constant Cλ,μ1,μ2C_{\lambda,\mu_1,\mu_2}Cλ,μ1​,μ2​​ printed for Lemma 3 has the wrong sign, and Lemma 3 as printed quantifies over arbitrary random intervals, which its proof does not support.

Difficulty

The standard proof for an optimistic index policy bounds the draws of a suboptimal arm by an under-estimation term ∑tP(l1,t<μ1)\sum_t\mathbb P(l_{1,t}<\mu_1)∑t​P(l1,t​<μ1​) and a concentration term. For Thompson Sampling the under-estimation term is not small: once the posterior of arm 111 is concentrated, P(θ1,t<μ1)\mathbb P(\theta_{1,t}<\mu_1)P(θ1,t​<μ1​) is close to 1/21/21/2 in every round. Comparing θ1,t\theta_{1,t}θ1,t​ with a lower confidence bound μ1−6ln⁡t/N1,t\mu_1-\sqrt{6\ln t/N_{1,t}}μ1​−6lnt/N1,t​​ instead only helps if N1,tN_{1,t}N1,t​ is large with overwhelming probability, and a bound on E[N1,t]\mathbb E[N_{1,t}]E[N1,t​] does not give that.

Proposition 1 supplies it, and it carries most of the difficulty. It must control long stretches of rounds in which arm 111 is never drawn while several suboptimal arms compete, and it needs the samples of arm 111 conditioned on its successes at a random time while the arm is not played, an optional-skipping step that the paper leaves implicit and that is the main measure-theoretic obstacle in Lean.

Formalization scope

Representation. The algorithm is the published Thompson Sampling run (AgrawalGoyalTS_TwoArmed_ThompsonSampling) on the published Bernoulli bandit (bernoulliRelativeEntropy). That run is Agrawal–Goyal's Algorithm 2, which passes each reward through a Bernoulli trial of success probability equal to the reward; for {0,1}\{0,1\}{0,1} rewards the trial returns the reward almost surely, so the posterior is exactly the paper's. Probabilities are values of tsLaw in [0,∞][0,\infty][0,∞], expectations of counts and the regret are lower integrals in [0,∞][0,\infty][0,∞], and every bound compares with the embedding of a real right-hand side.

Conventions.

  • Lean arm 000 is the paper's arm 111. Lean round ttt is the paper's round t+1t+1t+1; Na,tN_{a,t}Na,t​, Sa,tS_{a,t}Sa,t​ are the counts when θa,t\theta_{a,t}θa,t​ is drawn, and the paper's ln⁡t\ln tlnt is ln⁡(t+1)\ln(t+1)ln(t+1) at Lean round ttt.
  • 6ln⁡t/N1,t=∞\sqrt{6\ln t/N_{1,t}}=\infty6lnt/N1,t​​=∞ when N1,t=0N_{1,t}=0N1,t​=0 (p. 4), encoded by cases.
  • The KL-UCB supremum ranges over x<1x<1x<1, because the real-valued divergence at q=1q=1q=1 is a finite junk value; u=1u=1u=1 when N=0N=0N=0 or S=NS=NS=N, cases the page leaves undefined.
  • Every constant with a printed dependence list (CCC, DDD, NNN, bbb, CbC_bCb​) is chosen after the instance (and ϵ\epsilonϵ, the arm) and before TTT.

Added hypotheses and corrections.

  • 0<μa<10<\mu_a<10<μa​<1 for every arm, and K≥2K\ge2K≥2: not stated in the paper but used by its proof (it divides by μ1(1−μ1)\mu_1(1-\mu_1)μ1​(1−μ1​), and K(μa,1)=∞K(\mu_a,1)=\inftyK(μa​,1)=∞).
  • Arm 111 is the unique optimal arm (the paper's standing assumption of §2; its reduction of several optimal arms to one is cited, not proved).
  • Display (4) and the index comparison are stated for T≥3T\ge3T≥3 (the page's T≥eT\ge eT≥e) and rounds 1≤t≤T1\le t\le T1≤t≤T.
  • Lemma 2 asserts only the existence of DDD; Lemma 3 is formalized as the analytic bound of §3.4 with the sign-corrected constant; Lemma 1's CbC_bCb​ is read with the pre-draw count.

Trivializations ruled out. Thompson Sampling is not characterized by a predicate that an arbitrary policy could satisfy: it is the published run, which fixes the posterior draws, the argmax and the updates. The constant is quantified as ∀ϵ ∃C ∀T\forall\epsilon\,\exists C\,\forall T∀ϵ∃C∀T, never ∀T ∃C\forall T\,\exists C∀T∃C, and no real number is extracted from a possibly infinite expectation.

Infrastructure and contributions. A complete development needs Beta–Binomial duality, Chernoff–Hoeffding bounds for binomial tails, optional skipping for the reward stacks of the played arms, and the KL-UCB counting argument. The Beta–Binomial identity is an open milestone shared with the Agrawal–Goyal mission. Proofs of any milestone, in particular Proposition 1, Lemma 4 and the analytic Lemma 3, are welcome; Lemma 3's bound and the index comparison are pure real analysis and reusable beyond bandits.

Selected references

  • E. Kaufmann, N. Korda, R. Munos, Thompson Sampling: An Asymptotically Optimal Finite Time Analysis, ALT 2012 (LNCS 7568); arXiv:1205.4217v2. https://arxiv.org/abs/1205.4217
  • W. R. Thompson, On the likelihood that one unknown probability exceeds another in view of the evidence of two samples, Biometrika 25, 1933. https://doi.org/10.2307/2332286
  • 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
  • S. Agrawal, N. Goyal, Analysis of Thompson Sampling for the multi-armed bandit problem, COLT 2012; arXiv:1111.1797. https://arxiv.org/abs/1111.1797
  • A. Garivier, O. Cappé, The KL-UCB algorithm for bounded stochastic bandits and beyond, COLT 2011; arXiv:1102.2490. https://arxiv.org/abs/1102.2490
  • E. Kaufmann, O. Cappé, A. Garivier, On Bayesian upper confidence bounds for bandit problems, AISTATS 2012. https://proceedings.mlr.press/v22/kaufmann12.html
17 thms2 active usersReviewed
Operations ResearchProbability·Captain: mikedeng1

Linearly Parameterized Bandits 2: Under Smooth Best Arm Response, the Phased Exploration and Greedy Exploitation Policy Has Regret at Most a₁(‖z‖ + 1/‖z‖)r√TResearch Paper

Motivation

In a linearly parameterized bandit, a decision maker repeatedly chooses an arm from a possibly infinite set of vectors and receives a noisy reward whose mean is linear in an unknown parameter. Classical bandit policies treat arms as independent and must try each arm, so their regret grows with the number of arms (Lai and Robbins 1985); in applications such as marketing, where similar products are expected to have similar sales, the linear structure lets one observation inform many arms, and the regret can be made independent of the number of arms. Rusmevichientong and Tsitsiklis (arXiv:0812.3465v2, Mathematics of Operations Research 2010) show that when the arms form the unit sphere of Rr\mathbb R^rRr, no policy has Bayes risk below order rTr\sqrt TrT​. This mission concerns their matching upper bound: a simple policy that alternates exploration and greedy exploitation in cycles of growing length attains regret of order rTr\sqrt TrT​ whenever the best arm depends smoothly on the parameter.

The linearly parameterized bandit was studied earlier by Abe and Long (1999), Auer (2002) and, independently of this paper, Dani, Hayes and Kakade (2008), whose policies rely on confidence regions for the parameter. The result here shows that for arm sets with a smooth best arm, such as balls and, by Polovinkin (1996), ellipsoids, a phase-based policy with a single least squares estimate per cycle suffices.

Setting

Let r≥2r \ge 2r≥2 and let Ur⊂Rr\mathcal U_r \subset \mathbb R^rUr​⊂Rr be a compact set of arms. Playing arm uuu in period ttt yields the reward

Xtu=u′Z+Wtu,X^u_t = u'Z + W^u_t,Xtu​=u′Z+Wtu​,

where Z∈RrZ \in \mathbb R^rZ∈Rr is an unknown parameter and the errors WtuW^u_tWtu​ are independent of each other and of ZZZ, identically distributed in ttt for each arm, with mean zero.

Assumption 1 fixes constants σ0,uˉ,λ0>0\sigma_0, \bar u, \lambda_0 > 0σ0​,uˉ,λ0​>0 that do not depend on rrr: (a) every error satisfies E[exWtu]≤ex2σ02/2\mathbb E[e^{xW^u_t}] \le e^{x^2\sigma_0^2/2}E[exWtu​]≤ex2σ02​/2 for all x∈Rx \in \mathbb Rx∈R; (b) every arm has ∥u∥≤uˉ\|u\| \le \bar u∥u∥≤uˉ, and Ur\mathcal U_rUr​ contains linearly independent arms b1,…,brb_1, \dots, b_rb1​,…,br​ with λmin⁡(∑kbkbk′)≥λ0\lambda_{\min}(\sum_k b_kb_k') \ge \lambda_0λmin​(∑k​bk​bk′​)≥λ0​.

The smooth best arm response condition SBAR(JJJ) requires that every z≠0z \ne 0z=0 have a unique best arm u∗(z)u^*(z)u∗(z), the maximizer of v′zv'zv′z over Ur\mathcal U_rUr​, and that ∥u∗(z)−u∗(y)∥≤J∥z−y∥\|u^*(z) - u^*(y)\| \le J\|z - y\|∥u∗(z)−u∗(y)∥≤J∥z−y∥ for unit vectors z,yz, yz,y.

The PEGE policy (Phased Exploration and Greedy Exploitation) runs in cycles c=1,2,…c = 1, 2, \dotsc=1,2,…. In cycle ccc it plays b1,…,brb_1, \dots, b_rb1​,…,br​ once each, computes the ordinary least squares estimate

Z^(c)=1c(∑k=1rbkbk′)−1∑s=1c∑k=1rbkXbk(s)\widehat Z(c) = \frac1c\Big(\sum_{k=1}^r b_kb_k'\Big)^{-1}\sum_{s=1}^c\sum_{k=1}^r b_k X^{b_k}(s)Z(c)=c1​(k=1∑r​bk​bk′​)−1s=1∑c​k=1∑r​bk​Xbk​(s)

from all exploration rewards so far, and then plays a greedy arm G(c)∈arg⁡max⁡v∈Urv′Z^(c)G(c) \in \arg\max_{v \in \mathcal U_r} v'\widehat Z(c)G(c)∈argmaxv∈Ur​​v′Z(c) for ccc periods, ties broken arbitrarily.

The regret given Z=zZ = zZ=z over TTT periods is Regret(z,T,PEGE)=∑t=1TE[max⁡v∈Urv′z−Ut′z∣Z=z]\mathrm{Regret}(z, T, \mathrm{PEGE}) = \sum_{t=1}^T \mathbb E[\max_{v \in \mathcal U_r} v'z - U_t'z \mid Z = z]Regret(z,T,PEGE)=∑t=1T​E[maxv∈Ur​​v′z−Ut′​z∣Z=z], where UtU_tUt​ is the arm played in period ttt, and the risk is Risk(T,PEGE)=E[Regret(Z,T,PEGE)]\mathrm{Risk}(T, \mathrm{PEGE}) = \mathbb E[\mathrm{Regret}(Z, T, \mathrm{PEGE})]Risk(T,PEGE)=E[Regret(Z,T,PEGE)] for a prior on ZZZ.

Formalization targets

Goal: Theorem 3.1 (p. 15)

Under Assumption 1 and SBAR(JJJ), there is a1>0a_1 > 0a1​>0 depending only on σ0,uˉ,λ0,J\sigma_0, \bar u, \lambda_0, Jσ0​,uˉ,λ0​,J such that for every r≥2r \ge 2r≥2, every z≠0z \ne 0z=0 and T≥rT \ge rT≥r,

Regret(z,T,PEGE)≤a1(∥z∥+1∥z∥)rT,\mathrm{Regret}(z, T, \mathrm{PEGE}) \le a_1\Big(\|z\| + \frac1{\|z\|}\Big) r\sqrt T,Regret(z,T,PEGE)≤a1​(∥z∥+∥z∥1​)rT​,

and, if E∥Z∥≤M\mathbb E\|Z\| \le ME∥Z∥≤M and E[1/∥Z∥]≤M\mathbb E[1/\|Z\|] \le ME[1/∥Z∥]≤M for every rrr, there is a2a_2a2​ depending only on σ0,uˉ,λ0,J,M\sigma_0, \bar u, \lambda_0, J, Mσ0​,uˉ,λ0​,J,M with

Risk(T,PEGE)≤a2 rT.\mathrm{Risk}(T, \mathrm{PEGE}) \le a_2\, r\sqrt T.Risk(T,PEGE)≤a2​rT​.

The constants are unspecified; only the order rTr\sqrt TrT​ and its uniformity in rrr are asserted.

Milestones on the way

  • Lemma 3.4 (p. 16): E[∥Z^(c)−z∥2∣Z=z]≤h1r/c\mathbb E[\|\widehat Z(c) - z\|^2 \mid Z = z] \le h_1 r/cE[∥Z(c)−z∥2∣Z=z]≤h1​r/c.
  • Lemma 3.5 (p. 17): ∥w/∥w∥−z/∥z∥∥≤2∥w−z∥/max⁡{∥z∥,∥w∥}\|w/\|w\| - z/\|z\|\| \le 2\|w - z\|/\max\{\|z\|, \|w\|\}∥w/∥w∥−z/∥z∥∥≤2∥w−z∥/max{∥z∥,∥w∥}.
  • Lemma 3.6 (p. 17): E[max⁡uz′(u−G(c))∣Z=z]≤rh2/(c∥z∥)\mathbb E[\max_{u} z'(u - G(c)) \mid Z = z] \le r h_2/(c\|z\|)E[maxu​z′(u−G(c))∣Z=z]≤rh2​/(c∥z∥).
  • Sec. 3.1 (p. 18): Regret(z,rK+∑c=1Kc,PEGE)≤h3r∥z∥K+h4∑c=1Kr/∥z∥\mathrm{Regret}(z, rK + \sum_{c=1}^K c, \mathrm{PEGE}) \le h_3 r\|z\|K + h_4\sum_{c=1}^K r/\|z\|Regret(z,rK+∑c=1K​c,PEGE)≤h3​r∥z∥K+h4​∑c=1K​r/∥z∥.

Further results

  • Lemma 3.2 (p. 16): a density condition near the origin gives E[1/∥Z∥]≤M\mathbb E[1/\|Z\|] \le ME[1/∥Z∥]≤M; for Z∼N(0,Ir/r)Z \sim N(0, I_r/r)Z∼N(0,Ir​/r), E∥Z∥≤1\mathbb E\|Z\| \le 1E∥Z∥≤1 and E[1/∥Z∥]≤π\mathbb E[1/\|Z\|] \le \sqrt\piE[1/∥Z∥]≤π​.
  • The unit ball and the unit sphere satisfy SBAR(1) (pp. 15–16).
  • Corollary 3.3 (p. 16): on the unit sphere with standard normal errors, Regret≤a3(∥z∥+1/∥z∥)rT\mathrm{Regret} \le a_3(\|z\| + 1/\|z\|)r\sqrt TRegret≤a3​(∥z∥+1/∥z∥)rT​ and, under the prior N(0,Ir/r)N(0, I_r/r)N(0,Ir​/r), Risk≤a3rT\mathrm{Risk} \le a_3 r\sqrt TRisk≤a3​rT​.

Significance

Theorem 3.1 with the lower bound of Theorem 2.1 of the same paper identifies rTr\sqrt TrT​ as the optimal order of the regret and the Bayes risk on the unit sphere, and Corollary 3.3 makes this precise. The bound is achieved by a policy with no confidence sets and no per-period optimization beyond one linear maximization per cycle. The factor ∥z∥+1/∥z∥\|z\| + 1/\|z\|∥z∥+1/∥z∥ shows how the difficulty depends on the size of the parameter; combined with the trivial bound 2uˉ∥z∥T2\bar u\|z\|T2uˉ∥z∥T, the regret does not deteriorate as ∥z∥→0\|z\| \to 0∥z∥→0.

The results are proved in the paper; none of them is machine-checked. A formalization yields a verified dimension-explicit regret bound for an explore–exploit policy with a continuum of arms, the least squares error bound under sub-Gaussian noise (Lemma 3.4), and Lipschitz properties of normalization and of the best-arm map on balls, all of which are reusable.

Difficulty

The expected instantaneous regret of a greedy arm computed from a noisy estimate is not obviously small: for a general compact arm set the best arm may jump under a small perturbation of the parameter, and the regret is then of order ∥z∥\|z\|∥z∥ however good the estimate is. The SBAR condition prevents such jumps, but only for unit vectors, so the estimation error must be transferred to the direction of the estimate, which costs a factor 1/∥z∥1/\|z\|1/∥z∥. The estimate may also vanish with positive probability when the errors are discrete, where the greedy arm is arbitrary. Finally, the constants must be uniform in the dimension rrr: a bound with an rrr-dependent constant is immediate from Regret≤2uˉ∥z∥T\mathrm{Regret} \le 2\bar u\|z\|TRegret≤2uˉ∥z∥T, so the content of the theorem lies in keeping every constant independent of rrr and of the arm set.

Formalization scope

Vectors live in EuclideanSpace ℝ (Fin r), so the norm is Euclidean and the inner product is u′zu'zu′z. The model's standing assumptions are encoded as follows: Ur\mathcal U_rUr​ is compact; the errors of each arm have mean zero and a law νu\nu_uνu​; Assumption 1(a) requires the moment generating function to exist and satisfy the sub-Gaussian bound; Assumption 1(b) writes λmin⁡(∑kbkbk′)≥λ0\lambda_{\min}(\sum_k b_kb_k') \ge \lambda_0λmin​(∑k​bk​bk′​)≥λ0​ as λ0∥x∥2≤∑k(bk′x)2\lambda_0\|x\|^2 \le \sum_k (b_k'x)^2λ0​∥x∥2≤∑k​(bk′​x)2. Every constant is quantified before the dimension rrr, the arm set, the error laws, the exploration arms, the tie-breaking rule, the prior, zzz and TTT; a version with constants depending on rrr or on the instance is trivial and is excluded by this quantifier order.

PEGE uses exactly the exploration arms bkb_kbk​ of Assumption 1(b), which are an argument of the policy. The greedy rule is any measurable selection of a maximizer; measurability, implicit on the page, is a hypothesis. Since PEGE uses only exploration rewards, the expectation is over an independent table of exploration errors Wbk(s)W^{b_k}(s)Wbk​(s) with laws νbk\nu_{b_k}νbk​​, with the parameter fixed to zzz ("given Z=zZ = zZ=z"). Regret and risk are lower Lebesgue integrals of nonnegative gaps, valued in [0,∞][0, \infty][0,∞], so an upper bound is never satisfied by a default value of an integral. The moment conditions on the prior are lower Lebesgue integrals, so E[1/∥Z∥]=∞\mathbb E[1/\|Z\|] = \inftyE[1/∥Z∥]=∞ if the prior charges the origin.

Two printed statements are adjusted. Lemma 3.6 is printed "for any z∈Rrz \in \mathbb R^rz∈Rr", but its bound rh2/(c∥z∥)r h_2/(c\|z\|)rh2​/(c∥z∥) is undefined at z=0z = 0z=0; it is stated for z≠0z \ne 0z=0. The p. 18 cycle-sum display is likewise stated for z≠0z \ne 0z=0. In Corollary 3.3, the exploration arms are those of Assumption 1(b) with uˉ=λ0=1\bar u = \lambda_0 = 1uˉ=λ0​=1, as in its proof. Measurability of the density in Lemma 3.2(a) is added.

The source is arXiv:0812.3465v2; its printed page numbers equal the PDF page numbers. Contributions welcome: proofs of the milestones, a sub-Gaussian least squares library, and the Lipschitz analysis of best-arm maps.

Selected references

  • P. Rusmevichientong, J. N. Tsitsiklis, Linearly Parameterized Bandits, arXiv:0812.3465v2, 2010; Mathematics of Operations Research 35(2), 2010. https://arxiv.org/abs/0812.3465v2
  • V. Dani, T. P. Hayes, S. M. Kakade, Stochastic Linear Optimization under Bandit Feedback, COLT 2008. https://www.learningtheory.org/colt2008/papers/80-Dani.pdf
  • 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
  • E. S. Polovinkin, Strongly convex analysis, Sbornik: Mathematics 187(2), 1996. https://doi.org/10.1070/SM1996v187n02ABEH000111
13 thms2 active usersReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Some Aspects of the Sequential Design of Experiments I: Greedy Sampling with Density-Zero Forced Draws Earns max(α, β) per Draw from Any Two Populations with Finite MeansResearch Paper

Motivation

An experimenter can draw observations from two populations AAA and BBB, one at a time, and wants the sum of the observations to be as large as possible. The populations might be two treatments, two seed varieties or two manufacturing processes; their means are unknown. Each draw both earns a reward and tells the experimenter something about the population it came from. This is the two-armed bandit problem. Herbert Robbins posed it in its modern form in his 1952 address to the American Mathematical Society, Some aspects of the sequential design of experiments, the paper usually credited with founding the field.

Section 2 of that paper asks a basic question (display (12), p. 532): is there any sampling rule whose average reward per draw approaches the larger of the two means, whatever the populations are? Robbins answers yes, for any two populations with finite means, using one explicit rule: forced sampling along a sparse schedule, greedy choice otherwise. This mission formalizes that answer.

Timeline:

  • 1933. Thompson proposes a randomized rule for choosing between two treatments (Biometrika 25).
  • 1952. Robbins states the problem for general populations and gives the rule Rˉ\bar RRˉ with lim⁡nLn(A,B,Rˉ)=0\lim_n L_n(A,B,\bar R) = 0limn​Ln​(A,B,Rˉ)=0 for any two populations with finite means. The argument is only indicated ("it can be shown").
  • 1985. Lai and Robbins replace o(n)o(n)o(n) loss by the optimal logarithmic regret for parametric families (Adv. Appl. Math. 6).
  • 2020. Lattimore and Szepesvári give the textbook account of explore-then-commit and ε\varepsilonε-greedy rules, which descend from forced sampling (Bandit Algorithms).

Setting

Population AAA has distribution function FFF and population BBB has GGG, with expectations

α=∫−∞∞x dF(x),β=∫−∞∞x dG(x),\alpha = \int_{-\infty}^{\infty} x\,dF(x), \qquad \beta = \int_{-\infty}^{\infty} x\,dG(x),α=∫−∞∞​xdF(x),β=∫−∞∞​xdG(x),

assumed to exist, i.e. to be finite (display (1), p. 529). Nothing else is assumed about FFF and GGG.

A sampling rule RRR draws x1,x2,…x_1, x_2, \dotsx1​,x2​,… one at a time; the population of the iii-th draw may depend on x1,…,xi−1x_1, \dots, x_{i-1}x1​,…,xi−1​, and given that choice xix_ixi​ is a fresh draw from the chosen population. Write Sn=x1+⋯+xnS_n = x_1 + \cdots + x_nSn​=x1​+⋯+xn​. The loss of RRR after nnn draws (display (9), p. 531) is

Ln(A,B,R)=max⁡(α,β)−E ⁣(Snn),L_n(A, B, R) = \max(\alpha, \beta) - E\!\left(\frac{S_n}{n}\right),Ln​(A,B,R)=max(α,β)−E(nSn​​),

the average shortfall per draw compared with someone who knows the better population and samples only from it.

The forcing schedule (display (13), p. 532) is a pair of disjoint, strictly increasing sequences of positive integers

1=a1<a2<⋯ ,2=b1<b2<⋯1 = a_1 < a_2 < \cdots, \qquad 2 = b_1 < b_2 < \cdots1=a1​<a2​<⋯,2=b1​<b2​<⋯

of density zero: the fraction of the integers 1,…,n1, \dots, n1,…,n that are an aaa or a bbb tends to 000.

The rule Rˉ\bar RRˉ: at draw iii, sample AAA if iii is an aaa, sample BBB if iii is a bbb, and otherwise sample AAA if the mean of the previous observations from AAA is strictly larger than the mean of the previous observations from BBB, and BBB if it is not (a tie goes to BBB).

Formalization targets

Goal: Section 2, Eq. (16)

For every pair of populations with finite means and every forcing schedule,

lim⁡n→∞Ln(A,B,Rˉ)=0.\lim_{n\to\infty} L_n(A, B, \bar R) = 0.n→∞lim​Ln​(A,B,Rˉ)=0.

The goal is about the specific rule Rˉ\bar RRˉ and every schedule, not about the mere existence of a rule. It contains no rate and no constant, so it stays valid when the rule is analysed more finely.

Milestone: Eq. (14), almost-sure average

lim⁡n→∞Snn=max⁡(α,β)with probability 1.\lim_{n\to\infty} \frac{S_n}{n} = \max(\alpha, \beta) \quad\text{with probability } 1.n→∞lim​nSn​​=max(α,β)with probability 1.

Milestone: Eq. (15), expected average

lim⁡n→∞E ⁣(Snn)=max⁡(α,β).\lim_{n\to\infty} E\!\left(\frac{S_n}{n}\right) = \max(\alpha, \beta).n→∞lim​E(nSn​​)=max(α,β).

The goal follows from (15) by the definition (9); the paper's chain is (14) ⇒ (15) ⇒ (16).

Significance

The result. The theorem answers question (12) and shows that "learning while earning" costs nothing in the long run, per draw, under no assumption beyond finite means: no bounded support, no variance, no parametric family. It is the first consistency result for an adaptive allocation rule, and it fixes the benchmark later refined by logarithmic-regret theory. In modern terms, a forced-exploration greedy policy has regret o(n)o(n)o(n) on every two-armed bandit with integrable rewards.

Formalizing it. The paper gives no proof; it says the results "can be shown". A machine-checked proof records the argument in full. The platform already has finite-horizon regret bounds for ε\varepsilonε-greedy with bounded rewards (FoundationsRL.Bandits.epsilon_greedy_regret_bound), consistency in the stronger Lai–Robbins sense as a definition (ConsistentBanditPolicy), and a forced-sample tail bound for the Lasso bandit (BastaniBayati.LassoBandit.forced_sample_estimator_tail). None of these covers a deterministic greedy rule, almost-sure convergence, or unbounded rewards with only a first moment, and none of them proves (14)–(16).

Difficulty

The obvious argument is: each population is sampled infinitely often because of the forced draws, so each running mean converges by the strong law, so greedy eventually picks the better population, and the forced draws are negligible. Two steps are not routine.

First, the strong law applies to i.i.d. sequences, while the observations from AAA arrive at random, history-dependent times. The values seen from AAA have to be identified, in law, with an i.i.d. sequence that is independent of the times at which they are used.

Second, passing from (14) to (15) needs uniform integrability of Sn/nS_n/nSn​/n, and only first moments are available. No second moment is assumed, so variance bounds are not available.

When α=β\alpha = \betaα=β greedy need not settle on either population; the statement must hold anyway, and an argument that waits for greedy to "lock in" does not cover this case.

Formalization scope

The populations are a published two-armed BanditAlgorithm.StochasticBandit 2. AAA is arm 0 and BBB is arm 1; α\alphaα and β\betaβ are banditArmMean. A rule is a published BanditPolicy 2, and EEE is the integral against the published infinite-horizon law banditTrajMeasure, whose coordinate ttt is the paper's draw t+1t+1t+1. Explicit readings of the paper's phrases:

  • "the expectations exist" means both reward laws are Integrable. This is the only assumption on the populations: the class DDD of the paper is left arbitrary, and α=β\alpha = \betaα=β is allowed.
  • "density 0" means #({1,…,n} ∩ (range a ∪ range b)) / n → 0 in R\mathbb RR. The sequences are infinite and 0-indexed (a 0 = 1, b 0 = 2).
  • "according as … exceeds or does not exceed": AAA exactly when meanA_AA​ > meanB_BB​, so ties go to BBB.
  • "with probability 1" is ∀ᵐ under the trajectory law, and "lim" is Tendsto … atTop along n∈Nn \in \mathbb Nn∈N.
  • Sn/nS_n/nSn​/n uses real division; its value at n=0n = 0n=0 plays no role.

Trivializing formalizations are excluded. Without integrability the means and expectations are junk zeros; this is ruled out by the integrability hypothesis. Replacing Rˉ\bar RRˉ by "there exists a rule" would weaken the goal to (12). Finite forcing sets would make the statement false.

The needed infrastructure is a representation of the adaptive sampling process by per-population i.i.d. reward sequences, the strong law along random subsequences, and a uniform-integrability argument for averages under only a first moment. All three are reusable for other forced-exploration and greedy policies. Contributions of these general lemmas as separate theorems are welcome.

Selected references

  • H. Robbins, Some aspects of the sequential design of experiments, Bull. Amer. Math. Soc. 58(5) (1952), 527–535. https://doi.org/10.1090/S0002-9904-1952-09620-8
  • 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, Adv. Appl. Math. 6 (1985), 4–22. https://doi.org/10.1016/0196-8858(85)90002-8
  • T. Lattimore and Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
8 thms2 active usersReviewed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

The Best of Both Worlds: Stochastic and Adversarial Bandits: SAO Has Pseudo-Regret O(K log K log²β/Δ) on Stochastic Rewards and Regret Õ(√(nK)) Against Adaptive AdversariesResearch Paper

Motivation

In a multi-armed bandit problem a learner chooses one of KKK actions in each of nnn rounds and observes only the reward of the chosen action. Two models of the rewards have separate theories. In the stochastic model, each arm pays independent draws from a fixed distribution; algorithms such as UCB1 (Auer, Cesa-Bianchi & Fischer 2002) have regret of order ∑ilog⁡(n)/Δi\sum_i \log(n)/\Delta_i∑i​log(n)/Δi​, logarithmic in nnn. In the adversarial model, an adversary chooses the rewards; Exp3 and its variants (Auer, Cesa-Bianchi, Freund & Schapire 2002) have regret of order nK\sqrt{nK}nK​, which is optimal there. An algorithm tuned for one model fails in the other: stochastic algorithms can suffer linear regret against an adversary, and adversarial algorithms pay n\sqrt nn​ even when the rewards are i.i.d.

Bubeck and Slivkins (arXiv:1202.4473, COLT 2012) asked whether one algorithm can be near-optimal in both models without knowing which one it faces. They answered yes with the algorithm SAO. This result started the "best of both worlds" line of work on bandits. Later contributions include EXP3++ (Seldin & Slivkins 2014) and Tsallis-INF (Zimmert & Seldin 2021).

Setting

There are K≥2K\ge2K≥2 arms and n≥Kn\ge Kn≥K rounds. On round ttt the algorithm draws an arm ItI_tIt​ from a probability vector pt=(p1,t,…,pK,t)p_t=(p_{1,t},\dots,p_{K,t})pt​=(p1,t​,…,pK,t​) computed from the history it has observed. At the same time a reward vector gt∈[0,1]Kg_t\in[0,1]^Kgt​∈[0,1]K is fixed, and the algorithm observes only gIt,tg_{I_t,t}gIt​,t​.

  • Adversarial model. The vector gtg_tgt​ is chosen by an adaptive adversary: a function of the arms I1,…,It−1I_1,\dots,I_{t-1}I1​,…,It−1​ played earlier, but not of ItI_tIt​. The regret is Rn=max⁡i∑t=1ngi,t−∑t=1ngIt,tR_n=\max_i\sum_{t=1}^n g_{i,t}-\sum_{t=1}^n g_{I_t,t}Rn​=maxi​∑t=1n​gi,t​−∑t=1n​gIt​,t​.
  • Stochastic model. There are distributions ν1,…,νK\nu_1,\dots,\nu_Kν1​,…,νK​ on [0,1][0,1][0,1] with means μi\mu_iμi​, and all gi,t∼νig_{i,t}\sim\nu_igi,t​∼νi​ are independent. The pseudo-regret is R‾n=∑t=1n(max⁡iμi−μIt)\overline R_n=\sum_{t=1}^n(\max_i\mu_i-\mu_{I_t})Rn​=∑t=1n​(maxi​μi​−μIt​​). The gap of arm iii is Δi=max⁡jμj−μi\Delta_i=\max_j\mu_j-\mu_iΔi​=maxj​μj​−μi​, and the minimal gap is Δ=min⁡i:Δi>0Δi\Delta=\min_{i:\Delta_i>0}\Delta_iΔ=mini:Δi​>0​Δi​.

The analysis uses importance-weighted estimates H~i,t=1t∑s≤tgi,s1{Is=i}/pi,s\widetilde H_{i,t}=\frac1t\sum_{s\le t}g_{i,s}\mathbb 1_{\{I_s=i\}}/p_{i,s}Hi,t​=t1​∑s≤t​gi,s​1{Is​=i}​/pi,s​, the sample means H^i,t\widehat H_{i,t}Hi,t​, the averages Hi,t=1t∑s≤tgi,sH_{i,t}=\frac1t\sum_{s\le t}g_{i,s}Hi,t​=t1​∑s≤t​gi,s​, and the play counts Ti(t)T_i(t)Ti​(t).

SAO (Algorithm 1 of the paper) takes a parameter β>1\beta>1β>1. It keeps a set of active arms, initially all arms, and samples them uniformly at first. On each round it applies a test, (12), that deactivates an arm whose estimate H~i,t\widetilde H_{i,t}Hi,t​ falls far below the best active one. The probability of a deactivated arm then decays as qiτi/tq_i\tau_i/tqi​τi​/t, where τi\tau_iτi​ is the deactivation time and qiq_iqi​ the arm's probability at that moment. Three further tests, (13)–(15), check that the observations stay consistent with stochastic rewards. If any of them fails on round τ0\tau_0τ0​, SAO switches permanently to the adversarial algorithm Exp3.P (Bubeck & Cesa-Bianchi 2012, Fig. 3.1) for the remaining rounds.

Formalization targets

Goal: Theorem 4.1, high-probability form

For every δ∈(0,1)\delta\in(0,1)δ∈(0,1) let β=10Kn3δ−1\beta=10Kn^3\delta^{-1}β=10Kn3δ−1. With probability at least 1−δ1-\delta1−δ, SAO with parameter β\betaβ satisfies, in the stochastic model (whenever some arm has Δi>0\Delta_i>0Δi​>0),

R‾n≤260K(1+log⁡K)log⁡2(β)Δ,\overline R_n\le\frac{260K(1+\log K)\log^2(\beta)}{\Delta},Rn​≤Δ260K(1+logK)log2(β)​,

and, against every adaptive adversary with rewards in [0,1][0,1][0,1],

Rn≤60(1+log⁡K)(1+log⁡n)nKlog⁡(β)+5K2log⁡2(β)+200K2log⁡2(β).R_n\le60(1+\log K)(1+\log n)\sqrt{nK\log(\beta)+5K^2\log^2(\beta)}+200K^2\log^2(\beta).Rn​≤60(1+logK)(1+logn)nKlog(β)+5K2log2(β)​+200K2log2(β).

Milestones

The milestones follow the paper's proof in order:

  • Freedman's inequality (Theorem 4.3) in the paper's two-sided form, and its variance-adaptive form, Lemma 4.4.
  • The concentration lemmas for SAO's estimates (Lemmas 4.5, 4.6, 4.7) and the Exp3.P phase (Lemma 4.8).
  • The two good events of §4.1, (21)–(25).
  • The deterministic consequences on those events: Exp3.P is never started in the stochastic model; suboptimal arms are deactivated by time 260Klog⁡(β)/Δi2260K\log(\beta)/\Delta_i^2260Klog(β)/Δi2​; ∑iqi≤1+log⁡K\sum_iq_i\le1+\log K∑i​qi​≤1+logK, (27); and the adversarial regret bound of §4.3.
  • The two halves of Theorem 4.1.

Significance

The theorem shows that the stochastic and adversarial regret rates are not in conflict. A single algorithm, with no information about the model, gets O(Klog⁡Klog⁡2(n/δ)/Δ)O(K\log K\log^2(n/\delta)/\Delta)O(KlogKlog2(n/δ)/Δ) pseudo-regret on stochastic rewards and O~(nK)\tilde O(\sqrt{nK})O~(nK​) regret against adaptive adversaries. Each rate is within polylogarithmic factors of optimal for its model. Later algorithms improved the logarithmic factors and removed the explicit switching, but they are compared against this result.

The theorem is proved in the paper. It is not known to have a machine-checked proof. Formalizing it requires a precise model of an adaptive adversary interacting with a randomized algorithm, martingale concentration with random variance (Lemma 4.4), and an exact statement of SAO including its boundary cases. The pieces are reusable: the interaction model, the estimators, Exp3.P and its high-probability guarantee all apply to other adversarial bandit results.

Difficulty

Neither standard analysis carries over. In the stochastic model, SAO's sampling probabilities are random and depend on the past, and a deactivated arm's probability keeps changing. Hoeffding-type bounds for a fixed sampling scheme therefore do not apply to H~i,t\widetilde H_{i,t}Hi,t​. The variance of the importance-weighted estimate grows like ∑s1/pi,s\sum_s1/p_{i,s}∑s​1/pi,s​, which is controlled only through the algorithm's own schedule (16). This is why Lemma 4.5 has the two-part radius with max⁡(t−τi,0)/(qiτit)\max(t-\tau_i,0)/(q_i\tau_it)max(t−τi​,0)/(qi​τi​t). In the adversarial model, the deterministic argument has to show that whenever the consistency tests pass, the regret accumulated before the switch is already small, for an adversary that adapts to the arms played. A union bound over all quantities, all arms and all times (§4.1) is needed before any deterministic reasoning, so every constant in the event matters.

Formalization scope

All declarations live in the namespace BestBothWorlds.SAO.

  • Arms and paths. Arms are Fin K and rounds are 1,…,n1,\dots,n1,…,n. An arm path is Fin n → Fin K.
  • Algorithms and adversaries. An algorithm is a deterministic map from the observed history to a probability vector. A deterministic adaptive adversary is a map from the list of earlier arms to a reward vector; randomized adversaries are mixtures of these.
  • Probabilities. For a fixed adversary, the probability of an event is ∑I∈E∏tpIt,t\sum_{I\in E}\prod_tp_{I_t,t}∑I∈E​∏t​pIt​,t​. In the stochastic model this is integrated against the product law of the reward table.
  • Logarithms and constants. Real.log is the natural logarithm. All constants of Theorem 4.1 are explicit, with β=10Kn3δ−1\beta=10Kn^3\delta^{-1}β=10Kn3δ−1.
  • SAO. It is defined exactly as Algorithm 1. Arms are tested in order within a round, and the active set changes during the loop. Test (13) is false when Ti(t)=0T_i(t)=0Ti​(t)=0, and test (14) is false when τi=1\tau_i=1τi​=1.
  • Exp3.P. After the switch, Exp3.P runs from scratch for n−τ0n-\tau_0n−τ0​ rounds. Its parameters are those of Bubeck–Cesa-Bianchi Theorem 3.2 with confidence K/βK/\betaK/β, and γ\gammaγ and βP\beta_{\mathrm P}βP​ are clipped at 111.
  • §4 notation. τ0\tau_0τ0​, τi←min⁡(τi,τ0)\tau_i\leftarrow\min(\tau_i,\tau_0)τi​←min(τi​,τ0​) and qi=pi,min⁡(τi,τ0)q_i=p_{i,\min(\tau_i,\tau_0)}qi​=pi,min(τi​,τ0​)​ are computed from the run, never assumed.

A trivializing formalization is ruled out. The goal's hypotheses concern only the instance (KKK, nnn, δ\deltaδ, the distributions or the adversary). The algorithm's quantities (τ0\tau_0τ0​, τi\tau_iτi​, qiq_iqi​, the sampling probabilities) are computed by the definition of SAO and are never free variables or hypotheses. The adversarial half covers adaptive adversaries, not only oblivious reward tables.

The expectation form of Theorem 4.1 (O(⋅)O(\cdot)O(⋅) bounds with β=n4\beta=n^4β=n4), Theorem 1.1 and the two-armed warm-up of §3 are out of scope. Proofs of any milestone are welcome, as are alternative proofs of the concentration lemmas from Mathlib's martingale library.

Selected references

  • S. Bubeck and A. Slivkins, The best of both worlds: stochastic and adversarial bandits, COLT 2012; arXiv:1202.4473v1. https://arxiv.org/abs/1202.4473
  • S. Bubeck and N. Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Foundations and Trends in Machine Learning 5(1), 2012. https://doi.org/10.1561/2200000024
  • D. A. Freedman, On tail probabilities for martingales, Annals of Probability 3(1), 1975. https://doi.org/10.1214/aop/1176996452
  • P. Auer, N. Cesa-Bianchi and P. Fischer, Finite-time analysis of the multiarmed bandit problem, Machine Learning 47, 2002. https://doi.org/10.1023/A:1013689704352
  • P. Auer, N. Cesa-Bianchi, Y. Freund and R. E. Schapire, The nonstochastic multiarmed bandit problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
  • Y. Seldin and A. Slivkins, One practical algorithm for both stochastic and adversarial bandits, ICML 2014. https://proceedings.mlr.press/v32/seldinb14.html
  • J. Zimmert and Y. Seldin, Tsallis-INF: an optimal algorithm for stochastic and adversarial bandits, JMLR 22, 2021. https://jmlr.org/papers/v22/19-753.html
20 thms2 active usersReviewed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Online Decision Making with High-Dimensional Covariates: Regret Bound of the LASSO BanditResearch Paper

Motivation

Many sequential decisions are personalised: a physician chooses a drug dose for each arriving patient, a platform chooses which offer to show each arriving user. Each decision is made after observing a vector of covariates describing the individual, and its outcome is observed only for the option chosen. This is the contextual (covariate) bandit problem, studied in operations research and machine learning since Auer (JMLR 2002) and Goldenshluger and Zeevi (Stochastic Systems 2013).

In medical and e-commerce applications the covariate vector is often high-dimensional: the number of covariates ddd is comparable to or larger than the number of decisions that will ever be made, while the outcome of each option depends on a few of them. Low-dimensional bandit algorithms then incur regret that grows polynomially with ddd. Bastani and Bayati (Operations Research 2020) proposed the LASSO Bandit, which estimates each option's reward model with the LASSO, and proved a regret bound that grows only logarithmically in ddd. The paper evaluates the method on warfarin dosing data.

Timeline:

  • 2002–2003: Auer introduces linear-reward contextual bandits with confidence bounds.
  • 2013: Goldenshluger and Zeevi give a forced-sampling algorithm for two arms in low dimension with O(log⁡T)O(\log T)O(logT) regret under a margin condition and an arm-optimality condition, and an information-theoretic lower bound of the same order.
  • 2020: Bastani and Bayati extend the forced-sampling scheme to KKK arms and high-dimensional sparse parameters, with regret O(s02[log⁡T+log⁡d]2)O(s_0^2[\log T+\log d]^2)O(s02​[logT+logd]2).

Setting

There are KKK arms with unknown parameters β1,…,βK∈Rd\beta_1,\dots,\beta_K\in\mathbb R^dβ1​,…,βK​∈Rd. At each time t=1,2,…,Tt=1,2,\dots,Tt=1,2,…,T a covariate vector Xt∈RdX_t\in\mathbb R^dXt​∈Rd arrives; the XtX_tXt​ are i.i.d. with law PX\mathcal P_XPX​ and take values in a fixed set X\mathcal XX. If arm iii is pulled, the reward is Xt⊤βi+εi,tX_t^\top\beta_i+\varepsilon_{i,t}Xt⊤​βi​+εi,t​, where the noises εi,t\varepsilon_{i,t}εi,t​ are independent, σ\sigmaσ-subgaussian (E[esε]≤eσ2s2/2\mathbb E[e^{s\varepsilon}]\le e^{\sigma^2s^2/2}E[esε]≤eσ2s2/2 for all sss), and independent of the covariates. A policy chooses the arm πt\pi_tπt​ from XtX_tXt​ and the past covariates, arms and observed rewards. Its cumulative expected regret is

RT=∑t=1TE[max⁡jXt⊤βj−Xt⊤βπt].R_T=\sum_{t=1}^T\mathbb E\Big[\max_jX_t^\top\beta_j-X_t^\top\beta_{\pi_t}\Big].RT​=t=1∑T​E[jmax​Xt⊤​βj​−Xt⊤​βπt​​].

The sparsity s0s_0s0​ is the smallest integer s0≥1s_0\ge1s0​≥1 with ∥βi∥0≤s0\|\beta_i\|_0\le s_0∥βi​∥0​≤s0​ for all iii.

The four assumptions are: (1) ∥x∥∞≤xmax⁡\|x\|_\infty\le x_{\max}∥x∥∞​≤xmax​ on X\mathcal XX and ∥βi∥1≤b\|\beta_i\|_1\le b∥βi​∥1​≤b; (2) a margin condition Pr⁡[0<∣X⊤(βi−βj)∣≤κ]≤C0κ\Pr[0<|X^\top(\beta_i-\beta_j)|\le\kappa]\le C_0\kappaPr[0<∣X⊤(βi​−βj​)∣≤κ]≤C0​κ; (3) arm optimality: every arm is either suboptimal by a margin hhh at every covariate, or optimal by margin hhh on a region UiU_iUi​ of probability at least p∗p_*p∗​; (4) a compatibility condition: the conditional second-moment matrix Σi=E[XX⊤∣X∈Ui]\Sigma_i=\mathbb E[XX^\top\mid X\in U_i]Σi​=E[XX⊤∣X∈Ui​] of each optimal arm lies in the set C(supp(βi),ϕ0)\mathcal C(\mathrm{supp}(\beta_i),\phi_0)C(supp(βi​),ϕ0​) of matrices M⪰0M\succeq0M⪰0 with ∥vI∥12≤∣I∣ v⊤Mv/ϕ02\|v_I\|_1^2\le|I|\,v^\top Mv/\phi_0^2∥vI​∥12​≤∣I∣v⊤Mv/ϕ02​ whenever ∥vIc∥1≤3∥vI∥1\|v_{I^c}\|_1\le3\|v_I\|_1∥vIc​∥1​≤3∥vI​∥1​.

The LASSO estimator on nnn samples is any minimizer of ∥Y−Xβ′∥22/n+λ∥β′∥1\|Y-\mathbf X\beta'\|_2^2/n+\lambda\|\beta'\|_1∥Y−Xβ′∥22​/n+λ∥β′∥1​. The LASSO Bandit forces arm iii at the prescribed times Ti={(2n−1)Kq+j:n≥0, q(i−1)<j≤qi}\mathcal T_i=\{(2^n-1)Kq+j : n\ge0,\ q(i-1)<j\le qi\}Ti​={(2n−1)Kq+j:n≥0, q(i−1)<j≤qi}. At every other time it keeps the arms whose forced-sample estimate β^(Ti,t−1,λ1)\hat\beta(\mathcal T_{i,t-1},\lambda_1)β^​(Ti,t−1​,λ1​) is within h/2h/2h/2 of the best. Among them it plays the arm with the largest all-sample estimate β^(Si,t−1,λ2,t−1)\hat\beta(\mathcal S_{i,t-1},\lambda_{2,t-1})β^​(Si,t−1​,λ2,t−1​), trained on every past pull of the arm, with λ2,t=λ2,0(log⁡t+log⁡d)/t\lambda_{2,t}=\lambda_{2,0}\sqrt{(\log t+\log d)/t}λ2,t​=λ2,0​(logt+logd)/t​.

Formalization targets

Goal: Theorem 1 (regret of the LASSO Bandit)

For q≥4⌈q0⌉q\ge4\lceil q_0\rceilq≥4⌈q0​⌉, K≥2K\ge2K≥2, d>2d>2d>2, T≥C5T\ge C_5T≥C5​, λ1=ϕ02p∗h/(64s0xmax⁡)\lambda_1=\phi_0^2p_*h/(64s_0x_{\max})λ1​=ϕ02​p∗​h/(64s0​xmax​) and λ2,0=[ϕ02/(2s0)]1/(p∗C1)\lambda_{2,0}=[\phi_0^2/(2s_0)]\sqrt{1/(p_*C_1)}λ2,0​=[ϕ02​/(2s0​)]1/(p∗​C1​)​,

RT≤C3(log⁡T)2+[2Kbxmax⁡(6q+4)+C3log⁡d]log⁡T+(2bxmax⁡C5+2Kbxmax⁡+C4),R_T\le C_3(\log T)^2+\big[2Kbx_{\max}(6q+4)+C_3\log d\big]\log T+\big(2bx_{\max}C_5+2Kbx_{\max}+C_4\big),RT​≤C3​(logT)2+[2Kbxmax​(6q+4)+C3​logd]logT+(2bxmax​C5​+2Kbxmax​+C4​),

with the explicit constants C1,…,C5C_1,\dots,C_5C1​,…,C5​, q0q_0q0​ of the paper (p. 285).

Milestones

  1. Proposition 1: a LASSO tail inequality for adaptively collected rows with conditionally subgaussian noise.
  2. Lemma 1: a LASSO tail inequality when a constant fraction of the rows is i.i.d. with a compatible second-moment matrix.
  3. Proposition 2: the forced-sample estimator of an optimal arm is within h/(4xmax⁡)h/(4x_{\max})h/(4xmax​) of βi\beta_iβi​ except with probability 5/t45/t^45/t4.
  4. Proposition 3: the all-sample estimator of an optimal arm is within 16(log⁡t+log⁡d)/(p∗3C1t)16\sqrt{(\log t+\log d)/(p_*^3C_1t)}16(logt+logd)/(p∗3​C1​t)​ of βi\beta_iβi​ except with probability 2/t+2e−p∗2C22t/322/t+2e^{-p_*^2C_2^2t/32}2/t+2e−p∗2​C22​t/32.

Significance

The theorem shows that exploiting sparsity makes the regret depend on the ambient dimension only through log⁡d\log dlogd, while its dependence on the horizon is within one log⁡T\log TlogT factor of the Ω(log⁡T)\Omega(\log T)Ω(logT) lower bound known in low dimension. Proposition 1 is a LASSO oracle inequality for adapted designs, where each row may depend on earlier observations. It applies whenever a LASSO is fitted to data gathered by a feedback policy: adaptive experiments, dynamic pricing, sequential treatment assignment.

The results are proved in the paper and its online appendix; none of them has a machine-checked proof. This mission produces a formal model of the covariate bandit with a non-anticipating algorithm, a formal LASSO for adapted designs, and, when complete, a verified regret bound with every constant explicit. Proposition 1 and Lemma 1 are reusable beyond bandits.

Difficulty

The all-sample estimator is trained on the times at which the algorithm chose an arm, and those choices depend on earlier estimates. Its design rows are therefore neither independent nor identically distributed, and the standard LASSO analysis, which starts from i.i.d. rows and a restricted-eigenvalue bound on their population covariance, does not apply. The forced samples are i.i.d. but only O(log⁡t)O(\log t)O(logt) in number, too few for the log⁡t/t\sqrt{\log t/t}logt/t​ rate the regret bound needs. Controlling the compatibility constant of the adaptively selected sample covariance, and the martingale noise term, is where the naive argument breaks.

Formalization scope

Arms are Fin K (paper arm iii is i.val + 1), coordinates Fin d, times are natural numbers from 111. The model is a structure IsCovariateNoiseModel on a probability space: i.i.d. measurable covariates in a measurable set X\mathcal XX, independent subgaussian noises (Mathlib's HasSubgaussianMGF with parameter σ2\sigma^2σ2), noise independent of covariates. Assumptions 1–4 are separate predicates. ∥x∥∞\|x\|_\infty∥x∥∞​ is Mathlib's sup norm, logarithms are natural, and Σi\Sigma_iΣi​ is the uncentred conditional second moment.

The LASSO minimizer and the arg max need not be unique, so the algorithm takes a selection rule and a tie-breaking rule as parameters, and the theorems hold for all of them. Each round reads only the current covariate, the past covariates, the past arms and their observed rewards. The regret theorem and Proposition 3, whose data set Si,t\mathcal S_{i,t}Si,t​ is chosen by the algorithm, require both rules to be measurable. Otherwise the trajectory would not be a random variable, and the expectations in RTR_TRT​ could be integrals of non-measurable functions, which Lean evaluates to 000 and which would make the goal trivially true. For the same reason every assumption constant is required to be positive, and T≥C5T\ge C_5T≥C5​ is imposed on the horizon. Only the explicit inequality of Theorem 1 is stated, not the trailing O(s02[log⁡T+log⁡d]2)O(s_0^2[\log T+\log d]^2)O(s02​[logT+logd]2) or q0=O(s02log⁡d)q_0=O(s_0^2\log d)q0​=O(s02​logd). Proposition 2 is stated for optimal arms (see its note).

A complete development needs matrix concentration for bounded i.i.d. rows, the Azuma–Hoeffding inequality, and the deterministic LASSO basic inequality under a compatibility condition. Contributions of any of these as standalone lemmas are welcome.

Selected references

  • H. Bastani and M. Bayati, Online Decision Making with High-Dimensional Covariates, Operations Research 68(1):276–294, 2020. https://doi.org/10.1287/opre.2019.1902
  • A. Goldenshluger and A. Zeevi, A Linear Response Bandit Problem, Stochastic Systems 3(1):230–261, 2013. https://doi.org/10.1287/11-SSY032
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3:397–422, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • P. Bühlmann and S. van de Geer, Statistics for High-Dimensional Data, Springer, 2011. https://doi.org/10.1007/978-3-642-20192-9
9 thms2 active usersReviewed
Machine LearningProbability·Captain: mikedeng1

Online Learning over a Finite Action Set with Limited Switching: An Algorithm for Prediction From Experts Whose Regret and Number of Switches Are Both O(√(T log n log(1/δ))) with Probability 1 − δResearch Paper

Motivation

In prediction from experts (PFE), an online learner chooses one of nnn actions in each of TTT rounds, and an adversary assigns each action a loss in [0,1][0,1][0,1]. Performance is measured by regret, the learner's total loss minus that of the best single action in hindsight. In many applications changing the action is itself costly: re-routing traffic, re-balancing a portfolio, re-deploying a model. The number of switches, rounds in which the action changes, is then a second resource to keep small.

It has long been known that both quantities can be kept at O(Tlog⁡n)O(\sqrt{T\log n})O(Tlogn​) in expectation. Kalai and Vempala's multiplicative Follow the Perturbed Leader (Kalai–Vempala 2005) and Devroye, Lugosi and Neu's random-walk perturbation (Devroye et al. 2015) both achieve this. Devroye et al. asked for guarantees that hold with high probability. A bound in expectation says little about a single run: the switch count of these algorithms can have heavy upper tails. Altschuler and Talwar (arXiv:1803.01548, COLT 2018; Mathematics of Operations Research 2021) gave the first algorithms whose regret and switches are both O(Tlog⁡nlog⁡(1/δ))O(\sqrt{T\log n\log(1/\delta)})O(Tlognlog(1/δ)​) with probability 1−δ1-\delta1−δ. They used this to characterise the optimal regret under a hard switching budget, both for PFE and for multi-armed bandits.

Setting

A loss sequence is (ℓt)t≥1(\ell_t)_{t\ge1}(ℓt​)t≥1​ with ℓt:[n]→[0,1]\ell_t:[n]\to[0,1]ℓt​:[n]→[0,1]. The adversary is oblivious: it fixes the whole sequence before the game, independently of the learner's randomness. A randomized online algorithm A\mathcal AA draws internal randomness ω\omegaω from a probability space (Ω,μ)(\Omega,\mu)(Ω,μ). At round ttt it plays an action it∈[n]i_t\in[n]it​∈[n] that is a function of ω\omegaω and of the past losses ℓ1,…,ℓt−1\ell_1,\dots,\ell_{t-1}ℓ1​,…,ℓt−1​ only. This is full-information feedback: after round ttt the whole vector ℓt\ell_tℓt​ is revealed. Then

RegretT=∑t=1Tℓt(it)−min⁡i∈[n]∑t=1Tℓt(i),SwitchesT=#{t∈{2,…,T}:it≠it−1}.\mathrm{Regret}_T=\sum_{t=1}^T\ell_t(i_t)-\min_{i\in[n]}\sum_{t=1}^T\ell_t(i),\qquad \mathrm{Switches}_T=\#\{t\in\{2,\dots,T\}:i_t\ne i_{t-1}\}.RegretT​=t=1∑T​ℓt​(it​)−i∈[n]min​t=1∑T​ℓt​(i),SwitchesT​=#{t∈{2,…,T}:it​=it−1​}.

Follow the Perturbed Leader (FPL) with perturbations Pt(i)P_t(i)Pt​(i) plays at round ttt the minimiser of ∑s=0t−1(ℓs(i)+Ps+1(i))\sum_{s=0}^{t-1}(\ell_s(i)+P_{s+1}(i))∑s=0t−1​(ℓs​(i)+Ps+1​(i)), with ℓ0:=0\ell_0:=0ℓ0​:=0. FPLε∗^*_\varepsilonε∗​ perturbs only once, with P1(i)=−R(i)/εP_1(i)=-R(i)/\varepsilonP1​(i)=−R(i)/ε, where R(1),…,R(n)R(1),\dots,R(n)R(1),…,R(n) are i.i.d. standard exponential.

Framework 1 turns an algorithm A\mathcal AA into a batched algorithm B\mathcal BB. B\mathcal BB runs a copy of A\mathcal AA with fresh randomness. The copy sees only the losses since its epoch began. The epoch ends just before the copy would exceed S′S'S′ switches, and a new copy starts there. EEE is the number of epochs used in TTT rounds. BFPLδ∗^*_\deltaδ∗​ is Framework 1 applied to FPLε∗^*_\varepsilonε∗​ with

N=⌈log⁡(2/δ)⌉,ε=12Nlog⁡n/T,S′=135Tlog⁡n/N.N=\lceil\log(2/\delta)\rceil,\qquad \varepsilon=\tfrac12\sqrt{N\log n/T},\qquad S'=135\sqrt{T\log n/N}.N=⌈log(2/δ)⌉,ε=21​Nlogn/T​,S′=135Tlogn/N​.

Formalization targets

Goal: Theorem 1 (p. 8)

There is an absolute constant C>0C>0C>0 such that for all T,n≥1T,n\ge1T,n≥1 and δ∈(0,12)\delta\in(0,\tfrac12)δ∈(0,21​) some randomized online algorithm A\mathcal AA satisfies, for every oblivious loss sequence,

P(RegretT(A)≤CTlog⁡nlog⁡(1/δ) ∧ SwitchesT(A)≤CTlog⁡nlog⁡(1/δ))≥1−δ.\mathbb P\Big(\mathrm{Regret}_T(\mathcal A)\le C\sqrt{T\log n\log(1/\delta)}\ \wedge\ \mathrm{Switches}_T(\mathcal A)\le C\sqrt{T\log n\log(1/\delta)}\Big)\ge1-\delta.P(RegretT​(A)≤CTlognlog(1/δ)​ ∧ SwitchesT​(A)≤CTlognlog(1/δ)​)≥1−δ.

The algorithm may depend on TTT, nnn and δ\deltaδ, as on the page, but not on the losses. The constant is left unspecified, so a sharper constant would not change the goal.

Milestones

  1. Lemma 7 (p. 13): E[Switchesτ(FPLε∗)]≤(ετ+2log⁡n)/(1−ε)\mathbb E[\mathrm{Switches}_\tau(\mathrm{FPL}^*_\varepsilon)]\le(\varepsilon\tau+2\log n)/(1-\varepsilon)E[Switchesτ​(FPLε∗​)]≤(ετ+2logn)/(1−ε).
  2. Lemma 3 (p. 10): if E[Switchesτ0(A)]≤cAτ0\mathbb E[\mathrm{Switches}_{\tau_0}(\mathcal A)]\le c_{\mathcal A}\sqrt{\tau_0}E[Switchesτ0​​(A)]≤cA​τ0​​ with τ0=min⁡(T,⌈8T/N⌉)\tau_0=\min(T,\lceil8T/N\rceil)τ0​=min(T,⌈8T/N⌉), then Framework 1 with S′=23cAT/NS'=23c_{\mathcal A}\sqrt{T/N}S′=23cA​T/N​ has P(E>N)≤e−N\mathbb P(E>N)\le e^{-N}P(E>N)≤e−N and P(SwitchesT>N(S′+1))≤e−N\mathbb P(\mathrm{Switches}_T>N(S'+1))\le e^{-N}P(SwitchesT​>N(S′+1))≤e−N.
  3. Lemma 17 (p. 27), Be-The-Leader: ∑t=0Tℓt(it+1)≤∑t=0Tℓt(i)\sum_{t=0}^T\ell_t(i_{t+1})\le\sum_{t=0}^T\ell_t(i)∑t=0T​ℓt​(it+1​)≤∑t=0T​ℓt​(i).
  4. Lemma 5 (p. 13): RegretT(FPL)≤M(SwitchesT+1)+max⁡i∑t=1T+1Pt(i)−∑t=1T+1Pt(it)\mathrm{Regret}_T(\mathrm{FPL})\le M(\mathrm{Switches}_T+1)+\max_i\sum_{t=1}^{T+1}P_t(i)-\sum_{t=1}^{T+1}P_t(i_t)RegretT​(FPL)≤M(SwitchesT​+1)+maxi​∑t=1T+1​Pt​(i)−∑t=1T+1​Pt​(it​).
  5. Corollary 6 for BFPL∗^*∗ (p. 14): RegretT≤SwitchesT+E+∑e<Emax⁡iRe(i)/ε\mathrm{Regret}_T\le\mathrm{Switches}_T+E+\sum_{e<E}\max_iR_e(i)/\varepsilonRegretT​≤SwitchesT​+E+∑e<E​maxi​Re​(i)/ε.
  6. Lemma 18 (p. 28): E[etX]≤nt/(1−t)\mathbb E[e^{tX}]\le n^t/(1-t)E[etX]≤nt/(1−t) for the maximum XXX of nnn standard exponentials.
  7. Lemma 9 (p. 14): P(∑e=1Nmax⁡iRe(i)>6Nlog⁡n)≤e−N\mathbb P(\sum_{e=1}^N\max_iR_e(i)>6N\log n)\le e^{-N}P(∑e=1N​maxi​Re​(i)>6Nlogn)≤e−N for N,n≥2N,n\ge2N,n≥2.
  8. Theorem 8 (p. 13): BFPLδ∗^*_\deltaδ∗​ itself satisfies the bound of Theorem 1 for n≥2n\ge2n≥2.

Significance

The result separates two notions of "optimal". Expected-value bounds on switching do not control a single run, and the paper shows (Appendix B) that naive restarting does not concentrate. Theorem 1 is the black box behind the paper's later results: the Θ~\tilde\ThetaΘ~ characterisation of minimax regret under a switching budget SSS, with a phase transition at S≈Tlog⁡nS\approx\sqrt{T\log n}S≈Tlogn​, and the switching-cost corollary obtained by mini-batching. Framework 1 is generic: any algorithm with an expected switching bound of order τ\sqrt\tauτ​ gains a high-probability one.

The paper result is proved, but none of it has been machine-checked. A formalization yields a verified online-learning protocol with oblivious adversaries, a restart framework with fresh randomness, and verified tail bounds for maxima of exponentials. Formalizing it also repairs four printed slips, listed under Formalization scope.

Difficulty

The obvious approach runs A\mathcal AA about log⁡(1/δ)\log(1/\delta)log(1/δ) times in fixed-length blocks and applies Markov's inequality in each. It fails: a single block can use far too many switches with probability that is not small enough. Framework 1 therefore uses epochs of random length, ended by the switch budget. The epoch lengths are then dependent, and the final epoch is truncated at TTT. The concentration argument has to handle both. On the regret side, Lemma 5 is pointwise, but summing it over random epochs and then controlling the sum of perturbation maxima needs a sub-exponential tail bound for maxima of exponentials.

Formalization scope

Rounds are 1-based, and losses are ℓ:N→Fin n→R\ell:\mathbb N\to\mathrm{Fin}\,n\to\mathbb Rℓ:N→Finn→R with values in [0,1][0,1][0,1]. An online algorithm has type Ω→(t:N)→(Fin(t−1)→Fin n→R)→Fin n\Omega\to(t:\mathbb N)\to(\mathrm{Fin}(t-1)\to\mathrm{Fin}\,n\to\mathbb R)\to\mathrm{Fin}\,nΩ→(t:N)→(Fin(t−1)→Finn→R)→Finn: at round ttt it sees only ω\omegaω and ℓ1,…,ℓt−1\ell_1,\dots,\ell_{t-1}ℓ1​,…,ℓt−1​. The adversary is a deterministic loss sequence, quantified after the algorithm, which is the page's own reduction (p. 5). High-probability statements bound the outer measure of the failure event by δ\deltaδ. Expectations are lower Lebesgue integrals of natural-valued switch counts. The O(⋅)O(\cdot)O(⋅) of Theorems 1 and 8 is an absolute constant C>0C>0C>0 chosen before TTT, nnn and δ\deltaδ. Argmins break ties towards the lowest index. Framework 1 takes randomness ω:N→Ω\omega:\mathbb N\to\Omegaω:N→Ω under the infinite product measure, one coordinate per epoch.

Three formalizations of the goal would be trivial, and all are excluded. An algorithm that could see ℓt\ell_tℓt​ or the future would simply play the best action in hindsight. A constant CCC chosen after TTT could be C=TC=TC=T. A loss sequence chosen before the algorithm would let the algorithm depend on it.

The printed slips and how they are handled:

  • FPL* sign. The paper perturbs by +R/ε+R/\varepsilon+R/ε. With one-sided exponentials that variant violates Lemma 7, so the perturbation is −R/ε-R/\varepsilon−R/ε.
  • Lemma 5 and Corollary 6. These need M(SwitchesT+1)M(\mathrm{Switches}_T+1)M(SwitchesT​+1) and +E+E+E; the printed forms fail at T=1T=1T=1.
  • Lemma 3. It takes an integer N≥2N\ge2N≥2 with δ/2=e−N\delta/2=e^{-N}δ/2=e−N, it assumes the switching hypothesis only at the horizon the proof uses, and it counts one boundary switch per epoch.
  • BFPLδ∗^*_\deltaδ∗​. It uses N=⌈log⁡(2/δ)⌉N=\lceil\log(2/\delta)\rceilN=⌈log(2/δ)⌉.
  • Measurability. Lemma 3 assumes that A\mathcal AA's actions are measurable in ω\omegaω.

The development needs:

  • product and infinite-product measures of exponential laws (in Mathlib);
  • Markov's inequality and Azuma–Hoeffding for submartingales with bounded differences;
  • the memoryless property of the exponential law;
  • Chernoff bounds.

The online-learning layer (protocol, regret, switches, FPL, the restart framework) is reusable for other switching-cost results in the paper and elsewhere. Proofs of any milestone are welcome, as are alternative routes to Theorem 1, such as the random-walk perturbation of §2.5.

Selected references

  • J. M. Altschuler and K. Talwar, Online learning over a finite action set with limited switching, COLT 2018; Mathematics of Operations Research 46(1), 2021. arXiv:1803.01548v2
  • A. Kalai and S. Vempala, Efficient algorithms for online decision problems, Journal of Computer and System Sciences 71(3), 2005. doi:10.1016/j.jcss.2004.10.016
  • L. Devroye, G. Lugosi and G. Neu, Random-walk perturbations for online combinatorial optimization, IEEE Transactions on Information Theory 61(7):4099–4106, 2015. doi:10.1109/TIT.2015.2428253
  • N. Cesa-Bianchi and G. Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006. doi:10.1017/CBO9780511546921
10 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Bayesian Sequential Learning for Clinical Trials of Multiple Correlated Medical Interventions: The cPDE Allocation Policy Is Asymptotically ConsistentResearch Paper

Motivation

A clinical trial that compares several treatments for the same condition must decide, patient by patient, which treatment the next patient receives. When the treatments are related (doses of one drug, drugs of one class), an outcome observed on one arm is informative about the others, and a good allocation rule should exploit that correlation. Chick, Gans and Yapar (SSRN 3184758, version of August 31, 2020; later in Management Science) model this as Bayesian sequential sampling with a correlated Gaussian prior and propose the cPDE allocation policy, which samples the arm with the largest value of an adaptive-lookahead optimal-stopping index. Their one theorem, Theorem 1, says that cPDE is asymptotically consistent: run forever, it learns every arm's mean and identifies the best arm.

Consistency is the minimal guarantee asked of an allocation heuristic: a rule that can stop sampling an arm whose value is still uncertain may settle on the wrong treatment forever. The argument follows the consistency proof of Xie, Frazier and Chick (Operations Research 64(2):542–559, 2016; "XFC") for one-step knowledge-gradient (cKG) policies, extended to an index whose lookahead is itself an optimal stopping time.

Setting

There are M≥2M\ge2M≥2 arms. Arm iii has unknown mean θi\theta_iθi​; an observation of arm iii is Y∣θi∼N(θi,λi)Y\mid\theta_i\sim N(\theta_i,\lambda_i)Y∣θi​∼N(θi​,λi​) with known λi>0\lambda_i>0λi​>0, independent across observations. The prior is θ∼N(μ0,Σ0)\theta\sim N(\mu^0,\Sigma^0)θ∼N(μ0,Σ0) with Σ0\Sigma^0Σ0 positive definite, and sampling arm iii costs ci>0c_i>0ci​>0. After ttt observations the belief is (μt,Σt)(\mu^t,\Sigma^t)(μt,Σt); one observation yyy of arm iii updates it by Bayes' rule (8):

μ′=μ+y−μiλi+Σi,iΣei,Σ′=Σ−Σeiei⊤Σλi+Σi,i.\mu'=\mu+\frac{y-\mu_i}{\lambda_i+\Sigma_{i,i}}\Sigma e_i,\qquad \Sigma'=\Sigma-\frac{\Sigma e_ie_i^\top\Sigma}{\lambda_i+\Sigma_{i,i}}.μ′=μ+λi​+Σi,i​y−μi​​Σei​,Σ′=Σ−λi​+Σi,i​Σei​ei⊤​Σ​.

From a belief (μ,Σ)(\mu,\Sigma)(μ,Σ), imagine sampling arm iii alone. The predictive change Ziτ=μit+τ−μitZ^\tau_i=\mu^{t+\tau}_i-\mu^t_iZiτ​=μit+τ​−μit​ after τ\tauτ samples is a centred Gaussian with variance λiτ/(ni(ni+τ))\lambda_i\tau/(n_i(n_i+\tau))λi​τ/(ni​(ni​+τ)), ni=λi/Σi,in_i=\lambda_i/\Sigma_{i,i}ni​=λi​/Σi,i​ ((9)–(10)). The cPDE allocation index is (EC.8):

νi∗(μ,Σ)=sup⁡Ti≥1E[−Ti+1cimax⁡j{μj+Σi,jΣi,iZiTi}]−1cimax⁡jμj,\nu^*_i(\mu,\Sigma)=\sup_{T_i\ge1}\mathbb E\Big[-T_i+\frac1{c_i}\max_j\Big\{\mu_j+\frac{\Sigma_{i,j}}{\Sigma_{i,i}}Z^{T_i}_i\Big\}\Big]-\frac1{c_i}\max_j\mu_j,νi∗​(μ,Σ)=Ti​≥1sup​E[−Ti​+ci​1​jmax​{μj​+Σi,i​Σi,j​​ZiTi​​}]−ci​1​jmax​μj​,

the supremum over stopping times of the sampling of arm iii. The one-step index νicKG1\nu^{cKG_1}_iνicKG1​​ is the same expression with Ti≡1T_i\equiv1Ti​≡1 ((EC.6)). The cPDE policy allocates observation t+1t+1t+1 to an arm maximizing νi∗(μt,Σt)\nu^*_i(\mu^t,\Sigma^t)νi∗​(μt,Σt); the trial never stops.

Formalization targets

Goal: Theorem 1 (p. 13)

For each arm iii, almost surely,

Σi,iT→0,νi∗(μT,ΣT)→−1,μiT→θi (also in L2),\Sigma^T_{i,i}\to0,\qquad \nu^*_i(\mu^T,\Sigma^T)\to-1,\qquad \mu^T_i\to\theta_i\ \text{(also in }L^2),Σi,iT​→0,νi∗​(μT,ΣT)→−1,μiT​→θi​ (also in L2),

and almost surely θ\thetaθ has a unique maximizer which, for all large TTT, is also the unique maximizer of μT\mu^TμT.

Milestones

  1. Prop. 3 (p. 12): ZiτZ^\tau_iZiτ​ is a uniformly integrable martingale and E[ZiT]=0\mathbb E[Z^{T}_i]=0E[ZiT​]=0 for a.s. finite stopping times.
  2. Lemma EC.1, first inequality (p. ec3): νicKG1≤νi∗\nu^{cKG_1}_i\le\nu^*_iνicKG1​​≤νi∗​.
  3. Lemma EC.3 (p. ec6): if lim inf⁡TνicKG1(μT,ΣT)=−1\liminf_T\nu^{cKG_1}_i(\mu^T,\Sigma^T)=-1liminfT​νicKG1​​(μT,ΣT)=−1 for all iii, then every Σi,iT→0\Sigma^T_{i,i}\to0Σi,iT​→0.
  4. Lemma EC.4 (p. ec7): an arm sampled infinitely often has Σi,iT→0\Sigma^T_{i,i}\to0Σi,iT​→0, and Σi,iT→0\Sigma^T_{i,i}\to0Σi,iT​→0 forces νi∗(μT,ΣT)→−1\nu^*_i(\mu^T,\Sigma^T)\to-1νi∗​(μT,ΣT)→−1.
  5. Lemma EC.5 (p. ec7): if lim inf⁡Tνi∗(μT,ΣT)=−1\liminf_T\nu^*_i(\mu^T,\Sigma^T)=-1liminfT​νi∗​(μT,ΣT)=−1 for all iii, then every Σi,iT→0\Sigma^T_{i,i}\to0Σi,iT​→0.

Significance

Theorem 1 is the only theoretical guarantee the paper gives for cPDE; the rest of the paper is computational (bounds, comparators, experiments). It also covers, through the same sandwich argument, the cheaper variants cPDELower and cPDEUpper (Corollary 1), which are not part of this mission. A consistent policy cannot lock onto a wrong treatment, which is the property a trial designer needs before comparing finite-horizon performance.

The result is proved on paper but has no machine-checked proof. Formalizing it requires a correlated-Gaussian Bayesian learning model, optimal stopping indices defined as suprema over stopping times, and the XFC consistency argument, none of which exist in Lean. The paper's proof also routes Lemma EC.4 through an upper bound that is false as printed (see below), so a checked proof replaces that step with a correct one.

Difficulty

The obvious route bounds νi∗\nu^*_iνi∗​ above by a one-step index with a fixed lookahead τˉ\bar\tauτˉ, as the paper's Lemma EC.1 does. That bound fails: τˉ\bar\tauτˉ of (EC.11) changes under a change of currency while every index is invariant. For M=2M=2M=2, μ=(0,10−3)\mu=(0,10^{-3})μ=(0,10−3), Σ=diag(10−6,10−6)\Sigma=\mathrm{diag}(10^{-6},10^{-6})Σ=diag(10−6,10−6), λ=(10−4,10−4)\lambda=(10^{-4},10^{-4})λ=(10−4,10−4), c=(10−7,10−7)c=(10^{-7},10^{-7})c=(10−7,10−7), the formula gives τˉ=1\bar\tau=1τˉ=1 and ν1cKG1:1≈−1\nu^{cKG_1:1}_1\approx-1ν1cKG1​:1​≈−1, while the lookahead T≡242T\equiv242T≡242 already yields a value above 240240240. Any upper bound on νi∗\nu^*_iνi∗​ must instead be uniform over stopping times of unbounded length, and showing that it tends to −1-1−1 needs (Σi,jT)2/Σi,iT→0(\Sigma^T_{i,j})^2/\Sigma^T_{i,i}\to0(Σi,jT​)2/Σi,iT​→0 along posterior covariances, not only Σi,iT→0\Sigma^T_{i,i}\to0Σi,iT​→0.

The second difficulty is the "finitely sampled arms" half of the argument (Lemmas EC.3, EC.5): an arm whose variance stays positive must keep a one-step value of sampling bounded away from zero, even while correlated arms are learned. This uses almost sure convergence of the posterior means and the structure of the piecewise linear terminal reward.

Formalization scope

Arms are Fin M (0-based) and time ttt counts observations, t=0t=0t=0 being the prior. The trial lives on the canonical space θ∈RM\theta\in\mathbb R^Mθ∈RM times an array of standard normal noises εi,k\varepsilon_{i,k}εi,k​, with law multivariateGaussian µ0 Σ0 times an infinite product of gaussianReal 0 1; the kkk-th sample of arm iii is θi+λi εi,k\theta_i+\sqrt{\lambda_i}\,\varepsilon_{i,k}θi​+λi​​εi,k​. The index νi∗\nu^*_iνi∗​ is built on its own auxiliary space (a prior draw of θi−μi\theta_i-\mu_iθi​−μi​ and i.i.d. noise), not as a conditional expectation on the trial space.

Committed conventions, each a disclosed reading of the page:

  • νi∗\nu^*_iνi∗​ is (EC.8). The printed definition (15) omits −1cimax⁡jμj-\frac1{c_i}\max_j\mu_j−ci​1​maxj​μj​; with (15) Theorem 1 ii) would be false.
  • The supremum in (EC.8) is a real sSup over stopping times of the auxiliary filtration with 1≤Ti≤N1\le T_i\le N1≤Ti​≤N for some NNN; this has the paper's value and keeps every expectation finite.
  • Ties in the cPDE argmax go to the least index (the paper: randomly). Every arm is eligible at every time (Mt=M\mathcal M_t=\mathcal MMt​=M), so Assumption 1 iii) is trivial.
  • Theorem 1 ii) and Lemmas EC.4–EC.5 are read with (μT,ΣT)(\mu^T,\Sigma^T)(μT,ΣT). Theorem 1 iv) is uniqueness of the maximizer of θ\thetaθ plus eventual agreement of the unique maximizer of μT\mu^TμT. The L2L^2L2 claim is MemLp plus eLpNorm → 0.
  • "liminf =−1=-1=−1" in Lemmas EC.3, EC.5 is "for every ε>0\varepsilon>0ε>0, the index is below −1+ε-1+\varepsilon−1+ε infinitely often"; since both indices are ≥−1\ge-1≥−1 this is the printed hypothesis. Lemma EC.4 is stated for every sample path.

Trivializing formalizations are ruled out: νi∗\nu^*_iνi∗​ is defined from (μ,Σ,λi,ci)(\mu,\Sigma,\lambda_i,c_i)(μ,Σ,λi​,ci​), not a parameter, a fixed-lookahead index or a supremum over non-adapted times; the policy is defined, not assumed; μt\mu^tμt and Σt\Sigma^tΣt both come from (8); the L2L^2L2 part does not use an integral that is 000 for non-integrable functions; iv) asserts uniqueness; and the false upper bound of Lemma EC.1 is not posed or used.

A complete development needs Gaussian conditioning for the update (8) (that μt=E[θ∣Ft]\mu^t=\mathbb E[\theta\mid\mathcal F_t]μt=E[θ∣Ft​]), the closed form Σt=(Σ0−1+diag(nkt/λk))−1\Sigma^t=(\Sigma_0^{-1}+\mathrm{diag}(n^t_k/\lambda_k))^{-1}Σt=(Σ0−1​+diag(nkt​/λk​))−1, optional stopping for uniformly integrable martingales, measurability of the index, and the XFC argument. The Gaussian-update and optional-stopping parts are reusable for other Bayesian ranking-and-selection results; contributions of those as separate lemmas are welcome.

Selected references

  • S. E. Chick, N. Gans, Ö. Yapar, Bayesian Sequential Learning for Clinical Trials of Multiple Correlated Medical Interventions, SSRN 3184758 (INSEAD Working Paper 2020/40/TOM/ACGRE), version of August 31, 2020. https://ssrn.com/abstract=3184758
  • J. Xie, P. I. Frazier, S. E. Chick, Bayesian Optimization via Simulation with Pairwise Sampling and Correlated Prior Beliefs, Operations Research 64(2):542–559, 2016.
  • P. I. Frazier, W. B. Powell, S. Dayanik, The Knowledge-Gradient Policy for Correlated Normal Beliefs, INFORMS Journal on Computing 21(4):599–613, 2009.
  • S. E. Chick, P. I. Frazier, Sequential Sampling for Selection with Economics of Selection Procedures, Management Science 58(3):550–569, 2012.
  • D. Williams, Probability with Martingales, Cambridge University Press, 1991.
9 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Balancing Optimal Large Deviations in Ranking and Selection: The BOLD Allocation Learns the Large Deviations Optimality Conditions With Probability OneResearch Paper

Motivation

Ranking and selection asks which of MMM simulated alternatives has the largest mean, when each simulation run returns one noisy sample and the simulation budget is limited. A large literature allocates the budget using the large-deviations analysis of Glynn and Juneja (2004): for a static allocation in which alternative xxx receives a fixed fraction αx\alpha_xαx​ of the samples, the probability of incorrect selection decays exponentially, and the allocation that maximizes the decay rate is characterized by a system of nonlinear optimality conditions. Those conditions depend on the unknown means, so practical procedures plug in estimates and solve the system repeatedly, which is costly and comes with few guarantees.

Chen and Ryzhov (Proc. 2019 Winter Simulation Conference) propose Balancing Optimal Large Deviations (BOLD), a sequential rule that never solves the optimality conditions: at each step it evaluates the two sides of one condition at plug-in estimates and samples whichever alternative appears to be falling behind. It has no tuning parameters and applies to any sampling distribution whose rate function can be evaluated. The paper states that BOLD learns the optimality conditions with probability 1; the full proofs are in the companion article (Chen and Ryzhov, Management Science, 2023).

Setting

There are M>2M > 2M>2 alternatives with distinct means μ1,…,μM\mu_1,\dots,\mu_Mμ1​,…,μM​; the best is x∗=arg⁡max⁡xμxx^* = \arg\max_x \mu_xx∗=argmaxx​μx​. Alternative xxx produces independent samples from a law FxF_xFx​ with mean μx\mu_xμx​, a member of a distributional family {Fx(θ)}\{F_x(\theta)\}{Fx​(θ)} indexed by its mean θ\thetaθ. The families may differ between alternatives.

The rate function of the member with mean θ\thetaθ is the Fenchel–Legendre transform of its log-moment generating function,

Ix(u;θ)=sup⁡γ(γu−log⁡E eγW),W∼Fx(θ),I_x(u;\theta) = \sup_{\gamma}\big(\gamma u - \log \mathbb E\,e^{\gamma W}\big),\qquad W \sim F_x(\theta),Ix​(u;θ)=γsup​(γu−logEeγW),W∼Fx​(θ),

with values in [0,∞][0,\infty][0,∞], and Dx(u;θ)=∂Ix(u;θ)/∂uD_x(u;\theta) = \partial I_x(u;\theta)/\partial uDx​(u;θ)=∂Ix​(u;θ)/∂u. For a normal law with variance λx2\lambda_x^2λx2​, Ix(u;θ)=(u−θ)2/(2λx2)I_x(u;\theta) = (u-\theta)^2/(2\lambda_x^2)Ix​(u;θ)=(u−θ)2/(2λx2​).

An allocation chooses alternative xnx^nxn at stage n=0,1,…n = 0,1,\dotsn=0,1,…. Write NxnN^n_xNxn​ for the number of samples of xxx among stages 0,…,n−10,\dots,n-10,…,n−1 and θxn\theta^n_xθxn​ for their mean (an arbitrary θx0\theta^0_xθx0​ while Nxn=0N^n_x = 0Nxn​=0). The plug-in rate is Ixn(⋅)=Ix(⋅;θxn)I^n_x(\cdot) = I_x(\cdot;\theta^n_x)Ixn​(⋅)=Ix​(⋅;θxn​), likewise DxnD^n_xDxn​. For x≠yx \ne yx=y, ux,ynu^n_{x,y}ux,yn​ is the solution of

NxnDxn(u)+NynDyn(u)=0(10)N^n_x D^n_x(u) + N^n_y D^n_y(u) = 0 \qquad (10)Nxn​Dxn​(u)+Nyn​Dyn​(u)=0(10)

and Γx,yn=NxnIxn(ux,yn)+NynIyn(ux,yn)\Gamma^n_{x,y} = N^n_x I^n_x(u^n_{x,y}) + N^n_y I^n_y(u^n_{x,y})Γx,yn​=Nxn​Ixn​(ux,yn​)+Nyn​Iyn​(ux,yn​) (11).

BOLD (Figure 1 of the paper): let x∗,nx^{*,n}x∗,n be the leader, an alternative with the largest θxn\theta^n_xθxn​. If the leader is not unique, sample the tied leader with the fewest samples. Otherwise sample the leader if

∑x≠x∗,nIx∗,nn(ux∗,n,xn)Ixn(ux∗,n,xn)>1,(12)\sum_{x\ne x^{*,n}} \frac{I^n_{x^{*,n}}(u^n_{x^{*,n},x})}{I^n_x(u^n_{x^{*,n},x})} > 1, \qquad (12)x=x∗,n∑​Ixn​(ux∗,n,xn​)Ix∗,nn​(ux∗,n,xn​)​>1,(12)

and if not, sample the x≠x∗,nx \ne x^{*,n}x=x∗,n minimizing Γx∗,n,xn\Gamma^n_{x^{*,n},x}Γx∗,n,xn​ (13). Remaining ties are broken arbitrarily.

Formalization targets

Goal: BOLD learns the optimality conditions

Under Assumptions 1–4 of the paper, with probability 1,

lim⁡n→∞∑x≠x∗Ix∗n(ux∗,xn)Ixn(ux∗,xn)=1andlim⁡n→∞Γx∗,ynΓx∗,zn=1  for all y,z≠x∗.\lim_{n\to\infty}\sum_{x\ne x^*}\frac{I^n_{x^*}(u^n_{x^*,x})}{I^n_x(u^n_{x^*,x})} = 1 \quad\text{and}\quad \lim_{n\to\infty}\frac{\Gamma^n_{x^*,y}}{\Gamma^n_{x^*,z}} = 1 \ \text{ for all } y,z\ne x^*.n→∞lim​x=x∗∑​Ixn​(ux∗,xn​)Ix∗n​(ux∗,xn​)​=1andn→∞lim​Γx∗,zn​Γx∗,yn​​=1  for all y,z=x∗.

These are the plug-in forms of the total balance condition (5) and the individual balance conditions (6), which together characterize the optimal static allocation. The paper states them as Theorems 3 and 4; the goal is their conjunction.

Milestones

  1. Theorem 1 (consistency). Under Assumptions 1–3, Nxn→∞N^n_x \to \inftyNxn​→∞ for every xxx, almost surely.
  2. Theorem 2. Under Assumptions 1–3, lim sup⁡nNxn/Nyn<∞\limsup_n N^n_x/N^n_y < \inftylimsupn​Nxn​/Nyn​<∞ for all x,yx, yx,y, almost surely.
  3. Theorem 3. The total balance limit above.
  4. Theorem 4. The individual balance limit above.

Significance

The result. Convergence of BOLD to the optimality conditions shows that the static optimum of Glynn and Juneja can be learned by a cheap sequential rule without knowing the proportion of the budget the best alternative should receive. Top-two methods require that proportion as an input. The paper claims the guarantee for any sampling distributions satisfying four regularity assumptions, not only normal ones. As the paper notes, convergence to the static optimum does not by itself transfer the static exponential rate to the adaptive procedure; the result concerns learning the conditions.

The formalization. The WSC paper gives proof outlines only, and the complete argument lives in a long journal article. No part of it has been machine-checked. A formal proof would check a strong-law argument for an adaptive procedure with two interleaved decision criteria and would yield a reusable formal model of sequential sampling for ranking and selection with general rate functions.

Difficulty

The obvious argument is "sample means converge, hence the plug-in conditions converge". It fails because the sample means converge only if every alternative is sampled infinitely often, and BOLD gives no forced exploration: an alternative is sampled only when (12) or (13) selects it. Consistency must therefore come from the structure of the rule itself. Even with consistency, the limits in Theorems 3–4 are not continuity statements: the plug-in quantities depend on the sample sizes as well as the sample means, and they oscillate around the level 1 as (12) alternately holds and fails, so convergence requires quantitative control of how long the rule can neglect any one alternative. Discrete sampling laws add ties among sample means and a sample mean that can coincide with another alternative's true mean (Assumption 3).

Formalization scope

  • Model. Alternatives are Fin M with 2 < M (indexed from 0). The family is Fam : Fin M → ℝ → Measure ℝ of probability measures, with true law Fam x (μ x). Samples form an observation array W x k (the (k+1)(k+1)(k+1)-th sample of xxx), mutually independent, with W x k ∼ Fam x (μ x); this gives the same law of the sample path as the paper's sequential sampling.
  • Rate function. Ix(u;θ)I_x(u;\theta)Ix​(u;θ) is the extended-real Legendre transform of the extended-real log-MGF, from the published BellWilliams2001.ThresholdPolicy.LargeDeviation, so +∞+\infty+∞ is a genuine value. DxD_xDx​ is the derivative of its real part. Conditions on DxD_xDx​ are imposed on the effective domain Dx\mathcal D_xDx​, where IxI_xIx​ is finite nearby.
  • Parameter space. For each xxx there is an open interval Θx⊇Hx\Theta_x \supseteq H_xΘx​⊇Hx​ that contains the samples almost surely, on which Fx(θ)F_x(\theta)Fx​(θ) has mean θ\thetaθ and Ix(⋅;θ)I_x(\cdot;\theta)Ix​(⋅;θ) is finite between any two parameters. The initial means lie in Θx\Theta_xΘx​. These conditions are not printed, but without them the plug-in rule can starve an alternative forever: a law with Ix(⋅;θ)=+∞I_x(\cdot;\theta) = +\inftyIx​(⋅;θ)=+∞ off one point gives Γ=+∞\Gamma = +\inftyΓ=+∞. Bernoulli laws, whose sample means reach 000 or 111, fall outside this convention, although the paper says they are covered.
  • Assumptions. The interval HHH of Assumptions 1–2 is one fixed interval Hx=[ax,bx]H_x = [a_x,b_x]Hx​=[ax​,bx​] per alternative with μx\mu_xμx​ in its interior. Assumption 3 is written without division. Assumption 4 is joint C1C^1C1 on Dx\mathcal D_xDx​.
  • Algorithm. BOLD is a predicate IsBOLD on allocation sequences, so every tie-breaking rule is covered. The initial means θ0\theta^0θ0 are arbitrary. The solution of (10) is a chosen solution between the two sample means; its uniqueness is the paper's claim, not a hypothesis.
  • Conventions. Ratios and Γ\GammaΓ are in [0,∞][0,\infty][0,∞], with a/0=∞a/0 = \inftya/0=∞ for a>0a > 0a>0, so a never-sampled leader triggers (12) as in the paper. Theorem 2's limsup is taken in [0,∞][0,\infty][0,∞]. Every theorem is an almost-sure statement, with "probability 1" taken from §4.
  • Ruled out. The theorems are not vacuous: a BOLD run exists on every realization (a local check proves this). The rate function is the Legendre transform of the actual family, not an unconstrained function. The family is not fixed to the normal or any single parametric case.

The development needs strong laws of large numbers along adaptively chosen sample counts, properties of Legendre transforms of log-moment generating functions (convexity, a unique zero at the mean), and law-of-the-iterated-logarithm-type rates for sample means. Lemmas on Legendre transforms of log-MGFs and the observation-array model are reusable for other large-deviations allocation rules. Contributions toward any milestone are welcome. Statements specialized to normal families are not substitutes for the general milestones.

Selected references

  • Y. Chen and I. O. Ryzhov, Balancing Optimal Large Deviations in Ranking and Selection, Proc. 2019 Winter Simulation Conference, pp. 3368–3379, IEEE.
  • Y. Chen and I. O. Ryzhov, Balancing Optimal Large Deviations in Sequential Selection, Management Science, 2023. https://doi.org/10.1287/mnsc.2022.4527
  • P. Glynn and S. Juneja, A Large Deviations Perspective on Ordinal Optimization, Proc. 2004 Winter Simulation Conference, pp. 577–585, IEEE.
  • A. Dembo and O. Zeitouni, Large Deviations Techniques and Applications, 2nd ed., Springer, 2009. https://doi.org/10.1007/978-3-642-03311-7
9 thms1 active userReviewed
Algorithmic Game TheoryMachine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 3: Even with Full Information and v_t ≡ 1, Every Bidding Policy Has Worst-Case Expected Regret at Least c√TResearch Paper

Learning to bid in first-price auctions

Most online advertising inventory is sold one impression at a time in automated auctions, and since about 2019 the major ad exchanges have moved from second-price to first-price rules: the highest bidder wins and pays its own bid. A bidder in a first-price auction must trade off winning probability against the price paid, and that trade-off depends on the unknown distribution of competing bids. A bidder who takes part in many such auctions can learn that distribution as it goes. The natural yardstick is regret: the expected shortfall of the bidder's cumulative reward relative to an oracle that knows the distribution of competing bids from the start.

Han, Zhou and Weissman (arXiv:2003.09795, Operations Research, 2025) give bidding policies whose expected regret is O~(T)\widetilde O(\sqrt T)O(T​) over TTT auctions, both for iid and for adversarial private values, under the censored feedback that real exchanges provide (only the winning bid is announced). Their Theorem 9 shows that the T\sqrt TT​ rate cannot be improved, even in a much easier setting. This mission is that lower bound.

Related results put it in context. With binary feedback (only "won" or "lost"), regret of order T2/3T^{2/3}T2/3 is unavoidable (Kleinberg and Leighton, 2003). With a fixed value, repeated first-price bidding is a pricing problem on a one-dimensional action set whose reward (1−b)G(b)(1-b)G(b)(1−b)G(b) need not be continuous in bbb. Theorem 9 shows that the extra information of the full competing bid buys T\sqrt TT​ and nothing better.

Setting

In each round t=1,…,Tt=1,\dots,Tt=1,…,T a bidder has a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], submits a bid bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and faces the highest other bid (HOB) mt∈[0,1]m_t\in[0,1]mt​∈[0,1], the largest bid of all competitors. The bidder wins when bt≥mtb_t\ge m_tbt​≥mt​, and its payoff is

r(vt,bt;mt)=(vt−bt) 1(bt≥mt).r(v_t,b_t;m_t)=(v_t-b_t)\,\mathbb 1(b_t\ge m_t).r(vt​,bt​;mt​)=(vt​−bt​)1(bt​≥mt​).

The HOBs m1,…,mTm_1,\dots,m_Tm1​,…,mT​ are iid with an unknown cumulative distribution function G(x)=P(mt≤x)G(x)=\mathbb P(m_t\le x)G(x)=P(mt​≤x) on [0,1][0,1][0,1]. No smoothness is assumed: GGG may have atoms. The expected reward of bid bbb at value vvv is R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the regret of the bids b1,…,bTb_1,\dots,b_Tb1​,…,bT​ is

RT(π;v)=∑t=1T(max⁡b∈[0,1]R(vt,b)−R(vt,bt)).R_T(\pi;v)=\sum_{t=1}^T\Bigl(\max_{b\in[0,1]}R(v_t,b)-R(v_t,b_t)\Bigr).RT​(π;v)=t=1∑T​(b∈[0,1]max​R(vt​,b)−R(vt​,bt​)).

A policy π\piπ chooses btb_tbt​ from what it has observed before round ttt, and it may use internal randomness. Theorem 9 makes the problem as easy as possible: the value is vt=1v_t=1vt​=1 in every round, and the HOB mtm_tmt​ is revealed at the end of every round (full information), rather than only when the bidder loses. A policy is then a rule bt=βt(u,m1,…,mt−1)b_t=\beta_t(u,m_1,\dots,m_{t-1})bt​=βt​(u,m1​,…,mt−1​), where uuu is the policy's internal randomness.

The lower bound uses two HOB laws on {1/3,2/3}\{1/3,2/3\}{1/3,2/3}. For Δ∈(0,1/4)\Delta\in(0,1/4)Δ∈(0,1/4), G1G_1G1​ puts mass 12+Δ\tfrac12+\Delta21​+Δ on 1/31/31/3 and 12−Δ\tfrac12-\Delta21​−Δ on 2/32/32/3, and G2G_2G2​ the reverse. Pi⊗TP_i^{\otimes T}Pi⊗T​ is the law of TTT iid HOBs from GiG_iGi​. The total variation distance is ∥P−Q∥TV=12∫∣dP−dQ∣\|P-Q\|_{\mathrm{TV}}=\tfrac12\int|dP-dQ|∥P−Q∥TV​=21​∫∣dP−dQ∣, and DKL(P∥Q)=∫dPlog⁡dPdQD_{\mathrm{KL}}(P\|Q)=\int dP\log\frac{dP}{dQ}DKL​(P∥Q)=∫dPlogdQdP​ is the Kullback–Leibler divergence.

Formalization targets

Goal: Theorem 9 (p. 36)

There is an absolute constant c>0c>0c>0 such that, for every horizon T≥1T\ge1T≥1,

inf⁡πsup⁡G EG[RT(π;v)] ≥ cT,vt≡1,\inf_\pi\sup_G\ \mathbb E_G\bigl[R_T(\pi;v)\bigr]\ \ge\ c\sqrt T,\qquad v_t\equiv 1,πinf​Gsup​ EG​[RT​(π;v)] ≥ cT​,vt​≡1,

where the supremum is over all HOB distributions on [0,1][0,1][0,1] and the infimum is over all full-information policies, randomized ones included. The constant is left unspecified, as in the paper; the paper's proof gives c=1/(24e2)c=1/(24e^2)c=1/(24e2).

Milestones (App. A–B, pp. 36–38)

  1. Oracle rewards (p. 37): with vt=1v_t=1vt​=1, max⁡b(1−b)G1(b)=(1+2Δ)/3\max_b(1-b)G_1(b)=(1+2\Delta)/3maxb​(1−b)G1​(b)=(1+2Δ)/3, max⁡b(1−b)G2(b)=1/3\max_b(1-b)G_2(b)=1/3maxb​(1−b)G2​(b)=1/3 and max⁡b(1−b)(G1+G2)(b)=2/3\max_b(1-b)(G_1+G_2)(b)=2/3maxb​(1−b)(G1​+G2​)(b)=2/3.
  2. Separation (20): for every bid bt∈[0,1]b_t\in[0,1]bt​∈[0,1], the instantaneous regrets under G1G_1G1​ and G2G_2G2​ sum to at least 2Δ/32\Delta/32Δ/3.
  3. Two-point reduction (21): for every policy, 12EG1[RT]+12EG2[RT]≥ΔT3(1−∥P1⊗T−P2⊗T∥TV)\tfrac12\mathbb E_{G_1}[R_T]+\tfrac12\mathbb E_{G_2}[R_T]\ge\frac{\Delta T}{3}\bigl(1-\|P_1^{\otimes T}-P_2^{\otimes T}\|_{\mathrm{TV}}\bigr)21​EG1​​[RT​]+21​EG2​​[RT​]≥3ΔT​(1−∥P1⊗T​−P2⊗T​∥TV​).
  4. Lemma 12: 1−∥P−Q∥TV≥12exp⁡(−(DKL(P∥Q)+DKL(Q∥P))/2)1-\|P-Q\|_{\mathrm{TV}}\ge\tfrac12\exp\bigl(-(D_{\mathrm{KL}}(P\|Q)+D_{\mathrm{KL}}(Q\|P))/2\bigr)1−∥P−Q∥TV​≥21​exp(−(DKL​(P∥Q)+DKL​(Q∥P))/2).
  5. KL computation (p. 37): DKL(P1⊗T∥P2⊗T)=T DKL(G1∥G2)≤32TΔ2D_{\mathrm{KL}}(P_1^{\otimes T}\|P_2^{\otimes T})=T\,D_{\mathrm{KL}}(G_1\|G_2)\le32T\Delta^2DKL​(P1⊗T​∥P2⊗T​)=TDKL​(G1​∥G2​)≤32TΔ2.
  6. (22): 1−∥P1⊗T−P2⊗T∥TV≥12exp⁡(−32TΔ2)1-\|P_1^{\otimes T}-P_2^{\otimes T}\|_{\mathrm{TV}}\ge\tfrac12\exp(-32T\Delta^2)1−∥P1⊗T​−P2⊗T​∥TV​≥21​exp(−32TΔ2).

Significance

The theorem shows that the upper bounds of the paper, CTlog⁡2.5TC\sqrt T\log^{2.5}TCT​log2.5T for iid values and CTlog⁡3TC\sqrt T\log^3TCT​log3T for adversarial values, are optimal up to logarithmic factors. Because the lower bound holds with a constant value and with every HOB revealed, it is not caused by censoring or by the value process. The T\sqrt TT​ comes from the statistical difficulty of locating the maximizer of (1−b)G(b)(1-b)G(b)(1−b)G(b) when GGG is learned from samples. The same lower bound therefore applies to every richer feedback model and every value model that contains the constant sequence.

The milestones are general tools. Lemma 12 (a symmetrised Bretagnolle–Huber inequality), the product rule for KL divergences of iid laws, and the reduction (21) are the standard steps of Le Cam's two-point method. They recur in essentially every minimax lower bound for bandits and online learning.

The theorem has a complete proof in the paper (App. B). As far as is known it has not been machine-checked, and the needed pieces are only partly in Mathlib: there is a Kullback–Leibler divergence with a chain rule, but at the pinned revision there is no total variation distance and no Bretagnolle–Huber or Le Cam inequality. The work is to formalize the known proof.

Difficulty

The arithmetic is elementary, and the difficulty lies in the probabilistic reduction. The first idea, bounding the regret round by round under a single law, fails: for any fixed GGG a policy that happens to bid the right point has zero regret, so the lower bound must come from a policy's inability to know which of two laws it faces. Making that precise requires the law of the observed history (m1,…,mt−1)(m_1,\dots,m_{t-1})(m1​,…,mt−1​) under each hypothesis, the identity ∫min⁡{dP,dQ}=1−∥P−Q∥TV\int\min\{dP,dQ\}=1-\|P-Q\|_{\mathrm{TV}}∫min{dP,dQ}=1−∥P−Q∥TV​, and monotonicity of total variation under marginalization from TTT to t−1t-1t−1 coordinates. A randomized policy adds one more integration, over its internal randomness, before the per-round bound applies. The KL step needs the tensorization of KL over product measures and an elementary but explicit logarithmic inequality.

Formalization scope

All declarations live in the namespace FirstPriceLearning.LowerBound.

  • Time. Rounds are Fin T; Lean round t is paper time t+1t+1t+1.
  • HOB law. A measure μG on ℝ. The goal asks for a probability measure giving no mass outside [0,1][0,1][0,1]. The CDF is (μG (Set.Iic x)).toReal, with atoms allowed.
  • Reward and regret. R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the oracle term is the supremum over b∈[0,1]b\in[0,1]b∈[0,1] (a bounded nonempty family, attained). The regret is the pseudo-regret (3), a sum of expected-reward gaps.
  • Policies. A policy carries a probability space (U,μU)(U,\mu_U)(U,μU​), with U : Type, for its internal randomness and bid maps bid t : U → (Fin t → ℝ) → ℝ that are jointly measurable with values in [0,1][0,1][0,1]. The history type Fin t → ℝ makes the policy non-anticipating by construction: it cannot read mtm_tmt​ or later HOBs, and it never sees GGG.
  • Expectation. An integral over u∼μUu\sim\mu_Uu∼μU​ independent of m∼G⊗Tm\sim G^{\otimes T}m∼G⊗T (Measure.prod with Measure.pi).
  • Quantifiers. The goal is stated as ∃c>0 ∀T≥1 ∀π ∃G\exists c>0\ \forall T\ge1\ \forall\pi\ \exists G∃c>0 ∀T≥1 ∀π ∃G, which implies the inf–sup form. The constant precedes TTT and the policy, and the law is chosen after the policy.
  • Divergences. KL is Mathlib's InformationTheory.klDiv, valued in [0,∞][0,\infty][0,∞]. Total variation is defined locally as 12∫∣p−q∣ d(P+Q)\tfrac12\int|p-q|\,d(P+Q)21​∫∣p−q∣d(P+Q) with Radon–Nikodym densities. In Lemma 12 the right-hand side is 000 when a divergence is infinite (exp⁡(−∞)=0\exp(-\infty)=0exp(−∞)=0).
  • Hard laws. G1,G2G_1,G_2G1​,G2​ are explicit two-point measures; the milestones (20)–(22) are stated for Δ∈(0,1/4)\Delta\in(0,1/4)Δ∈(0,1/4) as printed.

Two trivializing formalizations are excluded. A policy that observes mtm_tmt​ (or GGG) before bidding would make the bound false rather than trivial, and the types forbid it. A non-measurable bid map would make the expectation the junk value 000, and measurability is required. Restricting the policy class to deterministic policies, or reading (∞).toReal=0(\infty).\mathrm{toReal}=0(∞).toReal=0 in Lemma 12, would change the theorem and is not done.

Reusable beyond this mission: the total variation distance, Lemma 12, and the tensorization bound for KL. Contributions are welcome at every milestone, especially Lemma 12 and the data-processing step behind (21).

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7, 2024. https://arxiv.org/abs/2003.09795
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009 (Lemma 2.6). https://doi.org/10.1007/b13794
  • J. Bretagnolle, C. Huber, Estimation des densités: risque minimax, Z. Wahrscheinlichkeitstheorie verw. Gebiete 47, 1979. https://doi.org/10.1007/BF00535278
  • R. Kleinberg, T. Leighton, The Value of Knowing a Demand Curve: Bounds on Regret for Online Posted-Price Auctions, FOCS, 2003. https://doi.org/10.1109/SFCS.2003.1238232
12 thms1 active userReviewed
Algorithmic Game TheoryMachine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 2: The ML-IS-UCB Bidding Policy Achieves Expected Regret at Most C√T log³ T for Every Oblivious Private-Value SequenceResearch Paper

Learning to bid in first-price auctions

Display advertising has been moving from second-price to first-price auctions: several exchanges began rolling them out in 2017, and Google Ad Manager completed its move at the end of 2019 (Davies 2019). In a second-price auction bidding one's value is a dominant strategy; in a first-price auction the optimal bid depends on the distribution of the competing bids, which a bidder does not know and must learn from repeated play. Most of the learning literature on auctions takes the seller's side of the second-price auction (reserve prices, e.g. Cesa-Bianchi, Gentile, Mansour 2015); on the bidder's side of the first-price auction, the main prior approach is the cross-learning framework of Balseiro et al. 2019.

Han, Zhou and Weissman (arXiv:2003.09795) study the bidder's problem with the feedback that ad exchanges actually provide, where only the winning price is announced, and with no assumption on the distribution of the competing bids. Their two upper bounds are O~(T)\widetilde O(\sqrt T)O(T​) regret: Theorem 1 for iid private values and Theorem 2, the subject of this mission, for values chosen by an oblivious adversary. A matching Ω(T)\Omega(\sqrt T)Ω(T​) lower bound holds even under full information (Theorem 9).

Setting

A single bidder plays TTT rounds. In round ttt she observes a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and wins if bt≥mtb_t\ge m_tbt​≥mt​, where mt∈[0,1]m_t\in[0,1]mt​∈[0,1] is the highest other bid (HOB). Her payoff is (1)

r(vt,bt;mt)=(vt−bt) 1(bt≥mt).r(v_t,b_t;m_t)=(v_t-b_t)\,\mathbb 1(b_t\ge m_t).r(vt​,bt​;mt​)=(vt​−bt​)1(bt​≥mt​).

The HOBs are iid with an unknown cumulative distribution function G(x)=P(mt≤x)G(x)=\mathbb P(m_t\le x)G(x)=P(mt​≤x) on [0,1][0,1][0,1]; GGG may be discrete, continuous or mixed. Feedback is censored: after round ttt only max⁡{bt,mt}\max\{b_t,m_t\}max{bt​,mt​} is revealed, so mtm_tmt​ is observed only when the bidder loses. The expected reward is R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the regret of a policy π\piπ against the value sequence v=(v1,…,vT)v=(v_1,\dots,v_T)v=(v1​,…,vT​) is (3)

RT(π;v)=∑t=1T(max⁡b∈[0,1]R(vt,b)−R(vt,bt)),R_T(\pi;v)=\sum_{t=1}^T\Big(\max_{b\in[0,1]}R(v_t,b)-R(v_t,b_t)\Big),RT​(π;v)=t=1∑T​(b∈[0,1]max​R(vt​,b)−R(vt​,bt​)),

the shortfall against an oracle that knows GGG. A policy bids in round ttt as a (possibly randomized) function of v1,…,vtv_1,\dots,v_tv1​,…,vt​ and of the feedback of rounds 1,…,t−11,\dots,t-11,…,t−1. An oblivious adversary fixes the whole value sequence in advance, independently of the bids and the HOBs.

The policy analysed is ML-IS-UCB (Algorithm 4). It restricts bids to the grid bi=(i−1)/Kb^i=(i-1)/Kbi=(i−1)/K, i∈[K]i\in[K]i∈[K], with K=⌈T⌉K=\lceil\sqrt T\rceilK=⌈T​⌉; it splits time into L=⌈log⁡2T⌉L=\lceil\log_2T\rceilL=⌈log2​T⌉ levels after an initialization phase of T0=(L+1)⌈T⌉T_0=(L+1)\lceil\sqrt T\rceilT0​=(L+1)⌈T​⌉ zero bids; and at each level it computes a width wi,tℓw^\ell_{i,t}wi,tℓ​, an interval-splitting reward estimate r^i,tℓ\hat r^\ell_{i,t}r^i,tℓ​ and a candidate set Btℓ\mathcal B^\ell_tBtℓ​ by the displays (12)–(16).

Formalization targets

Goal: Theorem 2

There is an absolute constant C>0C>0C>0 such that for every T≥2T\ge2T≥2 some policy π\piπ satisfies, for every value sequence v∈[0,1]Tv\in[0,1]^Tv∈[0,1]T and every GGG on [0,1][0,1][0,1],

E[RT(π;v)]≤CTlog⁡3T.\mathbb E\big[R_T(\pi;v)\big]\le C\sqrt T\log^3T .E[RT​(π;v)]≤CT​log3T.

The constant is unspecified, so the goal survives any improvement of the constants below.

The explicit bound: Theorem 7

For every γ≥3\gamma\ge3γ≥3, the ML-IS-UCB policy satisfies

E[RT(πML-IS-UCB;v)]≤4+(L+4)⌈T⌉+80γ3/2log⁡(LKT)(1+log⁡T) LT.\mathbb E\big[R_T(\pi^{\mathrm{ML\text{-}IS\text{-}UCB}};v)\big]\le4+(L+4)\lceil\sqrt T\rceil+80\gamma^{3/2}\log(LKT)(1+\log T)\,L\sqrt T .E[RT​(πML-IS-UCB;v)]≤4+(L+4)⌈T​⌉+80γ3/2log(LKT)(1+logT)LT​.

Milestones

In the order of the proof (Section 4.3 and Appendix C):

  1. Lemma 7: with probability at least 1−4T−31-4T^{-3}1−4T−3, ∣r^i,tℓ−ri,t∣≤wi,tℓ|\hat r^\ell_{i,t}-r_{i,t}|\le w^\ell_{i,t}∣r^i,tℓ​−ri,t​∣≤wi,tℓ​ for all i,ℓi,\elli,ℓ and T0<t≤TT_0<t\le TT0​<t≤T, and wi,tℓw^\ell_{i,t}wi,tℓ​ is bounded by (18) in terms of the true interval probabilities pj=G(bj+1)−G(bj)p_j=G(b^{j+1})-G(b^j)pj​=G(bj+1)−G(bj).
  2. Lemma 8: on that event the best grid bid is never eliminated, and a round assigned to level ℓ\ellℓ has regret at most 8⋅2−ℓ8\cdot2^{-\ell}8⋅2−ℓ against the grid.
  3. Display (19): the grid regret is at most T0+8∑ℓ2−ℓ∣Φℓ(T)∩(T0,T]∣T_0+8\sum_\ell2^{-\ell}|\Phi^\ell(T)\cap(T_0,T]|T0​+8∑ℓ​2−ℓ∣Φℓ(T)∩(T0​,T]∣.
  4. Lemma 16: a deterministic counting bound for the sums ∑t∑j≥i(t)vj/nj,tℓ\sum_t\sum_{j\ge i(t)}v_j/n^\ell_{j,t}∑t​∑j≥i(t)​vj​/nj,tℓ​.
  5. Lemma 9: 2−ℓ∣Φℓ(T)∩(T0,T]∣≤10γ3/2log⁡(LKT)(1+log⁡T)T2^{-\ell}|\Phi^\ell(T)\cap(T_0,T]|\le10\gamma^{3/2}\log(LKT)(1+\log T)\sqrt T2−ℓ∣Φℓ(T)∩(T0​,T]∣≤10γ3/2log(LKT)(1+logT)T​.
  6. Theorem 7.

A supporting item, not a milestone, states the quantization step max⁡b∈[0,1]R(v,b)≤max⁡iR(v,bi)+1/K\max_{b\in[0,1]}R(v,b)\le\max_iR(v,b^i)+1/Kmaxb∈[0,1]​R(v,b)≤maxi​R(v,bi)+1/K for the grid of Algorithm 4.

Significance

The result shows that adversarial values cost at most a logarithmic factor relative to iid values in repeated first-price auctions with censored feedback, and that no regularity of GGG is needed. ML-IS-UCB is also an algorithmic template: its widths are computed before the data of the current level is used, which makes the estimates at each level independent of the bids that select them, and its interval-splitting estimator uses the variance of each interval rather than a uniform bound. Remark 3 notes that replacing the interval probabilities by 111 gives only O~(KT)\widetilde O(\sqrt{KT})O(KT​).

All results of the paper are proved in the preprint; none of them is machine-checked. A complete development formalizes a multi-level elimination algorithm with data-dependent level assignment, a Bernstein-type concentration argument for estimates indexed by random sets, and the counting lemma behind the logarithmic factors. Each of these is reusable for other elimination-based bandit algorithms.

Difficulty

The obvious route is a single UCB index per grid bid, (11) on p. 27, built from all past observations through the estimates p^jt=∑s≤t1(bs≤bj)1(ms∈(bj,bj+1])/∑s≤t1(bs≤bj)\hat p^t_j=\sum_{s\le t}\mathbb 1(b_s\le b^j)\mathbb 1(m_s\in(b^j,b^{j+1}])/\sum_{s\le t}\mathbb 1(b_s\le b^j)p^​jt​=∑s≤t​1(bs​≤bj)1(ms​∈(bj,bj+1])/∑s≤t​1(bs​≤bj). It fails because p^jt\hat p^t_jp^​jt​ is not a normalized binomial variable: each bid depends on the earlier HOBs, so conditioned on the bids the HOBs are no longer independent and p^jt\hat p^t_jp^​jt​ is not even unbiased. Self-normalized martingale bounds control each p^jt\hat p^t_jp^​jt​ separately but not the sum ∑j≥ip^jt\sum_{j\ge i}\hat p^t_j∑j≥i​p^​jt​ that the reward estimate needs. Algorithm 4 restores conditional independence through its level structure, and Lemma 7 has to make that precise: the sets Φℓ(t)\Phi^\ell(t)Φℓ(t) are random, and the bound must hold uniformly over all (i,ℓ,t)(i,\ell,t)(i,ℓ,t) with a variance term estimated from a held-out sample. Lemma 9 then needs the variance-sensitive width (18); a crude width loses a factor K\sqrt KK​ (Remark 3).

Formalization scope

  • Model. Rounds are Fin T; Lean round ttt is paper time t+1t+1t+1. The HOB law is a probability measure μG on ℝ with μG [0,1]ᶜ = 0, and G(x)G(x)G(x) is (μG (Set.Iic x)).toReal; atoms are allowed. The maximum in (3) is a supremum over [0,1][0,1][0,1].
  • Policies. A policy has internal randomness u∼μUu\sim\mu_Uu∼μU​ and, for each uuu, a bidding rule whose round-ttt bid receives only the values of rounds ≤t\le t≤t and the feedback max⁡{bs,ms}\max\{b_s,m_s\}max{bs​,ms​} of rounds <t<t<t, enforced by the argument types; bids lie in [0,1][0,1][0,1] and are jointly measurable. The expectation is a Bochner integral over uuu and m∼G⊗Tm\sim G^{\otimes T}m∼G⊗T, and Theorems 2 and 7 also assert integrability, so the integral cannot be a junk value.
  • Algorithm 4. Grid indices are 0-based (bi+1=i/Kb^{i+1}=i/Kbi+1=i/K, bK+1=1b^{K+1}=1bK+1=1); inside the algorithm times are the paper's 1,…,T1,\dots,T1,…,T. Every quantity n,w,p^,r^,Bn,w,\hat p,\hat r,\mathcal Bn,w,p^​,r^,B is defined by its formula for every (i,ℓ,t)(i,\ell,t)(i,ℓ,t). The estimators (14) and p^0\hat p^0p^​0 are computed from the feedback, not from mmm, and the algorithm recomputes its own past decisions, so it is a censored-feedback rule. "An arbitrary iii" is a selection rule depending on the time and the level only. If no level breaks (impossible for γ≥3\gamma\ge3γ≥3, T≥2T\ge2T≥2) the round goes to level LLL with bid 000.
  • Hypotheses added to the printed statements, each disclosed in its item: T≥2T\ge2T≥2 in Theorem 2 (the printed bound is 000 at T=1T=1T=1); Lemmas 8, 9 and (19) are stated pathwise under the inequalities of Lemma 7 that their proofs use; Lemma 16 assumes that the set contains ⌈T⌉\lceil\sqrt T\rceil⌈T​⌉ initialization rounds with bid 000, which its proof uses; the quantization display is adapted from the grid of Lemma 4 to that of Algorithm 4.
  • Ruled out. A policy that reads mtm_tmt​, GGG or future values, a constant CCC chosen after TTT, vvv or GGG, a policy chosen after vvv or GGG, and an expectation of a non-integrable function would each make the goal trivial; the statements exclude all four.
  • Needed and welcome. Bernstein and multiplicative Chernoff bounds for binomial variables (Lemmas 14, 15 of the paper are cited from the literature), measurability of the run of the algorithm, and the harmonic-sum bound ∑k=aT1/k≤1+log⁡T\sum_{k=a}^T1/k\le1+\log T∑k=aT​1/k≤1+logT. Contributions toward any milestone, or alternative proofs of the goal, are welcome.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7, 2024. https://arxiv.org/abs/2003.09795
  • N. Cesa-Bianchi, C. Gentile, Y. Mansour, Regret Minimization for Reserve Prices in Second-Price Auctions, IEEE Transactions on Information Theory 61(1), 2015. https://doi.org/10.1109/TIT.2014.2365772
  • 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
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • J. Davies, What to know about Google's implementation of first-price ad auctions, Digiday, 2019. https://digiday.com/media/buyers-welcome-auction-standardization-as-google-finally-goes-all-in-on-first-price/
10 thms1 active userReviewed
Machine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 5: With Adversarial Contexts and K = (α+1)M ≤ T^(1/3), Every Policy for Partially Ordered Contextual Bandits Has Regret ≥ √(KT)/(32e³)Research Paper

Motivation

A bidder in repeated first-price auctions faces a learning problem with two kinds of side information. Their private value is a context that changes every round, and the outcome of one bid reveals something about other bids (graph feedback across actions) and about other values (cross learning across contexts). Han, Zhou and Weissman (arXiv:2003.09795v7) abstract this structure into partially ordered contextual bandits and show that, when contexts are iid, an arm-elimination policy has regret O~(αβT)\widetilde O(\sqrt{\alpha\beta T})O(αβT​) (Theorem 5), with no polynomial dependence on the number of contexts or actions.

Theorem 6 of the same paper asks whether this survives when contexts are chosen by an adversary. It does not: with adversarial contexts every policy suffers regret polynomial in min⁡{αM,K}\min\{\alpha M, K\}min{αM,K}. This separation is what forces the paper to look beyond the partially ordered structure for its O~(T)\widetilde O(\sqrt T)O(T​) adversarial-value result (Theorem 2). The lower bound is also of independent interest for contextual bandits with cross learning (Balseiro et al., NeurIPS 2019) and with feedback graphs (Alon et al., COLT 2015).

Setting

A stochastic contextual bandit with graph feedback and cross learning (Definition 2, p. 14) has a horizon TTT, MMM contexts C\mathcal CC, KKK actions A\mathcal AA, a joint reward law PPP on [0,1]C×A[0,1]^{\mathcal C\times\mathcal A}[0,1]C×A with means Rc,aR_{c,a}Rc,a​, and a directed graph G=(A,E)G=(\mathcal A,E)G=(A,E) without self-loops. In round ttt the learner sees a context ctc_tct​, picks ata_tat​, nature draws a fresh reward vector rt∼Pr_t\sim Prt​∼P, and the learner observes rt,c,ar_{t,c,a}rt,c,a​ for every context ccc and every a∈It={at}∪{a:(at,a)∈E}a\in I_t=\{a_t\}\cup\{a:(a_t,a)\in E\}a∈It​={at​}∪{a:(at​,a)∈E}. The regret (5) is

RT(π)=∑t=1T(max⁡a∈ARct,a−Rct,at).R_T(\pi)=\sum_{t=1}^T\Big(\max_{a\in\mathcal A}R_{c_t,a}-R_{c_t,a_t}\Big).RT​(π)=t=1∑T​(a∈Amax​Rct​,a​−Rct​,at​​).

The independence number α\alphaα of GGG is the size of a largest set of actions with no edge between any two of them; for a partial order, β\betaβ is the size of a largest set of pairwise incomparable elements.

The instance is a partially ordered contextual bandit (Definition 3, pp. 16–17) if GGG is a DAG equal to its own transitive closure, so that a1⪯Ga2a_1\preceq_G a_2a1​⪯G​a2​ iff a1=a2a_1=a_2a1​=a2​ or (a1,a2)∈E(a_1,a_2)\in E(a1​,a2​)∈E is a partial order, and there is a partial order ⪯C\preceq_{\mathcal C}⪯C​ on contexts with c1⪯Cc2⇒a⋆(c1)⪯Ga⋆(c2)c_1\preceq_{\mathcal C}c_2\Rightarrow a^\star(c_1)\preceq_G a^\star(c_2)c1​⪯C​c2​⇒a⋆(c1​)⪯G​a⋆(c2​) for optimal actions a⋆(c)∈arg⁡max⁡aRc,aa^\star(c)\in\arg\max_a R_{c,a}a⋆(c)∈argmaxa​Rc,a​.

A policy π\piπ chooses ata_tat​ from its internal randomness, the contexts c1,…,ctc_1,\dots,c_tc1​,…,ct​ and the earlier observations. The context sequence is oblivious: fixed in advance, possibly depending on π\piπ but not on its random draws.

Formalization targets

Goal: Theorem 6 in the regime of its proof

For integers α≥1\alpha\ge1α≥1, M≥1M\ge1M≥1, with K=(α+1)MK=(\alpha+1)MK=(α+1)M, K3≤TK^3\le TK3≤T and M∣TM\mid TM∣T: there is a feedback graph GGG on KKK actions with independence number α\alphaα such that for every policy π\piπ there are a reward law PPP (making (G,P)(G,P)(G,P) partially ordered with the total order on contexts, β=1\beta=1β=1) and contexts (ct)(c_t)(ct​) with

E[RT(π)] ≥ KT32e3.\mathbb E[R_T(\pi)]\ \ge\ \frac{\sqrt{KT}}{32e^3}.E[RT​(π)] ≥ 32e3KT​​.

Because αM≤K\alpha M\le KαM≤K, this is at least 132e3min⁡{αMT,KT,T2/3}\frac1{32e^3}\min\{\sqrt{\alpha MT},\sqrt{KT},T^{2/3}\}32e31​min{αMT​,KT​,T2/3}, the printed form of Theorem 6, in this regime.

Milestones

Along the proof (pp. 22–24): the construction is a partially ordered contextual bandit with β=1\beta=1β=1 and independence number α\alphaα; properties 1–4 of the mean rewards; property 5, the KL divergence of the observed rewards; the regret decomposition (7); the testing lemma (Lemma 13, p. 36)

1n∑i=1nQi(Ψ≠i) ≥ 12n∑i=2ne−DKL(Q1∥Qi);\frac1n\sum_{i=1}^nQ_i(\Psi\ne i)\ \ge\ \frac1{2n}\sum_{i=2}^n e^{-D_{\mathrm{KL}}(Q_1\|Q_i)};n1​i=1∑n​Qi​(Ψ=i) ≥ 2n1​i=2∑n​e−DKL​(Q1​∥Qi​);

the self-referential inequality (8)

RT ≥ KT16e3exp⁡(−16KRT3T),RT=max⁡uEu[RT(π)];R_T\ \ge\ \frac{\sqrt{KT}}{16e^3}\exp\Big(-\frac{16KR_T}{3T}\Big),\qquad R_T=\max_u\mathbb E_u[R_T(\pi)];RT​ ≥ 16e3KT​​exp(−3T16KRT​​),RT​=umax​Eu​[RT​(π)];

and the final step RT≥KT/(32e3)R_T\ge\sqrt{KT}/(32e^3)RT​≥KT​/(32e3).

Significance

The theorem separates stochastic from adversarial contexts. Under iid contexts, Theorem 5 gives O~(αβT)\widetilde O(\sqrt{\alpha\beta T})O(αβT​); with adversarial contexts, even when β=1\beta=1β=1, regret must grow like αMT\sqrt{\alpha MT}αMT​, matching the upper bound of Theorem 4 up to logarithms. For first-price auctions with adversarial values (Remark 2), the bound shows that the partially ordered structure alone cannot give O~(T)\widetilde O(\sqrt T)O(T​); the paper's O~(T)\widetilde O(\sqrt T)O(T​) algorithm must use the extra correlation of auction rewards.

The paper proves the theorem in full. As far as we know, none of it has been formalized; in particular, no machine-checked version of a Bayesian multi-hypothesis lower bound for bandits with graph feedback and cross learning exists. A formal proof will produce reusable pieces: Lemma 13 is a general testing inequality; the KL chain rule for adaptively collected bandit observations, with feedback revealed on a graph, is needed for any information-theoretic bandit lower bound; and the interaction model is shared with the paper's upper bounds.

Difficulty

The standard minimax argument for KKK-armed bandits compares two instances that differ in one arm, and the regret follows directly from a testing error. Here that argument fails: feedback graphs and cross learning mean that pulling one arm can reveal everything, and a policy may pay to explore. The proof instead plays a uniform prior over (α+1)M(\alpha+1)^M(α+1)M instances and obtains an inequality in which the maximal regret RTR_TRT​ appears on both sides, (8). If the regret is small, the policy has not explored enough to tell the instances apart, which in turn forces large regret. Making this rigorous requires the chain rule of KL divergence over the adaptively chosen observations, the specific ordering of contexts (decreasing over blocks, so early observations say nothing about late optimal actions), and the regime K3≤TK^3\le TK3≤T to close the self-referential bound.

Formalization scope

  • Contexts are Fin M, rounds Fin T (paper index = Lean index + 1). The goal uses actions Fin K; the construction uses Fin M × Fin (α + 1), with j=0j=0j=0 the action (i,0)(i,0)(i,0).
  • A reward law is a measure on Fin M → A → ℝ. Definition 2 requires a probability measure carried by [0,1]M×K[0,1]^{M\times K}[0,1]M×K and a graph without self-loops. Means are integrals, and max⁡a\max_amaxa​ is a supremum over the finite action set.
  • Definition 3's "DAG equal to its transitive closure" is encoded as "no self-loops and transitive". The printed arg⁡max⁡\arg\maxargmax is read as a selection of maximisers.
  • Independence numbers are exact: a set of the given size exists, and none is larger.
  • Policies are randomized and non-anticipating. The action is a measurable function of the internal randomness (an arbitrary probability space), the contexts so far and the past observations, and the argument types enforce non-anticipation. An observation is the reward vector with unrevealed coordinates set to 000; the learner knows its own action, so this carries exactly the revealed rewards. Deterministic-only policies would give a weaker theorem, and they are not the class used.
  • Expected regret integrates over the internal randomness and iid reward vectors, with the context sequence fixed.
  • KL divergence is Mathlib's [0,∞][0,\infty][0,∞]-valued klDiv. In Lemma 13, e−∞e^{-\infty}e−∞ is read as 000, so an infinite divergence cannot be truncated to 000 and inflate the right side.
  • The reduction from general (M,K,T)(M,K,T)(M,K,T) by "dummy contexts and actions" (p. 21) is not formalized. It needs min⁡{K,(α+1)M,T1/3}≥α+1\min\{K,(\alpha+1)M,T^{1/3}\}\ge\alpha+1min{K,(α+1)M,T1/3}≥α+1, and the printed theorem is false at K=1K=1K=1. The hypotheses M∣TM\mid TM∣T and α≥1\alpha\ge1α≥1 replace the paper's "without loss of generality".
  • Property 5 assumes uc≠0u_c\neq0uc​=0, because for uc=0u_c=0uc​=0 the two laws coincide. (7) is stated for each uuu, which implies the printed form for the maximum.

Needed infrastructure: Bernoulli product measures and their KL divergence, the KL chain rule for the law of an adaptive interaction, and a Bretagnolle–Huber-type inequality. Contributions of these general lemmas, and of the measurability facts for the interaction, are welcome.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7. https://arxiv.org/abs/2003.09795
  • Z. Gao, Y. Han, Z. Ren, Z. Zhou, Batched Multi-armed Bandits Problem, NeurIPS 2019 (source of Lemma 13). https://arxiv.org/abs/1904.01763
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • N. Alon, N. Cesa-Bianchi, O. Dekel, T. Koren, Online Learning with Feedback Graphs: Beyond Bandits, COLT 2015. https://arxiv.org/abs/1502.07617
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009. https://doi.org/10.1007/b13794
11 thms1 active userReviewed
Algorithmic Game TheoryMachine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 6: If the HOB Law Switches at an Unknown Value Threshold, Every Bidding Policy Has Regret Ω(T)Research Paper

Motivation

In a first-price auction the highest bidder wins and pays her own bid. Display advertising moved to first-price auctions around 2019, and a bidder who participates in millions of them faces a learning problem: at each round ttt she sees a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1] for the item, bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and wins when btb_tbt​ is at least the highest other bid (HOB) mtm_tmt​, earning (vt−bt)1(bt≥mt)(v_t-b_t)\mathbb 1(b_t\ge m_t)(vt​−bt​)1(bt​≥mt​). Since the HOB is unknown, she must learn how much to shade her bid.

Han, Zhou and Weissman (arXiv:2003.09795v7, Operations Research, 2025) show that when the HOBs are iid draws from an unknown distribution, a bidder can achieve regret O~(T)\widetilde O(\sqrt T)O(T​) against the oracle that knows the distribution, whether the values are iid or chosen by an oblivious adversary, and with only censored feedback. Their §2.2 justifies the iid assumption by the size of the bidder population, and notes that learning "could become impossible even when the iid assumption is only slightly violated". Section 5.2 makes this precise. This mission formalizes that impossibility result, Theorem 8.

Setting

Fix a horizon TTT. Values v=(v1,…,vT)∈[0,1]Tv=(v_1,\dots,v_T)\in[0,1]^Tv=(v1​,…,vT​)∈[0,1]T form an oblivious sequence, fixed in advance. Fix two probability laws P,QP,QP,Q on [0,1][0,1][0,1] and a threshold v⋆v^\starv⋆. The HOBs are independent across rounds with

mt∼P  if vt<v⋆,mt∼Q  if vt≥v⋆.m_t\sim P\ \text{ if } v_t<v^\star,\qquad m_t\sim Q\ \text{ if } v_t\ge v^\star .mt​∼P  if vt​<v⋆,mt​∼Q  if vt​≥v⋆.

Feedback is full information: mtm_tmt​ is revealed at the end of round ttt. The laws P,QP,QP,Q are known to the bidder; only v⋆v^\starv⋆ is not.

The payoff of bid bbb against HOB mmm at value vvv is r(v,b;m)=(v−b)1(b≥m)r(v,b;m)=(v-b)\mathbb 1(b\ge m)r(v,b;m)=(v−b)1(b≥m) (ties are won). For a law μ\muμ of the HOB with CDF GGG, the expected reward is R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the oracle reward is max⁡b∈[0,1]R(v,b)\max_{b\in[0,1]}R(v,b)maxb∈[0,1]​R(v,b).

A policy π\piπ draws internal randomness uuu once and bids bt=πt(u;v1,…,vt;m1,…,mt−1)∈[0,1]b_t=\pi_t(u;v_1,\dots,v_t;m_1,\dots,m_{t-1})\in[0,1]bt​=πt​(u;v1​,…,vt​;m1​,…,mt−1​)∈[0,1]. Its expected regret is

E[RT(π;v⋆,v)]=∑t=1T(max⁡b∈[0,1]Em∼Lt[(vt−b)1(b≥m)]−E[(vt−bt)1(bt≥mt)]),\mathbb E[R_T(\pi;v^\star,v)]=\sum_{t=1}^T\Big(\max_{b\in[0,1]}\mathbb E_{m\sim L_t}\big[(v_t-b)\mathbb 1(b\ge m)\big]-\mathbb E\big[(v_t-b_t)\mathbb 1(b_t\ge m_t)\big]\Big),E[RT​(π;v⋆,v)]=t=1∑T​(b∈[0,1]max​Em∼Lt​​[(vt​−b)1(b≥m)]−E[(vt​−bt​)1(bt​≥mt​)]),

with Lt=PL_t=PLt​=P if vt<v⋆v_t<v^\starvt​<v⋆ and Lt=QL_t=QLt​=Q otherwise: the oracle knows v⋆v^\starv⋆ and bids optimally at every round.

Formalization targets

Goal: Theorem 8 (p. 34)

There are an absolute constant c>0c>0c>0 and laws P,QP,QP,Q on [0,1][0,1][0,1] such that for every TTT and every policy π\piπ there are a threshold v⋆∈[0,1]v^\star\in[0,1]v⋆∈[0,1] and values v∈[0,1]Tv\in[0,1]^Tv∈[0,1]T with

E[RT(π;v⋆,v)] ≥ c T.\mathbb E[R_T(\pi;v^\star,v)]\ \ge\ c\,T .E[RT​(π;v⋆,v)] ≥ cT.

The constant is existential, which is the paper's Ω(T)\Omega(T)Ω(T); the value 1/161/161/16 obtained in the paper's argument is not hard-coded.

Milestones (p. 34)

The paper's argument consists of a hard family indexed by signs u∈{±1}Tu\in\{\pm1\}^Tu∈{±1}T, with thresholds f(u)=12+14∑tut/2tf(u)=\frac12+\frac14\sum_t u_t/2^tf(u)=21​+41​∑t​ut​/2t and values v1=12v_1=\frac12v1​=21​, vt+1=vt+ut/2t+2v_{t+1}=v_t+u_t/2^{t+2}vt+1​=vt​+ut​/2t+2, and four displayed claims:

  1. the lexicographic order f(…,ut−1,1,… )>f(…,ut−1,−1,… )f(\dots,u_{t-1},1,\dots)>f(\dots,u_{t-1},-1,\dots)f(…,ut−1​,1,…)>f(…,ut−1​,−1,…);
  2. the sign identity sign⁡(vt−v⋆)=−sign⁡(ut)\operatorname{sign}(v_t-v^\star)=-\operatorname{sign}(u_t)sign(vt​−v⋆)=−sign(ut​) for v⋆=f(u)v^\star=f(u)v⋆=f(u);
  3. the oracle reward vt−mtv_t-m_tvt​−mt​ with mt=181(vt≥v⋆)m_t=\frac18\mathbb 1(v_t\ge v^\star)mt​=81​1(vt​≥v⋆) under P=δ0P=\delta_0P=δ0​, Q=δ1/8Q=\delta_{1/8}Q=δ1/8​, and vt∈[14,34]v_t\in[\frac14,\frac34]vt​∈[41​,43​];
  4. the posterior-reward bound Em∼Unif{0,1/8}[(v−b)1(b≥m)]≤v−18\mathbb E_{m\sim\mathrm{Unif}\{0,1/8\}}[(v-b)\mathbb 1(b\ge m)]\le v-\frac18Em∼Unif{0,1/8}​[(v−b)1(b≥m)]≤v−81​ for v≥14v\ge\frac14v≥41​;

and the Bayesian bound: averaged over uniform uuu, every policy has expected regret at least T/16T/16T/16.

Significance

The result. The upper bounds of the paper rely on the HOBs being iid and independent of the bidder's value. Theorem 8 shows that this cannot be relaxed to a mild form of dependence: one threshold, two known laws and full-information feedback already force linear regret against the per-round oracle. The paper concludes that a weaker benchmark is needed once HOBs may depend on values, and leaves that benchmark open.

Formalizing it. The theorem is proved in the paper, on one page; it is not known to be machine-checked. A formal proof pins down the quantifier order (the constant and the laws chosen before the policy, the threshold and values after it), the policy class (randomized, full information) and the treatment of ties, and it provides a reusable model of non-anticipating randomized bidding policies with full-information feedback.

Difficulty

The obvious attempt is to fix a threshold and values and argue that the bidder cannot know on which side of v⋆v^\starv⋆ each vtv_tvt​ falls. For any fixed instance this fails: a policy can be tuned to that instance and bid optimally, with zero regret. The lower bound must therefore pass through an average over a family of instances. The family has to make the side of the threshold at round ttt independent of everything the bidder has seen up to round ttt, including the past HOBs, which in full information reveal the past sides exactly. The dyadic construction does this. The formal difficulty is the bookkeeping: expressing the expected regret of an arbitrary randomized policy as an integral over its internal randomness and the HOBs, and exchanging the average over uuu with that integral so that the conditional uniformity of mtm_tmt​ can be used.

Formalization scope

  • Time. Rounds are Fin T; Lean round ttt is the paper's round t+1t+1t+1.
  • Laws and CDF. HOB laws are Measure ℝ, with probability and support in [0,1][0,1][0,1] required of the existential witnesses P,QP,QP,Q. The CDF is G(x)=μ((−∞,x])G(x)=\mu((-\infty,x])G(x)=μ((−∞,x]). Atoms are allowed, as in the paper; the construction uses point masses.
  • Oracle. max⁡b∈[0,1]R(v,b)\max_{b\in[0,1]}R(v,b)maxb∈[0,1]​R(v,b) is the supremum over the subtype [0,1][0,1][0,1]; no arg max bP⋆(v)b^\star_P(v)bP⋆​(v) is chosen. The paper's two-term regret 1(vt<v⋆)EP[⋅]+1(vt≥v⋆)EQ[⋅]\mathbb 1(v_t<v^\star)\mathbb E_P[\cdot]+\mathbb 1(v_t\ge v^\star)\mathbb E_Q[\cdot]1(vt​<v⋆)EP​[⋅]+1(vt​≥v⋆)EQ​[⋅] is written with the law LtL_tLt​.
  • Policies. A structure with a probability space of internal randomness and, for each round, a jointly measurable bid map of the randomness, v1,…,vtv_1,\dots,v_tv1​,…,vt​ and m1,…,mt−1m_1,\dots,m_{t-1}m1​,…,mt−1​, with values in [0,1][0,1][0,1]. The types prevent reading mtm_tmt​ or v⋆v^\starv⋆. Deterministic policies are the case of a one-point randomness space.
  • Expectation. The bidder's expected payoff at round ttt is a Bochner integral over the product of the policy's randomness law and the product law of (m1,…,mT)(m_1,\dots,m_T)(m1​,…,mT​). A local check confirms that this integrand is measurable and bounded, so the integral is never Lean's junk value 000, which would trivialize the lower bound.
  • Knowledge of (P,Q)(P,Q)(P,Q). The laws are fixed before TTT and π\piπ; a policy chosen afterwards may depend on them. This encodes "revealed to the bidder" and is stronger than choosing (P,Q)(P,Q)(P,Q) after π\piπ.
  • Ties. 1(b≥m)\mathbb 1(b\ge m)1(b≥m) throughout; the oracle bids b=mt=1/8b=m_t=1/8b=mt​=1/8 and wins.

A formalization in which the threshold or the values are chosen before the policy, the bid reads mtm_tmt​, the expected payoff is not integrable, or the oracle bids a fixed price, is a different and easier statement; all four are excluded by the definitions above.

Contributions welcome: proofs of the four displayed claims (elementary real analysis on dyadic sums and on point masses), the Bayesian bound (the measure-theoretic core), and the step from the Bayesian bound to the goal. The policy and regret definitions are reusable for other full-information lower bounds in this series.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; read as arXiv:2003.09795v7, §5.2, pp. 33–34. https://arxiv.org/abs/2003.09795
9 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection 3: The Explore-First Greedy Procedure Is Consistent with a Budget Linear in kResearch Paper

Motivation

Ranking and selection (R&S) asks which of kkk simulated systems has the largest mean performance when every observation is costly. It is a basic tool of simulation optimization: choosing a staffing level, an inventory policy or a network design from a large catalogue of candidates that can only be evaluated by noisy simulation. In the fixed-budget formulation a total of BBB observations is spent sequentially and one alternative is selected at the end; procedures are compared by their probability of correct selection (PCS).

Cloud and parallel computing have made problems with thousands to millions of alternatives routine, and the relevant question is how the budget must grow with kkk. A procedure is sample optimal if a budget B=ckB = ckB=ck, linear in kkk, keeps its PCS bounded away from zero as k→∞k \to \inftyk→∞; a total budget of order kkk is clearly necessary. Li, Fan and Hong (arXiv:2303.02951) show that the simplest procedure of all, the greedy procedure, which always samples the alternative with the largest current sample mean, is sample optimal. They also show that its PCS limit is strictly below one under the slippage configuration, however large ccc is: the greedy procedure is not consistent. This mission formalizes the remedy: an exploration phase of n0n_0n0​ observations per alternative before the greedy phase makes the procedure consistent.

Setting

There are kkk alternatives. Alternative iii produces independent observations Xi1,Xi2,⋯∼N(μi,σi2)X_{i1}, X_{i2}, \dots \sim N(\mu_i, \sigma_i^2)Xi1​,Xi2​,⋯∼N(μi​,σi2​), independent across alternatives, and alternative 1 is the unique best. The running average after nnn observations is Xˉi(n)=1n∑j=1nXij\bar X_i(n) = \frac1n\sum_{j=1}^n X_{ij}Xˉi​(n)=n1​∑j=1n​Xij​.

Assumption 1 (p. 12). There are constants γ>0\gamma > 0γ>0 and σˉ2>0\bar\sigma^2 > 0σˉ2>0 such that μ1−max⁡i≥2μi≥γ\mu_1 - \max_{i \ge 2}\mu_i \ge \gammaμ1​−maxi≥2​μi​≥γ and max⁡iσi2≤σˉ2\max_i \sigma_i^2 \le \bar\sigma^2maxi​σi2​≤σˉ2, regardless of how large kkk is.

The explore-first greedy (EFG) procedure (Procedure 2, p. 21) with exploration size n0n_0n0​ and budget BBB:

  1. take n0n_0n0​ observations from every alternative, and set ni=n0n_i = n_0ni​=n0​;
  2. while ∑ini<B\sum_i n_i < B∑i​ni​<B, take one more observation from arg⁡max⁡iXˉi(ni)\arg\max_i \bar X_i(n_i)argmaxi​Xˉi​(ni​);
  3. select arg⁡max⁡iXˉi(ni)\arg\max_i \bar X_i(n_i)argmaxi​Xˉi​(ni​).

With B=ckB = ckB=ck the exploration phase uses n0kn_0 kn0​k observations and the greedy phase ngkn_g kng​k, where ng=c−n0n_g = c - n_0ng​=c−n0​. The greedy procedure is the case n0=1n_0 = 1n0​=1.

Crossing times. Let Z1,Z2,…Z_1, Z_2, \dotsZ1​,Z2​,… be iid standard normal, Zˉ(n)=1n∑j=1nZj\bar Z(n) = \frac1n\sum_{j=1}^n Z_jZˉ(n)=n1​∑j=1n​Zj​, and

N~(x;n0)=inf⁡{n≥n0:Zˉ(n)<x},C(x;n0)=E[N~(x;n0)]∈[0,∞],\tilde N(x; n_0) = \inf\{n \ge n_0 : \bar Z(n) < x\}, \qquad C(x; n_0) = \mathrm E\big[\tilde N(x; n_0)\big] \in [0, \infty],N~(x;n0​)=inf{n≥n0​:Zˉ(n)<x},C(x;n0​)=E[N~(x;n0​)]∈[0,∞],

with inf⁡∅=∞\inf \emptyset = \inftyinf∅=∞. C(⋅ ;n0)C(\cdot\,; n_0)C(⋅;n0​) is finite exactly on (0,∞)(0, \infty)(0,∞), where it is strictly decreasing and continuous.

Consistency (Definition 2, p. 21): A sample-optimal fixed-budget R&S procedure is consistent if the PCS of the procedure satisfies that, for any α∈(0,1)\alpha \in (0,1)α∈(0,1), there exists a constant c>0c>0c>0 such that lim inf⁡k→∞PCS≥α\liminf_{k\to\infty} \mathrm{PCS} \ge \alphaliminfk→∞​PCS≥α, for B=ckB = ckB=ck.

Formalization targets

Goal: Theorem 4 (p. 24)

Suppose Assumption 1 holds. Let α∈(0,1)\alpha \in (0,1)α∈(0,1) and γ0∈(0,γ)\gamma_0 \in (0, \gamma)γ0​∈(0,γ). Let n0≥1n_0 \ge 1n0​≥1 satisfy

Pr⁡{min⁡n≥n0Xˉ1(n)>μ1−γ0}≥α(5.3)\Pr\Big\{\min_{n \ge n_0} \bar X_1(n) > \mu_1 - \gamma_0\Big\} \ge \alpha \tag{5.3}Pr{n≥n0​min​Xˉ1​(n)>μ1​−γ0​}≥α(5.3)

and let ng≥C(γ−γ0σˉ;n0)−n0n_g \ge C\big(\tfrac{\gamma - \gamma_0}{\bar\sigma}; n_0\big) - n_0ng​≥C(σˉγ−γ0​​;n0​)−n0​. If B=(n0+ng)kB = (n_0 + n_g)kB=(n0​+ng​)k, then the PCS of the EFG procedure satisfies

lim inf⁡k→∞PCS ≥ α.\liminf_{k \to \infty} \mathrm{PCS} \ \ge\ \alpha .k→∞liminf​PCS ≥ α.

Milestones

  1. Lemma 3 (p. 22): Zˉ(n)\bar Z(n)Zˉ(n), n≥n0n \ge n_0n≥n0​, attains its minimum at a finite time almost surely.
  2. (5.1) (p. 22): N~(x)≤N~(x;n0)≤n0inf⁡{m≥1:Zˉ(mn0)<x}\tilde N(x) \le \tilde N(x; n_0) \le n_0 \inf\{m \ge 1 : \bar Z(mn_0) < x\}N~(x)≤N~(x;n0​)≤n0​inf{m≥1:Zˉ(mn0​)<x}, and the last crossing time is distributed as N~(n0 x)\tilde N(\sqrt{n_0}\,x)N~(n0​​x) (scaling corrected, see below).
  3. Lemma 4 (p. 22): N~(x;n0)\tilde N(x;n_0)N~(x;n0​) is a.s. finite with finite mean for x>0x > 0x>0; finite with probability strictly between 0 and 1, with infinite mean, for x<0x < 0x<0; a.s. finite with infinite mean for x=0x = 0x=0.
  4. Lemma 7 (p. ec6): C(x;n0)C(x; n_0)C(x;n0​) is strictly decreasing and continuous on (0,∞)(0, \infty)(0,∞).
  5. (5.2) (p. 23): PCS≥Pr⁡{∑i=2kNi(Xˉ1∗(n0);n0)+N1∗(n0)≤B}\mathrm{PCS} \ge \Pr\big\{\sum_{i=2}^k N_i(\bar X_1^*(n_0); n_0) + N_1^*(n_0) \le B\big\}PCS≥Pr{∑i=2k​Ni​(Xˉ1∗​(n0​);n0​)+N1∗​(n0​)≤B}, where Xˉ1∗(n0)\bar X_1^*(n_0)Xˉ1∗​(n0​) and N1∗(n0)N_1^*(n_0)N1∗​(n0​) are the minimum and argmin of Xˉ1(n)\bar X_1(n)Xˉ1​(n) over n≥n0n \ge n_0n≥n0​, and Ni(b;n0)N_i(b; n_0)Ni​(b;n0​) is the first n≥n0n \ge n_0n≥n0​ with Xˉi(n)<b\bar X_i(n) < bXˉi​(n)<b.
  6. Theorem 3 (p. 23, first sentence): if B/k=n0+ngB/k = n_0 + n_gB/k=n0​+ng​ and ng>C(γ/σˉ;n0)−n0n_g > C(\gamma/\bar\sigma; n_0) - n_0ng​>C(γ/σˉ;n0​)−n0​, then lim inf⁡kPCS≥Pr⁡{min⁡n≥n0Xˉ1(n)>μ1−γ0}\liminf_k \mathrm{PCS} \ge \Pr\{\min_{n\ge n_0}\bar X_1(n) > \mu_1 - \gamma_0\}liminfk​PCS≥Pr{minn≥n0​​Xˉ1​(n)>μ1​−γ0​}, where γ0∈(0,γ)\gamma_0 \in (0, \gamma)γ0​∈(0,γ) solves C(γ−γ0σˉ;n0)=ng+n0C\big(\tfrac{\gamma-\gamma_0}{\bar\sigma}; n_0\big) = n_g + n_0C(σˉγ−γ0​​;n0​)=ng​+n0​.
  7. Lemma 5 (p. 24): for every γ0>0\gamma_0 > 0γ0​>0 and α∈(0,1)\alpha \in (0,1)α∈(0,1) some finite n0≥1n_0 \ge 1n0​≥1 satisfies (5.3).

Significance

The result. Theorem 4 shows that a one-line change to the greedy procedure, a fixed number of initial observations per alternative, turns a sample-optimal but inconsistent procedure into one that is both sample optimal and consistent. Any PCS target is reached with a budget that grows only linearly in the number of alternatives, without variance estimates, elimination rules or pairwise comparisons. Together with (5.4) (p. 24) it also gives a recipe for choosing n0n_0n0​ and ngn_gng​ when γ\gammaγ and σˉ2\bar\sigma^2σˉ2 are known, which converts the fixed-budget procedure into a fixed-precision one.

Formalizing it. The results are proved in the paper, but Lemma 4 and Theorem 4 have their proofs omitted ("straightforward"), and Theorem 3's proof refers to "almost the same analysis" as Theorem 1. A machine-checked development makes these steps explicit. It also corrects the scaling in (5.1), which is misprinted in the source. No part of it is formalized on the platform. The boundary-crossing inequality (5.2) and the crossing-time lemmas for the Gaussian running average are reusable in the companion missions of this series and for other greedy procedures.

Difficulty

The obvious approach is to bound each inferior alternative's sample size by the number of observations it needs to fall below alternative 1, and to sum. It fails because alternative 1's running average is itself random, may drop below its mean, and can lose the lead at any time before it reaches its minimum. The boundary must be the random minimum Xˉ1∗(n0)\bar X_1^*(n_0)Xˉ1∗​(n0​), and the crossing times of the other alternatives are then dependent through it. The step from (5.2) to Theorem 3 needs crossing times dominated by iid copies of N~(⋅ ;n0)\tilde N(\cdot\,; n_0)N~(⋅;n0​) on the event that the minimum is high, a strong law over the growing array, and the continuity of C(⋅ ;n0)C(\cdot\,; n_0)C(⋅;n0​) (Lemma 7) to pass to the limit in the level. Lemma 4 needs fluctuation facts for the Gaussian random walk (finite expected crossing time for x>0x>0x>0, infinite mean at x=0x=0x=0) that are not in Mathlib.

Formalization scope

  • Model. Observations form an array XijX_{ij}Xij​ indexed by N×N\mathbb N \times \mathbb NN×N on a probability space, mutually independent, with Xij∼N(μi,σi2)X_{ij} \sim N(\mu_i, \sigma_i^2)Xij​∼N(μi​,σi2​) and σi2>0\sigma_i^2 > 0σi2​>0. Problem kkk uses alternatives 0,…,k−10, \dots, k-10,…,k−1; Lean's alternative 000 is the paper's alternative 1. One array serves every kkk, which does not change any PCS.

  • Procedure. The EFG procedure is a deterministic map from the observation array to the selected index. Ties in every arg max go to the smallest index, which is a null event under the model. The greedy loop runs B−n0kB - n_0kB−n0​k times (none if B≤n0kB \le n_0kB≤n0​k).

  • Budget. B=(n0+ng)kB = (n_0 + n_g)kB=(n0​+ng​)k is read as ⌊(n0+ng)k⌋\lfloor (n_0+n_g)k \rfloor⌊(n0​+ng​)k⌋. Conditions involving C(⋅ ;n0)−n0C(\cdot\,; n_0) - n_0C(⋅;n0​)−n0​ are written additively in [0,∞][0, \infty][0,∞].

  • Crossing times, argmins and CCC. These take values in N∪{∞}\mathbb N \cup \{\infty\}N∪{∞} and [0,∞][0, \infty][0,∞]. A path that never crosses has crossing time ∞\infty∞, and C(0;n0)=∞C(0; n_0) = \inftyC(0;n0​)=∞ is literal. "min⁡n≥n0Xˉ1(n)>a\min_{n \ge n_0} \bar X_1(n) > aminn≥n0​​Xˉ1​(n)>a" means that the path is bounded below from n0n_0n0​ on and its infimum exceeds aaa. The minimum is attained a.s. (Lemma 3).

  • Probabilities and limits. These are extended nonnegative reals. The liminf is taken in [0,∞][0, \infty][0,∞].

  • (5.1) correction. The paper derives N~(x;n0)≤n0N~(x/n0)\tilde N(x;n_0) \le n_0\tilde N(x/\sqrt{n_0})N~(x;n0​)≤n0​N~(x/n0​​) from "Zˉ(mn0)=n0 Zˉ(m)\bar Z(mn_0) = \sqrt{n_0}\,\bar Z(m)Zˉ(mn0​)=n0​​Zˉ(m) statistically". In fact Zˉ(mn0)=dZˉ(m)/n0\bar Z(mn_0) \overset{d}{=} \bar Z(m)/\sqrt{n_0}Zˉ(mn0​)=dZˉ(m)/n0​​, so the milestone states the bound with N~(n0 x)\tilde N(\sqrt{n_0}\,x)N~(n0​​x). The printed form is false for x<0x < 0x<0 and n0≥2n_0 \ge 2n0​≥2.

  • Theorem 3. The existence of γ0\gamma_0γ0​, implicit in the paper, is a conclusion of the statement, so the lower bound cannot hold vacuously. The slippage-configuration limit in its second sentence is not stated.

  • Ruled out. None of the following can make the statements trivial, because the encodings above exclude them:

    • an N\mathbb NN-valued crossing time with inf⁡∅=0\inf\emptyset = 0inf∅=0;
    • a real infimum of an unbounded path read as 000;
    • an unsolvable equation for γ0\gamma_0γ0​.
  • Infrastructure needed. A complete development needs the following, all reusable beyond this mission:

    • laws of crossing times of the Gaussian random walk;
    • the strong law for iid N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued variables;
    • a coupling of the crossing times with iid copies;
    • a pathwise induction over the run of the procedure for (5.2).

    Contributions to any milestone are welcome.

  • Source. The source is the authors' arXiv preprint, version 3 (11 Dec 2023), and all numbering follows it.

Selected references

  • Z. Li, W. Fan, L. J. Hong, The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection, arXiv:2303.02951v3, 2023; Management Science, 2025. https://arxiv.org/abs/2303.02951
  • R. E. Bechhofer, A single-sample multiple decision procedure for ranking means of normal populations with known variances, Annals of Mathematical Statistics 25(1):16–39, 1954. https://doi.org/10.1214/aoms/1177728845
  • S.-H. Kim, B. L. Nelson, A fully sequential procedure for indifference-zone selection in simulation, ACM Transactions on Modeling and Computer Simulation 11(3):251–273, 2001. https://doi.org/10.1145/502109.502111
10 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection 2: Under the Slippage Configuration with a Common Variance the Greedy PCS Lower Bound Is TightResearch Paper

Motivation

Ranking and selection (R&S) asks how to spend a fixed budget of simulation runs on kkk competing system designs so that the design with the largest mean performance is identified with high probability. When kkk runs into the thousands or millions, the relevant question is how the total budget must grow with kkk. Li, Fan and Hong (arXiv:2303.02951v3, published in Management Science, 2025) showed that the simplest adaptive rule, the greedy procedure, is sample optimal: a budget linear in kkk keeps the probability of correct selection (PCS) bounded away from zero (their Theorem 1, p. 15). This mission formalizes their second main result: under the least favorable configuration of means and variances, the PCS lower bound of Theorem 1 is exactly the limit, so it cannot be improved for the greedy procedure.

The result also explains the paper's later design choices. Corollary 1 (p. 18) deduces from it that the greedy procedure is not consistent: however large the constant ccc in B=ckB = ckB=ck, its worst-case PCS stays below a constant less than one. This is why §5 of the paper introduces an explore-first variant.

Setting

There are kkk alternatives. Alternative iii produces independent observations Xi1,Xi2,⋯∼N(μi,σi2)X_{i1}, X_{i2}, \dots \sim N(\mu_i, \sigma_i^2)Xi1​,Xi2​,⋯∼N(μi​,σi2​), independent across alternatives, and alternative 111 is the unique best. The running average of alternative iii after nnn observations is Xˉi(n)=1n∑j=1nXij\bar X_i(n) = \frac1n \sum_{j=1}^n X_{ij}Xˉi​(n)=n1​∑j=1n​Xij​.

The greedy procedure (Procedure 1, p. 10) takes one observation from each alternative, then repeatedly takes one more observation from the alternative with the largest current running average, until BBB observations have been taken in total; it selects the alternative with the largest final running average. PCS is the probability that it selects alternative 111, and PICS =1−= 1 - =1− PCS.

The slippage configuration with a common variance (SC-CV, §4.3, p. 16) is

μ1−μi=γ>0(i=2,…,k),σi2=σ2>0(i=1,…,k):\mu_1 - \mu_i = \gamma > 0 \quad (i = 2, \dots, k), \qquad \sigma_i^2 = \sigma^2 > 0 \quad (i = 1, \dots, k):μ1​−μi​=γ>0(i=2,…,k),σi2​=σ2>0(i=1,…,k):

the non-best alternatives share one mean and all alternatives share one variance.

The constant governing the analysis is

C(x)=exp⁡(∑n=1∞1nΦ(−n x)),x>0,C(x) = \exp\Big( \sum_{n=1}^\infty \frac1n \Phi(-\sqrt n\, x) \Big), \qquad x > 0,C(x)=exp(n=1∑∞​n1​Φ(−n​x)),x>0,

where Φ\PhiΦ is the standard normal distribution function. By Lemma 2 of the paper, C(x)C(x)C(x) is the expected first time nnn at which the running average of iid N(0,1)N(0,1)N(0,1) variables drops below xxx; it is continuous and strictly decreasing on (0,∞)(0, \infty)(0,∞) and tends to ∞\infty∞ as x→0+x \to 0^+x→0+.

Formalization targets

Goal: Theorem 2 (p. 16)

If B=ckB = ckB=ck and c>C(γ/σ)c > C(\gamma/\sigma)c>C(γ/σ), let γ0∈(0,γ)\gamma_0 \in (0, \gamma)γ0​∈(0,γ) solve C((γ−γ0)/σ)=cC((\gamma - \gamma_0)/\sigma) = cC((γ−γ0​)/σ)=c. Under the SC-CV,

lim⁡k→∞PCS=Pr⁡{min⁡n≥1Xˉ1(n)>μ1−γ0}=[C(γ0σ)]−1.\lim_{k\to\infty} \mathrm{PCS} = \Pr\Big\{ \min_{n\ge1} \bar X_1(n) > \mu_1 - \gamma_0 \Big\} = \Big[C\Big(\frac{\gamma_0}{\sigma}\Big)\Big]^{-1}.k→∞lim​PCS=Pr{n≥1min​Xˉ1​(n)>μ1​−γ0​}=[C(σγ0​​)]−1.

The goal asserts both that some such γ0\gamma_0γ0​ exists and that the limit holds for every solution.

Milestones, in the order of the proof (EC.1.4, pp. ec3–ec5)

  1. (EC.1.8), p. ec4: with mϵm_\epsilonmϵ​ the first time Xˉ1\bar X_1Xˉ1​ drops below a level μ1−γϵ+\mu_1 - \gamma_\epsilon^+μ1​−γϵ+​, PICS is at least the probability that the budget suffices to reach mϵm_\epsilonmϵ​ but not to push every other alternative below the new minimum of Xˉ1\bar X_1Xˉ1​.
  2. (EC.1.11), p. ec5, with γϵ±\gamma_\epsilon^\pmγϵ±​ from (EC.1.7): lim inf⁡kPICS≥Pr⁡{mϵ<∞,min⁡1≤n≤mϵ−1Xˉ1(n)≥μ1−γϵ−}\liminf_k \mathrm{PICS} \ge \Pr\{ m_\epsilon < \infty, \min_{1\le n\le m_\epsilon-1} \bar X_1(n) \ge \mu_1 - \gamma_\epsilon^- \}liminfk​PICS≥Pr{mϵ​<∞,min1≤n≤mϵ​−1​Xˉ1​(n)≥μ1​−γϵ−​}.
  3. (EC.1.6), p. ec3: lim inf⁡kPICS≥Pr⁡{∃n≥1 s.t. Xˉ1(n)<μ1−γ0}\liminf_k \mathrm{PICS} \ge \Pr\{\exists n \ge 1 \text{ s.t. } \bar X_1(n) < \mu_1 - \gamma_0\}liminfk​PICS≥Pr{∃n≥1 s.t. Xˉ1​(n)<μ1​−γ0​}.
  4. Theorem 1 under the SC-CV, p. 15: lim inf⁡kPCS≥Pr⁡{min⁡n≥1Xˉ1(n)>μ1−γ0}=[C(γ0/σ)]−1>0\liminf_k \mathrm{PCS} \ge \Pr\{\min_{n\ge1} \bar X_1(n) > \mu_1 - \gamma_0\} = [C(\gamma_0/\sigma)]^{-1} > 0liminfk​PCS≥Pr{minn≥1​Xˉ1​(n)>μ1​−γ0​}=[C(γ0​/σ)]−1>0.

Milestones 3 and 4 bound the PCS from above and below by the same quantity, up to the null event {min⁡nXˉ1(n)=μ1−γ0}\{\min_n \bar X_1(n) = \mu_1 - \gamma_0\}{minn​Xˉ1​(n)=μ1​−γ0​}. Corollary 1 (p. 18, lim⁡PCS≤[C(γ/σ)]−1<1\lim \mathrm{PCS} \le [C(\gamma/\sigma)]^{-1} < 1limPCS≤[C(γ/σ)]−1<1) is included as a separate theorem after the goal; it is not a milestone.

Significance

The result. Theorem 1 gives a lower bound on the asymptotic PCS that holds for every configuration satisfying a gap and a variance bound. Theorem 2 shows the bound is attained under the SC-CV, so it is the exact worst-case asymptotic PCS of the greedy procedure on a linear budget. It also identifies the slippage configuration as least favorable for this procedure. Corollary 1, which follows from it, shows that the greedy procedure is sample optimal without being consistent. The paper uses this to motivate the explore-first greedy procedure of §5, which is consistent.

Formalizing it. The theorem is proved in the paper; none of it is formalized. A formal proof requires a precise, total definition of the greedy procedure as a map from an observation array to a selected alternative, a pathwise analysis of that map (milestone 1), the strong law of large numbers for iid crossing times with values in N∪{∞}\mathbb N \cup \{\infty\}N∪{∞}, and a limiting argument in ϵ\epsilonϵ that uses the continuity and strict monotonicity of CCC. The identity Pr⁡{min⁡nXˉ1(n)>μ1−γ0}=[C(γ0/σ)]−1\Pr\{\min_n \bar X_1(n) > \mu_1 - \gamma_0\} = [C(\gamma_0/\sigma)]^{-1}Pr{minn​Xˉ1​(n)>μ1​−γ0​}=[C(γ0​/σ)]−1 is the Gaussian case of Spitzer's identity, which Mathlib does not have.

Difficulty

The lower half is Theorem 1. The upper half needs a different pathwise argument. Showing that the greedy procedure can succeed only requires bounding the budget the inferior alternatives consume. Showing that it must fail requires an event on which alternative 1 has fallen below a level and the remaining budget cannot lift it back. The paper conditions on such an event, BϵB_\epsilonBϵ​. On BϵB_\epsilonBϵ​, two families of crossing times, measured against two different random levels (the running minimum of Xˉ1\bar X_1Xˉ1​ before and at mϵm_\epsilonmϵ​), are compared with deterministic multiples of kkk. Both comparisons need the strong law, and the event BϵB_\epsilonBϵ​ must survive the limit ϵ→0\epsilon \to 0ϵ→0. The obvious first idea is to copy the proof of Theorem 1 with the inequalities reversed. It fails because the inclusion (3.2) behind Theorem 1 is one-sided: a large budget forces a correct selection, but a small budget alone does not force an incorrect one.

Formalization scope

  • Model. Alternatives are indexed from 000 in Lean: Lean's alternative 000 is the paper's alternative 111. Observations form one infinite array XijX_{ij}Xij​ on a probability space, mutually independent over all pairs (i,j)(i, j)(i,j), with Xij∼N(μi,vi)X_{ij} \sim N(\mu_i, v_i)Xij​∼N(μi​,vi​). The problem with kkk alternatives reads rows 0,…,k−10, \dots, k-10,…,k−1. PCS for kkk alternatives depends only on the law of those rows, so this coupling changes no PCS.
  • Procedure. The procedure is a deterministic function of the array. Ties in every arg max go to the smallest index; ties have probability zero under normality. With fewer than kkk observations of budget, no greedy step is taken.
  • Budget. "B=ckB = ckB=ck" is read as B=⌊ck⌋B = \lfloor ck \rfloorB=⌊ck⌋.
  • Values. Probabilities, limits and liminfs are taken in [0,∞][0, \infty][0,∞]. Crossing times take values in N∪{∞}\mathbb N \cup \{\infty\}N∪{∞}, with ∞\infty∞ when no crossing occurs. "min⁡n≥1Xˉ1(n)>a\min_{n\ge1} \bar X_1(n) > aminn≥1​Xˉ1​(n)>a" means the running average is bounded below and its infimum exceeds aaa; the minimum is attained almost surely.
  • The constant CCC. It is defined by the series above. Every statement evaluates it only at positive arguments (γ/σ\gamma/\sigmaγ/σ, (γ−γ0)/σ(\gamma - \gamma_0)/\sigma(γ−γ0​)/σ, γ0/σ\gamma_0/\sigmaγ0​/σ), where the series converges.
  • Disclosed generalization. Milestone 1 is stated for an arbitrary level and for arbitrary means with positive variances, since the inclusion uses neither the SC-CV nor the event BϵB_\epsilonBϵ​.

Three trivializations are ruled out. Crossing times typed in N\mathbb NN would be 000 when no crossing occurs. Junk values of tsum or of the infimum on unbounded sets would make the statements meaningless. A γ0\gamma_0γ0​ that no value can satisfy would make the goal vacuous, which is why the goal also asserts that γ0\gamma_0γ0​ exists.

Infrastructure needed: the strong law for iid N∪{∞}\mathbb N \cup \{\infty\}N∪{∞}-valued variables with finite mean, Spitzer's identity for Gaussian random walks, and continuity of CCC. These would be reusable in any boundary-crossing analysis of sequential procedures. Contributions toward any milestone, or toward these general lemmas, are welcome. The source PDF is the arXiv v3 preprint (11 Dec 2023), and all page and equation numbers refer to it.

Selected references

  • Z. Li, W. Fan, L. J. Hong, The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection, arXiv:2303.02951v3, 2023; Management Science, 2025. https://arxiv.org/abs/2303.02951
  • F. Spitzer, A combinatorial lemma and its application to probability theory, Trans. Amer. Math. Soc. 82 (1956), 323–339. https://doi.org/10.1090/S0002-9947-1956-0079851-X
  • R. E. Bechhofer, A single-sample multiple decision procedure for ranking means of normal populations with known variances, Ann. Math. Statist. 25 (1954), 16–39. https://doi.org/10.1214/aoms/1177728845
7 thms1 active userReviewed
Algorithmic Game TheoryMachine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 1: With IID Private Values a Bidding Policy Achieves Expected Regret at Most C√T log^2.5 TResearch Paper

Motivation

Most display advertising is sold in first-price auctions: the highest bidder wins and pays its own bid. Since the industry's move away from second-price formats around 2019, a bidder can no longer bid its value and must instead learn how much to shade its bid, from data about how the other bidders behave. A demand-side platform faces this problem millions of times a day with very little information. When it wins it pays its bid and learns nothing about the competition beyond the fact that it won; when it loses it sees only the winning price.

Han, Zhou and Weissman (arXiv:2003.09795v7, Operations Research 2025) cast this as an online learning problem and gave the first bidding policies with O~(T)\tilde O(\sqrt T)O~(T​) regret against an arbitrary unknown distribution of competing bids. This mission is the first of a series of six on that paper. It covers the case of stochastic private values, and the route to it through a general class of contextual bandits.

Setting

A single bidder takes part in TTT rounds. In round ttt she observes a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and the highest other bid (HOB) is mt∈[0,1]m_t\in[0,1]mt​∈[0,1]. She wins iff bt≥mtb_t\ge m_tbt​≥mt​, so her payoff is r(vt,bt;mt)=(vt−bt)1(bt≥mt)r(v_t,b_t;m_t)=(v_t-b_t)\mathbb 1(b_t\ge m_t)r(vt​,bt​;mt​)=(vt​−bt​)1(bt​≥mt​). The HOBs are iid with an unknown CDF GGG on [0,1][0,1][0,1]; no continuity or shape assumption is made, and atoms are allowed. The values v1,…,vTv_1,\dots,v_Tv1​,…,vT​ are iid with an unknown distribution FFF on [0,1][0,1][0,1], independent of the HOBs.

Feedback is censored: at the end of round ttt only the winning bid yt=max⁡{bt,mt}y_t=\max\{b_t,m_t\}yt​=max{bt​,mt​} is revealed. A policy π\piπ chooses btb_tbt​ from its own internal randomness, v1,…,vtv_1,\dots,v_tv1​,…,vt​ and y1,…,yt−1y_1,\dots,y_{t-1}y1​,…,yt−1​. With the expected reward R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), the regret is

RT(π;v)=∑t=1T(max⁡b∈[0,1]R(vt,b)−R(vt,bt)),R_T(\pi;v)=\sum_{t=1}^T\Big(\max_{b\in[0,1]}R(v_t,b)-R(v_t,b_t)\Big),RT​(π;v)=t=1∑T​(b∈[0,1]max​R(vt​,b)−R(vt​,bt​)),

the gap to an oracle that knows GGG.

The paper reaches its bound through partially ordered contextual bandits. These are contextual bandits with MMM contexts and KKK actions, rewards in [0,1][0,1][0,1], and a feedback graph GGG on the actions. Playing aaa reveals the rewards of aaa and its out-neighbours under every context (cross learning). The graph is a transitively closed DAG, so it induces a partial order ⪯G\preceq_G⪯G​ on actions. There is also a partial order ⪯C\preceq_{\mathcal C}⪯C​ on contexts along which some choice of optimal action is monotone (Definitions 2 and 3). Algorithm 3 is an arm-elimination algorithm for this class. The auction becomes such a bandit when values are clipped to the grid C={1/M,…,1}\mathcal C=\{1/M,\dots,1\}C={1/M,…,1} and bids are restricted to A={1/K,…,1}\mathcal A=\{1/K,\dots,1\}A={1/K,…,1}: a bid bbb reveals 1(mt≤b′)\mathbb 1(m_t\le b')1(mt​≤b′) for every b′≥bb'\ge bb′≥b.

Formalization targets

Goal: Theorem 1

∃ C>0  ∀ T≥2  ∃ π  ∀ F,G:E[RT(π;v)]≤CT log⁡2.5T.\exists\,C>0\ \ \forall\,T\ge2\ \ \exists\,\pi\ \ \forall\,F,G:\qquad \mathbb E\big[R_T(\pi;v)\big]\le C\sqrt T\,\log^{2.5}T .∃C>0  ∀T≥2  ∃π  ∀F,G:E[RT​(π;v)]≤CT​log2.5T.

The policy may depend on TTT but not on FFF or GGG, and CCC is absolute. The goal leaves the policy unspecified. That makes it the weakest stable form of the paper's result: any later policy with a better logarithmic factor still proves it.

Milestones, in attack order

  1. Lemma 5 (p. 20): the largest maximiser b⋆(v)b^\star(v)b⋆(v) of R(v,⋅)R(v,\cdot)R(v,⋅) over the grid A\mathcal AA is non-decreasing in vvv.
  2. Lemma 4 (p. 20): pathwise, quantization costs at most (2/M+1/K)T(2/M+1/K)T(2/M+1/K)T regret.
  3. Lemma 3.1 (p. 19): for iid X1,…,XTX_1,\dots,X_TX1​,…,XT​ in a finite poset of width β\betaβ, E∑t(1+∑s<t1(Xs⪯Xt))−1≤β(1+log⁡T)2\mathbb E\sum_t(1+\sum_{s<t}\mathbb 1(X_s\preceq X_t))^{-1}\le\beta(1+\log T)^2E∑t​(1+∑s<t​1(Xs​⪯Xt​))−1≤β(1+logT)2.
  4. Lemma 2 (p. 18): with probability 1−δ1-\delta1−δ, Algorithm 3's minimum counts satisfy Nctt−1≥∑s<t1(cs⪯Cct)/(αlog⁡(MKT2/δ))−1N^{t-1}_{c_t}\ge\sum_{s<t}\mathbb 1(c_s\preceq_{\mathcal C}c_t)/(\alpha\log(MKT^2/\delta))-1Nct​t−1​≥∑s<t​1(cs​⪯C​ct​)/(αlog(MKT2/δ))−1.
  5. Theorem 5, iid contexts (p. 18): E[RT]≤1+24αβTlog⁡(2T)log⁡(2MKT2)log⁡(2MKT3)(1+log⁡T)\mathbb E[R_T]\le1+24\sqrt{\alpha\beta T\log(2T)\log(2MKT^2)\log(2MKT^3)}(1+\log T)E[RT​]≤1+24αβTlog(2T)log(2MKT2)log(2MKT3)​(1+logT).
  6. Corollary 1, iid values (p. 20): Algorithm 3 on the quantized auction with M=K=⌈T⌉M=K=\lceil\sqrt T\rceilM=K=⌈T​⌉, δ=1/(2T)\delta=1/(2T)δ=1/(2T) has expected regret O(Tlog⁡2.5T)O(\sqrt T\log^{2.5}T)O(T​log2.5T). This is the explicit policy behind the goal.

Significance

The result. Theorem 1 shows that a bidder facing an arbitrary unknown competition distribution can learn to bid as well as the oracle up to O~(T)\tilde O(\sqrt T)O~(T​). That rate is optimal up to logarithms: mission 3 of the series formalizes the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound. Theorem 5 is of independent interest. For partially ordered contextual bandits with iid contexts, the regret depends on the widths α,β\alpha,\betaα,β of the two orders and not on the numbers M,KM,KM,K of contexts and actions. Mission 5 of the series shows that this fails for adversarial contexts.

Formalizing it. The results are proved in the paper, with full proofs in its Appendix C; none of them has a machine-checked proof. Beyond the theorems, the mission produces a reusable model of repeated auctions with censored feedback, with policies that are non-anticipating by construction. It also produces a definition of contextual bandits with graph feedback and cross learning, and an executable definition of an elimination algorithm with randomized exploration. Lemmas 3, 4 and 5 are self-contained and need no bandit machinery.

Difficulty

The obvious approach discretizes and runs one bandit algorithm per context. That gives regret O~(MT)\tilde O(\sqrt{MT})O~(MT​) and, after balancing against the quantization error of Lemma 4, only O~(T2/3)\tilde O(T^{2/3})O~(T2/3). Reaching T\sqrt TT​ requires information to flow across contexts. Lemma 2 says that a round with a small context feeds the minimum counts of every larger context. Lemma 3 turns this into a bound on the sum of confidence widths that depends on the width β\betaβ of the context order and not on MMM. Lemma 2 is a statement about a randomized algorithm whose active sets depend on the whole past, and its proof uses the uniform choice among the sources of the active set together with the extra elimination rule (⋆⋆\star\star⋆⋆). The step from a high-probability bound to an expectation over iid contexts must keep the contexts independent of the rewards and of the algorithm's randomness.

Formalization scope

  • Time and grids. Rounds are Fin T: paper round ttt is index t−1t-1t−1. The grids (6) are finite sets of reals. Context iii and action jjj of Fin M, Fin K stand for (i+1)/M(i+1)/M(i+1)/M and (j+1)/K(j+1)/K(j+1)/K. The paper's M=K=T1/2M=K=T^{1/2}M=K=T1/2 are ⌈T⌉\lceil\sqrt T\rceil⌈T​⌉.
  • HOB law. GGG is a probability measure on R\mathbb RR carried by [0,1][0,1][0,1], with G(x)=μG((−∞,x])G(x)=\mu_G((-\infty,x])G(x)=μG​((−∞,x]). Atoms are allowed.
  • Policies. A policy has an internal probability space. Its round-ttt bid takes the values as Fin (t+1) → ℝ and the feedback max⁡{bs,ms}\max\{b_s,m_s\}max{bs​,ms​} as Fin t → ℝ. It never sees mmm, GGG or FFF. The expectation is an integral against μU⊗F⊗T⊗G⊗T\mu_U\otimes F^{\otimes T}\otimes G^{\otimes T}μU​⊗F⊗T⊗G⊗T.
  • Integrability. Every expected-regret bound also asserts that the regret is integrable. This rules out the trivializing reading in which a non-measurable policy has expected regret 000 (Lean's value of a non-integrable integral).
  • Horizon. Theorem 1 and Corollary 1 start at T≥2T\ge2T≥2: at T=1T=1T=1 the printed bound is 000, but an uninformed first bid has positive regret.
  • Algorithm 3. The algorithm is a deterministic function of the contexts, the reward vectors and one uniform ut∈[0,1]u_t\in[0,1]ut​∈[0,1] per round. The uniform choice in (⋆\star⋆) is the ⌊utn⌋\lfloor u_tn\rfloor⌊ut​n⌋-th of the nnn candidates. The topological ordering of the contexts is an argument, and every theorem quantifies over all such orderings. An active set emptied off the good event has minimum count +∞+\infty+∞, and the algorithm then plays action 000.
  • Definition 3. "a⋆(c)=arg⁡max⁡aRc,aa^\star(c)=\arg\max_aR_{c,a}a⋆(c)=argmaxa​Rc,a​" is read as some selection of maximisers that is monotone. The independence numbers enter as upper bounds.
  • Probabilities. "With probability at least 1−δ1-\delta1−δ" means the failure set has measure at most δ\deltaδ. Lemma 2 is stated for every fixed context sequence.
  • Rewards in Corollary 1. The quantized auction rewards lie in [−1,1][-1,1][−1,1], and Algorithm 3 runs on them as printed. The formalization does not claim that they are a Definition 2 instance.

Not stated here: the adversarial parts of Theorem 5 and Corollary 1, Lemma 3.2, and the contextual form of Lemma 1. Proof contributions are welcome at every level. Useful infrastructure includes an anytime concentration bound for running means under adaptive sampling (the contextual Lemma 1) and Dilworth's theorem for finite posets (the step from β=1\beta=1β=1 to general β\betaβ in Lemma 3). Lemmas 3, 4 and 5 can be attacked first and independently.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7, 2024. https://arxiv.org/abs/2003.09795
  • N. Alon, N. Cesa-Bianchi, O. Dekel, T. Koren, Online Learning with Feedback Graphs: Beyond Bandits, COLT 2015. https://arxiv.org/abs/1502.07617
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • R. P. Dilworth, A Decomposition Theorem for Partially Ordered Sets, Annals of Mathematics 51(1), 1950. https://doi.org/10.2307/1969503
12 thms1 active userReviewed
Machine LearningOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 4: Arm Elimination with Graph Feedback and Cross Learning Has Regret Õ(T ∧ √(αMT) ∧ √(KT)) with High ProbabilityResearch Paper

Motivation

In many sequential decision problems, playing one action reveals the outcome of other actions too. A bidder in a first-price auction who bids bbb and sees the winning price learns whether every bid at or above that price would have won. A recommender that shows one item learns something about related items. Two kinds of side information recur. Graph feedback across actions: playing action aaa also reveals the rewards of the out-neighbours of aaa in a directed graph GGG (Mannor and Shamir 2011; Alon, Cesa-Bianchi, Dekel and Koren 2015). Cross learning across contexts: the reward of the chosen action is revealed under every context, not only the current one (Balseiro, Golrezaei, Mahdian, Mirrokni and Schneider 2019).

Han, Zhou and Weissman (arXiv:2003.09795v7) reduce learning to bid in repeated first-price auctions to a contextual bandit with both structures. Their §3 starts from a simple arm-elimination algorithm that exploits graph feedback (Algorithm 1) and extends it to contexts with cross learning (Algorithm 2). This mission formalizes that layer: the algorithms, their concentration lemma, and their high-probability regret bounds (Theorems 3 and 4).

Timeline:

  • 2011: Mannor and Shamir introduce bandits with side observations given by a graph.
  • 2015: Alon, Cesa-Bianchi, Dekel and Koren show that for adversarial bandits with a directed feedback graph the minimax regret is Θ~(αT)\tilde\Theta(\sqrt{\alpha T})Θ~(αT​), with α\alphaα the independence number; their Lemma 8 bounds the weak domination number by 50αlog⁡n50\alpha\log n50αlogn.
  • 2016–2020: Cohen, Hazan and Koren, and Lykouris, Tardos and Wali, give elimination-type algorithms for stochastic bandits with graph feedback.
  • 2019: Balseiro et al. introduce cross learning and obtain O~(KT)\tilde O(\sqrt{KT})O~(KT​) regret.
  • 2020–2024: Han, Zhou and Weissman obtain O~(min⁡{αM,K}T)\tilde O(\sqrt{\min\{\alpha M, K\}T})O~(min{αM,K}T​) for both structures together (this mission) and use it for first-price auctions.

Setting

A stochastic contextual bandit with graph feedback and cross learning (Definition 2) has a horizon TTT, contexts C=[M]\mathcal C = [M]C=[M], actions A=[K]\mathcal A = [K]A=[K], a joint reward law PPP supported on [0,1]M×K[0,1]^{M\times K}[0,1]M×K with mean rewards Rc,aR_{c,a}Rc,a​, and a directed graph G=(A,E)G = (\mathcal A, E)G=(A,E) without self-loops. In round ttt a context ctc_tct​ is revealed, the learner picks ata_tat​, nature draws rt=(rt,c,a)c,ar_t = (r_{t,c,a})_{c,a}rt​=(rt,c,a​)c,a​ iid from PPP, and the learner observes rt,c,ar_{t,c,a}rt,c,a​ for every c∈Cc \in \mathcal Cc∈C and every a∈It={at}∪{a:(at,a)∈E}a \in I_t = \{a_t\}\cup\{a : (a_t,a)\in E\}a∈It​={at​}∪{a:(at​,a)∈E}. The regret (5) is

RT(π)=∑t=1T(max⁡a∈ARct,a−Rct,at).R_T(\pi) = \sum_{t=1}^T\Big(\max_{a\in\mathcal A}R_{c_t,a} - R_{c_t,a_t}\Big).RT​(π)=t=1∑T​(a∈Amax​Rct​,a​−Rct​,at​​).

Definition 1 is the case M=1M = 1M=1, with regret (4). The independence number α\alphaα of GGG is the largest size of a set of actions with no edge between any two of them.

Algorithm 2 keeps for each context ccc an active set Aact,c\mathcal A_{\mathrm{act},c}Aact,c​ and a minimum count NcN_cNc​, and for each action aaa a count nan_ana​ shared by all contexts. In each round it plays an action of A0,ct={a∈Aact,ct:na=Nct}\mathcal A_{0,c_t} = \{a\in\mathcal A_{\mathrm{act},c_t} : n_a = N_{c_t}\}A0,ct​​={a∈Aact,ct​​:na​=Nct​​}, either of largest out-degree in the graph restricted to A0,ct\mathcal A_{0,c_t}A0,ct​​ (Option I) or of in-degree zero there (Option II, for DAGs). When every active action of context ccc has been observed more than NcN_cNc​ times, the active set drops the actions whose empirical reward falls below the best by more than 6log⁡(2T)log⁡(MKT/δ)/Nc6\sqrt{\log(2T)\log(MKT/\delta)/N_c}6log(2T)log(MKT/δ)/Nc​​. Algorithm 1 is the case M=1M = 1M=1.

Formalization targets

Goal: Theorem 4

With probability at least 1−δ1-\delta1−δ, writing L=log⁡(2T)log⁡(MKT/δ)L = \log(2T)\log(MKT/\delta)L=log(2T)log(MKT/δ),

RT(π)≤T∧(K+24KTL)∧{50αM(log⁡K)2+24log⁡K50αMTLOption I,αM+24αMTLOption II, G a DAG,R_T(\pi)\le T\wedge\big(K+24\sqrt{KTL}\big)\wedge\begin{cases}50\alpha M(\log K)^2+24\log K\sqrt{50\alpha MTL} & \text{Option I},\\ \alpha M+24\sqrt{\alpha MTL} & \text{Option II, }G\text{ a DAG,}\end{cases}RT​(π)≤T∧(K+24KTL​)∧{50αM(logK)2+24logK50αMTL​αM+24αMTL​​Option I,Option II, G a DAG,​

for every context sequence and every tie-breaking rule.

Milestones

  • Lemma 1 (p. 13): with probability 1−δ1-\delta1−δ, ∣rˉat−Ra∣≤3log⁡(2T)log⁡(KT/δ)/nat|\bar r^t_a - R_a|\le 3\sqrt{\log(2T)\log(KT/\delta)/n^t_a}∣rˉat​−Ra​∣≤3log(2T)log(KT/δ)/nat​​ for all rounds and all observed actions of Algorithm 1.
  • Lemma 10 (p. 35): a directed graph on n≥2n\ge2n≥2 vertices with independence number α\alphaα has a weakly dominating set of size at most 50αlog⁡n50\alpha\log n50αlogn.
  • Theorem 3 (p. 13): the one-context bound T∧(50α(log⁡K)2+24log⁡K50αTlog⁡(2T)log⁡(KT/δ))T\wedge(50\alpha(\log K)^2+24\log K\sqrt{50\alpha T\log(2T)\log(KT/\delta)})T∧(50α(logK)2+24logK50αTlog(2T)log(KT/δ)​) (Option I), resp. T∧(α+24αTlog⁡(2T)log⁡(KT/δ))T\wedge(\alpha+24\sqrt{\alpha T\log(2T)\log(KT/\delta)})T∧(α+24αTlog(2T)log(KT/δ)​) (Option II).
  • Lemma 1, contextual form (p. 16): the same concentration for Algorithm 2, uniformly over contexts, with log⁡(MKT/δ)\log(MKT/\delta)log(MKT/δ).

Significance

Theorem 4 shows that one algorithm attains, up to logarithmic factors, the better of two regret rates: KT\sqrt{KT}KT​, available from cross learning alone, and αMT\sqrt{\alpha MT}αMT​, available from graph feedback alone. The paper then shows (Theorem 6) that with adversarial contexts nothing better than min⁡{αMT,KT,T2/3}\min\{\sqrt{\alpha MT},\sqrt{KT},T^{2/3}\}min{αMT​,KT​,T2/3} is possible, while with stochastic contexts and a partial order a variant reaches O~(T)\tilde O(\sqrt T)O~(T​) for first-price auctions. Algorithm 2 is the building block of that variant.

The results are proved in the paper; none is formalized. A formal development produces machine-checked versions of a concentration inequality with a random number of observations, of a domination bound for directed graphs, and of an elimination analysis with shared counts across contexts. Four printed statements need correction, and the formal statements record the corrected forms: the constant 333 in Theorem 4's second bound (the printed proof gives 242424); Lemma 10, which is false for n=1n = 1n=1 and for edgeless graphs as worded; Lemma 1, which fails for K=T=1K = T = 1K=T=1 and δ\deltaδ close to 111 (excluded by KT≥2KT \ge 2KT≥2); and the pseudocode of Algorithms 1–2, whose update Nc←Nc+1N_c \leftarrow N_c + 1Nc​←Nc​+1 can leave A0,c\mathcal A_{0,c}A0,c​ empty after an elimination (the formalization keeps the text's invariant Nc=min⁡a∈Aact,cnaN_c = \min_{a \in \mathcal A_{\mathrm{act},c}} n_aNc​=mina∈Aact,c​​na​, and coincides with the printed algorithm wherever the latter is defined).

Difficulty

The observations of an action are not a fixed sample: how often and when action aaa is revealed depends on earlier rewards through the algorithm's choices. A union bound with Hoeffding's inequality at a fixed sample size does not apply directly, and Lemma 1 needs a self-normalized martingale inequality.

For Option I, the obvious bound on how long it takes to observe every least-pulled action once more is ∣A0∣|\mathcal A_0|∣A0​∣ rounds, which gives only KT\sqrt{KT}KT​. Getting α\alphaα instead of KKK requires that a vertex of largest out-degree covers a 1/(50αlog⁡K)1/(50\alpha\log K)1/(50αlogK) fraction of the remaining vertices; this is the content of Lemma 10, a probabilistic-method bound that is not in Mathlib. For contexts, the per-context analyses must be combined while counts are shared, and the bound in KKK needs a per-action rather than a per-context accounting.

Formalization scope

  • Actions Fin K, contexts Fin M, rounds Fin T; paper round ttt is Lean index t−1t-1t−1. The feedback graph is a relation E with no self-loops; "independence number α\alphaα" is the hypothesis that every independent set has at most α\alphaα elements (all bounds increase in α\alphaα).
  • The reward law is a probability measure on Fin M → Fin K → ℝ carried by [0,1]M×K[0,1]^{M\times K}[0,1]M×K; rewards are iid across rounds (Measure.pi). The regret is the pseudo-regret with means Rc,a=∫rc,a dPR_{c,a}=\int r_{c,a}\,dPRc,a​=∫rc,a​dP.
  • "With probability at least 1−δ1-\delta1−δ" is: the outer measure of the bad event under P⊗TP^{\otimes T}P⊗T is at most δ\deltaδ. The context sequence is fixed in advance (oblivious adversary); stochastic contexts independent of the rewards follow by conditioning.
  • "Break ties arbitrarily" is a tie-breaking rule that sees the round, the algorithm's state (including the learner's whole observation history) and the context; the theorems hold for every rule that picks a member of every nonempty set.
  • The minimum count NcN_cNc​ follows the text's definition Nc=min⁡a∈Aact,cnaN_c = \min_{a\in\mathcal A_{\mathrm{act},c}}n_aNc​=mina∈Aact,c​​na​. The printed update Nc←Nc+1N_c\leftarrow N_c+1Nc​←Nc​+1 can leave A0,c\mathcal A_{0,c}A0,c​ empty after an elimination (for example with edges a→ba\to ba→b and c→bc\to bc→b, when aaa and ccc are eliminated), where the printed algorithm is undefined. The formal algorithm agrees with the printed one wherever the latter is defined.
  • Lemma 1 quantifies over nat≥1n^t_a\ge1nat​≥1 and excludes K=T=1K = T = 1K=T=1, where it is false for δ\deltaδ close to 111.
  • Ruled out: replacing the three-way minimum by a single bound, restricting to a fixed tie-breaking rule, or to stochastic contexts.

Welcome contributions: the self-normalized inequality of de la Peña, Klass and Lai (Lemma 11), Lemma 10, invariants of Algorithm 2 (the active sets stay nonempty and contain an optimal action on the good event), and the deterministic regret accounting given the concentration event.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, arXiv:2003.09795v7, 2024; Operations Research, 2025. https://arxiv.org/abs/2003.09795
  • N. Alon, N. Cesa-Bianchi, O. Dekel, T. Koren, Online Learning with Feedback Graphs: Beyond Bandits, COLT 2015. https://arxiv.org/abs/1502.07617
  • S. Mannor, O. Shamir, From Bandits to Experts: On the Value of Side-Observations, NeurIPS 2011. https://arxiv.org/abs/1106.2436
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • V. H. de la Peña, M. J. Klass, T. L. Lai, Self-normalized processes: exponential inequalities, moment bounds and iterated logarithm laws, Annals of Probability 32(3A), 2004. https://doi.org/10.1214/009117904000000397
8 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection 1: On a Budget Linear in k the Greedy Procedure Keeps the PCS Bounded Away from ZeroResearch Paper

Motivation

Ranking and selection (R&S) is the problem of identifying, by simulation, the alternative with the largest mean performance among kkk candidates, when each alternative can only be observed with noise. It is a basic tool of simulation optimization, with roots in Bechhofer's indifference-zone formulation (Bechhofer 1954). Cloud and parallel computing have made problems with thousands to millions of alternatives routine, and for such large-scale problems the relevant question is how the total sampling budget must grow with kkk to keep the probability of correct selection (PCS) from collapsing.

Li, Fan and Hong (arXiv:2303.02951, Management Science 2025) call a procedure sample optimal if a budget linear in kkk, B=ckB=ckB=ck, keeps lim inf⁡k→∞PCS>0\liminf_{k\to\infty}\mathrm{PCS}>0liminfk→∞​PCS>0. Order kkk is the least any procedure can use, since every alternative needs at least one observation. As the paper recalls, Zhong & Hong (2022) and Hong et al. (2022) show that well-known procedures such as KN (Kim & Nelson 2001) and OCBA (Chen et al. 2000) need a budget of order klog⁡kk\log kklogk; the procedures previously proved sample optimal, median elimination (Even-Dar et al. 2006) and the knockout-tournament procedures, rely on a rigid halving structure with carefully planned allocations in each round. The paper's surprising observation is that the simplest procedure of all, the greedy procedure, which always samples the alternative that currently looks best, is already sample optimal.

Setting

There are kkk alternatives. Alternative iii yields independent observations Xi1,Xi2,⋯∼N(μi,σi2)X_{i1},X_{i2},\dots\sim N(\mu_i,\sigma_i^2)Xi1​,Xi2​,⋯∼N(μi​,σi2​), independent across alternatives, and alternative 111 is the unique best: μ1>μi\mu_1>\mu_iμ1​>μi​ for i≥2i\ge2i≥2. Write Xˉi(n)=1n∑j=1nXij\bar X_i(n)=\frac1n\sum_{j=1}^nX_{ij}Xˉi​(n)=n1​∑j=1n​Xij​ for the running average of alternative iii.

The greedy procedure (Procedure 1) with total budget BBB:

  1. takes one observation from each alternative;
  2. while the total number of observations is below BBB, takes one more observation from the alternative with the largest current running average Xˉi(ni)\bar X_i(n_i)Xˉi​(ni​);
  3. selects the alternative with the largest final running average.

The PCS is the probability that alternative 111 is selected. The asymptotic regime is fixed by Assumption 1: there are constants γ>0\gamma>0γ>0 and σˉ2>0\bar\sigma^2>0σˉ2>0 with μ1−max⁡i≥2μi≥γ\mu_1-\max_{i\ge2}\mu_i\ge\gammaμ1​−maxi≥2​μi​≥γ and max⁡iσi2≤σˉ2\max_i\sigma_i^2\le\bar\sigma^2maxi​σi2​≤σˉ2, however large kkk is.

For an i.i.d. N(0,1)N(0,1)N(0,1) sequence with running average Zˉ(n)\bar Z(n)Zˉ(n), the crossing time of a level xxx is N~(x)=inf⁡{n≥1:Zˉ(n)<x}\tilde N(x)=\inf\{n\ge1:\bar Z(n)<x\}N~(x)=inf{n≥1:Zˉ(n)<x}. With Φ\PhiΦ the standard normal distribution function, the paper's key function is

C(x)=exp⁡(∑n=1∞1n Φ(−n x)),x>0,C(x)=\exp\Bigl(\sum_{n=1}^\infty\frac1n\,\Phi(-\sqrt n\,x)\Bigr),\qquad x>0,C(x)=exp(n=1∑∞​n1​Φ(−n​x)),x>0,

which equals E[N~(x)]\mathrm E[\tilde N(x)]E[N~(x)] (Lemma 2). Finally, Xˉ1∗=min⁡n≥1Xˉ1(n)\bar X_1^*=\min_{n\ge1}\bar X_1(n)Xˉ1∗​=minn≥1​Xˉ1​(n) is the boundary, N1∗N_1^*N1∗​ the first time it is attained, and Ni(b)=inf⁡{n≥1:Xˉi(n)<b}N_i(b)=\inf\{n\ge1:\bar X_i(n)<b\}Ni​(b)=inf{n≥1:Xˉi​(n)<b} the boundary-crossing time of alternative iii.

Formalization targets

Goal: Theorem 1 (p. 15)

Under Assumption 1, if B=ckB=ckB=ck with c>C(γ/σˉ)c>C(\gamma/\bar\sigma)c>C(γ/σˉ), then there is γ0∈(0,γ)\gamma_0\in(0,\gamma)γ0​∈(0,γ) with C((γ−γ0)/σˉ)=cC\bigl((\gamma-\gamma_0)/\bar\sigma\bigr)=cC((γ−γ0​)/σˉ)=c, and

lim inf⁡k→∞PCS ≥ Pr⁡{min⁡n≥1Xˉ1(n)>μ1−γ0}=[C(γ0σ1)]−1>0.\liminf_{k\to\infty}\mathrm{PCS}\ \ge\ \Pr\Bigl\{\min_{n\ge1}\bar X_1(n)>\mu_1-\gamma_0\Bigr\}=\Bigl[C\Bigl(\frac{\gamma_0}{\sigma_1}\Bigr)\Bigr]^{-1}>0.k→∞liminf​PCS ≥ Pr{n≥1min​Xˉ1​(n)>μ1​−γ0​}=[C(σ1​γ0​​)]−1>0.

The constant ccc and the gap γ\gammaγ are free; the bound depends only on the shape of CCC.

Milestones

  1. Lemma 1 (p. 13): Pr⁡{arg⁡min⁡n≥1Zˉ(n)<∞}=1\Pr\{\arg\min_{n\ge1}\bar Z(n)<\infty\}=1Pr{argminn≥1​Zˉ(n)<∞}=1.
  2. Lemma 2 (pp. 13–14): for x>0x>0x>0, Pr⁡{N~(x)<∞}=1\Pr\{\tilde N(x)<\infty\}=1Pr{N~(x)<∞}=1 and E[N~(x)]=C(x)\mathrm E[\tilde N(x)]=C(x)E[N~(x)]=C(x), continuous and strictly decreasing; for x<0x<0x<0, E[N~(x)]=∞\mathrm E[\tilde N(x)]=\inftyE[N~(x)]=∞ and Pr⁡{N~(x)<∞}=1−exp⁡(−∑n1nΦ(n x))\Pr\{\tilde N(x)<\infty\}=1-\exp(-\sum_n\frac1n\Phi(\sqrt n\,x))Pr{N~(x)<∞}=1−exp(−∑n​n1​Φ(n​x)); for x=0x=0x=0, probability 111 and infinite mean.
  3. (4.3) (p. 14): for x<0x<0x<0, Pr⁡{min⁡n≥1Zˉ(n)>x}=[C(−x)]−1\Pr\{\min_{n\ge1}\bar Z(n)>x\}=[C(-x)]^{-1}Pr{minn≥1​Zˉ(n)>x}=[C(−x)]−1.
  4. (3.2) (p. 12): PCS≥Pr⁡{∑i=2kNi(Xˉ1∗)+N1∗≤B}\mathrm{PCS}\ge\Pr\{\sum_{i=2}^kN_i(\bar X_1^*)+N_1^*\le B\}PCS≥Pr{∑i=2k​Ni​(Xˉ1∗​)+N1∗​≤B}.
  5. (4.4) (p. 15): on {Xˉ1∗>μ1−γ0}\{\bar X_1^*>\mu_1-\gamma_0\}{Xˉ1∗​>μ1​−γ0​}, Ni(Xˉ1∗)≤N~i((γ−γ0)/σˉ)N_i(\bar X_1^*)\le\tilde N_i((\gamma-\gamma_0)/\bar\sigma)Ni​(Xˉ1∗​)≤N~i​((γ−γ0​)/σˉ), pathwise.
  6. (EC.1.5) (p. ec3): lim inf⁡kPCS≥Pr⁡{min⁡nXˉ1(n)>μ1−γϵ−}−Pr⁡{arg⁡min⁡nXˉ1(n)=∞}\liminf_k\mathrm{PCS}\ge\Pr\{\min_n\bar X_1(n)>\mu_1-\gamma_\epsilon^-\}-\Pr\{\arg\min_n\bar X_1(n)=\infty\}liminfk​PCS≥Pr{minn​Xˉ1​(n)>μ1​−γϵ−​}−Pr{argminn​Xˉ1​(n)=∞}, where C((γ−γϵ−)/σˉ)=c−2ϵC((\gamma-\gamma_\epsilon^-)/\bar\sigma)=c-2\epsilonC((γ−γϵ−​)/σˉ)=c−2ϵ.

Significance

The result. Theorem 1 shows that a procedure with no tuning parameters, no elimination and no knowledge of γ\gammaγ or σˉ\bar\sigmaσˉ achieves the optimal order of budget growth for large-scale R&S. It gives an explicit, computable lower bound on the limiting PCS. The companion Theorem 2 of the paper shows that this bound is the exact limit under the slippage configuration with a common variance, so the constant cannot be improved in general. The same boundary-crossing analysis underlies the paper's explore-first variant, which turns the positive limit into an arbitrarily high one.

Formalizing it. The result is proved in the paper; nothing here is claimed open. As far as is known, no part of it has a machine-checked proof. A formalization adds:

  • a precise, total specification of the greedy procedure as a function of an observation array, including tie-breaking and budget rounding;
  • the pathwise inclusion behind (3.2), which the paper argues in prose, and whose naive reading is false before N1∗N_1^*N1∗​;
  • Spitzer-type identities for the Gaussian random walk (Lemma 2), which Mathlib does not have and which are reusable well beyond this paper.

Difficulty

The obvious argument fails at its first step. The greedy procedure's sample sizes depend on all past observations of all alternatives, so the PCS has no tractable expression, and the classical route through pairwise comparisons at fixed sample sizes does not apply. The boundary-crossing perspective sidesteps this, at three costs. First, (3.2) requires a careful pathwise argument: before the best alternative's running average reaches its minimum, it can lead, be sampled, and lose the lead, so "once best, always best" is false until N1∗N_1^*N1∗​. Second, Lemma 2 is a fluctuation-theory identity (Spitzer's formula for the mean ladder epoch of a Gaussian walk), not an elementary computation. Third, the limit k→∞k\to\inftyk→∞ combines a strong law over i.i.d. crossing times with a continuity argument in γ0\gamma_0γ0​, which needs the continuity and strict monotonicity of CCC.

Formalization scope

  • Model. One observation array XijX_{ij}Xij​ indexed by i,j∈Ni,j\in\mathbb Ni,j∈N, measurable, with Xij∼N(μi,vi)X_{ij}\sim N(\mu_i,v_i)Xij​∼N(μi​,vi​), and mutually independent as a whole family. Problem kkk uses alternatives 0,…,k−10,\dots,k-10,…,k−1; Lean's alternative 000 is the paper's alternative 111. One sequence (μi,vi)(\mu_i,v_i)(μi​,vi​) serves every kkk, not a triangular array. Variances are positive (vi>0v_i>0vi​>0), as the paper's normalizations by σi\sigma_iσi​ require.
  • Procedure. A deterministic map from the array to the selected index. Ties in every arg max go to the smallest index (a null event under normality). The budget B=ckB=ckB=ck is ⌊ck⌋\lfloor ck\rfloor⌊ck⌋; the number of greedy steps uses truncated subtraction, so the procedure is total.
  • Quantities. Crossing times and argmins take values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}; E[N~(x)]\mathrm E[\tilde N(x)]E[N~(x)] is a lower Lebesgue integral in [0,∞][0,\infty][0,∞]; probabilities and the liminf are in [0,∞][0,\infty][0,∞]. "min⁡ny(n)>a\min_n y(n)>aminn​y(n)>a" means bounded below with infimum >a>a>a. CCC is applied only at positive arguments.
  • Ruled out. Crossing times typed in N\mathbb NN (where an empty infimum is 000), the junk value of a divergent tsum (C(x)=1C(x)=1C(x)=1 for x≤0x\le0x≤0), an unbounded infimum read as 000, and a "for every γ0\gamma_0γ0​ with C(⋅)=cC(\cdot)=cC(⋅)=c" statement that holds vacuously: the goal asserts the existence of γ0\gamma_0γ0​.
  • Infrastructure. Running averages and crossing times of random walks, the Gaussian Spitzer identity, the strong law for i.i.d. N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued variables, and a pathwise analysis of the greedy procedure. The random-walk results are reusable for any boundary-crossing or sequential-testing development. Contributions on any milestone are welcome, and proofs of Lemma 2 by a route other than Siegmund's are equally useful.
  • Source. The PDF is the arXiv v3 preprint (11 Dec 2023); every page and equation number refers to it.

Selected references

  • Z. Li, W. Fan, L. J. Hong, The (Surprising) Sample Optimality of Greedy Procedures for Large-Scale Ranking and Selection, arXiv:2303.02951v3, 2023; Management Science, 2025. https://arxiv.org/abs/2303.02951
  • R. E. Bechhofer, A Single-Sample Multiple Decision Procedure for Ranking Means of Normal Populations with known Variances, Annals of Mathematical Statistics 25(1), 1954. https://doi.org/10.1214/aoms/1177728845
  • D. Siegmund, Sequential Analysis: Tests and Confidence Intervals, Springer, 1985. https://doi.org/10.1007/978-1-4757-1862-1
  • Y. Zhong, L. J. Hong, Knockout-Tournament Procedures for Large-Scale Ranking and Selection in Parallel Computing Environments, Operations Research 70(1), 2022. https://doi.org/10.1287/opre.2020.2065
8 thms1 active userReviewed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

Thompson Sampling with Information Relaxation Penalties III: As T → ∞ the Action Laws of IRS.FH and IRS.V-Zero Converge to That of Thompson SamplingResearch Paper

Motivation

Thompson sampling (TS) is the standard randomized heuristic for the Bayesian multi-armed bandit: at each decision it samples a parameter vector from the current posterior and pulls the arm that would be best if the sample were true. It ignores the remaining horizon. Min, Maglaras and Moallemi (arXiv:1902.04251, Management Science, 2025) obtain horizon-aware generalizations of TS from the information relaxation duality of Brown, Smith and Sun (Oper. Res. 2010). Each penalty function yields an upper bound on the Bayes-optimal value and an IRS policy. Such a policy samples a whole future outcome and plays the first action of the penalized clairvoyant optimum. With the zero-information penalty it is exactly TS.

Two of these policies, IRS.FH and IRS.V-Zero, are designed to interpolate between TS and the myopic rule. When one period remains they pull the arm with the highest predictive mean (Remark 5 of the paper). This mission formalizes the other end, Proposition 1: when many periods remain, they randomize exactly as Thompson sampling does. The paper presents this as the sense in which IRS policies "behave like TS during the initial decision epochs" and shift smoothly from exploration to exploitation without a tuning parameter.

Setting

There are K≥1K \ge 1K≥1 arms A={1,…,K}\mathcal A = \{1,\dots,K\}A={1,…,K}. Arm aaa has an unknown parameter θa\theta_aθa​. Given θa\theta_aθa​, its rewards Ra,1,Ra,2,…R_{a,1}, R_{a,2}, \dotsRa,1​,Ra,2​,… are i.i.d. with law Ra(θa)\mathcal R_a(\theta_a)Ra​(θa​). The prior of θa\theta_aθa​ is Pa(ya)\mathcal P_a(y_a)Pa​(ya​), a member of a conjugate family indexed by a belief yay_aya​. A Bayesian update Ua\mathcal U_aUa​ maps (ya,r)(y_a, r)(ya​,r) to the posterior belief after a reward rrr. The arms are independent. Throughout, rewards are integrable: Eya∣Ra,1∣<∞\mathbb E_{y_a}|R_{a,1}| < \inftyEya​​∣Ra,1​∣<∞ for every belief (display (3)).

  • The conditional mean reward is μa(θa)=E[Ra,n∣θa]\mu_a(\theta_a) = \mathbb E[R_{a,n} \mid \theta_a]μa​(θa​)=E[Ra,n​∣θa​], and the predictive mean is μˉa(ya)=Eya[μa(θa)]\bar\mu_a(y_a) = \mathbb E_{y_a}[\mu_a(\theta_a)]μˉ​a​(ya​)=Eya​​[μa​(θa​)].
  • The outcome ω=(θ,(Ra,n)a,n)\omega = (\theta, (R_{a,n})_{a,n})ω=(θ,(Ra,n​)a,n​) has law I(y)\mathcal I(y)I(y).
  • The posterior predictive mean after the first nnn rewards of arm aaa is μ^a,n(ω;ya)=Eya[μa(θa)∣Ra,1,…,Ra,n]\hat\mu_{a,n}(\omega; y_a) = \mathbb E_{y_a}[\mu_a(\theta_a) \mid R_{a,1},\dots,R_{a,n}]μ^​a,n​(ω;ya​)=Eya​​[μa​(θa​)∣Ra,1​,…,Ra,n​].

At remaining horizon TTT and belief yyy, the three policies act as follows:

  1. TS samples θ~∼P(y)\tilde\theta \sim \mathcal P(y)θ~∼P(y) and plays ATS(y)=argmax⁡aμa(θ~a)A^{TS}(y) = \operatorname{argmax}_a \mu_a(\tilde\theta_a)ATS(y)=argmaxa​μa​(θ~a​).
  2. IRS.FH samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y) and plays AIRS.FH(T,y)=argmax⁡aμ^a,T−1(ω~)A^{IRS.FH}(T,y) = \operatorname{argmax}_a \hat\mu_{a,T-1}(\tilde\omega)AIRS.FH(T,y)=argmaxa​μ^​a,T−1​(ω~), the arm with the best posterior mean after T−1T-1T−1 sampled rewards of every arm.
  3. IRS.V-Zero samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y) and solves the allocation problem
max⁡n∈NT∑a=1K∑i=1naμ^a,i−1(ω~),NT={n∈N0K:∑ana=T}.\max_{n \in \mathcal N_T} \sum_{a=1}^K \sum_{i=1}^{n_a} \hat\mu_{a,i-1}(\tilde\omega), \qquad \mathcal N_T = \Big\{n \in \mathbb N_0^K : \sum_a n_a = T\Big\}.n∈NT​max​a=1∑K​i=1∑na​​μ^​a,i−1​(ω~),NT​={n∈N0K​:a∑​na​=T}.

It then plays the arm AIRS.V-Zero(T,y)=argmax⁡an~a∗A^{IRS.V\text{-}Zero}(T,y) = \operatorname{argmax}_a \tilde n^*_aAIRS.V-Zero(T,y)=argmaxa​n~a∗​ to which the optimal allocation n~∗\tilde n^*n~∗ assigns the most pulls.

Each action is a random variable driven by the policy's own sample.

Formalization targets

Goal: Proposition 1 (p. 25)

Assume μi(θi)≠μj(θj)\mu_i(\theta_i) \ne \mu_j(\theta_j)μi​(θi​)=μj​(θj​) almost surely under P(y)\mathcal P(y)P(y), for all i≠ji \ne ji=j. Then for every arm aaa,

lim⁡T→∞P[AIRS.FH(T,y)=a]=P[ATS(y)=a],lim⁡T→∞P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a].\lim_{T\to\infty} \mathbb P[A^{IRS.FH}(T,y) = a] = \mathbb P[A^{TS}(y) = a], \qquad \lim_{T\to\infty} \mathbb P[A^{IRS.V\text{-}Zero}(T,y) = a] = \mathbb P[A^{TS}(y) = a].T→∞lim​P[AIRS.FH(T,y)=a]=P[ATS(y)=a],T→∞lim​P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a].

This holds for every choice of the tie-breaking rules in the argmaxes and in the allocation problem.

Milestones

  1. Proposition 4 (p. 53): μa(θa)\mu_a(\theta_a)μa​(θa​) and max⁡aμa(θa)\max_a \mu_a(\theta_a)maxa​μa​(θa​) are integrable under the prior.
  2. Proposition 5 (p. 54): μ^a,n\hat\mu_{a,n}μ^​a,n​ and the sample mean 1n∑i≤nRa,i\frac1n\sum_{i\le n} R_{a,i}n1​∑i≤n​Ra,i​ converge almost surely to μa(θa)\mu_a(\theta_a)μa​(θa​).
  3. Display (109) (p. 54): if a sequence of vectors converges to a vector with distinct entries, every argmax rule eventually selects the argmax of the limit.
  4. The allocation argument (113)–(123) (pp. 54–56): if the payoff rows converge to distinct limits, then for large TTT every optimal allocation gives its largest share only to the arm with the largest limit.
  5. Display (55) alone: the IRS.FH half of the goal.

Significance

Proposition 1 identifies the long-horizon behaviour of the two IRS policies with that of Thompson sampling. Together with Remark 5 it pins down both ends of the horizon. It explains why their simulated regret curves track TS early and the myopic policy late (§5 of the paper). It also shows that the design choice "play the arm with the largest allocation" in IRS.V-Zero is the one that recovers TS. Other selection rules, such as any arm with a positive allocation, need not.

The paper gives a complete proof in Appendix D.1–D.2. A machine-checked version adds three things. It fixes the probabilistic model of a conjugate Bayesian bandit with infinite reward sequences in Lean, which the companion missions on the same paper also need. It makes the role of tie-breaking explicit. And it repairs a step of the printed proof: the bound n∘(AT∘)≥⌊T/2⌋n^\circ(A^\circ_T) \ge \lfloor T/2 \rfloorn∘(AT∘​)≥⌊T/2⌋ in §D.2 holds only for two arms, and the general case needs ⌈T/K⌉\lceil T/K \rceil⌈T/K⌉ and a threshold growing with KKK. No formalization of this result is known on Prove2Me or in Mathlib.

Difficulty

The IRS.FH half reduces to almost-sure convergence of posterior means, which is a martingale argument (Lévy's upward theorem). That argument needs μa(θa)\mu_a(\theta_a)μa​(θa​) to be measurable with respect to the limit σ\sigmaσ-algebra of the reward sequence, a fact supplied by the strong law of large numbers. Building the outcome law, a mixture over θ\thetaθ of infinite product measures, and identifying the conjugate update with conditional expectation are where the measure theory lies.

The IRS.V-Zero half does not follow from convergence of the posterior means alone. The selected arm is a function of an optimal allocation of a combinatorial problem whose size grows with TTT. The naive expectation that the arm with the best limit receives "most" pulls has to be proved by an exchange argument that handles the finitely many early terms, where the posterior means can still be badly ordered. The printed version of this argument is correct only for K=2K = 2K=2.

Formalization scope

  • Arms are Fin K with NeZero K; the reward sequence of an arm is ℕ → ℝ, 0-based.
  • One parameter type and one belief type serve all arms; reward laws and priors are Markov kernels.
  • Conjugacy is stated as Bayes' rule on rectangles for every belief. The update is assumed jointly measurable, and the standing integrability (3) is assumed for every belief.
  • The outcome law I(y)\mathcal I(y)I(y) is a product over arms of mixtures ∫δθ⊗Ra(θ)⊗N Pa(ya)(dθ)\int \delta_\theta \otimes \mathcal R_a(\theta)^{\otimes \mathbb N}\, \mathcal P_a(y_a)(d\theta)∫δθ​⊗Ra​(θ)⊗NPa​(ya​)(dθ).
  • μ^a,n\hat\mu_{a,n}μ^​a,n​ is the pathwise conjugate version μˉa(ya,n)\bar\mu_a(y_{a,n})μˉ​a​(ya,n​) of the conditional expectation (10), defined at every outcome so that it can sit inside an argmax.
  • P[A=a]\mathbb P[A = a]P[A=a] is the mass of {a}\{a\}{a} under the pushforward of the policy's sampling law. All tie-breaking rules are required to be measurable; otherwise the pushforward would be the zero measure.
  • The assumption of the proposition is required almost surely under the prior, not as injectivity of μ\muμ.
  • A formalization in which the selectors were non-measurable, the outcome law degenerate, or the distinctness hypothesis unsatisfiable would make the goal vacuous. The definitions rule out the first two, and a deterministic two-arm instance shows the hypotheses are satisfiable.

The development needs Lévy's upward theorem (MeasureTheory.tendsto_ae_condExp in Mathlib) and the strong law of large numbers (ProbabilityTheory.strong_law_ae). It also needs a lemma identifying iterated conjugate updates with the posterior given finitely many rewards, and the measurability of θ↦Ra(θ)⊗N\theta \mapsto \mathcal R_a(\theta)^{\otimes\mathbb N}θ↦Ra​(θ)⊗N. These last two are reusable for any Bayesian bandit or sequential-estimation development. Contributions of the two deterministic milestones are self-contained and welcome first.

Selected references

  • S. Min, C. Maglaras, C. C. Moallemi, Thompson Sampling with Information Relaxation Penalties, Management Science, 2025; preprint arXiv:1902.04251v2, 2021. https://arxiv.org/abs/1902.04251
  • D. B. Brown, J. E. Smith, P. Sun, Information Relaxations and Duality in Stochastic Dynamic Programs, Operations Research 58(4), 2010. https://doi.org/10.1287/opre.1090.0796
  • W. R. Thompson, On the Likelihood that One Unknown Probability Exceeds Another in View of the Evidence of Two Samples, Biometrika 25(3/4), 1933. https://doi.org/10.2307/2332286
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014. https://doi.org/10.1287/moor.2014.0650
9 thms1 active userReviewed
Harmonic AnalysisMachine LearningOperations Research+1·Captain: mikedeng1

Learning and Optimization with Seasonal Patterns 1: Regret Upper Bound for the Two-Stage Period-Estimation and Confidence-Bound PolicyResearch Paper

Motivation

Many demand, traffic and click-through series are seasonal: their mean repeats after a fixed number of periods (a week of days, a year of months), while the length of that cycle is not known in advance. A retailer choosing among KKK promotions, or a platform choosing among KKK recommendations, then faces a multi-armed bandit whose arms have time-varying but periodic mean rewards. Standard stochastic bandit algorithms assume stationary means and fail here, and fully adversarial or arbitrarily drifting models give up the structure that periodicity offers.

N. Chen, C. Wang and L. Wang (arXiv:2005.08088, Operations Research, 2025) propose a two-stage policy for this problem: a spectral first stage that estimates every arm's period from a short exploration phase, and a confidence-bound second stage that learns and exploits the resulting "effective arms". Their main upper bound, Theorem 1, shows that the policy's regret grows like T∑kTk\sqrt{T\sum_k T_k}T∑k​Tk​​ up to logarithmic factors. This mission formalizes that theorem and the chain of lemmas behind it. The matching lower bound (Theorem 3 of the paper) is the subject of a separate mission of this series.

Setting

At each epoch t=1,…,Tt=1,\dots,Tt=1,…,T a decision maker pulls one of KKK arms. Pulling arm kkk at epoch ttt yields the reward Yk,t=μk,t+ϵtY_{k,t}=\mu_{k,t}+\epsilon_tYk,t​=μk,t​+ϵt​. The mean μk,t\mu_{k,t}μk,t​ has a minimum period Tk≥1T_k\ge1Tk​≥1: μk,t+Tk=μk,t\mu_{k,t+T_k}=\mu_{k,t}μk,t+Tk​​=μk,t​ for all t≥1t\ge1t≥1, and no smaller positive shift has this property. The standing assumptions are:

  • Assumption 1: μk,t∈[0,1]\mu_{k,t}\in[0,1]μk,t​∈[0,1].
  • Assumption 2: the noises ϵt\epsilon_tϵt​ are independent and sub-Gaussian with parameter σ\sigmaσ, i.e. E[eλϵt]≤eσ2λ2/2\mathbb E[e^{\lambda\epsilon_t}]\le e^{\sigma^2\lambda^2/2}E[eλϵt​]≤eσ2λ2/2 for all real λ\lambdaλ and P(∣ϵt∣>x)≤2e−x2/(2σ2)\mathbb P(|\epsilon_t|>x)\le2e^{-x^2/(2\sigma^2)}P(∣ϵt​∣>x)≤2e−x2/(2σ2).

The pseudo-regret of an arm sequence π\piπ is RTπ=∑t=1T(max⁡kμk,t−μπt,t)R^\pi_T=\sum_{t=1}^T(\max_k\mu_{k,t}-\mu_{\pi_t,t})RTπ​=∑t=1T​(maxk​μk,t​−μπt​,t​), and the number of effective arms is d=∑k=1KTkd=\sum_{k=1}^KT_kd=∑k=1K​Tk​: arm kkk at phase t mod Tkt \bmod T_ktmodTk​ is one effective arm.

Stage one (Algorithm 1). Each arm is pulled nnn times in a row. From its nnn rewards the policy computes the periodogram ∣y~k(v)∣|\tilde y_k(v)|∣y~​k​(v)∣, the modulus of the discrete Fourier transform y~k(v)=1n∑sYk,se−2πivs\tilde y_k(v)=\frac1n\sum_sY_{k,s}e^{-2\pi ivs}y~​k​(v)=n1​∑s​Yk,s​e−2πivs, on v∈[0,1/2]v\in[0,1/2]v∈[0,1/2]. A data-driven threshold τk\tau_kτk​ is computed from the constants U1,U2U_1,U_2U1​,U2​ (sums of sinc-type maxima), ϵˉv=2σH1−π/24log⁡(n)/n\bar\epsilon_v=\frac{2\sigma H}{1-\pi/24}\sqrt{\log(n)/n}ϵˉv​=1−π/242σH​log(n)/n​ and sup⁡v∣y~k(v)∣\sup_v|\tilde y_k(v)|supv​∣y~​k​(v)∣. The algorithm repeatedly takes the highest peak above τk\tau_kτk​ in [g/n,1/2][g/n,1/2][g/n,1/2], snaps it to the nearest fraction j1/j2j_1/j_2j1​/j2​ with j2<n/(2g)j_2<n/(2g)j2​<n/(2g), and removes a 2g/n2g/n2g/n-neighbourhood. The period estimate T^k\hat T_kT^k​ is the least common multiple of the selected reciprocals.

Stage two (Algorithm 2). At every later epoch an SSS-round screening tournament, S=⌊log⁡2T⌋S=\lfloor\log_2T\rfloorS=⌊log2​T⌋, compares the arms at their current phases modulo T^k\hat T_kT^k​. It uses estimated means mk,t(s)m^{(s)}_{k,t}mk,t(s)​ and widths wk,t(s)w^{(s)}_{k,t}wk,t(s)​ pooled from the stage-one samples and from round-specific index sets Ψ(s)(t)\Psi^{(s)}(t)Ψ(s)(t). The weak oracle runs the same policy with the true periods in place of T^k\hat T_kT^k​.

The parameters are fixed by (7): n=⌊T/K⌋n=\lfloor\sqrt{T/K}\rfloorn=⌊T/K​⌋, g=⌈n⌉g=\lceil\sqrt n\rceilg=⌈n​⌉, H=1+log⁡nH=\sqrt{1+\log n}H=1+logn​. Assumption 3 asks T>4KT>4KT>4K, g≥max⁡{2,n}g\ge\max\{2,\sqrt n\}g≥max{2,n​} and Tk<n/(2g)T_k<n/(2g)Tk​<n/(2g). Assumption 4 asks the smallest present Fourier coefficient bkb_kbk​ of each arm to dominate a combination of ϵˉv\bar\epsilon_vϵˉv​ and the largest coefficient BkB_kBk​.

Formalization targets

Goal: Theorem 1

Under Assumptions 1–4 and (7), the two-stage policy satisfies

E[RTπ]≤CT d log⁡2(T) log⁡(T/d),\mathbb E\big[R^\pi_T\big]\le C\sqrt{T\,d\,\log^2(T)\,\log(T/d)} ,E[RTπ​]≤CTdlog2(T)log(T/d)​,

with CCC depending only on σ\sigmaσ and KKK, and with Algorithm 2 run at δ=8/T\delta=8/Tδ=8/T.

Stage one: correct period identification

  • Lemma 1: uniform noise bound for the periodogram, 48nexp⁡(−(nδ2/4σ2)(1−π/24)2)48n\exp(-(n\delta^2/4\sigma^2)(1-\pi/24)^2)48nexp(−(nδ2/4σ2)(1−π/24)2).
  • Lemmas 2–3: leakage bounds πBkU1\pi B_kU_1πBk​U1​, πBkU2\pi B_kU_2πBk​U2​, and Bk≤(sup⁡∣ϵ~k∣+sup⁡∣y~k∣)/(1−πU2)B_k\le(\sup|\tilde\epsilon_k|+\sup|\tilde y_k|)/(1-\pi U_2)Bk​≤(sup∣ϵ~k​∣+sup∣y~​k​∣)/(1−πU2​).
  • Lemmas 4–5: the threshold separates the neighbourhoods of the present frequencies from the rest, with probability 1−48/nH2−11-48/n^{H^2-1}1−48/nH2−1.
  • Lemmas 6–7: the sharper noise bound near possible present frequencies, and the location of the peaks within 1/n1/n1/n of them.
  • Theorem 2: P(Λ)≥1−48K/nH2−1−200K/n0.867H2−1−200K/n0.6934H2−1\mathbb P(\Lambda)\ge1-48K/n^{H^2-1}-200K/n^{0.867H^2-1}-200K/n^{0.6934H^2-1}P(Λ)≥1−48K/nH2−1−200K/n0.867H2−1−200K/n0.6934H2−1.

Stage two: the oracle's regret

  • Lemma 15: an anytime sub-Gaussian deviation bound.
  • Lemma 9: the confidence event E\mathcal EE has probability at least 1−δS1-\delta S1−δS.
  • Lemma 10: on E\mathcal EE the optimal arm survives screening, and each epoch's gap is at most 111, 8σ/2s8\sigma/2^s8σ/2s or 2σ/T2\sigma/\sqrt T2σ/T​.
  • Lemma 16: the summed widths of a round are at most 4σ∣Ψ(s)(T)∣ dlog⁡(8T/δ)log⁡(T/d)4\sigma\sqrt{|\Psi^{(s)}(T)|\,d\log(8T/\delta)\log(T/d)}4σ∣Ψ(s)(T)∣dlog(8T/δ)log(T/d)​.
  • Lemma 11: the oracle's expected regret is at most CTdlog⁡2(T)log⁡(T/d)C\sqrt{Td\log^2(T)\log(T/d)}CTdlog2(T)log(T/d)​ with CCC depending only on σ\sigmaσ.

Significance

The theorem shows that unknown seasonality costs only the factor d=∑kTk\sqrt{d}=\sqrt{\sum_kT_k}d​=∑k​Tk​​ that would be paid if every phase of every arm were a separate stationary arm. Up to logarithmic factors this matches the TK\sqrt{TK}TK​ rate of the classical stationary bandit with ddd arms in place of KKK. Together with the paper's lower bound Ω(Tmax⁡kTk)\Omega(\sqrt{T\max_kT_k})Ω(Tmaxk​Tk​​) it locates the minimax regret of periodic bandits within a factor K\sqrt KK​. Stage one is a non-asymptotic, finite-sample period-identification guarantee for a thresholded periodogram, which is of independent use in spectral estimation.

The paper proves these results; none of them is machine-checked. A complete development yields a verified finite-sample periodogram theory (noise bounds for random trigonometric polynomials, Dirichlet-kernel leakage estimates), a verified anytime sub-Gaussian inequality, and a verified analysis of a nested elimination algorithm with data reuse. The formalization also pins down several points the printed text leaves open: the constant 0.2330.2330.233 of Lemma 6 and the exponent 0.6940.6940.694 of Lemma 7 and Theorem 2 are slightly stronger than what the proofs give, and the printed claim that Theorem 1's constant is independent of KKK is not established by the printed argument.

Difficulty

Two steps resist the obvious approach. In stage one, the periodogram has to be controlled at uncountably many frequencies at once. A union bound over vvv is unavailable, and the leakage of each present frequency spreads over the whole spectrum, so both the noise and the signal must be bounded uniformly in vvv with explicit constants. In stage two, the samples used to estimate an effective arm are selected with the estimated periods, which were computed from the same stage-one data, so the usual independence behind confidence bounds fails. Lemmas 9–11 are therefore stated for the weak oracle, whose sample selection does not depend on the data; on the event Λ\LambdaΛ the definitions make the oracle's run and the policy's run the same function of the noise path.

Formalization scope

Epochs are natural numbers t≥1t\ge1t≥1; arms are Fin K (the paper's arm kkk is index k−1k-1k−1), and K≥1K\ge1K≥1. The noise is a sequence ϵ:N→Ω→R\epsilon:\mathbb N\to\Omega\to\mathbb Rϵ:N→Ω→R on a probability space, independent, with Mathlib's HasSubgaussianMGF at variance proxy σ2\sigma^2σ2, plus the printed tail clause. Both algorithms are defined in full, as deterministic functions of the noise path, with canonical tie-breaking: smallest maximizer, smallest closest candidate, smallest arm index. Algorithm 1's loop runs at most nnn passes, and LCM(v^i−1)\mathrm{LCM}(\hat v_i^{-1})LCM(v^i−1​) is the least common multiple of the reduced denominators of the selected frequencies. Algorithm 2 takes its period vector as an argument; the two-stage policy and the oracle are its two instances. Expected regret is an outer expectation: an integrable majorant of the regret whose integral obeys the bound. Probability bounds bound the outer measure of the bad event. Every DFT uses the absolute stage-one epochs, as in Step 8 of Algorithm 1.

Disclosed deviations: Theorem 1's constant depends on σ\sigmaσ and KKK (the printed proof does not give uniformity in KKK), and δ=8/T\delta=8/Tδ=8/T is fixed as in the proof of Lemma 11. Lemma 6 uses 0.23280.23280.2328 for the printed 0.2330.2330.233; Lemma 7 and Theorem 2 use 0.69340.69340.6934 for the printed 0.6940.6940.694. Lemma 7 covers the nonzero present frequencies. Lemma 11 states the standing Assumption 3 and the parameters (7) as hypotheses, as its proof uses them.

The algorithm is the object of the theorem. Replacing Algorithm 1 by "any estimator that is correct with high probability", or Algorithm 2 by "any policy with the oracle's regret", would make the goal a different and much weaker statement. So would placing the constant after the horizon or the instance, since the regret is at most TTT, or using a bare Lebesgue integral of a possibly non-measurable regret.

A complete development needs discrete Fourier analysis of finite sequences, Bernstein's inequality for complex polynomials on the unit disc (Lemma 14 of the paper, from Nagy and Totik), sinc-function estimates, anytime concentration for sub-Gaussian sums, and a bookkeeping layer for the nested index sets of Algorithm 2. The concentration and polynomial-inequality parts are reusable beyond this mission. Proofs of individual lemmas, helper lemmas such as the closed form (6) of the frequency components, and alternative arguments are welcome.

Selected references

  • N. Chen, C. Wang, L. Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, 2021; Operations Research, 2025. https://arxiv.org/abs/2005.08088
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3, 397–422, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • L. Li, Y. Lu, D. Zhou, Provably Optimal Algorithms for Generalized Linear Contextual Bandits, ICML 2017. https://arxiv.org/abs/1703.00048
  • B. Nagy, V. Totik, Bernstein's Inequality for Algebraic Polynomials on Circular Arcs, Constructive Approximation 37, 223–232, 2013.
17 thms1 active userReviewed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

Online Learning and Decision-Making under Generalized Linear Model with High-Dimensional Data: The G-MCP-Bandit Algorithm Has Expected Cumulative Regret at Most Rmax(T0 + |K|) + C log(T + 1)Research Paper

Motivation

Personalized decisions — which drug to prescribe, which product to recommend, which price to quote — are made one user at a time, from user features observed on arrival, and the effect of each decision is learned only from the users it was applied to. This is the contextual (covariate) bandit. In electronic records and online platforms the feature vector is high-dimensional, often with more coordinates than there will ever be users, while the outcome is binary or count-valued, so a linear reward model is a poor fit. Wang, Wei and Yao (arXiv:1812.02962, published in Management Science, 2025) combine three ingredients: a generalized linear model (GLM) for rewards, sparsity of the parameter vectors, and the minimax concave penalty (MCP) of Zhang (2010) for estimation.

Timeline. Goldenshluger and Zeevi (2013) obtained O(log⁡T)O(\log T)O(logT) regret for a two-armed linear bandit with low-dimensional covariates, under a margin condition, and showed it is the right order. Bastani and Bayati (2020) extended the setting to high-dimensional sparse linear rewards with the LASSO, obtaining O(s02log⁡2T)O(s_0^2\log^2 T)O(s02​log2T) regret. Wang, Wei and Yao (2018 preprint) treat GLM rewards with the MCP and claim O(∣K∣s2(s+log⁡d)log⁡T)O(|\mathcal K|s^2(s+\log d)\log T)O(∣K∣s2(s+logd)logT), recovering the log⁡T\log TlogT order in the high-dimensional setting.

Setting

At each time t=1,2,…t=1,2,\dotst=1,2,… a user with covariate vector xt∈X⊆Rdx_t\in\mathcal X\subseteq\mathbb R^dxt​∈X⊆Rd arrives; the xtx_txt​ are i.i.d. with an unknown law Px\mathcal P_xPx​. The decision-maker chooses a decision πt∈K={1,…,K}\pi_t\in\mathcal K=\{1,\dots,K\}πt​∈K={1,…,K}, K≥2K\ge2K≥2, and observes only the reward of that decision.

The reward of decision kkk at covariate xxx has law g(r∣x⊤βk) ν(dr)g(r\mid x^\top\beta_k)\,\nu(dr)g(r∣x⊤βk​)ν(dr), where ν\nuν is a known base measure on [−Rmax⁡,Rmax⁡][-R_{\max},R_{\max}][−Rmax​,Rmax​], g(⋅∣η)g(\cdot\mid\eta)g(⋅∣η) a known density, and βk∈Rd\beta_k\in\mathbb R^dβk​∈Rd an unknown sparse parameter: its support Sk\mathcal S_kSk​ has at most sss elements. Write f(r∣η)=−log⁡g(r∣η)f(r\mid\eta)=-\log g(r\mid\eta)f(r∣η)=−logg(r∣η) and μ(η)=∫r g(r∣η) dν(r)\mu(\eta)=\int r\,g(r\mid\eta)\,d\nu(r)μ(η)=∫rg(r∣η)dν(r), so the expected reward is μ(x⊤βk)\mu(x^\top\beta_k)μ(x⊤βk​). The Bernoulli–logistic model is ν=δ0+δ1\nu=\delta_0+\delta_1ν=δ0​+δ1​, μ(η)=1/(1+e−η)\mu(\eta)=1/(1+e^{-\eta})μ(η)=1/(1+e−η).

The cumulative regret compares the decisions with the oracle that knows every βk\beta_kβk​:

RC(T)=∑t=1TE[max⁡kμ(xt⊤βk)−μ(xt⊤βπt)].R^C(T)=\sum_{t=1}^T\mathbb E\Big[\max_k\mu(x_t^\top\beta_k)-\mu(x_t^\top\beta_{\pi_t})\Big].RC(T)=t=1∑T​E[kmax​μ(xt⊤​βk​)−μ(xt⊤​βπt​​)].

The G-MCP-Bandit algorithm has inputs t0,h,λ1,0,λ2,0,at_0,h,\lambda_{1,0},\lambda_{2,0},at0​,h,λ1,0​,λ2,0​,a. At time ttt, with probability min⁡{1,t0/t}\min\{1,t_0/t\}min{1,t0​/t} it explores: it plays a uniformly random decision (ε-decay random sampling). Otherwise it forms a shortlist Πt\Pi_tΠt​ of the decisions whose estimated mean reward, under the random-sample estimates βkrandom\beta^{random}_kβkrandom​ (trained on exploration data only), is within h/2h/2h/2 of the best; it then plays the decision of Πt\Pi_tΠt​ with the largest estimated mean under the whole-sample estimates βkwhole\beta^{whole}_kβkwhole​ (trained on all data of kkk). Both estimates are computed by the 2-step weighted Lasso (2sWL): an ℓ1\ell_1ℓ1​-penalized maximum likelihood fit with weights λ\lambdaλ, then a refit whose weights wj=max⁡(0,λ−∣β1,j∣/a)w_j=\max(0,\lambda-|\beta_{1,j}|/a)wj​=max(0,λ−∣β1,j​∣/a) are the MCP derivatives at the first fit, both over the ball ∥β∥1≤b\|\beta\|_1\le b∥β∥1​≤b, with the anytime schedules λ1(t)=λ1,01+log⁡d/log⁡(t+1)\lambda_1(t)=\lambda_{1,0}\sqrt{1+\log d/\log(t+1)}λ1​(t)=λ1,0​1+logd/log(t+1)​ and λ2(t)=λ2,0(log⁡(t+1)+log⁡d)/(t+1)\lambda_2(t)=\lambda_{2,0}\sqrt{(\log(t+1)+\log d)/(t+1)}λ2​(t)=λ2,0​(log(t+1)+logd)/(t+1)​.

The paper assumes A.1 (bounded covariates, rewards and parameters; βmin⁡\beta_{\min}βmin​ lower-bounds the nonzero coefficients), A.2 (margin: P(0<∣μ(x⊤βi)−μ(x⊤βj)∣≤γ)≤CRmax⁡γ\mathbb P(0<|\mu(x^\top\beta_i)-\mu(x^\top\beta_j)|\le\gamma)\le CR_{\max}\gammaP(0<∣μ(x⊤βi​)−μ(x⊤βj​)∣≤γ)≤CRmax​γ), A.3 (every decision is either hhh-suboptimal everywhere or hhh-optimal on a region UkU_kUk​ of probability at least p∗p^*p∗), A.4 (a restricted eigenvalue condition with constant κ\kappaκ for samples in UkU_kUk​) and A.5 (smoothness and convexity of fff with derivative bounds σ,σ2,σ3\sigma,\sigma_2,\sigma_3σ,σ2​,σ3​).

Formalization targets

Goal: Theorem 1 (p. 15)

For every a≥2304s/(κp∗)a\ge2304s/(\kappa p^*)a≥2304s/(κp∗) there are constants C0≥10C_0\ge10C0​≥10 and C4,C5,T0,Cβ>0C_4,C_5,T_0,C_\beta>0C4​,C5​,T0​,Cβ​>0, independent of TTT, such that with t0=2C0∣K∣t_0=2C_0|\mathcal K|t0​=2C0​∣K∣, λ1,0=C5\lambda_{1,0}=C_5λ1,0​=C5​, λ2,0=C4\lambda_{2,0}=C_4λ2,0​=C4​, for every T≥T0T\ge T_0T≥T0​,

RC(T)≤Rmax⁡(T0+∣K∣)+(6Rmax⁡∣K∣C0+41Rmax⁡∣K∣+2e4σ2xmax⁡bCRmax⁡3∣K∣xmax⁡2Cβs3)log⁡(T+1).R^C(T)\le R_{\max}(T_0+|\mathcal K|)+\Big(6R_{\max}|\mathcal K|C_0+41R_{\max}|\mathcal K|+2e^{4\sigma_2x_{\max}b}CR_{\max}^3|\mathcal K|x_{\max}^2C_\beta s^3\Big)\log(T+1).RC(T)≤Rmax​(T0​+∣K∣)+(6Rmax​∣K∣C0​+41Rmax​∣K∣+2e4σ2​xmax​bCRmax3​∣K∣xmax2​Cβ​s3)log(T+1).

The goal keeps every explicit coefficient of the page and leaves the constants the paper calls "independent of TTT" existential.

Milestones

In the order the proof of Theorem 1 (pp. ec5–ec8) uses them:

  1. Proposition 2 (p. 13): the exploration count nkn_knk​ is between C0(1+log⁡(T+1)−log⁡(t0+1))C_0(1+\log(T+1)-\log(t_0+1))C0​(1+log(T+1)−log(t0​+1)) and 3C0(1+log⁡T−log⁡t0)3C_0(1+\log T-\log t_0)3C0​(1+logT−logt0​) with probability ≥1−2/(T+1)\ge1-2/(T+1)≥1−2/(T+1).
  2. Lemma EC.8, statements 2 and 3 (p. ec16): enough exploration samples of an optimal decision fall in its region UkU_kUk​.
  3. Proposition 4 (p. 18): ∥βkrandom(T)−βk∥1≤min⁡{1/(σ2xmax⁡),h/(4eσ2Rmax⁡xmax⁡)}\|\beta^{random}_k(T)-\beta_k\|_1\le\min\{1/(\sigma_2x_{\max}),h/(4e\sigma_2R_{\max}x_{\max})\}∥βkrandom​(T)−βk​∥1​≤min{1/(σ2​xmax​),h/(4eσ2​Rmax​xmax​)} with probability ≥1−15/(T+1)\ge1-15/(T+1)≥1−15/(T+1).
  4. Lemma EC.10 (p. ec20): a Lipschitz bound for μ\muμ, and the h/2h/2h/2 separation it implies on UiU_iUi​.
  5. Proposition 6 (p. 19): ∥βkwhole(T)−βk∥2≤Cβs2/(T+1)\|\beta^{whole}_k(T)-\beta_k\|_2\le\sqrt{C_\beta s^2/(T+1)}∥βkwhole​(T)−βk​∥2​≤Cβ​s2/(T+1)​ with probability ≥1−13/(T+1)\ge1-13/(T+1)≥1−13/(T+1).

Significance

Theorem 1 says that, under the stated assumptions, learning with high-dimensional GLM rewards costs regret logarithmic in the horizon, the order known to be unavoidable already for low-dimensional linear bandits. It improves the log⁡2T\log^2Tlog2T of the LASSO bandit and shows how a non-convex penalty, computed by two convex weighted-Lasso solves, can be analysed under the non-i.i.d. sampling that a bandit induces. Propositions 4 and 6 are estimation results of independent interest: tail bounds for an MCP estimator trained on random and on adaptively collected samples.

The result is proved on paper; it is not formalized anywhere. The mission produces a machine-checked statement of the full algorithm and its regret, and the milestones isolate reusable facts: an exploration-count bound for ε-decay sampling, a Lipschitz bound for GLM means, and the estimator tail bounds. Alternative arguments and sharper constants are welcome as separate theorems.

Difficulty

The whole-sample data are not i.i.d.: which samples decision kkk receives depends on the past estimates. Standard high-dimensional estimation results (restricted eigenvalue arguments for the Lasso or MCP) assume i.i.d. designs, and so does the analysis of the oracle estimator. The obvious argument — apply the i.i.d. result to βwhole\beta^{whole}βwhole — fails at this step. The paper instead extracts an i.i.d. subsample, the exploration samples in UkU_kUk​, and controls the rest through a martingale count. A second difficulty is that the MCP objective is non-convex; the 2sWL estimate must be shown to coincide with the oracle estimator, which requires a minimum signal strength βmin⁡\beta_{\min}βmin​ and a sufficiently large aaa.

Formalization scope

Covariates are Fin d → ℝ with d≥1d\ge1d≥1, decisions are Fin K with K≥2K\ge2K≥2 (the paper's decision kkk is k.val + 1), times are t≥1t\ge1t≥1. Norms are explicit sums. Pinned readings, all disclosed in the items:

  • The reward family is a base measure ν\nuν concentrated on [−Rmax⁡,Rmax⁡][-R_{\max},R_{\max}][−Rmax​,Rmax​] with a jointly measurable, positive, normalized density ggg; E[Rk∣x,β]=μ(x⊤β)\mathbb E[R_k\mid x,\beta]=\mu(x^\top\beta)E[Rk​∣x,β]=μ(x⊤β).
  • A.5's derivatives are in the linear predictor η\etaη, bounded for ∣η∣≤bxmax⁡|\eta|\le bx_{\max}∣η∣≤bxmax​; smoothness is ContDiff ℝ ∞.
  • Both weighted-Lasso steps minimize over Bb={∥β∥1≤b}B_b=\{\|\beta\|_1\le b\}Bb​={∥β∥1​≤b} (A.1's "all feasible β").
  • A.3's "every xxx" means every x∈Xx\in\mathcal Xx∈X; A.4 is required for k∈Kok\in\mathcal K_ok∈Ko​ only.
  • Exploration is driven by exogenous coins Vt∼Unif[0,1]V_t\sim\mathrm{Unif}[0,1]Vt​∼Unif[0,1] and uniform draws AtA_tAt​, independent of the covariates and rewards. The rewards of different decisions at the same time may be dependent.
  • The algorithm uses the box's anytime λ1(t),λ2(t)\lambda_1(t),\lambda_2(t)λ1​(t),λ2​(t), with λ1,0=C5\lambda_{1,0}=C_5λ1,0​=C5​, λ2,0=C4\lambda_{2,0}=C_4λ2,0​=C4​.
  • Propositions 4 and 6 are stated for k∈Kok\in\mathcal K_ok∈Ko​, with the algorithm parameters and the threshold on TTT that Lemma EC.9 supplies. Lemma EC.10 adds the bound ∣f′∣≤σ2|f'|\le\sigma_2∣f′∣≤σ2​ its proof uses.

Trivializing formalizations are ruled out: the estimates are minimizers of the stated objective over BbB_bBb​ (not arbitrary functions), the selection and tie-breaking rules are measurable (otherwise every expectation would be the junk value 000), and every existential constant comes before the probability space, the rules and TTT, so that CβC_\betaCβ​ and T0T_0T0​ cannot depend on the horizon. The trailing O(∣K∣s2(s+log⁡d)log⁡T)O(|\mathcal K|s^2(s+\log d)\log T)O(∣K∣s2(s+logd)logT) and the explicit lower bound on T0T_0T0​ are not formalized.

A complete development needs a measurable argmin selection over a compact ball, Chernoff bounds for sums of independent non-identical Bernoulli variables, differentiation under the integral for GLM means, a restricted-eigenvalue oracle inequality for the weighted Lasso with GLM loss, and a martingale concentration bound. The first three are reusable beyond this mission. Contributions on any milestone are welcome.

Selected references

  • X. Wang, M. M. Wei and T. Yao, Online Learning and Decision-Making under Generalized Linear Model with High-Dimensional Data, arXiv preprint, 2018 (Management Science, 2025). https://arxiv.org/abs/1812.02962
  • H. Bastani and M. Bayati, Online Decision Making with High-Dimensional Covariates, Operations Research 68(1), 2020. https://doi.org/10.1287/opre.2019.1902
  • A. Goldenshluger and A. Zeevi, A Linear Response Bandit Problem, Stochastic Systems 3(1), 2013. https://doi.org/10.1287/11-SSY032
  • C.-H. Zhang, Nearly Unbiased Variable Selection under Minimax Concave Penalty, Annals of Statistics 38(2), 2010. https://doi.org/10.1214/09-AOS729
10 thms1 active userReviewed
Machine LearningOperations ResearchProbability+1·Captain: mikedeng1

Corruption-Robust Exploration in Episodic Reinforcement Learning II: Uniformly Action-Eliminating Algorithms Suffer Expected Regret at Least K/8 for K ≤ A^H/4Research Paper

Why action elimination is the question

In stochastic multi-armed bandits, a robust way to explore is action elimination: keep confidence intervals for every arm, discard an arm once its upper confidence bound falls below another arm's lower confidence bound, and sample uniformly among the arms that survive. Uniform sampling is what makes the first corruption-robust bandit algorithm work (Lykouris, Mirrokni & Paes Leme, STOC 2018): an adversary that corrupts a few rounds cannot steer a learner whose choice among surviving arms is random.

Lykouris, Simchowitz, Slivkins and Sun (arXiv:1911.08689v4, Mathematics of Operations Research) extend corruption-robust exploration to episodic reinforcement learning. Their algorithm also maintains active sets of actions, but it does not play uniformly among them; it follows an optimistic (UCB) policy restricted to the active sets. Section 7 of the paper explains why: Theorem 7.1 shows that the bandit recipe, transplanted verbatim to episodic MDPs, suffers linear regret for exponentially many episodes, even when every confidence statement it makes is correct. This mission formalizes that lower bound.

Setting

An episodic environment E=(X,A,H)\mathscr E=(\mathcal X,\mathcal A,H)E=(X,A,H) has a finite state set X\mathcal XX, a finite action set A\mathcal AA with ∣A∣=A|\mathcal A|=A∣A∣=A, and a horizon HHH. A stochastic problem instance M=(p0,p,Drew)\mathcal M=(p_0,p,\mathcal D_{\mathrm{rew}})M=(p0​,p,Drew​) on it fixes an initial state law p0p_0p0​, a transition kernel p(⋅∣x,a)p(\cdot\mid x,a)p(⋅∣x,a) (the same at every stage), and reward laws Drew(x,a)\mathcal D_{\mathrm{rew}}(x,a)Drew​(x,a) on [0,1][0,1][0,1] with means r⋆(x,a)r^\star(x,a)r⋆(x,a). The optimal Q-function and value are defined backwards from VH+1⋆≡0V^\star_{H+1}\equiv0VH+1⋆​≡0 by Qh⋆(x,a)=r⋆(x,a)+∑x′p(x′∣x,a)Vh+1⋆(x′)Q^\star_h(x,a)=r^\star(x,a)+\sum_{x'}p(x'\mid x,a)V^\star_{h+1}(x')Qh⋆​(x,a)=r⋆(x,a)+∑x′​p(x′∣x,a)Vh+1⋆​(x′) and Vh⋆(x)=max⁡aQh⋆(x,a)V^\star_h(x)=\max_aQ^\star_h(x,a)Vh⋆​(x)=maxa​Qh⋆​(x,a); the optimal actions are πh⋆(x)={a:Qh⋆(x,a)=Vh⋆(x)}\pi^\star_h(x)=\{a:Q^\star_h(x,a)=V^\star_h(x)\}πh⋆​(x)={a:Qh⋆​(x,a)=Vh⋆​(x)}, and V⋆=∑xp0(x)V1⋆(x)V^\star=\sum_xp_0(x)V^\star_1(x)V⋆=∑x​p0​(x)V1⋆​(x).

A Q-supervisor T=(Qˉ,Q‾,A,πucb)\mathcal T=(\bar Q,\underline Q,\mathscr A,\pi^{\mathrm{ucb}})T=(Qˉ​,Q​,A,πucb) holds estimates Qˉh(x,a),Q‾h(x,a)∈[0,H]\bar Q_h(x,a),\underline Q_h(x,a)\in[0,H]Qˉ​h​(x,a),Q​h​(x,a)∈[0,H], active sets Ah(x)⊆A\mathscr A_h(x)\subseteq\mathcal AAh​(x)⊆A, and a policy πucb\pi^{\mathrm{ucb}}πucb greedy for Qˉ\bar QQˉ​. It is confidence-admissible for M\mathcal MM (Definition 4.1) if πh⋆(x)⊆Ah(x)\pi^\star_h(x)\subseteq\mathscr A_h(x)πh⋆​(x)⊆Ah​(x) and Q‾h≤Qh⋆≤Qˉh\underline Q_h\le Q^\star_h\le\bar Q_hQ​h​≤Qh⋆​≤Qˉ​h​ everywhere. Its plausible sets are

Ahplaus(x)={a∈Ah(x): Qˉh(x,a)≥Q‾h(x,a′)  ∀a′∈Ah(x)}.\mathscr A^{\mathrm{plaus}}_h(x)=\{a\in\mathscr A_h(x):\ \bar Q_h(x,a)\ge\underline Q_h(x,a')\ \ \forall a'\in\mathscr A_h(x)\}.Ahplaus​(x)={a∈Ah​(x): Qˉ​h​(x,a)≥Q​h​(x,a′)  ∀a′∈Ah​(x)}.

An algorithm is uniformly action-eliminating if before each episode kkk it outputs a Q-supervisor Tk\mathcal T_kTk​, possibly at random and depending on everything observed so far, and at each stage hhh plays ak;ha_{k;h}ak;h​ uniformly at random from Ak;hplaus(xk;h)\mathscr A^{\mathrm{plaus}}_{k;h}(x_{k;h})Ak;hplaus​(xk;h​), independently across stages. It is uniformly admissible for E\mathscr EE if for every instance on E\mathscr EE its Q-supervisors are confidence-admissible with probability at least 12\tfrac1221​. The regret over KKK episodes is RegretKM=∑k=1K(V⋆−VM,πk)\mathrm{Regret}^{\mathcal M}_K=\sum_{k=1}^K\bigl(V^\star-V^{\mathcal M,\pi_k}\bigr)RegretKM​=∑k=1K​(V⋆−VM,πk​), with πk\pi_kπk​ the uniformly-at-random policy of episode kkk.

Formalization targets

Goal: Theorem 7.1

For every H≥1H\ge1H≥1 and A≥2A\ge2A≥2 there is an instance M\mathcal MM on an environment with ∣X∣=H+1|\mathcal X|=H+1∣X∣=H+1 and ∣A∣=A|\mathcal A|=A∣A∣=A such that every uniformly action-eliminating, uniformly admissible algorithm satisfies

K≤AH4⟹EM[RegretKM]≥K8.K\le\frac{A^H}{4}\quad\Longrightarrow\quad\mathbb E^{\mathcal M}\bigl[\mathrm{Regret}^{\mathcal M}_K\bigr]\ge\frac K8 .K≤4AH​⟹EM[RegretKM​]≥8K​.

Milestones (Appendix A)

The witness is the combination lock M\mathcal MM: states x(0),…,x(H)x^{(0)},\dots,x^{(H)}x(0),…,x(H), action 111 advances x(h)→x(h+1)x^{(h)}\to x^{(h+1)}x(h)→x(h+1), any other action falls into the sink x(0)x^{(0)}x(0), and the only reward is 111 for action 111 at x(H)x^{(H)}x(H). Its twin M0\mathcal M_0M0​ has the same transitions and zero rewards. The milestones are the steps of the paper's proof:

  1. (A.1) M\mathcal MM and M0\mathcal M_0M0​ induce the same law on histories in which (1,…,1)(1,\dots,1)(1,…,1) was never played.
  2. (A.2) If no action is eliminated, the combination is played with probability A−HA^{-H}A−H.
  3. Observation 2 If no action is eliminated, V⋆−VM,πk=1−A−HV^\star-V^{\mathcal M,\pi_k}=1-A^{-H}V⋆−VM,πk​=1−A−H.
  4. Observation 3 Admissibility for M0\mathcal M_0M0​ forces no elimination.
  5. Union bound PM0[⋂k(Ekcombi)c∩⋂kEkadm]≥PM0[⋂kEkadm]−∑kPM0[Ekcombi∩Ekadm]\mathbb P^{\mathcal M_0}[\bigcap_k(\mathcal E^{\mathrm{combi}}_k)^c\cap\bigcap_k\mathcal E^{\mathrm{adm}}_k]\ge\mathbb P^{\mathcal M_0}[\bigcap_k\mathcal E^{\mathrm{adm}}_k]-\sum_k\mathbb P^{\mathcal M_0}[\mathcal E^{\mathrm{combi}}_k\cap\mathcal E^{\mathrm{adm}}_k]PM0​[⋂k​(Ekcombi​)c∩⋂k​Ekadm​]≥PM0​[⋂k​Ekadm​]−∑k​PM0​[Ekcombi​∩Ekadm​].
  6. Chain (i)–(iii) EM[RegretKM]≥(1−A−H)K PM0[⋂k(Ekcombi)c∩⋂kEkadm]\mathbb E^{\mathcal M}[\mathrm{Regret}^{\mathcal M}_K]\ge(1-A^{-H})K\,\mathbb P^{\mathcal M_0}[\bigcap_k(\mathcal E^{\mathrm{combi}}_k)^c\cap\bigcap_k\mathcal E^{\mathrm{adm}}_k]EM[RegretKM​]≥(1−A−H)KPM0​[⋂k​(Ekcombi​)c∩⋂k​Ekadm​].

Significance

The theorem separates two exploration principles that coincide in bandits. For KKK episodes of uniform elimination the regret is Ω(K)\Omega(K)Ω(K) until KKK is of order AHA^HAH, while optimistic exploration over the same confidence sets attains regret polynomial in HHH, ∣X∣|\mathcal X|∣X∣, ∣A∣|\mathcal A|∣A∣ and K\sqrt KK​ (Azar, Osband & Munos, ICML 2017). It is the reason the paper's SuperVIsed.C algorithm combines active sets with a UCB policy rather than sampling uniformly, and it applies to any uniformly admissible construction of the confidence bounds, so better estimators do not escape it.

The result is proved in the paper (Appendix A); it is not formalized anywhere. A machine-checked version adds a precise account of what "algorithm" means here (a learner that may use all past observations and internal randomness), of the probability space of a whole run, and of the change-of-instance argument (A.1), which is the template for many reinforcement-learning lower bounds.

Difficulty

The arithmetic of the final step is elementary. The work is in the probability space: the run of an adaptive learner over KKK episodes is a sequential composition of the learner's choice of supervisor, the episode's states, actions and rewards, and the learner's update. Equation (A.1) needs a likelihood argument on this composed law: on histories that never play (1,…,1)(1,\dots,1)(1,…,1), every factor of the two run laws agrees, because the two instances differ only at a state–action pair such histories never visit. Equation (A.2) needs that, conditionally on the supervisor of episode kkk, the episode's actions are independent and uniform. Neither can be read off the per-episode description; both require induction over episodes on the run law.

A tempting shortcut is to apply admissibility one episode at a time. It does not suffice: the proof needs the joint event ⋂k≤KEkadm\bigcap_{k\le K}\mathcal E^{\mathrm{adm}}_k⋂k≤K​Ekadm​ to have probability at least 12\tfrac1221​ (see the scope section).

Formalization scope

  • Representation. States are Fin (H+1), actions Fin A; the paper's action 111 is 0, the sink is state 0. Stages and episodes are 0-based. Transitions, initial laws, rewards, supervisor laws and action laws are PMFs. The value V⋆V^\starV⋆ is the backward recursion on p. 8, written on the number of remaining stages since the kernel is stage-independent.
  • The algorithm. A learner is a map from the observed history (past Q-supervisors and episodes with their states, actions and rewards, oldest first) to a discrete law of the next Q-supervisor. It sees nothing of the instance beyond these observations. If a plausible set is empty, the action is drawn uniformly from A\mathcal AA; this only enlarges the class of algorithms.
  • Uniform admissibility (pinned). §7 says each Q-supervisor is admissible "with probability at least 1/2"; the proof uses P[⋂k=1KEkadm]≥12\mathbb P[\bigcap_{k=1}^K\mathcal E^{\mathrm{adm}}_k]\ge\tfrac12P[⋂k=1K​Ekadm​]≥21​ ("By assumption", p. 39). The formalization uses the joint event, for every instance on the environment, over the same KKK episodes as the regret.
  • Unstated parts of the construction (pinned). Both instances start at x(1)x^{(1)}x(1); actions at x(H)x^{(H)}x(H) lead to the sink. The page states neither. The start is what makes the combination have probability A−HA^{-H}A−H; the second choice is never used because x(H)x^{(H)}x(H) is reached only at the last stage.
  • Reward laws of the instances quantified in the hypothesis are discrete; this weakens the hypothesis and strengthens the theorem.
  • Not trivial. The hypothesis is satisfiable: the learner that always outputs Qˉ≡H\bar Q\equiv HQˉ​≡H, Q‾≡0\underline Q\equiv0Q​≡0, A≡A\mathscr A\equiv\mathcal AA≡A is uniformly admissible for every KKK. A statement in which the instance is fixed in the admissibility hypothesis, or in which admissibility is relative to M\mathcal MM rather than to every instance, would be a different theorem.
  • Not posed. The paper's headline upper bounds (Theorems 2.1, 2.2) are stated with ≲\lesssim≲ and belong to a separate mission of this series.

Welcome contributions: lemmas on the run law of an adaptive learner (marginals of the kkk-th supervisor, conditional independence of episode kkk given its supervisor), which are reusable for other episodic lower bounds.

Selected references

  • T. Lykouris, M. Simchowitz, A. Slivkins, W. Sun, Corruption-robust exploration in episodic reinforcement learning, Mathematics of Operations Research; arXiv:1911.08689v4, 2023. https://arxiv.org/abs/1911.08689
  • T. Lykouris, V. Mirrokni, R. Paes Leme, Stochastic bandits robust to adversarial corruptions, STOC 2018. https://arxiv.org/abs/1803.09353
  • M. G. Azar, I. Osband, R. Munos, Minimax regret bounds for reinforcement learning, ICML 2017. https://arxiv.org/abs/1703.05449
10 thms1 active userReviewed
PreviousPage 2 of 3Next

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