Bandit Algorithms III: Asymptotic and Minimax Optimality of UCBTextbook
The basic UCB regret bound of Mission II is logarithmic but not tight: its leading constant 16/Δi is eight times the information-theoretic limit, and its worst-case rate carries a spurious logn. Chapters 8–9 of Lattimore–Szepesvári close both gaps. A refined confidence schedule f(t)=1+tlog2t yields the asymptotically optimal limsupn→∞Rn/logn≤∑i:Δi>02/Δi — exactly matching the instance-dependent lower bound of Mission VII for Gaussian noise. The MOSS index μ^i+Ti4log+(kTin) achieves minimax regret Rn≤39kn+∑iΔi, matching the Ω(kn) lower bound up to a constant. These two theorems are the gold standard for finite-armed stochastic bandits.
Bandit Algorithms II: Stochastic Bandits and the UCB AlgorithmTextbook
A learner repeatedly chooses one of k slot machines, observes only the reward of the chosen arm, and wants to earn almost as much as the best arm in hindsight. This is the stochastic multi-armed bandit, the canonical model of the exploration–exploitation dilemma. This mission formalizes the model (environments, policies, regret, and the regret decomposition Rn=∑iΔiE[Ti(n)]) and the two classical algorithms of Chapters 6–7 of Lattimore–Szepesvári: Explore-Then-Commit and the Upper Confidence Bound algorithm built on the optimism principle. The goal theorem is the instance-dependent UCB regret bound Rn≤3∑iΔi+∑i:Δi>016log(n)/Δi — logarithmic regret with explicit constants, the single most cited result of bandit theory — together with its distribution-free companion Rn≤8nklogn+3∑iΔi.
Phase Transitions in Bandits with Switching Constraints: every policy with at most S switches has regret at least the phase-dependent rate up to a logarithmic factorResearch Paper
Motivation
In many sequential decision problems, changing the action is costly or administratively limited: a retailer can revise a posted price only a few times per season, a clinical trial can change its treatment allocation only a few times, and a firm can reconfigure its production line only so often. The multi-armed bandit with switching constraints (BwSC) captures this tension between learning and limited adaptivity: the learner must explore to find a good action, but every change of action consumes a hard budget. Simchi-Levi and Xu (arXiv:1905.10825, Management Science 2023) determine the optimal regret of this problem up to logarithmic factors.
Timeline. Classical bandit theory gives the minimax regret Θ(KT) for K arms and horizon T with unlimited switching (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020). Cesa-Bianchi, Dekel and Shamir (2013) showed that in adversarial bandits with switching costs the regret is Θ(T2/3). For stochastic bandits processed in a fixed number of batches, Perchet, Rigollet, Chassang and Snowberg (2016) and Gao, Han, Ren and Zhou (2019) obtained regret rates of the form T1/(2−21−M) for M batches. Simchi-Levi and Xu (2019, revised 2021) treat a hard budget S on the number of switches and prove matching upper and lower bounds; the lower bound, Theorem 2, is the subject of this mission.
Setting
There are K>1 arms and T rounds. In round t the learner picks at∈[K] and observes a reward Xt∼N(μat,1) from the unit-variance Gaussian environment with mean vector μ∈RK; admissible environments have mean spread ∣μi−μj∣≤1. A policyπ chooses at+1 by a Markov kernel from the past actions and rewards; Pμπ is the law of the history. The regret is
Rμπ(T)=Timaxμi−Eμπ[t=1∑TXt].
With unit switching costs, the number of switches is ∑t=1T−11{at=at+1}. For a budget S∈N, the class ΠS of S-switch policies consists of the policies whose number of switches is at most S almost surely under every environment.
The budget enters through the phase indexq(S,K)=⌊(S−1)/(K−1)⌋ (with q(0,K)=0) and the remainderr(S,K)=S−1−q(S,K)(K−1) (so r(0,K)=−1). Two rates appear, with a(q)=1/(2−2−q):
In Lean these are IsSwitchPolicy S T π, qIdx S K, rIdx S K, rateA K S T, rateB K S T, on top of the published BanditPolicy, banditMeasure, banditRegret and gaussianBandit.
Formalization targets
Goal: Theorem 2 (p. 21)
There is an absolute constant C>0 such that for all K>1, S∈N, T≥2K and every π∈ΠS, some admissible Gaussian environment μ satisfies
Rμπ(T)≥logTCmax{A,B}.
The constant is not fixed: the goal asserts the shape of the bound, which survives any improvement of constants.
Milestones
The proof in Appendix J (pp. 59–75) reduces to the regime q(S,K)+2≤log2log2(T/K) (p. 59, two bounds by O(KT) outside it) and then runs a five-step program on two families of environments:
the localized Pinsker inequality (Lemma 5) and the generalized reverse Fano inequality (Proposition 5, (35));
counting bounds on risky events under a single environment (Lemmas 6–7, Corollary 4);
bad-event regret bounds under alternative environments and the reduction to bad-event probabilities (Lemmas 8–11);
divergence bounds for restricted measures (property 1 of p. 72, Lemmas 12–13);
the final probability bounds (46)–(47).
Significance
The result. Theorem 2, together with the AdaLS upper bound (Theorem 1), shows that the optimal regret is Θ(max{A,B}) for every K, S and T. In particular, for fixed K the regret as a function of T is Θ(T1/(2−2−q(S,K))): it changes only when S crosses a multiple of K−1, a phase transition in the switching budget, and Θ(loglogT) switches suffice for the classical T rate. The lower bound holds for all randomized adaptive policies, not only batched ones.
Formalizing it. The result is proved on paper but has no machine-checked proof. Formalizing the lower bound adds a reusable change-of-measure toolkit for adaptively collected data: a reverse Fano-type inequality over families of measure spaces, stopping-time-based counting arguments on switching patterns, and divergence bounds for censored histories. Three printed steps needed repair (see Formalization scope), so the formal development also certifies a corrected version of the argument.
Difficulty
The obvious argument fails at the counting step. A naive choice of risky events (arms unobserved in fixed time windows) only gives a sum of probabilities of at least K−1−⌊S/(q+1)⌋, which vanishes when S is at the end of a phase; this loses the floor ⌊(S−1)/(K−1)⌋ in the exponent. The paper's events in the last window are defined through the stopping time at which the switching budget is exhausted, and they interact with the measure-change step: the restricted measures must hide enough information about the tested arm to make divergences small, while still deciding the stopping-time event. A second difficulty is that the policy is adaptive and randomized, so all events and measures are path-dependent.
Formalization scope
Model. Histories are the published canonical bandit histories Fin T → Fin K × ℝ; rounds are 1-based in every statement (entry s is round s+1). Environments are unit-variance Gaussian (gaussianBandit), which is all the proof uses (p. 59).
Admissible policies.IsSwitchPolicy S T π asks the budget to hold almost surely under every unit-variance Gaussian environment, a weaker requirement than the paper's "for all sub-Gaussian D", so the goal covers at least the paper's policy class. The regret lower bound is witnessed by one Gaussian instance with mean spread at most 1, which implies the paper's bound on the supremum.
Conventions.S∈N and unit costs (§3, p. 14); q(0,K)=0 and r(0,K)=−1 by the paper's convention ⌊x⌋=0 for x<0; τ=∞ is encoded as T+1; divergences are Mathlib's klDiv in [0,∞], and the reverse KL is Dre(P∥Q)=KL(Q∥P); conditional expectations in Lemmas 8 and 10 are stated in product form.
Repairs. (i) Lemma 8's integrand is the regret Tμ∗−∑tμat; the printed integrand is non-positive for j=q+2. (ii) The artificial measures (45) are replaced by records stopped at the first pull of the tested arm in the window; the printed measures do not have the claimed divergence. (iii) The p. 59 bound 2KT is corrected to 2KT, and the companion bound for the first term, which the page omits, is a separate milestone. The first-class lemmas assume q(S,K)≥1, where the page's construction is defined; the goal does not.
Ruled out. A constant C depending on K, S or T; dropping the mean-spread condition; restricting to deterministic or batched policies; a switching constraint only in expectation; or stating the theorem for one fixed (K,S) — each makes the statement trivial or different, and none is used.
Infrastructure. Reused: the published canonical bandit model, the Bernoulli divergence ExploreFirst.FundIneq.klBer, the first half of Lemma 5 (ExploreFirst.Collective.lemma_6) and the classical bound BanditAlgorithm.bandit_minimax_lower_bound. Needed and reusable beyond this mission: the divergence decomposition for stopped histories, joint convexity and data processing for KL across different spaces, and the KL divergence of unit-variance Gaussians. Proofs of any milestone, and of the Gaussian-instance reduction, are welcome.
Selected references
D. Simchi-Levi and Y. Xu, Phase Transitions in Bandits with Switching Constraints, Management Science, 2023; arXiv:1905.10825v4. https://arxiv.org/abs/1905.10825
N. Cesa-Bianchi, O. Dekel and O. Shamir, Online Learning with Switching Costs and Other Adaptive Adversaries, NeurIPS 2013. https://arxiv.org/abs/1302.4387
V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics, 2016. https://arxiv.org/abs/1505.00369
Bandit Algorithms XIV: Bayesian Bandits, the Gittins Index and Thompson SamplingTextbook
The oldest bandit algorithm (Thompson, 1933) is also the most modern: sample a parameter from the posterior and act greedily. Chapters 34–36 of Lattimore–Szepesvári develop the Bayesian view in two crowning results. The Gittins index theorem: for infinite-horizon discounted Markov bandits, the seemingly intractable dynamic program is solved exactly by an index policy — each arm gets a retirement-value index computable arm-by-arm, and playing the largest index is Bayesian optimal. And the frequentist analysis of Thompson sampling — the goal theorem: with Gaussian posteriors, Thompson sampling on 1-subgaussian bandits achieves limn→∞Rn/logn=∑i:Δi>02/Δi, exactly asymptotically optimal, alongside the minimax-grade Rn≤Cknlogn. Together they explain why posterior sampling is both principled and practically dominant.
Bandit Algorithms XI: Lower Bounds for Stochastic Linear BanditsTextbook
Is the dn regret of LinUCB (Mission X) an artifact of the algorithm or a law of nature? Chapters 24–25 of Lattimore–Szepesvári prove it is essentially unimprovable. On the unit ball there is a parameter θ with ∥θ∥22=d2/(48n) forcing Rn≥163dn — the goal theorem — and the hypercube gives the same Ω(dn) rate. The asymptotic chapter is more striking still: for fixed finite action sets, the instance-optimal constant c(A,θ) is characterized by an allocation program, and optimism itself is provably suboptimal — LinUCB and Thompson sampling cannot achieve it, because exploration must sometimes deliberately play actions optimism would never touch. These lower bounds define the targets for the entire linear-bandit literature.
Bandit Algorithms V: Adversarial Bandits and Exp3Textbook
What if the rewards are not random at all, but chosen by an adversary who knows your algorithm? Remarkably, a randomized learner can still compete with the best fixed arm in hindsight. Chapters 11–12 of Lattimore–Szepesvári develop the adversarial k-armed bandit: rewards xti∈[0,1] are an arbitrary fixed matrix, the learner samples At∼Pt, and regret is measured against maxi∑txti. The exponential-weights algorithm Exp3, fed by importance-weighted loss estimates X^ti=1−1{At=i}(1−Xt)/Pti, achieves Rn≤2nklogk — the goal theorem. The companion Exp3-IX, which deliberately biases its estimator, upgrades this to a bound holding with high probability rather than only in expectation. These results are the foundation of all adversarial online learning with partial feedback.
Learning and Optimization with Seasonal Patterns 2: Regret Lower Bound for Periodic Multi-Armed Bandits with Known PeriodsResearch Paper
Motivation
Demand, prices and click-through rates often follow seasonal cycles: weekly, monthly, yearly. A decision maker who repeatedly chooses among options whose expected payoffs repeat in time faces a non-stationary multi-armed bandit. Chen, Wang and Wang (arXiv:2005.08088v4, Operations Research, 2025) study the model in which each arm's mean reward is periodic with its own unknown period. They give a two-stage policy whose regret is O~(T∑kTk), and a lower bound showing that no policy, even one told the periods, does better than Ω(TmaxkTk). This mission formalizes that lower bound, Theorem 3 of the paper. A companion mission of the same series covers the upper bound.
Lower bounds of this kind fix what is achievable. For the stationary K-armed bandit, the minimax regret is of order TK (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020, Ch. 15). In the periodic model a learner effectively faces ∑kTk "effective arms" (arm k at each phase of its cycle), which suggests the rate T∑kTk. The paper proves the weaker but general bound TmaxkTk/(32e), which matches the upper bound up to a factor K and logarithms.
Setting
There are K≥2 arms and epochs t=1,…,T. An instanceν is a family of mean rewards μk,t. If arm k is pulled at epoch t, the reward is drawn from the Gaussian law N(μk,t,1), independently of the past given the arm.
A sequence f has minimum periodp≥1 if f(t+p)=f(t) for all t≥1 and no smaller positive integer has this property.
A policyπ chooses the arm πt at epoch t at random, from a distribution that depends on the previous arms and rewards. Its expected regret on ν is display (1) of the paper:
Eν[RTπ]=t=1∑T(kmaxμk,t−E[μπt,t]).
Three classes of instances appear, all with unit-variance Gaussian rewards and means in [0,1] (Assumption 1):
E1: every arm is stationary;
E2(T1): the first arm's mean has minimum period T1, the other arms are stationary;
E3(T1,…,TK): arm k's mean has minimum period Tk.
The proof compares instances through the metric (B-48),
The periods satisfy Assumption 3 with the parameters (7): with n=⌊T/K⌋ and g=⌈n⌉, T>4K, g≥2 and Tk<n/(2g) for every k.
Formalization targets
Goal: Theorem 3 (p. 24)
For every policy π there is ν∈E3(T1,…,TK) with
Eν[RTπ]≥32e1TkmaxTk.
Milestones
Lemma 12 (p. 23). Stationary Gaussian bandits whose arms other than the first have known mean 1/2: every policy has regret at least T/(82e) on some choice of μ1∈[0,1].
Lemma 13 (p. 23). One periodic arm: every policy has regret at least TT1/(16e) on some instance of E2(T1) whose other arms have mean 1/2.
Fact 1 (proof of Theorem 3, p. 48). E3 is dense in E2∪E3 under M: an instance of E2(T1) can be perturbed on the arms other than the first into an instance of E3(T1,…,TK) at M-distance less than any δ>0.
Fact 2 (proof of Theorem 3, p. 48). The regret fπ(ν)=Eν[RTπ] is continuous in ν on E2∪E3 for M, uniformly in π.
Significance
Theorem 3 shows that knowing the periods does not remove the cost of learning them phase by phase: the regret must grow like TmaxkTk, not like TK. Together with the paper's upper bound O~(T∑kTk) and the inequality TmaxkTk≥T∑kTk/K, it shows the two-stage policy is near-optimal when K is fixed. The intermediate results are reusable: Lemma 12 is a clean two-point Gaussian lower bound, Lemma 13 is a phase-decomposition argument that applies to any bandit model with known cyclic structure, and facts 1 and 2 give a continuity framework for the regret as a function of the instance.
The result has a published proof. As far as the platform's records show, none of it has been machine-checked. The stationary minimax lower bound of Lattimore and Szepesvári (a different family and constant) exists on the platform, together with the Bretagnolle–Huber inequality, the Gaussian KL divergence and the divergence decomposition, which this mission lists as tools.
Difficulty
The two-point argument of Lemma 12 is standard, but its constant needs Δ=1/(2T)<1/2, so small horizons must be handled separately. Lemma 13 decomposes the problem into T1 phase problems; making this rigorous means showing that a policy on the periodic problem induces, on each phase, a policy on a stationary problem of horizon ⌊T/T1⌋, with a history law that factorizes accordingly. The phase-wise instances produced by the decomposition need not have minimum period exactly T1 (all phases may coincide), so a perturbation is needed to land in E2(T1); the constant has slack for it. Fact 2 asks for continuity of an integral against the law of a T-round adaptive process, uniformly over all policies, which needs a domination argument that does not depend on the policy's kernels.
Formalization scope
Arms are Fin K, 0-based: the paper's first arm is index 0. Epochs are 1-based natural numbers; history coordinate i is epoch i+1. Values of the means at t=0 are ignored.
A policy is the platform's BanditAlgorithm.BanditPolicy K: one Markov kernel per round from the history to the next arm. The history law periodicMeasure reuses the platform's step kernel with the Gaussian bandit of the current epoch's means; with constant means it is BanditAlgorithm.banditMeasure of BanditAlgorithm.gaussianBandit. Lemma 12 is stated with the platform's banditRegret, Tμ∗−E[∑tXt], which equals (1) for Gaussian arms; the other statements use (1) directly.
Assumption 1 is stated on epochs 1,…,T. Minimum periods are exact.
Every lower bound has the order "for every policy there is an instance", with the instance in the class, so the policy may depend on K, T and the periods; this is the paper's "policy that knows Tk". The supremum over the class is replaced by an attained instance, which is the stronger form.
Added hypotheses, all disclosed: K≥2 (with one arm the regret is 0); Tk≥1 (the paper's Tk∈N+); in Lemmas 12 and 13, the means of the arms other than the first are 1/2, which is how "a policy that knows μk for k≥2" is read (with arbitrary known values the printed lemmas fail). Assumption 3 with (7) is the standing assumption of Appendix B.4.
A statement with the quantifiers in the order "there is an instance for every policy", without the [0,1] clause, or without exact minimum periods, would be false or trivial; none of these is the target.
Welcome contributions: the bridge between periodicMeasure with constant means and banditMeasure, the phase decomposition of the history law, and the uniform continuity of the regret in the means.
Selected references
N. Chen, C. Wang, L. Wang, Learning and Optimization with Seasonal Patterns, Operations Research, 2025; arXiv:2005.08088v4, 2021. https://arxiv.org/abs/2005.08088v4
P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The nonstochastic multiarmed bandit problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
Provably Efficient Reinforcement Learning with Linear Function Approximation 2: LSVI-UCB Has Regret O(√(d³H³Tι²) + ζdHT√ι) on ζ-Approximately Linear MDPsResearch Paper
Motivation
Reinforcement learning with large or continuous state spaces relies on function approximation: value functions are represented as functions of a d-dimensional feature map instead of tables indexed by states. Before 2019, regret guarantees for exploration with function approximation either needed strong assumptions (deterministic dynamics, a generative model) or applied only to tabular problems. Jin, Yang, Wang and Jordan (arXiv:1907.05388, COLT 2020) showed that in a linear MDP, where transitions and rewards are linear in known features, an optimistic version of least-squares value iteration, LSVI-UCB, has regret O~(d3H3T), with no dependence on the number of states or actions (Theorem 3.1).
Exact linearity is rarely satisfied by features chosen in practice. A guarantee that collapses under a small modelling error would say little about real use, and a naive adaptation of linear-bandit methods can break down entirely when the model is wrong. Theorem 3.2 of the same paper addresses this: if the MDP is only ζ-approximately linear, LSVI-UCB with an episode-dependent bonus still has sublinear regret plus an additive term linear in ζT. This mission formalizes that result. A companion mission formalizes Theorem 3.1.
Setting
An episodic MDP has a measurable state space S, a finite action set A, a horizon H, and for each step h∈[H] a transition kernel Ph(⋅∣x,a) and a reward rh:S×A→[0,1]. A policyπ chooses an action π(x,h) at state x and step h. Its value functions satisfy the Bellman equation
and Vh⋆(x)=maxaQh⋆(x,a) is the optimal value, with Q⋆ defined by the same recursion.
A feature map ϕ:S×A→Rd with ∥ϕ∥≤1 makes the MDP ζ-approximately linear (Assumption B) if for every step h there are signed measures μh=(μh(1),…,μh(d)) on S and a vector θh with
and then acts greedily, ahk=argmaxaQhk(xhk,a). An adversary may choose each initial state x1k. The regret after K episodes is
Regret(K)=k=1∑K[V1⋆(x1k)−V1πk(x1k)],
where πk is the greedy policy of episode k. Throughout, T=KH and ι=log(2dT/p).
Formalization targets
Goal: Theorem 3.2
There are absolute constants c,C>0 such that for every ζ-approximately linear MDP, every p∈(0,1) and every run of LSVI-UCB with λ=1 and βk=c(dι+ζkd)H, with probability at least 1−p,
Regret(K)≤C(d3H3Tι2+ζdHTι).
The constants are not fixed numerically, so improvements of the constants in the proof do not invalidate the target.
Milestones
The milestones follow Appendix C: the approximate linearity of Qπ (Lemma C.1) and the bound on its weights (Lemma C.2); the trace inequality D.1 and the adversarial-noise bound C.4; the self-normalized concentration bound D.3 (published) and the concentration event of Lemma C.3; the key estimate C.5; approximate optimism C.6; the recursive formula C.7; and the elliptical potential lemma D.2 (published) with the bonus-sum bound (21)–(24).
Significance
Theorem 3.2 shows that the regret of LSVI-UCB degrades gracefully under misspecification: the extra cost is of order ζdHTι, linear in T because of the bias of linear approximation and negligible when ζ≲1/T. The paper also converts it into a PAC guarantee with an additive O~(ζdH2) error. It is a reference point for later work on misspecified linear bandits and RL, which asks how far the linear term can be improved.
The result is proved on paper; no machine-checked proof is known. The formalization supplies an episodic MDP on a general measurable state space, LSVI-UCB as a function of the observed data, and its interaction with an adaptive adversary on a filtered probability space. These are shared with the companion mission on Theorem 3.1 and are reusable for other optimistic algorithms with linear function approximation. At ζ=0 the goal specializes to Theorem 3.1 under the same normalization; this is a consistency check, not a dependency.
Difficulty
The central difficulty is that the regression targets rh+Vh+1k(xh+1τ) depend on the data through Vh+1k, which is computed from all earlier episodes. A martingale concentration bound for a fixed function does not apply. Lemma C.3 needs a bound that holds uniformly over the class of functions LSVI-UCB can produce, which requires a covering-number argument whose size depends on βk; that is why the constant C must be independent of cβ and cβ is chosen afterwards. Under misspecification a second error appears: the deviations rh−⟨ϕ,θh⟩ and (Ph−⟨ϕ,μh⟩)V are not mean-zero and can be adversarial, so they cannot be concentrated away. Lemma C.4 absorbs them into the bonus at the price of the ζkd term in βk. Optimism then holds only up to an error that accumulates over the horizon (Lemma C.6).
Formalization scope
Indices are 1-based, as on the page; values and estimates are 0 outside 1≤h≤H.
Values: Vπ and V⋆ are defined by the Bellman recursions (1) and (2), not by supπ.
Measurability: the state space is a bare measurable space. Features ϕ(⋅,a) are assumed measurable, and lemmas about a policy π assume it measurable, so that every integral is meaningful.
Actions: A is finite and nonempty. Argmax ties are broken towards the least action of a fixed linear order on A.
Interaction: the run is a process adapted to an arbitrary filtration, with actions given by Algorithm 1 and the next-state law holding conditionally on the past. The initial states are only required to be adapted.
Probability statements: "with probability 1−p" is "the bad set has (outer) measure at most p".
Constants: c and C are quantified before all types, dimensions, horizons, ζ, p and runs. The hypotheses d,H,K≥1 and 0≤ζ≤1 are stated.
Assumption B measures the TV distance by the total variation norm ∣ν∣(S). The page's normalization ∥μh(S)∥≤d is replaced by the same bound on the vector of total variations (∣μh(i)∣(S))i, because Lemma C.2 is false under the printed form; the replacement implies the printed condition and holds for tabular MDPs.
Lemma C.7 carries the +4Hζ term that its own proof derives; the printed statement omits it. Theorem 3.2 is unaffected.
Lemmas C.3 and C.5 are formalized as printed. Their proofs use supx∣Vh+1k(x)∣≤H, which Algorithm 1 does not enforce from below; a solver may find that one of them needs an additional argument.
A formalization in which the goal assumes the event E, the optimism of Lemma C.6 or the recursion of Lemma C.7, or in which the run does not fix the actions to Algorithm 1's, would be trivial or false; the goal assumes none of these. Contributions are welcome on the linear-algebra lemmas (D.1, C.4, (21)–(24)), on measurability of the LSVI-UCB estimates, and on the covering argument behind Lemma C.3.
Selected references
C. Jin, Z. Yang, Z. Wang, M. I. Jordan, Provably Efficient Reinforcement Learning with Linear Function Approximation, COLT 2020; arXiv:1907.05388v2, 2019. https://arxiv.org/abs/1907.05388
L. F. Yang, M. Wang, Sample-Optimal Parametric Q-Learning Using Linearly Additive Features, ICML 2019; arXiv:1902.04779. https://arxiv.org/abs/1902.04779
Explore First, Exploit Next: The True Shape of Regret in Bandit Problems V: Symmetric Monotonic Strategies Draw the Suboptimal Arms Collectively a Linear Number of TimesResearch Paper
Motivation
In a stochastic multi-armed bandit, a player repeatedly chooses one of K arms and receives a random reward drawn from the chosen arm's unknown distribution. The classical lower bounds of Lai and Robbins (1985) and Burnetas and Katehakis (1996) describe the regret of good strategies when the horizon T tends to infinity: it grows like lnT, with a constant determined by Kullback–Leibler divergences. They say nothing about small horizons.
Garivier, Ménard and Stoltz (Math. Oper. Res., 2019; arXiv:1602.07182v3) show that the regret has a definite shape over the whole range of T: it is almost linear at first ("explore first"), and only afterwards logarithmic ("exploit next"). Their §3 gives three non-asymptotic lower bounds for the initial phase, each for a natural class of strategies. This mission is the third of them, Theorem 4 (p. 13): a collective lower bound on the total number of pulls of all suboptimal arms. It is the bound that remains informative when many arms are suboptimal, and it is the one illustrated for large K in the paper's §3.4.
Setting
A bandit problemν=(νa)a=1,…,K is a family of probability distributions on R, each with an expectation μa=E(νa). A modelD is a set of such distributions, and ν is in D when every νa∈D. Put μ⋆=maxaμa.
At each round t≥1 a strategyψ chooses an arm At from the past rewards (possibly with auxiliary randomization) and observes a reward Yt∼νAt. The number of pulls of arm a up to round T is Nψ,a(T)=∑t=1T1{At=a}, and Eν is the expectation when ψ interacts with ν.
The set of optimal arms is A⋆(ν)={a:μa=μ⋆}, of cardinality Aν⋆, and the set of worst arms is W(ν), the arms of smallest mean. The paper defines a partial order: ν′≼ν when νa′=νa for every optimal arm a of ν and E(νa′)≤E(νa) for every other arm. Two classes of strategies enter the theorem.
ψ is pairwise symmetric for optimal arms on D (Definition 3, p. 11) if, for every ν in D and every pair of optimal arms a⋆,a⋆ with νa⋆=νa⋆, for all T≥1, the pairs (Nψ,a⋆(T),Nψ,a⋆(T)) and (Nψ,a⋆(T),Nψ,a⋆(T)) have the same distribution.
ψ is monotonic on D (Definition 4, p. 13) if for all ν′≼ν in D, ∑a⋆∈A⋆(ν′)Eν′[Nψ,a⋆(T)]≥∑a⋆∈A⋆(ν)Eν[Nψ,a⋆(T)]: on an easier problem the optimal arms are pulled at least as often.
With KL the Kullback–Leibler divergence, the constant of the theorem is
Kνmax=w∈W(ν)mina⋆∈A⋆(ν)maxKL(νw,νa⋆).
The Bernoulli divergence is kl(p,q)=plnqp+(1−p)ln1−q1−p, (5).
Formalization targets
Goal: Theorem 4 (main display), p. 13
For every model D, every strategy ψ pairwise symmetric for optimal arms and monotonic on D, every bandit problem ν in D and every T≥1,
Lemma 2 (p. 14): if (x−α)2≤βx with α,β≥0, then x≤α+β+αβ.
Lemma 6 (p. 20): for 0≤p<q≤1, kl(p,q)≥(p−q)2/(2maxx∈[p,q]x(1−x))≥(p−q)2/(2q).
Monotonicity reduction (p. 13): with w~ a worst arm and ν equal to ν on the optimal arms and to νw~ elsewhere, ∑a∈/A⋆(ν)Eν[Nψ,a(T)]≥∑a∈/A⋆(ν)Eν[Nψ,a(T)].
Uniform split (p. 13): if all arms of ν~ carry the same distribution, Eν~[Nψ,a(T)]=T/K for every arm.
The kl display (p. 14): TAν⋆Kνmax/K≥kl(Aν⋆/K,x) with x=T1∑a⋆∈A⋆(ν)Eν[Nψ,a⋆(T)].
Theorem 4 bounds the regret from below through Rψ,ν,T≥(mina∈/A⋆Δa)∑a∈/A⋆Eν[Nψ,a(T)], (13). While T is small compared with K/(Aν⋆Kνmax), the right-hand side of the theorem is of order T(1−A⋆/K), so the regret is linear: a reasonable strategy cannot avoid spending a constant fraction of the first rounds on the suboptimal arms. Unlike the per-arm bounds of Theorems 2 and 3, the bound concerns all suboptimal arms at once and does not degrade as K grows; §3.4 of the paper shows numerically that it gives the stronger regret bound for many arms.
The theorem is proved in the paper; to our knowledge no part of it has been machine-checked. A formal proof would exercise the published canonical bandit model of the platform (StochasticBandit, BanditPolicy, banditMeasure) on a genuine lower-bound argument with two auxiliary bandit problems, together with a local Pinsker inequality for Bernoulli divergences in [0,+∞] that is reusable in other bandit lower bounds.
Difficulty
The obvious attempt applies the fundamental inequality (6) to ν and an alternative in which one suboptimal arm becomes optimal, as in Theorem 2. That gives a bound arm by arm, which deteriorates with K and does not see the number A⋆ of optimal arms; it also needs a hypothesis of the type "smarter than uniform", which is not assumed here. Nothing is known about how a general ψ behaves on ν itself, so the two hypotheses on ψ must carry all the information, and both are weak: Definition 3 only constrains pairs of optimal arms with equal laws, and only through the joint distribution of their pull counts under the canonical bandit measure; Definition 4 only compares problems ordered by ≼. On the analytic side, the classical Pinsker inequality kl(p,q)≥2(p−q)2 loses the factor A⋆/K and gives a weaker theorem, so a local refinement is required, and every divergence is valued in [0,+∞].
Formalization scope
Arms are indexed by Fin K (the paper's arm a is index a−1), with K≥1 assumed in the goal. A bandit problem is the published BanditAlgorithm.StochasticBandit K, a strategy is a published BanditPolicy K (a family of Markov kernels from histories to arms; every strategy of the paper with auxiliary uniform randomization induces one with the same law of arms and rewards), and Eν[Nψ,a(T)] is the integral of the pull count against banditMeasure. A model is a Set (Measure ℝ) whose members are probability measures with an integrable identity, the standing assumption of §1.1–§1.2. Definitions 3 and 4 leave T implicit and are read "for all T≥1"; in Definition 3 equality of distributions is equality of the image measures of the pair of counts, not of their expectations. KL, kl and Kmax take values in [0,+∞]; the goal assumes Kνmax<+∞, since otherwise the printed bound is −∞ and a real-valued conversion would silently replace +∞ by 0. The Bernoulli divergence is defined as the divergence between two Bernoulli laws on R, so it is +∞ where (5) is, rather than a finite junk value. The auxiliary problems of the proof are not constructed; the milestones quantify over them with their defining properties.
The paper's "In particular" clause, ∑a∈/A⋆E[Nψ,a(T)]≥2T(1−A⋆/K) for T≤K/(8A⋆Kmax), is not stated: it follows from the main display only when A⋆/K+A⋆/K≤1/2 (at A⋆/K=1/2 the main bound is negative), and whether it holds in general is not known here.
A formalization that weakens the strategy classes (full permutation symmetry, or equality of expected counts in Definition 3), drops the requirement that the problems lie in the model, or uses a real Bernoulli divergence with finite values at q∈{0,1} does not count.
A complete development needs the fundamental inequality (6) on the canonical bandit model (the subject of mission I of this series; the chain rule for the divergence of bandit measures is already proved on the platform), the symmetry argument on the canonical measure, Lemma 6 and Lemma 2. Contributions of any of these, and of the identity ∑aNψ,a(T)=T integrated against banditMeasure, are welcome; Lemma 6 and the symmetry lemma are reusable beyond this mission.
A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics, 1996. https://doi.org/10.1006/aama.1996.0007
Explore First, Exploit Next: The True Shape of Regret in Bandit Problems VI: Uniformly Super-Fast Convergent Strategies Draw Each Suboptimal Arm ln T / K_inf Times up to Explicit Lower-Order TermsResearch Paper
Why the large-horizon bound matters
In a stochastic multi-armed bandit, a decision maker repeatedly chooses one of several unknown reward sources. Sampling an arm reveals its reward but uses a round that could have been spent on a better arm. A good strategy must therefore reduce sampling of inferior arms, yet it cannot stop sampling them too early: it must still distinguish the current problem from a nearby one in which an apparently inferior arm is best. This tension produces the logarithmic lower bounds that benchmark bandit algorithms.
Garivier, Ménard and Stoltz revisit that benchmark in Explore First, Exploit Next. Their Theorem 5 gives a finite-horizon lower bound with explicit terms beyond the leading logarithm. It concerns every uniformly super-fast convergent strategy on a well-behaved model, not a particular algorithm. The distinction matters when comparing an algorithm's upper bound to what any strategy with that uniform performance guarantee must pay. The theorem is proved in the paper; this mission asks for a machine-checked statement and proof of that established result.
Bandit model and information cost
There are K arms. Arm a has an unknown probability distribution νa over real rewards, with finite mean μa. The vector ν=(νa)a=1K is a bandit problem. Its best mean is μ∗=maxaμa, and the gap of arm a is Δa=μ∗−μa. An arm with Δa>0 is suboptimal. A strategyψ selects an arm each round using the previous arms and rewards, possibly with randomization. Write Nψ,a(T) for the number of times it selects arm a by round T, and Eν[Nψ,a(T)] for the expected count under the problem ν.
A modelD specifies the probability distributions that an arm may have. All its laws have a finite first moment, and a bandit problem is in D when every arm law belongs to it. For a law P and a target mean x, the paper's minimal information cost is
Kinf(P,x,D)=inf{KL(P,Q):Q∈D,E(Q)>x},
where an empty infimum is +∞. This measures how much the law of an arm must change to make its mean exceed x. The Bernoulli divergencekl(p,q) used in the intermediate change-of-measure bound keeps its infinite values at the boundary.
Let E(D) be the interior of the set of expectations of laws in D. A model is well behaved when positive functions εD and ωD satisfy, whenever P∈D, x∈E(D), E(P)<x, and 0<ε<εD(x),
Kinf(P,x+ε,D)≤Kinf(P,x,D)+εωD(P,x).
A strategy is uniformly super-fast convergent with constant Cψ,D when Eν[Nψ,a(T)]≤Cψ,DlnT/Δa2 for every problem in D, every suboptimal arm, and every T≥2. The same constant applies throughout. Finally, H(ν)=∑a:Δa>0Δa−2 records the inverse-squared gaps of all suboptimal arms.
Formalization targets
For each suboptimal arm let K=Kinf(νa,μ∗,D). The goal is Theorem 5, with εT=(lnT)−4 and
For every T≥2 satisfying εT<εD(μ∗), aT<1, bT<1, and 0≤cT<1, the target is
Eν[Nψ,a(T)]≥KlnT(1−(aT+bT+cT))−Kln2.
The milestones follow the paper's displayed bounds: the one-alternative inequality (15), the optimized inequality (17), the inverse-information-cost bound after (17), and the product inequality quoted immediately before Theorem 5. They preserve the same constants and the same H(ν).
What the result supplies
The leading term lnT/K is the familiar distribution-dependent sampling barrier. The explicit aT, bT, and cT quantify the correction at a finite horizon; the paper observes that their combined contribution has order lnlnT under its conditions. This makes the result useful when an algorithm's upper bound includes a second-order term and one wants to know the scale that a lower bound permits. It also identifies precisely which model regularity and uniform strategy guarantee support that comparison.
Formalizing Theorem 5 would add a reusable finite-horizon lower bound to the bandit library. The published definitions of stochastic bandits, policies, pull counts, and Kinf supply the base model; this mission adds the paper's well-behavedness and super-fast convergence predicates and states the intermediate inequalities as separate targets. The paper's proof is established mathematically, while these mission statements remain open Lean theorems until solvers supply machine-checked proofs.
Main difficulty
The information cost is an infimum over alternative reward laws, so the finite-horizon bound must remain meaningful when the feasible set is empty or its divergence is infinite. The displayed formulas also divide by that information cost and use logarithms of quantities involving the strategy's uniform constant. For Theorem 5, the explicit correction factors must all lie in the range where the paper's final product inequality applies. A purely asymptotic statement would discard exactly the constants and horizon conditions that distinguish this theorem.
Formalization scope
Arms are Fin K, so the paper's arm a∈{1,…,K} has Lean index a−1. A strategy is represented by Markov kernels on observed arm-reward histories; its expected pull count is an integral of a bounded count. The model consists of probability measures on R with integrable identity. The information cost and Bernoulli divergence live in [0,+∞]; a finite positive cost is converted to a real number only where a displayed reciprocal requires it. The goal contains a suboptimal arm, which rules out the empty-arm and single-arm cases. The model's witness functions are total in Lean, with requirements only on their paper-defined domains.
The theorem explicitly assumes μ∗∈E(D) and 0<K<+∞, which are implicit in the paper's use of εD(μ∗) and 1/K. It also assumes cT≥0: the printed proof invokes a product inequality requiring that sign, although the theorem prints only cT<1. The version of (17) in the milestone list assumes bT≤1 in the case of a negative logarithm. These conditions and the model's integrability prevent vacuous or totalized-value readings of the lower bound. Contributions toward the four displayed milestones, the required measure-theoretic change of measure, and the finite-horizon arithmetic are in scope.
Selected references
Aurélien Garivier, Pierre Ménard, and Gilles Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44 (2019); arXiv:1602.07182v3, DOI:10.1287/moor.2017.0928.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Cambridge University Press (2020), Chapters 4 and 16; DOI:10.1017/9781108571401.
Explore First, Exploit Next: The True Shape of Regret in Bandit Problems IV: Under Pairwise Symmetry a Suboptimal Arm Is Drawn T/K Times or Almost as Often as an Optimal ArmResearch Paper
Motivation
Lower bounds for stochastic multi-armed bandits are usually stated for a large horizon: Lai and Robbins (1985) and Burnetas and Katehakis (1996) show that a consistent strategy pulls a suboptimal arm at least about lnT/Kinf times. These bounds say nothing about the small-horizon regime, the first rounds in which a strategy has not yet had time to separate the arms. Garivier, Ménard and Stoltz (arXiv:1602.07182v3, Mathematics of Operations Research, 2019) describe that regime through one information-theoretic inequality, their (6), and derive several lower bounds from it. This mission formalizes their relative lower bound, Theorem 3 (p. 11): under a mild symmetry assumption on the strategy, a suboptimal arm is either pulled at the uniform rate T/K or, on average, almost as often as an optimal arm. It is the statement behind the title's claim that bandit strategies must first explore.
Setting
There are K arms. A bandit problemν=(ν1,…,νK) assigns to each arm a a probability distribution νa on R with expectation μa. The optimal mean is μ⋆=maxaμa, the gap of arm a is Δa=μ⋆−μa; arm a is optimal if Δa=0 and suboptimal if Δa>0.
A modelD is a set of distributions on R, each with an expectation; a bandit problem is inD when every νa belongs to D.
At each round t a strategyψ picks an arm At, possibly at random, as a function of the past arms and rewards, and receives a reward Yt drawn from νAt. The number of pulls of arm a in the first T rounds is
Nψ,a(T)=t=1∑T1{At=a},
and Eν denotes expectation when ψ plays against ν. Write Nψ,a+(T)=max{Nψ,a(T),1}.
Kullback–Leibler divergence.KL(P,Q)∈[0,+∞] is the Kullback–Leibler divergence between distributions, and kl(p,q) the divergence between Bernoulli laws of parameters p and q.
Pairwise symmetry (Definition 3, p. 11). A strategy ψ is pairwise symmetric for optimal arms on D if for every bandit problem ν in D, every pair of optimal arms a⋆,a⋆ with νa⋆=νa⋆ and every T≥1, the pairs (Nψ,a⋆(T),Nψ,a⋆(T)) and (Nψ,a⋆(T),Nψ,a⋆(T)) have the same distribution. A strategy that uses only the observed payoffs, and not the labels of the arms, has this property.
Formalization targets
Goal: Theorem 3 (p. 11)
For every model D, every strategy ψ pairwise symmetric for optimal arms on D, every bandit problem ν in D, every suboptimal arm a, every optimal arm a⋆ with KL(νa,νa⋆)<∞ and every T≥1,
The Jensen display: Eν[Nψ,a+/(Nψ,a++Nψ,a⋆+)]≤r/(1+r) with r=Eν[Nψ,a+/Nψ,a⋆+].
The bound r/(1+r)≥1/2−TKL(νa,νa′)/(2K) in the case Eν[Nψ,a(T)]≤T/K, r≤1.
Significance
The theorem shows that in the initial phase a symmetric strategy cannot discard a suboptimal arm quickly: unless the arm is already sampled at the uniform rate, it is sampled, in ratio, nearly as often as an optimal arm, as long as T is small compared with K/KL(νa,νa⋆). Together with Theorem 2 (absolute lower bound) and Theorem 4 (collective lower bound) it describes the regret curve before the logarithmic regime: roughly linear growth, then a transition. It requires no assumption on the model beyond the existence of expectations, and it involves the divergence between the two arms themselves rather than the model-dependent quantity Kinf.
The result is proved in the paper; to our knowledge it has no machine-checked proof. The mission produces a Lean statement of Theorem 3 on the canonical bandit model already used on the platform (StochasticBandit, BanditPolicy), a formal version of the symmetry assumption that sibling missions reuse (mission V, the collective lower bound, uses the same Definition 3), and the four intermediate steps of the proof as separate targets.
Difficulty
The proof compares ν with an alternative problem ν′ that differs from it only in arm a, and transfers information between them through the fundamental inequality (6) of §2, a data-processing argument on the law of the whole history. The step specific to Theorem 3 is the choice of the test variable: the expectation of Nψ,a+/(Nψ,a++Nψ,a⋆+) is known exactly under ν′ only because the strategy is pairwise symmetric, and the symmetry is a statement about joint laws of pull counts, not about their expectations. A version of the assumption that only equates expected pull counts does not determine the expectation of this ratio. The ratio expectation then has to be extracted from a bound on E[x/(1+x)], which needs Jensen's inequality in the right direction and a case split on whether r≤1.
Formalization scope
Arms are Fin K (0-based). The horizon T is a natural number. A strategy is a published BanditPolicy: a family of Markov kernels from the observed history of (arm, reward) pairs to the next arm. Every strategy of the paper, which may use auxiliary uniform random variables, induces such a kernel with the same law of arms and rewards. The law of the history is the published banditMeasure, and Nψ,a(T) is the published armPullCount. The model is a set of measures on R, and every statement assumes the paper's standing hypothesis (§1.1, p. 3) that each member is a probability measure with an integrable identity, together with ν in D.
Committed conventions:
KL and kl take values in [0,+∞]; the Bernoulli divergence is the Kullback–Leibler divergence of two Bernoulli laws on R, not a real formula with finite values at q∈{0,1}.
Theorem 3 adds the hypothesis KL(νa,νa⋆)<∞. When the divergence is infinite the paper's bound reads ≥−∞ and is empty; reading +∞ as the real number 0 would make the statement false.
The "in particular" clause is stated as 32TKL(νa,νa⋆)≤K in [0,+∞], which needs no finiteness assumption.
Definition 3 is an equality of joint laws (push-forwards of the history law), for every T≥1, only for optimal arms of problems in D with equal distributions. Invariance under all permutations of the arms would strengthen the hypothesis and weaken the theorem.
Ratios use max{N,1} as real numbers, so no division by zero occurs; all integrands are bounded by T.
A formalization in which the symmetry assumption equates only expected pull counts, in which the divergence is a real number with junk value 0 at +∞, or in which the disjunction is replaced by its second alternative, is not this theorem.
The mission builds on the published definitions StochasticBandit and BanditPolicy. A complete development needs the fundamental inequality (6) for kernel policies (the divergence decomposition, published as BanditAlgorithm.bandit_divergence_decomposition, plus data processing for the Bernoulli test), Pinsker's inequality for Bernoulli laws (proved on the platform as BanditAlgorithm.bernoulli_relative_entropy_pinsker), Jensen's inequality for concave functions (Mathlib), and a lemma that the law of the history is unchanged in distribution when two identically distributed optimal arms are relabelled. The measurability of pull counts and the relation between the extended-real and real Bernoulli divergences are reusable beyond this mission. Proofs of any milestone, and of the general fundamental inequality, are welcome.
Selected references
A. Garivier, P. Ménard, G. Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44(2), 2019. arXiv:1602.07182v3, doi:10.1287/moor.2017.0928
T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6(1), 1985. doi:10.1016/0196-8858(85)90002-8
A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics 17(2), 1996. doi:10.1006/aama.1996.0007
T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. doi:10.1017/9781108571401
Explore First, Exploit Next: The True Shape of Regret in Bandit Problems II: Uniformly Fast Convergent Strategies Draw Every Suboptimal Arm at Least ln T / K_inf Times AsymptoticallyResearch Paper
Why this lower bound matters
In a stochastic multi-armed bandit, a player repeatedly chooses one of finitely many arms and sees only the reward from the chosen arm. To earn a high reward, the player must favor arms that appear best. Yet an arm that currently appears inferior might be best under another plausible reward law. That uncertainty forces any strategy with uniformly strong long-run performance to keep testing apparently inferior arms. The asymptotic number of tests is a basic benchmark for comparing bandit algorithms: an algorithm that matches the bound uses no more exploration than the information in the model demands. Garivier, Ménard, and Stoltz restate this general benchmark as Theorem 1 and derive it within their analysis of the shape of regret Garivier–Ménard–Stoltz, §2.2.
The quantity controlling the benchmark comes from Burnetas and Katehakis. It measures the least information needed to replace one suboptimal arm by a plausible arm that is strictly better than the current best. The paper cites their quantity on page 4, and its Theorem 1 applies it to every suboptimal arm separately Garivier–Ménard–Stoltz, pp. 4, 9. This per-arm form matters when different arms have different reward laws and different amounts of information are needed to rule them out.
Bandit setting and notation
A bandit problemν=(νa)a=1K has K arms. Each νa is a probability distribution on real rewards with a finite expectation μa=EνaX. A strategyψ chooses an arm at each round using the preceding chosen arms and observed rewards, and it may randomize. Let Nψ,a(T) be the number of times arm a is chosen in the first T rounds. The optimal mean is μ⋆=maxaμa, and the gap of arm a is Δa=μ⋆−μa. An arm is suboptimal when Δa>0. These are the objects of §1.1 of the paper Garivier–Ménard–Stoltz, pp. 2–3.
A modelD is a collection of possible real-valued reward distributions, each with a finite expectation. A bandit problem belongs to D when every one of its arm laws does. The Kullback–Leibler divergenceKL(P,Q) measures the information discrepancy from one reward law P to another Q; it may be infinite. For an arm law P and a real threshold x, define the minimal information cost
Kinf(P,x,D)=inf{KL(P,Q):Q∈D,EQX>x}.
The infimum is +∞ if there is no qualifying alternative. The strict inequality in the set matters: the replacement law must make the arm better than the original optimal mean, not merely tied with it Garivier–Ménard–Stoltz, p. 4.
Definition 1 calls ψuniformly fast convergent on D when, on every bandit problem in the model, the expected draw count of every suboptimal arm grows more slowly than Tα for each 0<α≤1:
EνNψ,a(T)=o(Tα).
Here T tends to infinity through integer horizons. This condition is uniform in which problem and suboptimal arm are considered; it does not mean one numerical convergence rate is shared by all problems Garivier–Ménard–Stoltz, p. 9, Definition 1.
Formalization target
The goal is the paper's Theorem 1: for every model D, every uniformly fast convergent strategy ψ, every bandit problem ν in the model, and every suboptimal arm a,
T→∞liminflnTEνNψ,a(T)≥Kinf(νa,μ⋆,D)1.
The bound states the minimum logarithmic exploration of each arm. It leaves the model and strategy arbitrary within the stated class. The milestones follow four statements from the proof on page 9: the Bernoulli entropy estimate in (11), the one-arm divergence chain in (10), the eventual bound on draws of the alternative's other arms, and the bound for one alternative law before taking the infimum. Their source text is recorded beside the local drafts Garivier–Ménard–Stoltz, p. 9.
What the result gives
If Kinf is finite and positive, the theorem gives a concrete coefficient of lnT that any uniformly fast convergent strategy must spend on arm a. A small information cost means that the arm is hard to distinguish from a better alternative and must be sampled more often. If the cost is infinite because the model contains no better replacement, the reciprocal is zero and the bound makes no positive demand. If the cost is zero, the reciprocal is infinite: the normalized expected draw count must diverge. The extended-value convention is part of the target, not a choice of a finite stand-in Garivier–Ménard–Stoltz, pp. 4, 9.
The theorem is proved in the paper, while the Lean statements in this proposal are proof targets. A completed development would supply a machine-checked bridge from the canonical stochastic-bandit policy model through Bernoulli relative entropy and change of measure to the per-arm asymptotic claim. Its model and divergence definitions can also support lower bounds for other bandit classes. The existing Prove2Me StochasticBandit, BanditPolicy, and ConsistentBanditPolicy definitions provide the bandit law, policy, draw count, means, and Kinf used here; Definition 1's exact strategy class is supplied locally.
Difficulty
The central issue is the quantification over every alternative law in an arbitrary model. A suboptimal arm may become uniquely optimal after changing only its law, while the strategy must remain uniformly fast on that new problem. The information cost is an infimum over such changes, including an empty set or costs arbitrarily close to zero. A statement that reasons about just one convenient alternative does not yield the coefficient in Theorem 1. The proof also passes from finite-horizon information inequalities to a liminf as T grows, so endpoint values of Bernoulli divergence and the extended-value arithmetic must agree with the source Garivier–Ménard–Stoltz, pp. 6, 9.
Formalization scope
Lean indexes the paper's arms 1,…,K by Fin K, starting at zero, and uses natural-number horizons. A strategy is a history-dependent Markov kernel, whose generated probability measure describes the sequence of chosen arms and rewards. The pull count is bounded by T, so its expectation is a genuine Bochner integral. The model explicitly requires probability laws with integrable identity; this ensures that each mean in Kinf is genuine. Bernoulli relative entropy and arm-law KL take values in extended nonnegative reals. The goal's liminf is also in extended nonnegative reals, avoiding a default real liminf for an unbounded sequence. The first two horizons, where lnT≤0, cannot affect an asymptotic liminf.
The theorem sentence on page 9 says “all bandit problems” without restricting the original problem to D. Its proof applies Definition 1 to that problem, so the proposal states that its arms belong to D. Without this condition a strategy can behave arbitrarily outside the model. The source's other standing conventions are kept: every reward law has an expectation, the improvement condition in Kinf is strict, and uniform fast convergence ranges over all model problems, all suboptimal arms, and all 0<α≤1. These choices rule out an empty strategy class or a special hard-coded bandit as a trivial route to the target.
Useful contributions include the finite-horizon change-of-measure inequality, endpoint-correct Bernoulli KL estimates, identities for sums of expected pull counts, and asymptotic lemmas for reciprocal infima. The milestone drafts identify the paper statements those contributions must support.
Selected references
Aurélien Garivier, Pierre Ménard, and Gilles Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research, 2019; cited here from arXiv:1602.07182v3, §§1–2.
Apostolos N. Burnetas and Michael N. Katehakis, Optimal Adaptive Policies for Sequential Allocation Problems, Advances in Applied Mathematics, 1996. DOI:10.1006/aama.1996.0007.
Explore First, Exploit Next: The True Shape of Regret in Bandit Problems I: Expected Draws Weighted by Arm Divergences Dominate the Binary Divergence of the Means of Any [0,1]-Valued StatisticResearch Paper
Motivation
Lower bounds on the regret of stochastic multi-armed bandit strategies say how often any reasonable strategy must sample an arm that is not the best one. They are the benchmark against which upper bounds for UCB, KL-UCB and Thompson sampling are judged optimal. The classical bounds of Lai and Robbins (1985) and Burnetas and Katehakis (1996) were proved by changes of measure on carefully chosen events, combined with Markov–Chernoff estimates of their probabilities.
Garivier, Ménard and Stoltz (arXiv:1602.07182v3), published in Mathematics of Operations Research in 2019, replace those arguments with one inequality, which they call the fundamental inequality of their article, inequality (6), p. 6. Every lower bound in the paper follows from it: the asymptotic Lai–Robbins / Burnetas–Katehakis bound for an arbitrary model (Theorem 1), the non-asymptotic bounds for small horizons (Theorems 2–4), and the non-asymptotic logarithmic bound for large horizons (Theorem 5). The same inequality, in the form of Lemma 1 of Kaufmann, Cappé and Garivier (2016), underlies lower bounds for best-arm identification. This mission formalizes the inequality and the lemma that carries its proof.
Setting
A bandit problem with K arms is a family ν=(νa)a=1,…,K of probability distributions on R, each with a finite expectation. A strategyψ plays for T rounds. In round t+1 it picks an arm At+1 as a measurable function of It=(U0,Y1,U1,…,Yt,Ut), where the Ut are independent uniforms on [0,1]. It then observes a reward Yt+1 drawn from νAt+1 and a fresh independent uniform Ut+1. The strategy together with the problem determines the law Pν of IT; Eν is its expectation. The number of draws of arm a is
Nψ,a(T)=t=1∑TI{At=a}.
KL(P,Q)∈[0,+∞] is the Kullback–Leibler divergence between two probability measures: ∫lndQdPdP when P is absolutely continuous with respect to Q and the integral exists, and +∞ otherwise. The binary divergencekl(p,q), for p,q∈[0,1], is the Kullback–Leibler divergence between the Bernoulli distributions of parameters p and q. For q∈(0,1) it is given by (5):
kl(p,q)=plnqp+(1−p)ln1−q1−p.
It equals +∞ for q∈{0,1} and p=q.
The Lean development builds on the published StochasticBandit K, which holds the arm laws ν.P a. The local FullStrategy K implements the paper's measurable strategy on It; fullHistoryMeasure ν ψ T is the law of IT, fullPullCount ψ a is Nψ,a(T), and fullExpPulls ν ψ T a is its expectation. The published BanditPolicy K describes the observed-history kernel model used by the two referenced chain-rule results. The shared definitions supply the Bernoulli law and klBer p q for kl(p,q).
Formalization targets
Goal: the fundamental inequality (6), p. 6
For every strategy ψ, every pair of bandit problems ν,ν′, every horizon T, and every σ(IT)-measurable statistic Z with values in [0,1]:
in [0,+∞], with 0⋅(+∞)=0. The arm laws have the finite expectations required in §1.1; their divergences may be infinite.
Milestones, in the order of the proof (§2.1, pp. 7–8)
(9), p. 7: the one-round chain rule. Under finite arm divergences, the divergence between the observed-history laws after round t+1 is the divergence after round t plus Eν[∑aKL(νa,νa′)I{At+1=a}]. The observed-history kernel version is proved on the platform.
Equality in (8), p. 7: ∑aEν[Nψ,a(T)]KL(νa,νa′)=KL(PνIT,Pν′IT). The platform has the observed-history kernel version under finite arm divergences; relating it to the full information law is part of the goal's work.
Lemma 1, first display, p. 8: KL(P1,P2)=KL(P1⊗λ,P2⊗λ), with λ the Lebesgue measure on [0,1].
Lemma 1, second display, p. 8: KL(P1,P2)≥kl((P1⊗λ)(E),(P2⊗λ)(E)) for every measurable E⊆Γ×[0,1].
Lemma 1, last display, p. 8: (P⊗λ){(γ,x):x≤Z(γ)}=E[Z].
Lemma 1, p. 8: for probability measures P1,P2 on any measurable space and any measurable Z with values in [0,1], KL(P1,P2)≥kl(E1[Z],E2[Z]).
Significance
The result. Inequality (6) turns a lower bound on the number of draws into a choice of an alternative problem ν′ and a statistic Z, usually Z=Nψ,a(T)/T. The binary divergence then contains expected numbers of draws directly, and no event or concentration estimate is needed. In the paper this gives a few-line proof of the Lai–Robbins / Burnetas–Katehakis bound liminfTE[Nψ,a(T)]/lnT≥1/Kinf for any model. It also gives the non-asymptotic bounds showing that the regret grows almost linearly while T is below a divergence-determined threshold. Each of these is a separate mission of this series, and each applies (6) once.
The formalization. The paper calls the equality in (8) standard and re-proves it for completeness; the inequality half, Lemma 1, is its own contribution. Observed-history kernel versions of the equality in (8) and the one-round step (9) are already formalized on the platform, under the hypothesis that every arm divergence is finite. Lemma 1 and the full-information inequality (6) itself are proved in the paper but not formalized. A machine-checked (6), stated with no divergence-finiteness hypothesis, would make every downstream lower bound in the series a matter of calculus with the binary divergence.
Difficulty
Two points need care. First, Lemma 1 is stated for an arbitrary [0,1]-valued Z. The data-processing inequality only gives it directly for indicators of events, and pushing Pj forward by Z gives a law on [0,1], not a Bernoulli law. The paper's route enlarges the space by an independent uniform variable, which needs the product with Lebesgue measure, the invariance of the divergence under that product, and Tonelli's theorem. Second, the goal has no finiteness hypothesis on the arm divergences, while the published chain-rule results assume it. When KL(νa,νa′)=+∞ for an arm that is drawn with positive probability, the left side is +∞ and there is nothing to prove. When such an arm is never drawn, its term is 0⋅(+∞)=0. The divergence between the history laws must then be shown to be finite and equal to the remaining sum, which the published decomposition does not cover.
Formalization scope
Arms are Fin K, indexed from 0. The horizon T is a natural number; at T=0 both sides are 0. For K=0 no policy exists, so K≥1 needs no hypothesis.
Strategies are FullStrategy K, measurable functions of the paper's It. The same strategy runs under ν and ν′. The local history law includes every auxiliary uniform, so Z may depend on any of them.
Both bandit problems satisfy Integrable id for each arm, expressing §1.1's finite-expectation condition. The published StochasticBandit structure supplies only the probability-law condition.
The binary divergence is the [0,+∞]-valued Kullback–Leibler divergence of two Bernoulli laws, klBer, never a real formula. A real formula would return a finite junk value at q∈{0,1}, where (5) is +∞, and would make the goal trivially true there. A version with a finiteness hypothesis on the arm divergences, or with a real-valued binary divergence restricted to q∈(0,1), would be a weaker theorem and is not the target.
In Lemma 1 and its displays, the "distributions" are probability measures on an arbitrary measurable space. λ is the volume on Mathlib's unitInterval. Z is real-valued and measurable, with values in [0,1].
Builds on the published definitions StochasticBandit and BanditPolicy and on Mathlib's InformationTheory.klDiv. The goal uses a local explicit auxiliary-uniform strategy; the published chain-rule references use observed-history kernel policies and are related proof tools. Other tools are data processing (klDiv_map_le), the chain rule for klDiv and composition products, and Tonelli. The tensorization identity for products of probability measures is Proved on the platform as Tensorization.klDiv_prod_eq_add. Lemma 1 is reusable well beyond bandits, wherever a divergence must be compared with the means of a bounded statistic. Proofs of the milestones, and an extension of the chain rule to infinite arm divergences, are welcome.
A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics 17, 1996. https://doi.org/10.1006/aama.1996.0007
E. Kaufmann, O. Cappé, A. Garivier, On the complexity of best-arm identification in multi-armed bandit models, Journal of Machine Learning Research 17, 2016. https://jmlr.org/papers/v17/kaufman16a.html
Improved Algorithms for Linear Stochastic Bandits I: High-Probability Regret Bound for the OFUL AlgorithmResearch Paper
Motivation
In a linear stochastic bandit, a learner repeatedly chooses an action from a set of vectors and receives a noisy reward whose mean is linear in the action. The model underlies contextual recommendation, adaptive routing and dynamic pricing, where each option is described by features and the payoff of a feature vector must be learned while it is exploited. The quality of a strategy is measured by its regret: the reward lost, relative to always playing the best action, over the first n rounds.
The optimism-in-the-face-of-uncertainty principle (play as if the most favourable parameter consistent with the data were true) was introduced for linear bandits by Auer (2002), and developed by Dani, Hayes and Kakade (2008) (ConfidenceBall, regret O(dnlog3/2n) with confidence sets from a union bound over time) and Rusmevichientong and Tsitsiklis (2010). Abbasi-Yadkori, Pál and Szepesvári (NIPS 2011) replaced the union bound by a self-normalized martingale inequality that holds uniformly in time. It gives smaller confidence ellipsoids and, through them, a high-probability regret bound for the resulting algorithm, OFUL, that improves the earlier ones by logarithmic factors. The inequality became the standard tool for linear and kernelized bandits and for linear reinforcement learning.
Setting
Fix a dimension d≥1 and an unknown parameter θ∗∈Rd. In round t=1,2,… the learner is given a nonempty decision setDt⊆Rd, chooses Xt∈Dt, and observes the reward
Yt=⟨Xt,θ∗⟩+ηt.
There is a filtration {Ft}t≥0 such that Xt is Ft−1-measurable and ηt is Ft-measurable and conditionally R-sub-Gaussian: E[eληt∣Ft−1]≤exp(λ2R2/2) for all λ∈R, with R≥0 fixed.
For a regularization parameter λ>0 let Vt=λI+∑s=1tXsXs⊤ and let θt=Vt−1∑s=1tYsXs be the regularized least-squares estimate. With ∥v∥A=v⊤Av and a known bound ∥θ∗∥2≤S, the confidence ellipsoid is
The OFUL algorithm chooses, in round t, a pair (Xt,θt) maximizing ⟨x,θ⟩ over Dt×Ct−1. The pseudo-regret is Rn=∑t=1n⟨xt∗−Xt,θ∗⟩, where ⟨xt∗,θ∗⟩=maxx∈Dt⟨x,θ∗⟩.
Formalization targets
Goal: Theorem 3, the regret of OFUL
If ∥Xt∥2≤L, ⟨x,θ∗⟩∈[−1,1] for all x∈Dt, and λ≥max(1,L2), then for every δ>0, with probability at least 1−δ,
For any positive definite V, Vt=V+∑s≤tXsXs⊤ and St=∑s≤tηsXs: with probability at least 1−δ, for all t≥0,
∥St∥Vt−12≤2R2log(det(Vt)1/2det(V)−1/2/δ).
Milestones: Theorem 2, the confidence ellipsoids
With probability at least 1−δ, θ∗∈Ct for all t≥0 (first claim). If ∥Xt∥2≤L, then with probability at least 1−δ, for all t, ∥θt−θ∗∥Vt≤Rdlog((1+tL2/λ)/δ)+λ1/2S (second claim, stated here for d≥2).
Significance
Theorem 3 bounds the regret of OFUL by O(dnlogn) with high probability, uniformly over the horizon, so it holds for an unknown horizon without restarting. The bound applies to arbitrary, even adversarially changing, decision sets. Theorem 1 is the ingredient that makes this possible: a deviation bound for a vector-valued martingale, normalized by its own random covariance, that holds for all times simultaneously and whose logarithmic term is a determinant rather than a union-bound count. The same inequality underlies regret analyses of generalized linear bandits, kernelized bandits, linear Markov decision processes and many confidence-sequence constructions.
All three results are proved in the paper's appendices (not included in the source file used here). None of them is formalized in the stated generality. Prove2Me holds the special cases V=λI, R=1, δ<1 of Theorems 1 and 2 (from the Bandit Algorithms textbook series), a pathwise LinUCB regret lemma that assumes the confidence event, and the elliptical potential lemma. A formal proof of Theorem 3 would be the first machine-checked high-probability regret bound for OFUL with the paper's confidence sets.
Difficulty
The actions are chosen adaptively, by an argmax over a data-dependent set, so the sequence Xt has no independence structure and the least-squares estimate is not a sum of independent terms. A fixed-design concentration bound followed by a union bound over time and over a covering of the sphere loses logarithmic factors and does not produce the determinant in the radius; that is the route of the earlier work that Theorem 1 improves. Theorem 1 must hold for all times at once for a quantity normalized by the random matrix Vt, which is itself built from the adaptively chosen actions; a bound for each fixed t does not give it.
Formalization scope
Vectors are Fin d → ℝ, matrices Matrix (Fin d) (Fin d) ℝ, and ∥x∥A is Real.sqrt (x ⬝ᵥ A *ᵥ x). Rounds are indexed t+1 for t:N, so sums over s≤t are sums over Finset.range t at index s + 1, and the time-0 objects are empty sums. The probability space is standard Borel, as Mathlib's conditional sub-Gaussianity (HasCondSubgaussianMGF, variance proxy R2) requires; this is an added hypothesis. Every "with probability at least 1−δ, for all t" is stated as an outer-measure bound ≤δ on the failure event, with the time quantifier inside the event. det(⋅)1/2 is the real square root of the determinant; the matrices inverted are positive definite, so Lean's junk inverse never occurs.
OFUL is a predicate on the whole process: in every round the chosen pair maximizes ⟨x,θ⟩ over Dt×Ct−1, with any tie-breaking. Runs exist whenever the decision sets are nonempty and compact. The measurability of the actions is assumed, as in Theorem 1. The optimal reward ⟨xt∗,θ∗⟩ is the supremum over Dt, finite because of the reward bound.
Two corrections to the printed Theorem 3 are made and disclosed. The printed nL/d is replaced by nL2/d, which is what the determinant–trace bound detVn≤(λ+nL2/d)d gives; for L≤1 the corrected bound implies the printed one. The hypothesis λ≥max(1,L2) is added: for λ<1 the printed logarithm can be negative, and the printed bound would then assert Rn≤0. In the second claim of Theorem 2, d≥2 is added, because at d=1 the claim does not follow from the first claim and the paper's proof is not available.
The goal is a probability bound over the noise, not the pathwise statement "if θ∗∈Ct−1 for all t then Rn≤…". The pathwise statement assumes the confidence event instead of proving it, and is already on the platform. The confidence sets inside the OFUL predicate use the same δ as the conclusion.
Needed infrastructure: maximal inequalities for nonnegative supermartingales, Gaussian integrals of quadratic forms on Rd, log-determinant bounds for sums of rank-one updates, and the determinant–trace inequality. The platform rows BanditAlgorithm.self_normalized_martingale_bound, BanditAlgorithm.least_squares_confidence_ellipsoid and BanditAlgorithm.elliptical_potential_lemma are referenced as tools. Proofs of the milestones, generalizations of the existing special cases to general V and R, and reusable determinant lemmas are all welcome.
Selected references
Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, Advances in Neural Information Processing Systems 24 (NIPS), 2011. https://proceedings.neurips.cc/paper/2011
P. Rusmevichientong, J. N. Tsitsiklis, Linearly Parameterized Bandits, Mathematics of Operations Research 35(2), 2010. https://doi.org/10.1287/moor.1100.0446
Bandit Algorithms XVI: Markov Decision Processes and UCRL2Textbook
The final step from bandits to reinforcement learning: actions now change the state of the world. Chapter 38 of Lattimore–Szepesvári studies online learning in an unknown Markov decision process with S states, A actions and rewards in [0,1]. The optimism principle of Mission II scales up: UCRL2 maintains confidence sets over transition kernels, solves an extended MDP by extended value iteration, and recomputes only when a state-action count doubles. The goal theorem: with probability 1−δ, R^n<CD(M)SAnlog(nSA/δ), where D(M) is the diameter of the MDP — sublinear regret with no prior knowledge of the dynamics. The matching lower bound E[R^n]≥C′DSAn brackets the true complexity of tabular reinforcement learning up to DS.
Bandit Algorithms VII: Lower Bounds for Finite-Armed BanditsTextbook
How well can any algorithm possibly do? Chapters 13–17 of Lattimore–Szepesvári answer with three matching impossibility results. The divergence decomposition identifies the information a policy collects: D(Pνπ,Pν′π)=∑iE[Ti(n)]D(Pi,Pi′). Feeding it into the Bretagnolle–Huber inequality of Mission VI yields the goal theorem — the minimax lower bound Rn≥271(k−1)n over Gaussian bandits, showing MOSS (Mission III) is optimal up to a constant. The same machinery gives the instance-dependent bound of Lai–Robbins type: every consistent policy suffers liminfnRn/logn≥∑i:Δi>0Δi/dinf(Pi,μ∗,Mi), certifying the asymptotic optimality of the UCB of Mission III and KL-UCB of Mission IV, and a high-probability lower bound showing the Exp3-IX guarantees of Mission V cannot be improved.
Learning Product Rankings Robust to Fake Users: With the Fakeness Budget F Unknown, FORC Has Regret O((n²F + log T) Σ_{j<i} log(nT)/Δ_{j,i})Research Paper
Motivation
Online platforms rank products, and the ranking is learned from clicks. Click farms and bots exploit this: fake users click on a product so that the platform promotes it. Golrezaei, Manshadi, Schneider and Sekar (arXiv:2009.05138, Operations Research 71(4), 2023) study how to learn a ranking when an unknown number of users are fake and cannot be told apart from real ones. They show that a standard optimistic learner (UCB) can be pushed to regret linear in T by O(log2T) fake users (their Theorem 1), and they give two robust algorithms: FAR, which needs the number F of fake users, and FORC (Fake-Oblivious Ranking with Cross-learning), which does not. The multi-level idea behind FORC comes from corruption-robust bandits (Lykouris, Mirrokni, Paes Leme, STOC 2018). The ranking setting makes it harder, because which products a customer examines is itself random.
Setting
A platform shows n products to T users in turn. Product i has an unknown click probabilityμi∈[0,1], indexed so that
μ1>μ2>⋯>μn,
and Δj,i=μj−μi. A rankingπ puts product π(j) at position j.
A real customer follows a cascade. She examines positions 1,2,… in turn and clicks the product at position j with probability μπ(j), which ends her visit. If she does not click, she leaves with an unknown exit probabilityqj∈[0,1], or moves on to position j+1. After position n she always leaves. The platform observes ct: the last examined position and whether its product was clicked.
A fake entity controls the fake users. Its adaptive policyP maps the history Ht−1={(πs,fs,cs)}s<t (past rankings, fake indicators and observations) to a probability distribution over this round's user. The user is either real, or fake and clicking any chosen product, or fake and clicking nothing and leaving at any chosen position. The fakeness budgetF says that at most F rounds are fake on every realization. The platform never learns which users were fake. Only real clicks count:
where Cr,t=1 when the user of round t is real and clicks, and π⋆(i)=i is the optimal ranking.
FORC runs L=⌈log2T⌉levels. In each round it samples level ℓ with probability 2−ℓ (level 1 takes the remaining mass). Each level keeps feedback counts and a product-ordering graphG(ℓ), whose edge (i,j) records that product j is believed better than i. The displayed ranking is GraphRankSelect(η(ℓt),G). It fills the positions in order, each time with a product that has no outgoing edge into the remaining set, preferring the one with the fewest observations. Samples propagate upward, with weight 2−ℓ at level ℓ (cross-learning). Edges propagate downward, and a graph that acquires a cycle is eliminated.
Formalization targets
Goal: Theorem 3
There is an absolute constant C such that, for all n≥1, T≥2, F≥0, every instance, every policy within budget F, and every resolution of FORC's unspecified choices,
This is the paper's O(⋅) statement (16), with the constant made explicit and uniform.
Milestones, in the order the proof uses them
Lemma 1 (regret decomposition): for any algorithm, regret ≤F+∑t∑j<iΔj,iPr[Ar,t(πt(j)=i)].
Lemma 11: one level ℓ≥log2F is exposed to at most log(2L/δ)+3 fake users with probability at least 1−δ/(2L).
Lemma 5: with probability at least 1−δ/2, every level ℓ≥log2F is exposed to at most log(2L/δ)+3 fake users, with δ=1/(n3T).
Lemma 13: a Hoeffding bound 2e−2ε2η^ for the cross-learned weighted mean.
Lemma 6: the good event G (accurate estimates at the high levels, few fake users there) has probability at least 1−δ.
Lemma 15: on G, the graphs of levels ℓ≥⌈log2F⌉ never hold an incorrect edge, and they hold the correct edge between i and j once both products have γj,i=64log(4nT/δ)/Δj,i2 cross-learned samples.
Lemma 9: the loss off G is at most 1/n2.
Significance
Theorem 3 says that a platform that does not know how many of its users are fake loses only O((n2F+logT)logT) real clicks against the best fixed ranking (for fixed n and gaps bounded below). The obvious algorithms lose Ω(T). It extends multi-layer corruption robustness from multi-armed bandits to a combinatorial feedback model in which the observed coordinates are themselves random and depend on the ranking.
Formalizing it gives:
a machine-checked cascade click model with exit probabilities and an adaptive adversary;
a reusable regret decomposition for rankings (Lemma 1);
a per-level corruption bound for randomized level sampling (Lemmas 5 and 11);
a fully specified FORC.
None of these results is formalized anywhere, to our knowledge. The theorem is proved in the paper, so the remaining work is a formal proof of the known argument. The planning check of that argument found slips in constants of auxiliary lemmas (Lemmas 7, 8, 10) but nothing affecting the O(⋅) statement.
Difficulty
The levels at or above ℓ⋆=⌈log2F⌉ are the easy part. They see O(loglogT) fake users, so their confidence windows absorb the corruption and their graphs stay correct (Lemmas 5, 6, 15).
The levels below ℓ⋆ are the hard part. They are sampled more often and can be corrupted arbitrarily. The obvious argument would bound the misplacements at each low level separately, and that fails: a corrupted low level can keep a bad product on top for as long as it is not eliminated. The paper's Lemma 10 controls these levels only through the interaction of the two cross-learning directions. It runs an induction over products with a change of measure between levels, and that step is where the factor n2F comes from.
The adversary is adaptive and sees all past rankings. The bound fails if the adversary could see the current round's level.
Formalization scope
Model. Products, positions, levels and rounds are Fin n, Fin n, Fin L and Fin T, all 0-based. Lean level k is paper level ℓ=k+1, so the condition ℓ≥⌈log2F⌉ becomes F≤2k+1.
Probabilities. Every space is finite, so expectations are finite sums over trajectories FinT→Step. Each trajectory is weighted by the level probabilities, the policy's PMF and the cascade law. No measure theory is used except in Lemma 13.
Adversary. The policy is a function of the past history only. It never sees the current ranking or level.
Algorithms. A general algorithm (Lemma 1) draws an internal label with history-dependent weights and ranks as a function of its own past. It never sees the fake indicators.
Committed conventions.L=⌈log2T⌉, δ=1/(n3T), natural logarithms. Rewards are averages of clicks, which reads Step 8's denominator η+1 as η. FORC's tie-breaking, its "arbitrary ranking" and its fallback when no level qualifies are arbitrary functions of its past, and every statement holds for all of them.
Added hypotheses.T≥2 is added to the goal, because at T=1 the right-hand side is 0 while the regret can be positive. n≥1 is added because δ is undefined at n=0.
Ruled out. FORC's definition takes no F, μ or q. The adversary is randomized and adaptive rather than oblivious. The customer law and the level weights are probability distributions (checked in a sorry-free sanity file). C is quantified before every other variable. Trivializing variants of the goal are therefore excluded.
Out of scope. Theorem 1 (UCB's linear regret), Theorem 2 (FAR, with F known), Lemmas 7, 8, 10, 16–18 (printed constants rest on non-integer counts), and the numerical study of §7.
Infrastructure. A complete development needs a Freedman/Bernstein inequality for bounded martingale differences (Lemma 12, cited from Beygelzimer et al. 2011). It also needs the conditional form of Hoeffding behind Lemma 6, and a coupling of the finite trajectory law with independent sample sequences. These pieces are reusable for any cascade or corruption-robust bandit formalization. Proofs of the milestones, and of Lemmas 7, 8 and 10 in any faithful form, are welcome.
Selected references
N. Golrezaei, V. Manshadi, J. Schneider, S. Sekar, Learning Product Rankings Robust to Fake Users, Operations Research 71(4), 2023; arXiv:2009.05138v1 (2020). https://arxiv.org/abs/2009.05138
T. Lykouris, V. Mirrokni, R. Paes Leme, Stochastic Bandits Robust to Adversarial Corruptions, STOC 2018. https://arxiv.org/abs/1803.09353
A. Beygelzimer, J. Langford, L. Li, L. Reyzin, R. Schapire, Contextual Bandit Algorithms with Supervised Learning Guarantees, AISTATS 2011. https://arxiv.org/abs/1002.4058
Dynamic Pricing with Unknown Non-Parametric Demand and Limited Price Changes: The SLPE Policy Has Regret O(√T log T log log T) on Its Concentration Event and Makes O(log log T) Price ChangesResearch Paper
Motivation
A retailer selling one product over T periods must choose a price each period without knowing how demand responds to price. Charging different prices reveals the demand curve but costs revenue, and in practice every price change has its own cost: relabelling, customer goodwill, contractual limits on repricing. Dynamic pricing with learning asks for policies whose cumulative revenue loss against the best fixed price, the regret, grows slowly in T, and recent work also asks that the policy change its price rarely.
The paper's literature review (pp. 3–5) frames the gap. For parametric demand, Broder (2011) gives an MLE-based policy with O~(T) regret and O(logT) price changes, and Cheung, Simchi-Levi and Wang (2017) study limited price changes when demand is one of finitely many known curves. Non-parametric policies such as Besbes and Zeevi (2015) and the continuum-armed bandit algorithm of Agarwal et al. (2011) do not control price changes and incur at least O(logT) of them. Perakis and Singhvi (SSRN 3336949; published in Operations Research, doi:10.1287/opre.2020.0445) show that, under a two-point bandit feedback assumption borrowed from online convex optimisation (Agarwal and Dekel 2010, Nesterov 2011), a non-parametric policy can keep O~(T) regret while changing its price only O(loglogT) times.
Setting
Prices lie in [0,1]. In period t the retailer charges pt and observes demand
Yt=d(pt)+ϵt,
where d is an unknown smooth non-increasing demand curve and ϵt is noise. The revenue is r(p)=pd(p), maximised on [0,1] at a unique interior price p∗. The two performance measures are
Assumption 1 asks for κ>0 with d(p∗)−κ(p−p∗)2≤−d′(p)p∗; Assumption 2 asks that among the observations at two charged prices there is one pair with identical noise, and that the policy can identify it. K1 bounds ∣d(k)∣ for k≤3.
The SLPE policy (Algorithm 1) runs in rounds i=1,2,… with half-widths Δ1=21, Δi+1=μΔi2. Round i charges piL=piM−Δi, piM and piH=piM+Δi for ni=2ρ4logT/Δi4 periods each, starting from p1M=21. It fits a two-piece linear demand estimate whose level is the average demand Dˉni(piM) and whose slopes are finite differences of the two identical-noise pairs, maximises the estimated revenue on [piL,piH] to obtain p~i∗, and recentres: pi+1M=p~i∗.
Formalization targets
Goal: Theorem 1 and Corollary 1
Under Assumption 1, the gradient condition ∣d′(p∗)∣≥(K1/24+κ/4)41+c/2 with c>0, and
2>μ≥M=c1(ρ21+6K1+4κ)+12K1+4κ,
there are constants C1,C2,C3 independent of T such that for every T≥3, every noise realisation and every choice of the policy's tie-breaking and pair selection,
LPCSLPE(T)≤C3+3log2(logT),
and, on every realisation where Assumption 2 and the concentration event∣Dˉni(piM)−d(piM)∣≤Δi2/ρ2 hold in each used round,
Lemma 2 (p. 11): d′′(p∗)=0 with Lipschitz r′′ and d′ gives the same inequality with κ=Ψ+Ψˉ+2K1.
Lemma 3 (p. 17): the identical-noise finite differences of round i are within 21K1Δi2/12 of d′ at the midpoints.
Hoeffding step (pp. 19–20): P(∣Xˉn∣>Δ2/ρ2)≤1/T2 for n≥2ρ4logT/Δ4 and sub-Gaussian noise with variance proxy at most 1/3.
Lemma 4 (p. 17): ∣p∗−p~i∗∣≤MΔi2 on the good event of rounds 1,…,i.
Containment (p. 17): piL≤p∗≤piH on the good event of earlier rounds.
Round count (p. 24): at most C+log2(logT) rounds start before T.
Significance
The result gives a non-parametric pricing policy whose number of price changes is doubly logarithmic, the same order as the number of batches needed in batched multi-armed bandits, while its regret is within logTloglogT of the Ω(T) lower bound of Keskin and Zeevi (2014). Its key estimate, Lemma 4, is a perturbation bound for the maximiser of a piecewise linear surrogate of a smooth revenue function; it applies wherever an optimum is located from noisy function values with matched-noise finite differences.
The theorem is proved on paper and, to the extent that can be determined, has no machine-checked proof. Formalizing it adds a continuum-armed pricing policy with an explicit price-change bound, and a checked version of an argument whose printed proof has gaps: a high-probability step that is false as printed, an inequality used two-sidedly that is assumed one-sidedly, and a logarithm base that does not match. Lemma 4 is posed as printed. It is supported numerically but its printed proof is incomplete, so a formal proof, or a counterexample, is itself new information.
Difficulty
The obvious argument for Lemma 4 compares the first-order condition of the surrogate with that of the true revenue. It fails as written: the surrogate's maximiser may sit at an endpoint of [piL,piH] or at the kink piM, where no first-order condition holds, and the comparison needs a two-sided bound on d′(p)−d′(p∗) while Assumption 1 is one-sided and weighted by p∗. The regret bound then needs the induction that keeps p∗ inside every round's range, a careful treatment of the last round, which the horizon truncates, and the conversion of the doubly exponential decay of Δi into a log2logT round count.
Formalization scope
Periods are 0-based and rounds 1-based. The demand is d : ℝ → ℝ, and p∗ is a parameter satisfying hypotheses, not a defined argmax. The noise is a single realisation ε : ℕ → ℝ, and the regret and the price-change count are numbers on it, with no expectation. The policy receives only T,μ,ρ, an argmax selector (any rule returning a maximiser of a continuous function on an interval), a pair selector (four periods per round), and the observations d(p)+ϵt at the prices it charges. ni is rounded up. The concentration event's probability is the separate Hoeffding milestone.
The following hypotheses and repairs are added and disclosed in each item:
Assumption 1 and the bound K1 are imposed on [−1,2], because SLPE can charge prices outside [0,1].
p∗<1, so that the optimum is interior.
Assumption 2 is a property of the realisation, not an almost-sure statement, because under i.i.d. continuous noise it has probability zero.
The Hoeffding step carries σ2≤1/3 and T≥2, since the printed 1−1/T2 is false for σ≥1.
The round count and Corollary 1 use log2logT; the printed natural-log bounds fail numerically (19 price changes against a printed bound of 15.8 at T=106).
The inner log(T/(2μρ4logT)) is replaced by logT, which only changes the constants.
Lemma 1 is posed with Assumption 1's own κ, since the printed "∀p∃κ" is trivial.
Four formalizations would make the goal trivial, and the statements rule each out: a policy that reads d or p∗, constants allowed to depend on T or on the realisation, an argmax or pair oracle not tied to the observations, and an Assumption 2 that no realisation can satisfy (zero noise with in-block pairs satisfies it, and a sanity check exhibits a full instance).
Theorem 2 (the relaxed Assumption 2A and Algorithm 2) is not part of the mission. A complete development needs Taylor's theorem with remainder, sub-Gaussian tail bounds (available as Mathlib's HasSubgaussianMGF and the platform theorem BanditAlgorithm.subgaussian_sample_mean_tail_bound), and bookkeeping for the round schedule. The schedule lemmas and the finite-difference bound are reusable beyond this paper. Proofs of any milestone are welcome, as is a counterexample to Lemma 4's constant.
O. Besbes and A. Zeevi, On the (Surprising) Sufficiency of Linear Models for Dynamic Pricing with Demand Learning, Management Science 61(4), 2015. https://doi.org/10.1287/mnsc.2014.2031
W. C. Cheung, D. Simchi-Levi and H. Wang, Dynamic Pricing and Demand Learning with Limited Price Experimentation, Operations Research 65(6), 2017. https://doi.org/10.1287/opre.2017.1629
N. B. Keskin and A. Zeevi, Dynamic Pricing with an Unknown Demand Model: Asymptotically Optimal Semi-Myopic Policies, Operations Research 62(5), 2014. https://doi.org/10.1287/opre.2014.1294
A. Agarwal, D. P. Foster, D. Hsu, S. M. Kakade and A. Rakhlin, Stochastic Convex Optimization with Bandit Feedback, NeurIPS 2011. https://arxiv.org/abs/1107.1744
V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics 44(2), 2016. https://arxiv.org/abs/1505.00369
An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models: The Adaptive-Confidence Trisection Policy Has N-Independent Regret at Most C√TResearch Paper
Learning which products to offer
A retailer that sells N substitutable products must decide, for each arriving customer, which subset of products to display. Customer preferences are unknown at the start and have to be learned from purchases, while every suboptimal display costs revenue. This is dynamic assortment planning, a standard problem of revenue management in e-commerce and online advertising, and its learning version is a bandit problem whose arms are the 2N subsets of products.
Under the multinomial logit (MNL) choice model the problem has been studied through the regret of a policy over T customers (Chen, Wang and Zhou, §2 and Table 1):
Rusmevichientong, Shen and Shmoys (2010) analysed the same revenue potential as this paper with a golden-ratio search; their bound involves logN and needs a separability (gap) assumption between candidate assortments.
Sauré and Zeevi (2013) also cast MNL assortment learning as regret minimization.
Agrawal, Avadhanula, Goyal and Zeevi gave UCB and Thompson-sampling policies with regret O~(NT+N) for assortments of capacity K.
Chen and Wang (2018) proved an Ω(NT) lower bound in the capacitated model when K≤N/4.
In the capacitated model the regret must grow with N. Chen, Wang and Zhou (arXiv:1805.04785v2, Mathematics of Operations Research 2021) show that without a capacity constraint it need not: a trisection policy achieves regret C1T with a universal constant, and T/384 is a lower bound. This mission formalizes the upper bound.
Setting
There are N items with known revenues r1,…,rN∈[0,1] and unknown utilities v1,…,vN≥0; the no-purchase option has utility v0=1. In each period t=1,…,T the retailer offers an assortmentSt⊆[N], and the customer buys j∈St with probability vj/(1+∑i∈Stvi) or buys nothing with probability 1/(1+∑i∈Stvi), independently of the past. The expected revenue of S is
R(S)=1+∑j∈Svj∑j∈Srjvj,
and the regret of a policy is Regret=E∑t=1TR(S∗)−R(St), where S∗ maximizes R over all 2N subsets.
The policy rests on two objects. The level setLθ={i:ri≥θ} collects the items whose revenue is at least θ. The revenue potentialF(θ)=R(Lθ) is a piecewise-constant function of one real variable. Its maximum is F∗=supθ≥0F(θ), its right limit is F(θ+), and θ∗ denotes the fixed point θ∗=F(θ∗)=F∗.
The adaptive-confidence trisection policy keeps an interval [aτ,bτ], starting from [0,1]. In epochτ it forms the points xτ=32aτ+31bτ and yτ=31aτ+32bτ, at distance ετ=yτ−xτ=31(32)τ, and runs nτ=8⌈ετ−2ln(8Tετ2)⌉ inner iterations. Each inner iteration does two things:
while yτ lies inside the current confidence interval [ℓ,u] for F(yτ), it explores: it offers Lyτ, adds the revenue to the running sum ρt, and sets [ℓt,ut]=ρt/t±2ln(8T/t)/t;
it then exploits by offering Laτ.
At the end of the epoch the policy sets bτ+1=yτ if u<yτ, and aτ+1=xτ otherwise. The policy knows r and T but never v.
Formalization targets
Goal: Theorem 3
There is a universal constant C1>0 such that for every N, every horizon T, all vi≥0 and all ri∈[0,1], the adaptive-confidence trisection policy satisfies
Et=1∑TR(S∗)−R(St)≤C1T.
No gap condition and no bound on v is assumed. The constant is left unspecified, as in the paper.
Milestones
Structure of F. Lemma 1 (revenue-ordered optimality), Corollary 1 (F∗=R(S∗)), Lemma 2 (the fixed point, under F∗>0), the jump identity (S4)/(S8), and Lemmas 3–4 (F is below the diagonal to the right of θ∗ and above it to the left).
Concentration. Hoeffding's inequality (Lemma 15, already proved on the platform), the uniform inequality with growing confidence levels (Lemma 8, (11)), and the two tail bounds (S32) and (S33) used in the proof of Lemma 10.
Recursion. With ψτω(α,β) the expected regret of epochs τ,…,τ0 conditioned on the relative position of aτ, bτ and θ∗ ((14)): Lemma 11 (Case 3, ψτ3≤αT), Lemma 9 (Case 1) and Lemma 10 (Case 2).
Significance
Theorem 3, together with the lower bound of Theorem 4, settles the minimax regret of uncapacitated MNL assortment learning at Θ(T), independent of the number of products. The policy uses no estimate of the individual utilities, and its cost per period is one level-set offer, so it applies to catalogues where N is large compared with T. The structural lemmas on the revenue potential (Lemmas 1–4) are standard tools for MNL assortment problems and are reusable by other missions on static and dynamic assortment optimization. Lemma 8 is a MOSS-style concentration inequality whose confidence level grows with the sample size; it is the device that removes the logT factor of the paper's baseline bound (Theorem 2).
The result is proved in the paper and is not presented as open; no machine-checked proof of any part of it is known. The platform has the MNL model, the UCB policy of Agrawal et al. (whose bound depends on N) and Hoeffding's inequality, but no level-set or trisection analysis. A formal proof would also check the paper's argument, whose printed slips are recorded in the scope section.
Difficulty
The regret concerns a stateful algorithm whose epochs end at random times: an inner iteration takes two periods while exploration is active and one afterwards, and the policy's internal state must be recomputed from the purchase history alone. The obvious argument fixes a confidence level 1/T2, bounds each epoch's regret on the event that all confidence intervals hold, and sums a geometric series. That argument loses a logT factor, and it is the paper's own Theorem 2. Removing the factor needs confidence levels that weaken as data accumulate. A failure is then no longer rare enough to be ignored, so the analysis has to track its cost. This is done by a recursion on conditional expected regrets across three cases (interval to the right of, containing, or to the left of θ∗), in which a wrong decision in one epoch passes to another case with controlled probability. Within an epoch, the purchases made while exploring a level set must be shown to behave like i.i.d. samples with mean F(yτ), although the number of explorations is itself random.
Formalization scope
Model. The model is the published MNLBandit.UCB.Setting with every subset admissible: histories are sequences of choices in Option (Fin N) (none = no purchase), policies are deterministic functions of the past choices, and expectations are finite sums over histories. Items and periods are 0-based in Lean; epochs and inner iterations are as on the page.
Policy. The policy is defined exactly. Confidence radius 2ln(8T/t)/t (δ = 1/T in (12)); nτ=max(1,8⌈(yτ−xτ)−2ln(8T(yτ−xτ)2)⌉); trisection weights 2/3,1/3; the update b←yτ if and only if u<yτ; exploitation of Laτ in every inner iteration; exploration only while ℓ≤yτ≤u.
Conventions.
The max(1,⋅) matters only for tiny T, where the printed nτ is 0.
The empty assortment is allowed (§3 asks St=∅; R(∅)=0).
§3's ri>0 is relaxed to Theorem 3's ri∈[0,1].
F is defined on all of R, and F(θ+) is Mathlib's Function.rightLim.
θ∗ is defined as F∗.
ψ is a ratio of finite sums and is 0 on a conditioning event of probability 0.
Every O(⋅) and ≲ is an existential constant chosen before all other quantities.
Added hypotheses. Lemma 2 assumes F∗>0, which its proof uses. Lemmas 9 and 10 and (S33) assume T≥25 and that epoch τ can start (∑τ′<τnτ′<T); without these, log(Tε2) can be negative.
Repairs. Two printed statements are repaired.
(S32) is stated with exp{−nτΔ2/2}, which its printed justification gives; the printed exp{−nτΔ2} fails on an explicit instance.
Lemma 9 sums from τ′=τ, as its proof does, with exponent nτ′ and the deterministic last epoch τˉ(T) as upper limit.
Ruled out. Three formalizations would make the goal trivial, and none is admissible: a policy that receives v (it could offer S∗ in every period); a constant C1 that depends on T, N or the instance (the regret is at most T); and an abstract "trisection oracle" with assumed guarantees in place of the algorithm above.
Not included. Theorem 4 (the T/384 lower bound) and its Lemmas 12–14 are not part of the mission, and neither are Theorem 2 and its Lemmas 5–7 (the baseline policy) or Proposition 1.
Contributions welcome. Lemmas 1–4 need only finite sums; Lemma 8 and (S32)/(S33) need Hoeffding's inequality and a union bound over sample sizes; the reduction of exploration purchases to i.i.d. samples is reusable for other level-set policies.
Selected references
X. Chen, Y. Wang, Y. Zhou, An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models, arXiv:1805.04785v2, 2019; Mathematics of Operations Research 46(4), 2021. https://arxiv.org/abs/1805.04785
S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5), 2019. https://arxiv.org/abs/1706.03880
X. Chen, Y. Wang, A note on tight lower bound for MNL-bandit assortment selection models, Operations Research Letters 46(5), 534–537, 2018.
P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic Assortment Optimization with a Multinomial Logit Choice Model and Capacity Constraint, Operations Research 58(6), 2010. https://doi.org/10.1287/opre.1100.0866
D. Sauré, A. Zeevi, Optimal Dynamic Assortment Planning with Demand Learning, Manufacturing & Service Operations Management 15(3), 2013. https://doi.org/10.1287/msom.2013.0429
K. Talluri, G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004. https://doi.org/10.1287/mnsc.1030.0147
J.-Y. Audibert, S. Bubeck, Minimax Policies for Adversarial and Stochastic Bandits, COLT 2009.
The Statistical Complexity of Interactive Decision Making V: The Multi-Armed Bandit Has Localized DEC at Least 2⁻⁶·A/γ, via Hard Families of ModelsResearch Paper
Motivation
The Decision-Estimation Coefficient (DEC) of Foster, Kakade, Qian and Rakhlin (arXiv:2112.13487) is a single complexity measure that bounds the minimax regret of interactive decision making (bandits, reinforcement learning, and their structured variants) from above and from below. Its lower bound (Theorem 3.2 of the paper) states that every algorithm suffers expected regret at least a constant times decγ(Mεγ∞(M),M)⋅T, so concrete lower bounds on regret follow from concrete lower bounds on the DEC of localized model classes.
The multi-armed bandit is the first test of this program. Its minimax regret Θ(AT) is classical (Auer et al., 2002; Audibert and Bubeck, 2010). Section 5.1 of the paper recovers it through the DEC: posterior sampling (Proposition 5.1) and inverse gap weighting (Proposition 5.2) bound the DEC by A/γ from above, and Proposition 5.3 bounds it by 2−6A/γ from below. The lower bound is proved through a hard family of models (Definition 5.1, Lemma 5.1), the device that the paper reuses for linear, ReLU and gap-dependent lower bounds in §§6–7.
Setting
A decision spaceΠ is a finite set; here Π=[A]={1,…,A}, the arms. A modelM assigns to every arm π a distribution M(π) over rewards in R=[0,1] (observations are trivial). Its mean reward is fM(π)=Er∼M(π)[r], and πM∈argmaxπfM(π) is an optimal arm. The squared Hellinger distance between distributions P,Q on a finite set is DH2(P,Q)=∑y(P(y)−Q(y))2 (no factor 21, the paper's (5)).
For a class M of models, a reference modelM and γ>0, the DEC (2) is
With gM(π)=fM(πM)−fM(π), the L∞-localized class (12) is Mε∞(M)={M∈M:∣gM(π)−gM(π)∣≤ε∀π}.
A reference model M∈M and models M1,…,MN∈M, N≥2, form an (α,β,δ)-family (Definition 5.1) if there are ui,vi:Π→[0,1] with ∑iui(π)≤N/2, ∑ivi(π)≤1, fMi(πMi)−fMi(π)≥α(1−ui(π)) and DH2(Mi(π),M(π))≤βvi(π)+δ. Ber(q) is the Bernoulli distribution with mean q.
Formalization targets
Goal: Proposition 5.3
For A≥2 arms, M(π)=Ber(21) and every γ≥A/3, with εγ=12γA,
decγ(Mεγ∞(M),M)≥2−6⋅γA.
Milestones
Lemma A.7: DH2(Ber(p),Ber(q))≤(p−q)2(p+q1+2−p−q1), and in particular DH2(Ber(21+Δ),Ber(21))≤3Δ2 for Δ∈(0,21).
Lemma 5.1: an (α,β,δ)-family M′ with β≥0 satisfies decγ(M′,M)≥2α−γ(Nβ+δ) for all γ>0.
The hard family of the proof: Mi(π)=Ber(21+ΔI{π=i}) is a (Δ,3Δ2,0)-family around Ber(21).
Localization: this family lies in MΔ∞(M).
Companions
The mission also states monotonicity of the DEC in the class (the step from the family to the localized class), Proposition 5.1 (posterior sampling bounds the dual square-loss DEC by A/γ), and Proposition 6.7, the gap-dependent variant: for bandits with gap exactly Δ∈(0,81), some M in the class has decγ(MΔ∞(M),M)≥4ΔI{γ≤48ΔA}. Proposition 5.2 (inverse gap weighting) and the decoupling step of Proposition 5.1 are already proved on the platform and are included as references.
Significance
Proposition 5.3 is the DEC half of the Ω(AT) minimax lower bound for multi-armed bandits: combined with Theorem 3.2 and γ≍AT, it shows that the general DEC theory loses nothing in rate on the most basic interactive problem, and that the A/γ upper bounds of Propositions 5.1 and 5.2 are tight up to constants. Lemma 5.1 is reusable: any lower bound on the DEC of a class can be obtained by exhibiting a hard family, and the paper uses it for linear bandits (Proposition 6.2), ReLU bandits (Proposition 6.6) and gap-dependent bounds (Propositions 6.7, 6.8).
The results are proved in the paper. As far as is known, none of them is machine-checked. A formal development provides a verified Bernoulli Hellinger bound, a reusable hard-family lemma for the DEC as published on the platform, and the first verified DEC lower bound for a concrete class.
Difficulty
The DEC is an inf-sup, so a lower bound must hold against every exploration distribution p. A natural first attempt picks a single alternative model and compares; this fails because p can concentrate on the arm where that alternative differs and then the Hellinger penalty cancels the regret. The family must be spread so that no single p is good for all of its members at once, and the constants must balance the regret term against the information term at the chosen Δ. In Lean, an additional difficulty is that the DEC is written with real sInf/sSup, which are 0 on empty or unbounded sets: every lower bound requires showing that the relevant sets are nonempty and bounded, and passing from the family to the localized class needs monotonicity of the DEC, which the paper uses without comment.
Formalization scope
Finite alphabets. The paper works over measurable spaces; this mission formalizes the finite-alphabet case, as the published FoundationsRL layer does. A model is m : S → Y → ℝ with every m π a probability vector; expectations are finite sums. The DEC is the published FoundationsRL.GeneralDM.decGf, the Hellinger distance hellingerSq, the mean reward fM.
Bernoulli subclass. The bandit class is the Bernoulli bandits (Y = Bool, reward 1 on true), a subclass of the paper's all-distributions-on-[0,1] class. The DEC is monotone in the class and the localized class shrinks with the class, so the Bernoulli lower bounds imply the paper's.
Optimal-arm selector.πM is a parameter piStar with the hypothesis that it picks a maximizer of fM; every statement holds for every such selector, so for whichever maximizer the paper meant (the reference Ber(21) has every arm optimal).
Added or dropped hypotheses. Lemma 5.1 makes the page's nonempty decision space explicit; its optimal-arm selector also implies nonemptiness. It adds β≥0, necessary for the printed averaging argument: without it, even identical models can contradict (52). The family definition includes membership of the reference and family models in a probability-model class. The localization claim inherits A≥2 from Proposition 5.3. Proposition 6.7 states A≥2, implicit on the page since a gap needs two arms. Proposition 5.1 represents models by their mean vectors and priors as finitely supported (footnote 5).
Constants. All constants are the page's: 2−6, A/(12γ), γ≥A/3, 3Δ2, 5Δ2, Δ/4, A/(48Δ). The page's proof of Proposition 6.7 names a (Δ,5Δ2,0)-family but computes with 12Δ2; the stated proposition is the one its arithmetic supports.
No trivialization. A formalization in which the localized class could be empty, or the payoffs unbounded, would make decGf evaluate to the junk value 0; the goal is stated over a class containing M with bounded rewards, so the inequality is the genuine one, and its right side 2−6A/γ is strictly positive.
Contributions welcome: proofs of the milestones in attack order, sorry-free lemmas on nonemptiness and boundedness of the DEC's inner sets (reusable for every DEC lower bound in this series), and a proof of the gap-dependent companion.
Selected references
D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, 2021 (v3, 2023). https://arxiv.org/abs/2112.13487
D. J. Foster, A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, lecture notes, 2023. https://arxiv.org/abs/2312.16730
P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The Nonstochastic Multiarmed Bandit Problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
On the Gittins Index for Multiarmed Bandits 3: The Optimal Expected Discounted Reward Is a Submodular Function of the Set of Available BanditsResearch Paper
Motivation
The multiarmed bandit problem asks how a gambler should allocate successive plays among n independent projects, each of which changes state only when it is played, so as to maximize the expected total-discounted reward. Gittins and Jones (1974) showed that it is optimal to play, at every epoch, a project of greatest Gittins index, a number computed from that project alone. The result underlies job scheduling on a single machine, sequential clinical trials and many stochastic resource-allocation models.
Weber (1992) gave a short proof of the index theorem through prevailing charges, and used the same idea to prove a result that was new: the optimal value is a submodular function of the set of projects that are available. Submodularity of the value says that the marginal worth of an extra project shrinks as more projects are on hand. Two consequences appear in the paper: for statistically identical projects started in a common state, the optimal value is concave in their number; and a bound of Tsitsiklis (1986) for a problem with a retirement option is a special case.
Timeline. Gittins and Jones (1974): the index theorem, by an interchange argument (book-length treatment in Gittins (1989)). Whittle (1980): a proof through a retirement option. Varaiya, Walrand and Buyukkoc (1985): the interchange argument in a general setting. Tsitsiklis (1986): a short proof of the index theorem, including the bound V(S)≤V({i,1})+V(S∖{i})−M for a retirement bandit. Weber (1992): the prevailing-charge proof and the submodularity of the value (Theorem 4).
Setting
There are n bandits j∈{1,…,n}. Bandit j is a Markov chain on a state space S with transition kernel P; at each epoch t=0,1,2,… the gambler plays one bandit j(t), receives the reward r(xj(t)(t)), the played bandit moves one step of its chain and the others stay where they are. Rewards are nonnegative and uniformly bounded, and 0<β<1 is the discount factor. The initial states x(0)=x are fixed. A policy chooses j(t) from the history; its value is Vπ(x)=Eπ[∑t≥0βtr(xj(t)(t))].
For a set of bandits I⊆{1,…,n}, the restricted problemP(I) is the same game played with the bandits of I only, each started in its state in x, and
V(I)=πsupVπover the policies of P(I),V(∅)=0.
The fair chargeγ(y) of a state y is the largest ratio of expected discounted reward to expected discounted time over stopping times τ≥1 of a single bandit started at y (Weber's (4)). On a fixed realisation, where bandit j passes through states ωj(0)=xj,ωj(1),… on its successive plays, the prevailing charge after k plays is γjk=min0≤v≤kγ(ωj(v)), a nonincreasing sequence. Ut(I) is the sum of the first t terms of the interleaving of the sequences (γjk)k≥0, j∈I, into nonincreasing order.
Formalization targets
Goal: Theorem 4, eq. (9)
V(I∩J)+V(I∪J)≤V(I)+V(J)for all I,J⊆{1,…,n}.
This holds for arbitrary bandits (no identical-bandit hypothesis) under the standing assumptions of the paper's Section 1.
Milestones on the path
Eq. (10): for nonincreasing nonnegative sequences and every t≥0, Ut(I∩J)+Ut(I∪J)≤Ut(I)+Ut(J). A deterministic inequality.
The representation used in the last line of the proof:
V(I)=E[t≥0∑βt(Ut+1(I)−Ut(I))],
the expectation over independent realisations of the bandits' state sequences.
Consequences stated in the paper
Identical bandits started in a common state: m↦V of the m-bandit problem is nondecreasing and concave.
Tsitsiklis's bound: if bandit b always pays (1−β)M, then V(S)≤V({i,b})+V(S∖{i})−M for i=b.
Significance
Submodularity of the value is a structural fact about the bandit problem that the index theorem alone does not give: the index theorem identifies an optimal policy for a fixed set of projects, while (9) compares optimal values across sets. It yields diminishing returns from adding projects, the concavity of the value in the number of identical projects, and Tsitsiklis's retirement bound, which separates one project from the rest. Bounds of this kind are used when choosing which projects to make available before allocation begins.
Theorem 1 of the paper, the optimality of the Gittins index policy, is already on Prove2Me as BanditAlgorithm.gittins_index_theorem (Proved, Shuze Chen), together with the discounted Markov bandit model and the Gittins index (GittinsIndex, Shuze Chen) and a finite-horizon form of the prevailing-charge coupling (BanditAlgorithm.gittins_finite_prevailing_charge_eq_stack_coupling_value, Harry_Xu). This mission builds on those items. Theorem 4, inequality (10) and the infinite-horizon representation of V(I) have no machine-checked proof that we know of. The other two missions of this series formalize Weber's Theorem 2 (mission 1, a suboptimality bound by prevailing charges) and Theorem 3 (mission 2, a suboptimality bound by index gaps); this mission does not depend on them.
Difficulty
Inequality (10) concerns sums of largest terms of merged sequences; it fails without nonnegativity when I and J are disjoint, and a proof must use both the monotonicity of each sequence and the sign of the terms. The representation of V(I) requires the fair-game property of prevailing charges in infinite horizon: that the optimal policy of P(I) collects in expectation exactly the discounted charges it pays, and that, on a common probability space of independent bandit trajectories, the charges paid by the optimal policy are the nonincreasing interleaving. The finite-horizon coupling is on the platform; passing to infinite horizon, identifying the interleaving with the play of an index policy, and handling ties and measurability are the remaining work. Finally, (10) is an undiscounted, pathwise statement while (9) compares discounted expectations, so the two must be connected through series of increments of Ut and an exchange of expectation and series.
Formalization scope
The model is the published BanditAlgorithm discounted Markov bandit: one standard Borel state space S, one kernel P and one measurable reward r shared by all bandits; bandits with different dynamics are encoded by a disjoint union of state spaces. r is the mean reward. The value of a policy is the series of per-round expected rewards (markovBanditDiscountedValue), equal to the expectation of the discounted sum for bounded rewards. The fair charge γ is the published gittinsIndex.
Explicit readings of the paper's phrases:
"the restriction of the problem to bandits in I": the ∣I∣-armed game whose arms are the bandits of I in increasing order, started at their states in x (restrictedValue), with V(∅)=0 set explicitly;
"the maximal expected total-discounted reward": the supremum over all history-dependent randomized policies;
"a fixed realisation of the states through which bandit j evolves": a point of the product of independent Markov chain laws Measure.pi (fun j => markovChainMeasure P (x j));
"interleaving into nonincreasing order … summing the first t elements": partialInterleavedSum, the maximum over allocations of t plays of the sum of initial segments, equal to the interleaving sum for nonincreasing sequences, with Ut(∅)=0; the sequences start at k=0 (the printed {γjk}k=1∞ is a misprint);
"multiplying (10) by βt, summing": the discounted charge is ∑tβt(Ut+1−Ut), the increments of Ut;
"rewards are nonnegative and uniformly bounded", 0<β<1: binders of every probabilistic statement, together with StandardBorelSpace S and Measurable r;
"concave increasing": nondecreasing and with nonincreasing increments, including n=0;
"bandit 1 always pays (1−β)M": an absorbing initial state with reward (1−β)M.
Trivializing formalizations are ruled out: V(∅) and Ut(∅) are defined as 0 rather than obtained from a supremum over an empty type, the supremum defining V(I) is over a nonempty family bounded by C/(1−β), Ut is a maximum over a finite nonempty set, and the hypotheses are satisfiable (checked on a one-bandit instance).
A complete development needs: the infinite-horizon prevailing-charge identity for index policies, measurability of the charge stacks (the measurability of gittinsIndex is on the platform), and a combinatorial lemma on merges of nonincreasing sequences. Inequality (10) and the merge lemmas are reusable beyond bandits, for sums of largest elements and weighted rank functions of uniform matroids.
J. C. Gittins, D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani, ed.), North-Holland, 241–266, 1974.
J. C. Gittins, Bandit Processes and Dynamic Allocation Indices, Wiley, 1989.
P. Whittle, Multiarmed bandits and the Gittins index, J. Roy. Statist. Soc. Ser. B 42, 143–149, 1980.
P. Varaiya, J. Walrand, C. Buyukkoc, Extensions of the multiarmed bandit problem: the discounted case, IEEE Trans. Automat. Control 30, 426–439, 1985.
J. N. Tsitsiklis, A lemma on the multiarmed bandit problem, IEEE Trans. Automat. Control 31, 576–577, 1986.
On the Gittins Index for Multiarmed Bandits 1: A Policy Falls Short of the Gittins Policy by at Most Its Expected Discounted Excess of the Greatest Prevailing Charge over Its RewardResearch Paper
Motivation
The multiarmed bandit problem asks how to allocate a single resource, one play per period, among several alternative projects whose states evolve only while they are worked on. It models the scheduling of jobs on one machine, the sequencing of research projects, and the design of sequential clinical trials. Gittins and Jones (1974) showed that the problem with discounted rewards is solved by an index policy: compute for every project a number depending only on that project's current state, and always work on a project of greatest index. Weber's paper (Ann. Appl. Probab. 2 (1992)) gives a short proof of this theorem through fair and prevailing charges, and uses the same accounting to derive bounds on how much any other policy loses.
In practice the optimal policy is often not the one used: indices may be expensive to compute, or a simpler heuristic may be preferred. A bound on the loss of an arbitrary policy, computable along that policy's own trajectory, tells a practitioner how far from optimal the chosen heuristic is. This mission formalizes the first such bound of the paper, Theorem 2, which Weber attributes to Glazebrook (1990).
Timeline. Gittins and Jones (1974) and Gittins (1979) proved optimality of the index policy by an interchange argument. Whittle (1980) gave a proof through a retirement option. Glazebrook (1982) bounded the suboptimality of a policy in terms of Gittins indices only; Glazebrook (1990) gave the sharper bound stated here as Theorem 2. Weber (1992) rederived it from the prevailing-charge accounting and added the index-gap bound (Theorem 3) and the submodularity of the optimal value (Theorem 4).
Setting
There are k bandits. Bandit i has a state xi(t) at each epocht=0,1,2,…. At each epoch the gambler plays one bandit j(t), receives the reward r(xj(t)(t)), and the state of bandit j(t) moves according to a Markov kernel P; the states of all other bandits stay unchanged. Rewards are nonnegative and uniformly bounded, and future rewards are discounted by a factor β with 0<β<1. A policyπ chooses j(t), possibly at random, as a function of everything observed so far. Its value from the initial states x is
Vπ(x)=Eπ[t=0∑∞βtr(xj(t)(t))x(0)=x].(1)
The fair chargeγ(y) of a state y is the per-play charge at which a gambler holding a single bandit in state y, free to stop at any time, would only just break even. Equivalently it is the largest ratio of expected discounted reward to expected discounted time over stopping times τ≥1. Weber's Gittins index is G(y)=γ(y)/(1−β). The prevailing charge of bandit i at time t is the least fair charge seen so far on that bandit, min0≤s≤tγ(xi(s)). A Gittins policyπ∗ plays at each epoch a bandit of greatest index; Theorem 1 of the paper says it is optimal.
Formalization targets
Goal: Theorem 2, inequality (6)
For a Gittins policy π∗, every policy π and every initial state vector x,
Eq. (5), from Remark 1: for every policy, Vπ(x)≤Eπ[∑tβtmin0≤s≤tγj(t)(xj(t)(s))].
The greatest prevailing charge on a fixed realisation (p. 1028): along any fixed realisation of the bandits' state sequences, the greatest prevailing charge at time t under any policy is at least its value under the Gittins policy.
The bound is achieved by the Gittins policy (proof of Theorem 1): Vπ∗(x)=Eπ∗[∑tβtmaximin0≤s≤tγ(xi(s))].
Significance
The result. Inequality (6) bounds the loss of an arbitrary policy by a quantity observed along that policy's own trajectory: at each epoch, how far the reward collected falls below the greatest prevailing charge. A policy that plays a bandit of greatest prevailing charge whenever possible and collects its charge as reward loses nothing, which recovers Theorem 1. The bound is the basis of Glazebrook's analysis of near-optimal heuristics for bandit and stochastic-scheduling problems, and of the index-gap bound (7) of Theorem 3, which is the second mission of this series.
Formalizing it. Theorem 1 of the paper (optimality of the Gittins policy) is already formalized and proved on Prove2Me as BanditAlgorithm.gittins_index_theorem (Shuze Chen, following Lattimore and Szepesvári, Theorem 35.9), together with the finite-horizon prevailing-charge accounting and the charge-stack interleaving lemmas (Harry_Xu). Theorem 2 itself has no machine-checked proof. This mission produces the infinite-horizon forms of the charge accounting, (5) and its equality case for the Gittins policy, and the realisation-wise comparison of greatest prevailing charges, and combines them into (6). Missions 2 (Theorem 3, the index-gap bound) and 3 (Theorem 4, submodularity of the optimal value) of this series state the paper's other results on the same model; none of the three relies on the others.
Difficulty
The paper's proof is one sentence: combine (5) with the realisation-wise observation. The two pieces live on different probability spaces. Inequality (5) and the equality for the Gittins policy are expectations under the law of each policy's own history, while the comparison of greatest prevailing charges is made on a fixed realisation of each bandit's state sequence. Transferring the deterministic comparison into an inequality between expectations under two different policies needs a coupling under which every policy sees the same per-bandit state sequences, so that the prevailing-charge stacks are the same random objects under π and π∗. The naive approach, comparing the two laws round by round, fails: the round-t histories of π and π∗ have different distributions, and no pointwise inequality holds between them. The infinite-horizon statements also require controlling the terminal retirement potential, which vanishes only in the discounted limit.
Formalization scope
The development uses the published BanditAlgorithm model (GittinsIndex, GittinsTerminalPotential, GittinsPrevailingChargeValue, GittinsChargeInterleaving). Conventions committed to:
Weber's n bandits with separate state spaces are one state space S with one kernel P and reward r (take the disjoint union). S is a standard Borel space and r is measurable: regularity the paper leaves implicit.
r is the conditional mean of Weber's random reward Rj(xj(t)); only the mean enters (1), (5) and (6).
The standing assumptions of Section 1, "rewards are nonnegative and uniformly bounded" and 0<β<1, are hypotheses of the goal and of milestones 1 and 3.
Every Eπ[∑tβt(⋅)] is written as ∑tβtEπ[⋅], the convention of the published value Vπ; these agree for bounded rewards.
Time starts at 0. At round t the integrand is evaluated on the history of the first t rounds together with the current state vector x(t), so every min0≤s≤t includes the current state.
γ is the published gittinsIndex (the ratio (4)); G=γ/(1−β) is a new definition weberIndex. The goal uses G and the factor 1−β, as in (6); milestones 1 and 3 use γ, as the paper does.
"π∗ is the optimal (Gittins) policy" is any policy satisfying the published IsGittinsIndexPolicy (with probability one it plays an arm of greatest index, ties arbitrary). The goal does not assume such a policy exists; a one-armed instance shows the hypotheses can be met.
"On a fixed realisation" (milestone 2) is encoded deterministically: arbitrary nonincreasing sequences Hi as the prevailing-charge stacks, any action sequence as a policy, and any greedy interleaving as the Gittins policy.
maxi is a supremum over Fink; at k=0 no policy exists.
Replacing G by γ in (6) would weaken the bound by the factor 1−β, and dropping the boundedness of rewards would let the published value be a junk 0; neither is the paper's statement, and both are ruled out by the conventions above.
Contributions welcome: the infinite-horizon limits of the published finite accounting, a coupling of all policies on independent per-bandit state sequences, and the deterministic comparison of greatest exposed charges, which is reusable for any interleaving argument on nonincreasing sequences.
K. D. Glazebrook, Procedures for the evaluation of strategies for resource allocation in a stochastic environment, Journal of Applied Probability 27(1), 215–220, 1990.
K. D. Glazebrook, On the evaluation of suboptimal strategies for families of alternative bandit processes, Journal of Applied Probability 19(3), 716–722, 1982.
J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
Analysis of Thompson Sampling for the Multi-armed Bandit Problem 1: Logarithmic Regret for Two ArmsResearch Paper
Motivation
Thompson Sampling (TS) is the oldest heuristic for the stochastic multi-armed bandit problem: it was proposed by Thompson in 1933 (Biometrika 25) and is used in practice for online advertising and recommendation, where it often performs as well as or better than upper-confidence-bound methods (Chapelle and Li, NIPS 2011; Scott 2010). Until 2012 its theoretical guarantees for the frequentist regret were weak: earlier analyses gave only o(T) regret in time T (Granmo 2010; May, Korda, Lee and Leslie 2011).
Agrawal and Goyal, Analysis of Thompson Sampling for the Multi-armed Bandit Problem (arXiv:1111.1797v3, COLT 2012), gave the first logarithmic finite-time bound on the expected regret of TS. This mission formalizes their two-armed result, Theorem 1. A companion mission covers the N-armed bound, Theorem 2.
Timeline. Lai and Robbins (1985) proved that every consistent algorithm has regret at least [∑iΔi/D(μi∥μ∗)+o(1)]lnT. Auer, Cesa-Bianchi and Fischer (2002) gave UCB1 with an O(∑ilnT/Δi) finite-time bound. Agrawal and Goyal (2012) proved O(lnT/Δ+1/Δ3) for two-armed TS. Kaufmann, Korda and Munos (ALT 2012) and Agrawal and Goyal (AISTATS 2013) later proved asymptotically optimal bounds for Bernoulli TS.
Setting
There are two arms. Arm i∈{1,2} has a fixed, unknown reward distributionDi supported in [0,1], with mean μi. Plays of an arm give i.i.d. rewards, independent of the other arm. Arm 1 is the unique optimal arm, μ1>μ2, and Δ=μ1−μ2 is the gap.
Thompson Sampling for general stochastic bandits (Algorithm 2 of the paper) keeps, for each arm i, a success count Si and a failure count Fi, both starting at 0. In each round t=1,2,… it
samples, independently for each arm, θi(t)∼Beta(Si+1,Fi+1);
plays i(t)=argmaxiθi(t) and observes a reward r~t∼Di(t);
performs a Bernoulli trial with success probability r~t, with outcome rt∈{0,1};
increments Si(t) if rt=1 and Fi(t) otherwise.
ki(t) is the number of plays of arm i before round t. The expected regret in time T is
E[R(T)]=E[t=1∑T(μ1−μi(t))],
the expectation being over the rewards and the algorithm's randomness.
The analysis uses the Beta cdf Fα,βbeta, the binomial cdf Fn,pB, and the random variable X(j,s,y): the number of independent Beta(s+1,j−s+1) draws made before one exceeds y.
Formalization targets
Goal: Theorem 1 (p. 3)
There is an absolute constant C>0 such that for every two-armed instance with rewards in [0,1] and μ1>μ2, and every T≥2,
E[R(T)]≤C(ΔlnT+Δ31).
The constant is not fixed numerically: the paper states the theorem in O(⋅) form (footnote 1), and the explicit display it reports on p. 8, 40lnT/Δ+48/Δ3+18Δ, is not the formal claim.
Milestones
Fact 1 (p. 12): Fα,βbeta(y)=1−Fα+β−1,yB(α−1) for positive integers α,β.
Lemma 1 (p. 6): E[X(j,s,y)]=1/Fj+1,yB(s)−1.
Lemma 6 (p. 13): Hoeffding-type bounds (10)–(11) on binomial cdfs.
Fact 2 (p. 13): every median of Binomial(n,p) is ⌊np⌋ or ⌈np⌉.
Lemma 2 (p. 7): Pr(E2(t))≥1−2/T2, where E2(t)={θ2(t)≤μ2+Δ/2ork2(t)<24lnT/Δ2}.
Lemma 3 (p. 7): a three-case bound on E[E[min{X(j,s(j),y),T}∣s(j)]] for s(j)∼Binomial(j,μ1).
Eq. (1) (p. 7): E[k2(T)]≤C(lnT/Δ2+1/Δ4).
Significance
The result. Theorem 1 shows that TS, a randomized Bayesian heuristic with no explicit confidence bonus, has regret logarithmic in T on every two-armed instance, matching the order in T of the Lai–Robbins lower bound. The proof introduced a way to control the optimal arm's waiting time between plays through the Beta–Binomial duality, and later analyses of TS reuse that device.
Formalizing it. The result is proved on paper and has no machine-checked proof that we know of. The platform's existing TS results concern Gaussian TS (Lattimore and Szepesvári, Ch. 36) and Bayesian regret, which are different algorithms or regret notions. A formalization adds a reusable Lean model of Algorithm 2 on [0,1]-valued rewards, Beta–Binomial facts (Fact 1, Lemma 1), a binomial-median theorem, and binomial Hoeffding bounds. It also produces a proof with a constant that has been checked, since the printed constants contain an arithmetic slip.
Difficulty
The standard UCB argument does not transfer to TS. For UCB, the optimal arm's index exceeds its mean with high probability however often the arm has been played, because the exploration bonus is deterministic; the analysis then only has to count plays of the suboptimal arm until its own index concentrates, after Θ(lnT/Δ2) plays. Under TS the optimal arm's sample θ1(t) is random and, if the arm has been played rarely or its early rewards were poor, it falls below μ2 with constant probability. The optimal arm may then wait a long, random time between plays, and the length of that wait depends on the arm's posterior, which in turn depends on how long it has waited. Counting plays of the suboptimal arm with a union bound over rounds, under the assumption that the optimal arm is already concentrated, therefore does not work; controlling these waiting times is the central difficulty and is where the 1/Δ3 dependence enters.
Formalization scope
Model. The instance is the platform's StochasticBandit 2 (a probability measure on R per arm, mean banditArmMean), with the hypothesis that each reward law gives mass 1 to [0,1]. Lean arm 0 is the paper's arm 1 and Lean arm 1 the paper's arm 2. Lean rounds are indexed from 0.
Algorithm. Algorithm 2 is realized on one probability space with three independent i.i.d. tables: Beta draws W(i,t,a,b)∼Beta(a+1,b+1), rewards X(i,t)∼Di, and uniforms V(i,t). Round t uses θi(t)=W(i,t,Si(t),Fi(t)), r~t=X(i(t),t) and rt=1{V(i(t),t)<r~t}. Ties in the arg max go to the smaller index (a null event).
Values. Regret and expectations are lower Lebesgue integrals in [0,∞]. X(j,s,y) is N∪{∞}-valued, so Lemma 1 at y=1 reads ∞=∞, as in the paper.
O(·). The paper's O(⋅) (footnote 1: f≤cg for n≥n0) is stated with one universal constant C>0, quantified before the instance, the means and the horizon, for all T≥2. Eq. (1) is stated the same way, without its printed numerals.
Not trivial. The goal is about Algorithm 2 itself, with fresh Beta samples, fresh rewards and the Bernoulli coin. A statement about "any policy satisfying Lemma 2's event bound", or one whose constant depends on Δ, the reward laws or T, would not be Theorem 1.
Edge cases.μ1<1 is assumed only in Lemma 3, where the paper's R and D require it. It is not a hypothesis of the goal.
Infrastructure. A complete proof needs: inverse-transform or order-statistics facts for Beta laws (Fact 1); geometric expectations; Hoeffding's inequality for sums of Bernoulli variables (Mathlib has Hoeffding/Azuma); the binomial median theorem (Jogdeo–Samuels; Kaas–Buhrman); and the coupling from the reward tables to the per-arm i.i.d. output stacks the paper reasons with. Fact 1, Lemma 6 and Fact 2 are reusable beyond this mission. Contributions to any milestone are welcome, and so is a direct proof of the regret bound with an explicit constant.
Selected references
S. Agrawal and N. Goyal, Analysis of Thompson Sampling for the Multi-armed Bandit Problem, COLT 2012; arXiv:1111.1797v3. https://arxiv.org/abs/1111.1797
W. R. Thompson, On the likelihood that one unknown probability exceeds another in view of the evidence of two samples, Biometrika 25 (1933) 285–294. https://doi.org/10.2307/2332286
P. Auer, N. Cesa-Bianchi and P. Fischer, Finite-time analysis of the multiarmed bandit problem, Machine Learning 47 (2002) 235–256. https://doi.org/10.1023/A:1013689704352
K. Jogdeo and S. M. Samuels, Monotone convergence of binomial probabilities and a generalization of Ramanujan's equation, Annals of Mathematical Statistics 39 (1968) 1191–1195. https://doi.org/10.1214/aoms/1177698243
Optimal Best Arm Identification with Fixed Confidence IV: Asymptotic Optimality of the Track-and-Stop StrategyResearch Paper
Motivation
In best arm identification with fixed confidence, a learner samples K unknown distributions (arms) sequentially and must, as early as possible, name the arm with the largest mean, while being wrong with probability at most a prescribed risk δ. The problem models adaptive A/B/n testing, clinical and simulation-based selection among alternatives, and the "ranking and selection" problem of operations research and simulation optimization. The quantity of interest is the sample complexityEμ[τδ], the expected number of samples a strategy takes before stopping.
Timeline of the question this mission formalizes:
Chernoff (1959) introduced sequential tests based on generalized likelihood ratios for adaptive design of experiments, with a finite set of hypotheses (doi:10.1214/aoms/1177706205).
Kaufmann, Cappé and Garivier (2016, JMLR) proved a change-of-measure lower bound on the sample complexity of every δ-PAC strategy (arXiv:1407.4443).
Garivier and Kaufmann (COLT 2016) identified the exact constant T∗(μ) in that lower bound and gave the first strategy, Track-and-Stop, whose sample complexity matches it asymptotically as δ→0 (arXiv:1602.04589). This mission covers the upper-bound half of that paper.
Setting
A canonical one-parameter exponential family is a family of laws νθ, θ∈Θ, on R with density exp(θx−b(θ)) with respect to a reference measure ξ; b is twice differentiable and strictly convex, and νθ has mean b˙(θ). Bernoulli, Poisson and Gaussian laws with known variance are examples. The divergence d(μ,μ′) is the Kullback–Leibler divergence between the members with means μ and μ′.
A bandit model μ=(μ1,…,μK) assigns a member of the family to each arm. The class S consists of models with a unique optimal arm a∗(μ). At each round t=1,2,… the learner picks an arm At as a function of past observations, observes a reward drawn from that arm's law, and at a stopping time τδ recommends an arm. Na(t) is the number of draws of arm a in the first t rounds and μ^a(t) its empirical mean.
With Alt(μ)={λ∈S:a∗(λ)=a∗(μ)} and ΣK the probability simplex, the characteristic time is
T∗(μ)−1=w∈ΣKsupλ∈Alt(μ)infa=1∑Kwad(μa,λa),
and the maximizer w∗(μ) are the optimal proportions of arm draws.
Track-and-Stop combines two ingredients:
a sampling rule that tracks the plug-in proportions w∗(μ^(t)) while forcing each arm to be drawn about t times: C-Tracking tracks the cumulated sum of projections of w∗(μ^(s)) onto ΣKϵs={w∈ΣK:wa≥ϵs}, ϵs=(K2+s)−1/2/2; D-Tracking draws an under-sampled arm when some Na(t)<t−K/2, and otherwise the arm maximizing twa∗(μ^(t))−Na(t);
Chernoff's stopping rule, which stops at the first t at which some arm a beats every other arm b in a generalized likelihood ratio test, Za,b(t)>β(t,δ), here with β(t,δ)=log(r(t)/δ).
Formalization targets
Goal: Theorem 14 (p. 13)
For α∈[1,e/2] and r(t)=O(tα), Chernoff's stopping rule with β(t,δ)=log(r(t)/δ) combined with C-Tracking or D-Tracking satisfies
Lemma 7 (p. 7): C-Tracking ensures Na(t)≥t+K2−2K and maxa∣Na(t)−∑s<twa∗(μ^(s))∣≤K(1+t).
Lemma 8 (p. 7): D-Tracking ensures Na(t)≥(t−K/2)+−1, and proportions within 3(K−1)ϵ of w∗(μ) after a time tϵ that does not depend on the trajectory, once the plug-in targets are within ϵ.
Proposition 9 (p. 8): under either rule, Na(t)/t→wa∗(μ) almost surely.
Lemma 18 (p. 27): an explicit x with c1x≥log(c2xα) for α∈[1,e/2].
Proposition 13 (p. 11): with any sampling rule whose proportions converge almost surely to w∗, τδ<∞ almost surely and limsupδ→0τδ/log(1/δ)≤αT∗(μ) almost surely.
Significance
Theorem 1 of the same paper shows Eμ[τδ]≥T∗(μ)kl(δ,1−δ) for every δ-PAC strategy, and kl(δ,1−δ)∼log(1/δ). Theorem 14 with α=1 therefore shows that the lower bound is attained: T∗(μ) is the exact asymptotic sample complexity of best arm identification in exponential family models, and Track-and-Stop is asymptotically optimal.
The result is proved in the paper. What is not available is a machine-checked proof for exponential families. The platform already holds a Lean development of the Gaussian case following Lattimore and Szepesvári, Bandit Algorithms, Ch. 33, stated for one existentially chosen policy with a different threshold. This mission asks for the universal statement: every run of either tracking rule, for every exponential family, with the paper's thresholds. The tracking lemmas (Lemmas 15, 7, 8) are deterministic combinatorics and reusable by any tracking-based algorithm.
Difficulty
The obvious argument plugs the almost-sure behaviour of Proposition 13 into an expectation. That step fails: almost-sure convergence of τδ/log(1/δ) does not control E[τδ], because on the rare events where the empirical means are far from μ the stopping time may be very large. Theorem 14 needs a quantitative concentration of μ^(t) on events whose complements have summable probability, which in turn relies on the forced exploration guaranteed by the t lower bounds on Na(t) (the concentration step of App. D, Lemmas 19–20).
A second obstacle is the regularity of w∗: the tracking lemmas only transfer convergence of μ^(t) to convergence of Na(t)/t through the continuity of μ↦w∗(μ) on S, proved from the characterization of w∗ in §2.2 (Proposition 6). The GLR statistic also needs its closed form (7) near μ, which requires the empirical means to lie in the interior of the mean space.
Formalization scope
Model. The exponential family is a structure (ξ,Θ,b) with Θ a nonempty open interval, each νθ normalized, b twice continuously differentiable and b¨>0 on Θ. Openness and b¨>0 are added to the paper's "convex, twice differentiable"; strict convexity is what makes νμ unique. Bandit models are parameter vectors θ∈ΘK with K≥2; arms are indexed 0,…,K−1. S is the set of parameter vectors with a unique arm of largest mean b˙(θa).
Protocol. Policies, the trajectory law Pμ, pull counts, empirical means and T∗(μ) are the platform's published definitions (BanditPolicy, BanditTrajectory, TrackAndStop). T∗ uses Kullback–Leibler divergences of the arm laws over the class S and takes values in [0,∞]. Trajectory coordinate t is round t+1. An arm never drawn has empirical mean 0.
Target map.w∗(μ^(t)) is undefined in the paper when μ^(t)∈/S (an unsampled arm, ties, a mean outside b˙(Θ)). Every tracking statement quantifies over every target map with values in ΣK that returns optimal proportions on S, over every choice of L∞ projections, and over every tie-breaking, including randomized ones.
Stopping rule. The two maxima in Za,b(t) are suprema over Θ in the extended reals. Za,b(t)>β is written without subtracting infinities. The stopping time is the first t≥1 at which the test succeeds, +∞ if none. "r(t)=O(tα)" is r(t)≤Dtα for t≥1; r>0 is added so that log(r(t)/δ) is defined.
Values in [0,∞]. Expectations of τδ, the ratios and T∗ live in [0,∞]. No statement converts them to reals, so an infinite expected stopping time is never read as 0.
Corrections, disclosed. Proposition 9's printed Pw is Pμ. Lemma 18 adds c2/c1α>1 and x>0, without which its expressions are undefined.
Ruled out. Specializing to Gaussian arms, or asserting that some sampling policy achieves the bound, would restate existing platform results and is not this theorem: the goal is about every C-Tracking or D-Tracking run in every exponential family.
Welcome contributions. Exponential-family facts (b˙ is the mean, the KL formula, concentration of empirical means); the continuity of w∗ (Proposition 6, App. A.3); Lemma 17 (App. B.2), from which Lemma 8 follows; the closed form (7) of the GLR statistic.
Selected references
A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016, JMLR W&CP 49. arXiv:1602.04589v2
E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, JMLR 17, 2016. arXiv:1407.4443
Optimal Best Arm Identification with Fixed Confidence I: Non-Asymptotic Lower Bound on the Sample ComplexityResearch Paper
Motivation
Best arm identification with fixed confidence is the pure-exploration counterpart of the multi-armed bandit problem. A learner faces K unknown reward distributions ("arms"), samples them sequentially, and must stop and name the arm with the largest mean, being wrong with probability at most a prescribed δ. The question is how many samples this requires. It arises in adaptive A/B testing, in the selection of the best of several simulated systems (ranking and selection in simulation optimization), and in clinical trials that must declare the best treatment with a guaranteed error rate.
Lower bounds for this problem were first stated in terms of the gaps between means (Mannor and Tsitsiklis, 2004). Kaufmann, Cappé and Garivier (2016) replaced ad hoc changes of measure by a single "transportation" lemma relating expected sample counts, Kullback–Leibler divergences and the error probability. Garivier and Kaufmann (COLT 2016, arXiv:1602.04589v2) combine this lemma over all alternative models at once, in the spirit of Graves and Lai (1997), and obtain a lower bound whose constant T∗(μ) is exactly matched, as δ→0, by their Track-and-Stop strategy. This mission formalizes that lower bound (Theorem 1 of the paper, p. 3).
Setting
A canonical one-parameter exponential family is given by a reference measure ξ on R, an open interval Θ⊂R and a function b, twice continuously differentiable on Θ with b¨>0, such that the laws νθ with density exp(θx−b(θ)) with respect to ξ are probability measures for θ∈Θ. The mean of νθ is b˙(θ). Bernoulli laws and Gaussian laws of known variance are examples.
A bandit model is a vector θ=(θ1,…,θK)∈ΘK; arm a returns i.i.d. rewards with law νθa and mean μa=b˙(θa). Arm a∗(μ) is the unique optimal arm if μa∗>μa for every a=a∗. Let S be any set of bandit models of the family each having a unique optimal arm, and put Alt(μ)={λ∈S:a∗(λ)=a∗(μ)}.
A strategy consists of a sampling ruleπ (the arm At drawn at round t depends, possibly with extra randomization, on the first t−1 observations), a stopping timeτ of the natural filtration Ft=σ(A1,X1,…,At,Xt), and an Fτ-measurable decisiona^τ. It is δ-PAC on S if for every μ∈S, Pμ(τ<∞)=1 and Pμ(a^τ=a∗(μ))≤δ. Na(t) is the number of draws of arm a among the first t rounds.
Write d(μa,λa)=KL(νθa,νλa) for the divergence between two arm laws, kl(x,y)=xlogyx+(1−x)log1−y1−x, and ΣK for the probability simplex on the K arms. The characteristic time is defined by eq. (1):
T∗(μ)−1=w∈ΣKsupλ∈Alt(μ)infa=1∑Kwad(μa,λa).
Formalization targets
Goal: Theorem 1 (p. 3)
For δ∈(0,1/2], every δ-PAC strategy on S and every μ∈S,
Eμ[τ]≥T∗(μ)kl(δ,1−δ).
The statement fixes no constant beyond those of the paper, and it holds for every δ, not only in the limit.
Milestone: eq. (2) (p. 4)
For every λ∈S with a∗(λ)=a∗(μ),
a=1∑Kd(μa,λa)Eμ[Na(τ)]≥kl(δ,1−δ).
This is Lemma 1 of Kaufmann et al. (2016), which the paper quotes without proof; Theorem 1 follows from it for every alternative simultaneously.
Significance
Theorem 1 identifies T∗(μ) as the exact problem-dependent complexity of fixed-confidence best arm identification: since kl(δ,1−δ)∼log(1/δ), it gives liminfδ→0Eμ[τδ]/log(1/δ)≥T∗(μ), and the paper's Track-and-Stop strategy attains this rate (the subject of mission IV of this series). The bound also explains which proportions of draws an optimal strategy must use: the maximizer w∗(μ) of eq. (1) (mission II).
Both results are proved in the literature. Neither is formalized in the paper's generality. The platform holds the textbook form of Lattimore and Szepesvári (Theorem 33.5), which is stated for an arbitrary class with the weaker constant log(1/(4δ)); for δ≤1/2, kl(δ,1−δ)≥log(1/(2.4δ))>log(1/(4δ)), so Theorem 1 is strictly stronger. A formal proof here yields the transportation lemma for exponential families on the platform's infinite-horizon bandit model, which later missions (II–IV, and any lower bound by change of measure) can reuse.
Difficulty
The obvious proof applies the finite-horizon divergence decomposition KL(Pμn,Pλn)=∑aEμ[Na(n)]d(μa,λa) at a deterministic horizon n. That fails here: τ is random and unbounded, the decision is Fτ-measurable, and the relevant divergence is between the laws of the stopped observations. The step from a fixed horizon to a stopping time, together with the data-processing inequality that turns the error guarantees under two models into kl(δ,1−δ), is the central difficulty. A second, smaller difficulty is to identify the paper's divergence d and its means b˙(θ) with the measure-theoretic KL divergence and mean of the arm laws of the exponential family.
Formalization scope
Lean namespace OptimalBAI.LowerBound. The bandit protocol is the platform's (BanditAlgorithm.BanditPolicy, banditTrajMeasure, IsBanditStoppingTime, IsSoundBAI, baiComplexity); kl is the platform's bernoulliRelativeEntropy and Na(t) is trajPullCount. Conventions:
arms are Fin K, 0-based (the paper's arm a is index a−1); trajectory coordinate t is round t+1;
Θ is a nonempty open interval and b¨>0 on Θ (added: the paper says b is convex and twice differentiable; strict convexity is what makes "the unique distribution with mean μ" meaningful); the paper's d is written as the KL divergence of the arm laws (its first equality on p. 3), and the unique optimal arm is defined through the parameter means b˙(θa);
S is an arbitrary set of models with a unique optimal arm, not the specific set the paper fixes from p. 4 on;
δ-PAC keeps both halves of the paper's definition (almost-sure stopping and error at most δ);
T∗(μ), divergences and expectations of τ take values in [0,∞], never truncated to reals; T∗=0 when Alt(μ)=∅ and T∗=∞ when the supremum in eq. (1) is 0;
δ≤1/2 is added. The paper states δ∈(0,1), but the theorem and eq. (2) are false for δ∈(1/2,1): with two unit-variance Gaussian arms, drawing arm 1 once and naming arm 1 exactly when the fractional part of the reward is below 1/2 is 0.9-PAC, while T∗(μ)→∞ as the two means merge. At δ=1/2 the bound is 0.
A statement with log(1/(4δ)) in place of kl(δ,1−δ), or restricted to Gaussian arms, is the platform's existing textbook theorem and does not count as this mission's goal; nor does any version that drops the almost-sure stopping clause or truncates E[τ] or T∗ to real numbers.
Needed infrastructure: the transportation lemma at a stopping time (data processing for KL through an Fτ-measurable event, Wald-type identity for the stopped log-likelihood ratio), the identities "mean of νθ=b˙(θ)" and "KL of two family members =b(θ′)−b(θ)−b˙(θ)(θ′−θ)", and E[τ]=∑aE[Na(τ)]. All are reusable beyond this mission. Contributions of any of these lemmas, of eq. (2) alone, or of the Gaussian and Bernoulli special cases as stepping stones are welcome.
Selected references
A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016 (JMLR W&CP 49), arXiv:1602.04589v2. https://arxiv.org/abs/1602.04589
E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, Journal of Machine Learning Research 17(1), 2016. https://arxiv.org/abs/1407.4443
T. L. Graves, T. L. Lai, Asymptotically Efficient Adaptive Choice of Control Laws in Controlled Markov Chains, SIAM Journal on Control and Optimization 35(3), 1997. https://doi.org/10.1137/S0363012994275440
S. Mannor, J. N. Tsitsiklis, The Sample Complexity of Exploration in the Multi-Armed Bandit Problem, Journal of Machine Learning Research 5, 2004. https://www.jmlr.org/papers/v5/mannor04b.html