Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Machine Learning

655 missions · 461 completed

The science of systems that learn from data and experience. Its scope runs from the statistical and mathematical foundations of learning, including generalization, expressivity, and computational limits, through the design of learning algorithms, deep learning, reinforcement learning, and probabilistic methods, to the empirical study of large models and the trustworthiness, interpretability, and societal impact of learned systems.

Missions

Open194Completed461All655
Bandit AlgorithmsProbabilityReinforcement Learning·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 3.2

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Nonparametric Learning Algorithms for Joint Pricing and Inventory Control with Lost Sales and Censored Demand: Nearly square-root regret for SALAResearch Paper

Learning prices and inventory from sales

A retailer choosing both a price and an inventory target faces two coupled decisions. A higher price changes customer demand, while a smaller inventory target hides demand that exceeds available stock. The retailer observes sales, but cannot count customers who leave empty-handed. This makes even the realized lost-sales penalty unavailable as a learning signal. Chen, Chao and Shi study this information constraint using a nonparametric demand model and a spline approximation based learning algorithm, SALA (2021, supplied manuscript, §§1–3).

The formalization target is the paper's cumulative regret guarantee, together with the seven numbered supporting results in its argument. The claims retain the source's explicit constants, continuous decision domains and noise distributions. They are statement targets for proof or disproof; compiling their declarations does not establish their truth.

The market and its observations

The demand-price function is a nonincreasing function λ:R→R\lambda:\mathbb R\to\mathbb Rλ:R→R. At price ptp_tpt​, demand in period ttt is Dt(pt)=λ(pt)+ϵtD_t(p_t)=\lambda(p_t)+\epsilon_tDt​(pt​)=λ(pt​)+ϵt​. The errors are independent with a common real-valued distribution, zero mean and finite standard deviation σ\sigmaσ. Its differentiable cumulative distribution function is FFF, with density fff. Demand and errors are not truncated to nonnegative values.

The price interval is P=[pl,ph]P=[p^l,p^h]P=[pl,ph], where pl<php^l<p^hpl<ph. Holding and lost-sales costs are h>0h>0h>0 and b≥0b\ge0b≥0, with b+p>0b+p>0b+p>0 on PPP. Starting inventory is x1=0x_1=0x1​=0. After an order-up-to decision yty_tyt​, the retailer observes only min⁡(Dt(pt),yt)\min(D_t(p_t),y_t)min(Dt​(pt​),yt​), and inventory carried into the next period is (yt−Dt(pt))+(y_t-D_t(p_t))^+(yt​−Dt​(pt​))+. Replenishment is instantaneous and there is no purchasing or fixed ordering cost. Here u+=max⁡(u,0)u^+=\max(u,0)u+=max(u,0).

The expected period profit is

Q(p,y)=pλ(p)−(b+p)E[(λ(p)+ϵ−y)+]−hE[(y−λ(p)−ϵ)+].Q(p,y)=p\lambda(p)-(b+p)\mathbb E[(\lambda(p)+\epsilon-y)^+]-h\mathbb E[(y-\lambda(p)-\epsilon)^+].Q(p,y)=pλ(p)−(b+p)E[(λ(p)+ϵ−y)+]−hE[(y−λ(p)−ϵ)+].

Inventory optimization ranges over all real target levels. The lower generalized inverse gives z∗(p)=F−1((b+p)/(b+p+h))z^*(p)=F^{-1}((b+p)/(b+p+h))z∗(p)=F−1((b+p)/(b+p+h)), and the optimized profit is G(p)=Q(p,λ(p)+z∗(p))G(p)=Q(p,\lambda(p)+z^*(p))G(p)=Q(p,λ(p)+z∗(p)). Its maximizing price p∗p^*p∗ is interior to PPP; write y∗=λ(p∗)+z∗(p∗)y^*=\lambda(p^*)+z^*(p^*)y∗=λ(p∗)+z∗(p∗). The benchmark is TQ(p∗,y∗)TQ(p^*,y^*)TQ(p∗,y∗), with continuous price optimization rather than optimization on the algorithm's grid (§2, pp. 6–9).

Assumption 1 requires positive constants A,M,θ1,θ2,θ3,κ,r,aA,M,\theta_1,\theta_2,\theta_3,\kappa,r,aA,M,θ1​,θ2​,θ3​,κ,r,a. Demand derivatives through order max⁡{3,⌈log⁡T⌉}\max\{3,\lceil\sqrt{\log T}\rceil\}max{3,⌈logT​⌉} exist and are bounded by MMM on [pl−A,ph+A][p^l-A,p^h+A][pl−A,ph+A], including the zeroth derivative. The density obeys f(x)≤θ1e−θ2xf(x)\le\theta_1e^{-\theta_2x}f(x)≤θ1​e−θ2​x for x≥θ3x\ge\theta_3x≥θ3​ and is at least rrr within κ\kappaκ of each relevant quantile. Finally G′′≤−aG''\le-aG′′≤−a on PPP. The right-tail condition is preserved literally; it is not replaced by a two-sided moment-generating-function bound.

Formalization targets

SALA uses

m=max⁡{3,⌈log⁡T⌉},L=⌈T1/2+1/(log⁡T)1/3⌉,l=⌈(log⁡T)3/2T1/(4log⁡T)⌉.m=\max\{3,\lceil\sqrt{\log T}\rceil\},\quad L=\lceil T^{1/2+1/(\log T)^{1/3}}\rceil,\quad l=\lceil(\log T)^{3/2}T^{1/(4\sqrt{\log T})}\rceil.m=max{3,⌈logT​⌉},L=⌈T1/2+1/(logT)1/3⌉,l=⌈(logT)3/2T1/(4logT​)⌉.

It explores N=L(m+l)mN=L(m+l)mN=L(m+l)m periods with inventory target B=⌈log⁡Llog⁡log⁡L⌉B=\lceil\log L\log\log L\rceilB=⌈logLloglogL⌉. The exploration prices are the nodes of Algorithm 0's explicit divided-difference spline. Block sales averages determine λ^\widehat\lambdaλ; sales centered by their own block averages determine the residuals ηt\eta_tηt​. Maximizing the resulting sample-average profit over a price grid of spacing T−1/4T^{-1/4}T−1/4 and real inventory targets gives (p^,y^)(\widehat p,\widehat y)(p​,y​). Exploitation implements price p^\widehat pp​ and inventory max⁡(xt,y^)\max(x_t,\widehat y)max(xt​,y​) (Algorithm 1, pp. 12–13).

The goal is Theorem 2:

RSALA(T)=TQ(p∗,y∗)−E∑t=1TQ(pt,yt)≤(b+ph+h)T1/2+ε(T)(log⁡T)3log⁡log⁡T,R^{\mathrm{SALA}}(T)=TQ(p^*,y^*)-\mathbb E\sum_{t=1}^TQ(p_t,y_t) \le(b+p^h+h)T^{1/2+\varepsilon(T)}(\log T)^3\log\log T,RSALA(T)=TQ(p∗,y∗)−Et=1∑T​Q(pt​,yt​)≤(b+ph+h)T1/2+ε(T)(logT)3loglogT,

where ε(T)=(log⁡T)−1/3+1/(4log⁡T)→0\varepsilon(T)=(\log T)^{-1/3}+1/(4\sqrt{\log T})\to0ε(T)=(logT)−1/3+1/(4logT​)→0. A threshold depends on the fixed model primitives and is chosen before the horizon. At each later horizon the required derivative orders remain exactly those of Assumption 1(ii) (Theorem 2 and Remark 1, pp. 14–15).

The supporting targets are Lemma 1's concentration bound for independent centered variables with finite MGFs near zero; Propositions 1–2's simultaneous bounds on the entire price interval for λ^\widehat\lambdaλ and its derivative; Propositions 3–4's pointwise stock and expected-lost-sales bounds; Theorem 1's Euclidean convergence bound; and Proposition 5's expected carryover cost bound. The four estimation constants are respectively M+σM+\sigmaM+σ, M+σ/(ph−pl)M+\sigma/(p^h-p^l)M+σ/(ph−pl), 1/r+σ1/r+\sigma1/r+σ, and 1/r+σ1/r+\sigma1/r+σ. Theorem 1 retains the product constant in Remark 1 and the PDF's failure probability 14T−4/314T^{-4/3}14T−4/3. Proposition 5 retains 2max⁡(h,b+ph)Tlog⁡Tlog⁡log⁡T2\max(h,b+p^h)\sqrt T\log T\log\log T2max(h,b+ph)T​logTloglogT.

What the result would establish

The regret claim bounds the cumulative loss relative to the fixed clairvoyant benchmark using only observable sales. Its rate is sublinear, so the corresponding per-period loss vanishes. The result concerns the actual inventory path, including periods when an inventory target cannot be reached immediately.

The formal development supplies concrete objects for auditing how statistical estimation, continuous optimization and inventory dynamics interact. It also distinguishes claims printed in the source from properties established by a checked proof. The source statements are retained even where the accompanying argument has a documented gap.

Difficulties and source findings

Censoring biases both the fitted demand function and the residual distribution. Residuals within one block share an empirical mean and cannot be treated as independent copies of the original noise. The sampled price objective need not be unimodal, and inventory carryover creates an additional cost after a price and target have been selected (§§1.1 and 4).

There are also literal source issues. The displayed stock selector on page 16 compares an unnormalized empirical count with a probability level, whereas Algorithm 1 optimizes an averaged loss. The two objects are separate definitions here. The non-identical-sequence version of Lemma 1 admits a rare-jump counterexample. Further findings concern the passage from finitely many derivative estimates to a uniform estimate, and the inference of two-sided MGF finiteness from a right-tail density bound. These findings do not authorize stronger hypotheses or altered theorem constants.

Formalization scope

The development uses real prices, inventories and noise, finite sums for observations, measure-theoretic expectations and actual iterated derivatives. Published inventory primitives supply sales and leftover inventory, and published newsvendor definitions supply real-valued population and sample quantiles. The spline's knots, derivative coefficients and basis functions are explicit. No accuracy estimate, favorable-event probability or regret bound appears in the model assumptions.

The upper grid endpoint is included even when the interval length is not a multiple of the mesh. Ties use the least maximizing price and least inventory optimizer. Periods are zero-based internally; the first exploitation index is NNN. Theorems specify the deterministic domain in which exploration fits inside the horizon and all knots lie in the smoothness neighborhood. The final theorem asserts that this domain holds eventually. The printed algorithm is retained on negative-demand paths, including its fixed exploration target; no additional feasibility event removes such paths.

The source calls the goal “average regret,” but equation (3) and its proof use cumulative regret. The formal target follows that equation. Definitions contain no proof placeholders; the eight theorem declarations remain open statements. Contributions may establish or refute these exact claims and develop the supporting probability, spline and optimization theory.

Selected references

  • Boxiao Chen, Xiuli Chao and Cong Shi, Nonparametric Learning Algorithms for Joint Pricing and Inventory Control with Lost Sales and Censored Demand, Mathematics of Operations Research (2021), doi:10.1287/moor.2020.1084. Citations use the supplied 44-page artifact with SSRN footers; printed and PDF page numbers coincide. No final journal pagination is inferred.
15 thms4 active usersReviewed
Bandit AlgorithmsInformation TheoryOperations Research·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Theorem 2 (p. 21)

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

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Theorem 1 and Corollary 1

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

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

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

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

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

Selected references

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

Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model 2: The Conservative Model-Based Policy Is ε-Optimal w.p. 1−δ at the Sample Size of Theorem 1Research Paper

Motivation

Reinforcement learning with a generative model (a simulator that returns an independent next state for any queried state–action pair) is the standard setting for measuring how many samples are needed to plan in an unknown Markov decision process. The simplest algorithm is model-based planning: query each pair NNN times, build the empirical transition kernel, and plan in the resulting empirical MDP. Azar, Munos and Kappen (2013) showed that O~(∣S∣∣A∣(1−γ)3ε2)\widetilde O\big(\frac{|\mathcal S||\mathcal A|}{(1-\gamma)^3\varepsilon^2}\big)O((1−γ)3ε2∣S∣∣A∣​) total samples suffice and are necessary, but only for ε≤1/(1−γ)∣S∣\varepsilon \le 1/\sqrt{(1-\gamma)|\mathcal S|}ε≤1/(1−γ)∣S∣​. Agarwal, Kakade and Yang (2020) extended the range to ε≤1/1−γ\varepsilon \le 1/\sqrt{1-\gamma}ε≤1/1−γ​. A sample size barrier remained: for larger ε\varepsilonε, no algorithm was known to be minimax optimal with fewer than ∣S∣∣A∣(1−γ)2\frac{|\mathcal S||\mathcal A|}{(1-\gamma)^2}(1−γ)2∣S∣∣A∣​ samples.

Li, Wei, Chi and Chen (arXiv:2005.12900v8, Operations Research, 2024) remove the barrier: the sample size is minimax optimal over the full range 0<ε≤1/(1−γ)0 < \varepsilon \le 1/(1-\gamma)0<ε≤1/(1−γ). They give two planners. The first (Theorem 1) perturbs the rewards slightly at random. The second, the subject of this mission, leaves the rewards unchanged and instead chooses among near-optimal actions by a randomized but structured rule.

Timeline:

  • 2013: Azar–Munos–Kappen, minimax sample complexity of model-based planning for ε≤1/(1−γ)∣S∣\varepsilon \le 1/\sqrt{(1-\gamma)|\mathcal S|}ε≤1/(1−γ)∣S∣​.
  • 2018: Sidford, Wang, Wu, Yang and Ye, a model-free variance-reduced method, minimax for ε≤1\varepsilon \le 1ε≤1.
  • 2020: Agarwal–Kakade–Yang, model-based planning minimax for ε≤1/1−γ\varepsilon \le 1/\sqrt{1-\gamma}ε≤1/1−γ​, via absorbing MDPs.
  • 2020 (v1) – 2024: Li–Wei–Chi–Chen, the full range ε≤1/(1−γ)\varepsilon \le 1/(1-\gamma)ε≤1/(1−γ) (this paper).

Setting

A finite discounted MDP M=(S,A,P,r,γ)\mathcal M = (\mathcal S,\mathcal A,P,r,\gamma)M=(S,A,P,r,γ) has states S\mathcal SS, actions A={1,…,∣A∣}\mathcal A = \{1,\dots,|\mathcal A|\}A={1,…,∣A∣}, a transition kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), rewards r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1] and a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1). A deterministic policy π:S→A\pi:\mathcal S\to\mathcal Aπ:S→A has value Vπ(s)V^\pi(s)Vπ(s), the expected discounted sum of rewards from sss, and Q-function Qπ(s,a)=r(s,a)+γ∑s′P(s′∣s,a)Vπ(s′)Q^\pi(s,a) = r(s,a) + \gamma\sum_{s'}P(s'\mid s,a)V^\pi(s')Qπ(s,a)=r(s,a)+γ∑s′​P(s′∣s,a)Vπ(s′). The optimal value is V⋆(s)=max⁡πVπ(s)V^\star(s) = \max_\pi V^\pi(s)V⋆(s)=maxπ​Vπ(s) and Q⋆=r+γPV⋆Q^\star = r + \gamma P V^\starQ⋆=r+γPV⋆.

The data are NNN independent next states ss,ai∼P(⋅∣s,a)s^i_{s,a}\sim P(\cdot\mid s,a)ss,ai​∼P(⋅∣s,a) for every pair, and the empirical kernel is P^(s′∣s,a)=1N∑i1{ss,ai=s′}\widehat P(s'\mid s,a) = \frac1N\sum_i \mathbb 1\{s^i_{s,a} = s'\}P(s′∣s,a)=N1​∑i​1{ss,ai​=s′}. The empirical MDP M^=(S,A,P^,r,γ)\widehat{\mathcal M} = (\mathcal S,\mathcal A,\widehat P,r,\gamma)M=(S,A,P,r,γ) has optimal functions Q^⋆\widehat Q^\starQ​⋆ and V^⋆\widehat V^\starV⋆.

The conservative planner (Algorithm 2) draws a threshold ς∼Unif(0,ξ)\varsigma\sim\mathrm{Unif}(0,\xi)ς∼Unif(0,ξ) independently of the data and plays

π^c(s):=min⁡{a∈A:Q^⋆(s,a)>V^⋆(s)−ς},\widehat\pi_{\mathrm c}(s) := \min\{a\in\mathcal A : \widehat Q^\star(s,a) > \widehat V^\star(s) - \varsigma\},πc​(s):=min{a∈A:Q​⋆(s,a)>V⋆(s)−ς},

the smallest-indexed action whose empirical Q-value is within ς\varsigmaς of optimal.

Formalization targets

Goal: Theorem 2

There are universal constants c0,c1>0c_0, c_1 > 0c0​,c1​>0 such that, for every MDP as above, every δ>0\delta > 0δ>0 and 0<ε≤11−γ0 < \varepsilon \le \frac1{1-\gamma}0<ε≤1−γ1​, with ξ=c1(1−γ)ε∣S∣5∣A∣5\xi = \frac{c_1(1-\gamma)\varepsilon}{|\mathcal S|^5|\mathcal A|^5}ξ=∣S∣5∣A∣5c1​(1−γ)ε​ and

N≥c0log⁡(∣S∣∣A∣(1−γ)εδ)(1−γ)3ε2,N \ge \frac{c_0\log\big(\frac{|\mathcal S||\mathcal A|}{(1-\gamma)\varepsilon\delta}\big)}{(1-\gamma)^3\varepsilon^2},N≥(1−γ)3ε2c0​log((1−γ)εδ∣S∣∣A∣​)​,

with probability at least 1−δ1-\delta1−δ over the data and ς\varsigmaς,

∀(s,a):Vπ^c(s)≥V⋆(s)−εandQπ^c(s,a)≥Q⋆(s,a)−γε.\forall (s,a):\qquad V^{\widehat\pi_{\mathrm c}}(s)\ge V^\star(s)-\varepsilon \quad\text{and}\quad Q^{\widehat\pi_{\mathrm c}}(s,a)\ge Q^\star(s,a)-\gamma\varepsilon.∀(s,a):Vπc​(s)≥V⋆(s)−εandQπc​(s,a)≥Q⋆(s,a)−γε.

The constants are left unspecified, as in the paper.

Milestones

The paper's own steps, in the order of §6.4:

  1. Lemma 7: V^π⋆−V^π^c≤ξ1−γ1\widehat V^{\pi^\star} - \widehat V^{\widehat\pi_{\mathrm c}} \le \frac{\xi}{1-\gamma}\mathbf 1Vπ⋆−Vπc​≤1−γξ​1.
  2. Lemma 3 and (88): the (s,a)(s,a)(s,a)-absorbing MDPs reproduce Q⋆Q^\starQ⋆ at the right reward and depend Lipschitz-continuously on it.
  3. (56): a point of a finite net gives an absorbing MDP within ω\omegaω of Q^⋆\widehat Q^\starQ​⋆.
  4. Lemma 8: with probability 1−δ1-\delta1−δ over ς\varsigmaς, the near-optimal action sets are unchanged by any perturbation of size ξδ8∣S∣∣A∣\frac{\xi\delta}{8|\mathcal S||\mathcal A|}8∣S∣∣A∣ξδ​.
  5. (57): consequently π^c\widehat\pi_{\mathrm c}πc​ coincides with the conservative policy of every nearby absorbing MDP.
  6. Lemmas 2 and 1: the policy-evaluation bounds used for the remaining terms of (53).

Significance

Theorem 2 shows that the minimax sample size O~(∣S∣∣A∣(1−γ)3ε2)\widetilde O\big(\frac{|\mathcal S||\mathcal A|}{(1-\gamma)^3\varepsilon^2}\big)O((1−γ)3ε2∣S∣∣A∣​) is reachable over the whole range of ε\varepsilonε without altering the reward function: a planner can keep the model it estimated and only change how it breaks near-ties. The guarantee covers both value and Q-function suboptimality, and with a sample size proportional to 1/(1−γ)1/(1-\gamma)1/(1−γ) rather than 1/(1−γ)21/(1-\gamma)^21/(1−γ)2 in the large-ε\varepsilonε regime it allows a coarse but correct policy to be computed from very few samples.

None of these results is formalized. The mission produces a machine-checked account of the decoupling argument for data-dependent policies (absorbing MDPs, nets, stability of the tie-breaking rule), which the companion missions on Theorems 1 and 3 share. The paper omits the last step of the proof of Theorem 2 ("follows from an identical argument as in the proof of Theorem 1"); a formal proof has to supply it, including the analogue of Lemma 5 for π^c\widehat\pi_{\mathrm c}πc​, which the paper does not state.

Difficulty

The policy π^c\widehat\pi_{\mathrm c}πc​ depends on all the data, so the standard concentration argument for a fixed policy (Lemma 1) does not apply to V^π^c−Vπ^c\widehat V^{\widehat\pi_{\mathrm c}} - V^{\widehat\pi_{\mathrm c}}Vπc​−Vπc​. A union bound over all ∣A∣∣S∣|\mathcal A|^{|\mathcal S|}∣A∣∣S∣ deterministic policies costs a factor ∣S∣|\mathcal S|∣S∣ in the sample size, which is exactly the barrier. The leave-one-out construction removes the samples of one pair (s,a)(s,a)(s,a) from the policy; it works only if the policy is stable under the small change of Q^⋆\widehat Q^\starQ​⋆ that this causes. The greedy policy is not stable when two actions nearly tie. The conservative rule is stable with high probability over ς\varsigmaς (Lemma 8), but only because it takes the smallest near-optimal action: the set {a:Q^⋆(s,a)>V^⋆(s)−ς}\{a : \widehat Q^\star(s,a) > \widehat V^\star(s)-\varsigma\}{a:Q​⋆(s,a)>V⋆(s)−ς} is stable, and a rule that picked an arbitrary member of it would not be.

Formalization scope

All declarations live in the namespace BreakingSample.Conservative. The MDP layer reuses the platform's FoundationsML.ReinforcementLearning definitions (IsTransitionKernel, PolicyValue, QFunction); deterministic policies enter as point-mass stochastic policies, and V⋆V^\starV⋆ is the maximum over the finite set of maps S→A\mathcal S\to\mathcal AS→A. Norms are sup norms on finite function types. The order on A\mathcal AA is an arbitrary linear order on a finite type.

Probability: a data set is a map S×A×Fin N→S\mathcal S\times\mathcal A\times\mathrm{Fin}\,N\to\mathcal SS×A×FinN→S with the product law, so probabilities of data events are finite sums. The threshold ς\varsigmaς has the uniform law on [0,ξ][0,\xi][0,ξ]; joint probabilities are ∑xP(x) Unif(0,ξ){ς:(x,ς)∈E}\sum_x \mathbb P(x)\,\mathrm{Unif}(0,\xi)\{\varsigma : (x,\varsigma)\in E\}∑x​P(x)Unif(0,ξ){ς:(x,ς)∈E}, with the outer measure for non-measurable sections. "With probability at least 1−δ1-\delta1−δ" is stated as an upper bound δ\deltaδ on the probability of the failure event. Because the policy defined by (10) is a predicate on policies, the conclusion is stated for every policy satisfying (10). The universal constants are quantified before all types and parameters. The goal adds N>0N>0N>0, the standing assumption of (3); "the same assumptions of Theorem 1" is formalized with the goal's own constants c0,c1c_0, c_1c0​,c1​.

A trivializing formalization is ruled out: π^c\widehat\pi_{\mathrm c}πc​ is the smallest-index rule of (10), not an arbitrary policy within ς\varsigmaς of optimal, and ς\varsigmaς is random, not fixed.

Infrastructure that a complete development needs and that is reusable: Bellman optimality for finite MDPs with deterministic policies and real rewards, the resolvent identities, Bernstein's inequality for the empirical kernel, the absorbing-MDP construction, and the analogue of Lemma 5 for the conservative policy. Proofs of any milestone, and of the policy-evaluation lemmas, are welcome.

Selected references

  • G. Li, Y. Wei, Y. Chi, Y. Chen, Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model, Operations Research, 2024; arXiv:2005.12900v8. https://arxiv.org/abs/2005.12900
  • M. G. Azar, R. Munos, H. J. Kappen, Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model, Machine Learning 91, 2013. https://doi.org/10.1007/s10994-013-5368-1
  • A. Agarwal, S. Kakade, L. F. Yang, Model-Based Reinforcement Learning with a Generative Model is Minimax Optimal, COLT 2020. https://arxiv.org/abs/1906.03804
  • A. Sidford, M. Wang, X. Wu, L. F. Yang, Y. Ye, Near-Optimal Time and Sample Complexities for Solving Markov Decision Processes with a Generative Model, NeurIPS 2018. https://arxiv.org/abs/1806.01492
19 thms4 active usersReviewed
ProbabilityReinforcement LearningStatistics·Captain: mikedeng1

Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds II: Along Any h, the Empirical Transition Vector Is within 2√(log(n/ρ)Σγᵢcᵢ²/n) + 3D log(2/ρ)/n of the TruthResearch Paper

Motivation

Model-based reinforcement learning algorithms for Markov decision processes estimate each transition distribution Ps,aP_{s,a}Ps,a​ from the transitions they have observed out of the state–action pair (s,a)(s,a)(s,a). Their regret analyses then need to know how far the empirical distribution p^\hat pp^​ can be from the true one ppp. The standard tool is an ℓ1\ell_1ℓ1​ bound on p^−p\hat p-pp^​−p, as in UCRL2 (Jaksch, Ortner and Auer, 2010), which costs a factor of order S\sqrt SS​ in the number of states SSS. What the analysis actually uses, however, is the deviation along one direction: the projection (p^−p)Th(\hat p-p)^Th(p^​−p)Th onto a bias (or value) vector hhh whose entries differ by at most the MDP's diameter DDD.

S. Agrawal and R. Jia (arXiv:1705.07041v3, published in Mathematics of Operations Research, 2023, as Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds) prove a worst-case regret bound of order O~(DSAT)\tilde O(D\sqrt{SAT})O~(DSAT​) for an optimistic variant of posterior sampling. One ingredient of that analysis is their Proposition 5.2: a Bernstein-type bound on (p^−p)Th(\hat p-p)^Th(p^​−p)Th whose leading term is governed by a variance of hhh under ppp, written in stick-breaking form. This mission formalizes that proposition and the steps of its proof.

Setting

Fix a number of states SSS and order them 1,…,S1,\dots,S1,…,S. A probability vector p∈ΔSp\in\Delta^Sp∈ΔS has pi≥0p_i\ge0pi​≥0 and ∑ipi=1\sum_ip_i=1∑i​pi​=1. A multinoulli trial with parameter ppp is a random state XXX with P(X=i)=pi\mathbb P(X=i)=p_iP(X=i)=pi​. Draw nnn independent trials X1,…,XnX_1,\dots,X_nX1​,…,Xn​ and let

p^i=#{t:Xt=i}n\hat p_i=\frac{\#\{t: X_t=i\}}{n}p^​i​=n#{t:Xt​=i}​

be the empirical probability vector, the average of the one-hot outcomes. For ppp and a vector h∈RSh\in\mathbb R^Sh∈RS define the stick-breaking quantities

γi=pi(pi+1+⋯+pS)pi+⋯+pS,Hi+1=1∑j=i+1Spj∑j=i+1Shjpj,ci=hi−Hi+1.\gamma_i=\frac{p_i(p_{i+1}+\cdots+p_S)}{p_i+\cdots+p_S},\qquad H_{i+1}=\frac{1}{\sum_{j=i+1}^Sp_j}\sum_{j=i+1}^Sh_jp_j,\qquad c_i=h_i-H_{i+1}.γi​=pi​+⋯+pS​pi​(pi+1​+⋯+pS​)​,Hi+1​=∑j=i+1S​pj​1​j=i+1∑S​hj​pj​,ci​=hi​−Hi+1​.

Thus Hi+1H_{i+1}Hi+1​ is the mean of hhh under ppp conditioned on the states after iii, and cic_ici​ compares hih_ihi​ with it. The sum ∑i<Sγici2\sum_{i<S}\gamma_ic_i^2∑i<S​γi​ci2​ equals the variance of h(X)h(X)h(X) for X∼pX\sim pX∼p. In Lean these objects are gammaCoef p i, Hnext p h i, cCoef p h i, phat ω i, the law of one trial is cat p and the law of nnn trials is trialsLaw n p, all in the namespace OptimisticPSRL.Concentration.

Formalization targets

Goal: Proposition 5.2 (p. 9)

Let h∈RSh\in\mathbb R^Sh∈RS satisfy ∣hi−hi′∣≤D|h_i-h_{i'}|\le D∣hi​−hi′​∣≤D for all i,i′i,i'i,i′, let n≥96n\ge96n≥96 and ρ∈(0,1)\rho\in(0,1)ρ∈(0,1). Then, with probability at least 1−ρ1-\rho1−ρ,

∣(p^−p)Th∣≤2log⁡(n/ρ)∑i<Sγici2n+3D log⁡(2/ρ)n.\big|(\hat p-p)^Th\big|\le2\sqrt{\log(n/\rho)\sum_{i<S}\frac{\gamma_ic_i^2}{n}}+3D\,\frac{\log(2/\rho)}{n}.​(p^​−p)Th​≤2log(n/ρ)i<S∑​nγi​ci2​​​+3Dnlog(2/ρ)​.

Milestones

  1. Fact 1 (p. 17), a deterministic identity: for probability vectors p~,pˉ\tilde p,\bar pp~​,pˉ​ with stick-breaking ratios y~i=p~i/(p~i+⋯+p~S)\tilde y_i=\tilde p_i/(\tilde p_i+\cdots+\tilde p_S)y~​i​=p~​i​/(p~​i​+⋯+p~​S​) and yˉi\bar y_iyˉ​i​,
(p~−pˉ)Th=∑i(y~i−yˉi)(hi−H~i+1)(pˉi+⋯+pˉS)=∑i(y~i−yˉi)(hi−Hˉi+1)(p~i+⋯+p~S).(\tilde p-\bar p)^Th=\sum_i(\tilde y_i-\bar y_i)(h_i-\tilde H_{i+1})(\bar p_i+\cdots+\bar p_S)=\sum_i(\tilde y_i-\bar y_i)(h_i-\bar H_{i+1})(\tilde p_i+\cdots+\tilde p_S).(p~​−pˉ​)Th=i∑​(y~​i​−yˉ​i​)(hi​−H~i+1​)(pˉ​i​+⋯+pˉ​S​)=i∑​(y~​i​−yˉ​i​)(hi​−Hˉi+1​)(p~​i​+⋯+p~​S​).
  1. The projection as a sum of martingale differences (proof, p. 21): with Zt,i=ci1(Xt=i)−cipipi+⋯+pS1(Xt≥i)Z_{t,i}=c_i\mathbb 1(X_t=i)-c_i\frac{p_i}{p_i+\cdots+p_S}\mathbb 1(X_t\ge i)Zt,i​=ci​1(Xt​=i)−ci​pi​+⋯+pS​pi​​1(Xt​≥i) and Zt=∑iZt,iZ_t=\sum_iZ_{t,i}Zt​=∑i​Zt,i​,
1n∑t=1nZt=(p^−p)Th,\frac1n\sum_{t=1}^nZ_t=(\hat p-p)^Th,n1​t=1∑n​Zt​=(p^​−p)Th,

together with the two intermediate expressions of the page. 3. Uncorrelated coordinates (proof, p. 21): E[Zt,iZt,j]=0\mathbb E[Z_{t,i}Z_{t,j}]=0E[Zt,i​Zt,j​]=0 for i≠ji\ne ji=j. 4. The predictable variance (proof, p. 21): ∑t=1nE[Zt2]=∑ici2 n γi\sum_{t=1}^n\mathbb E[Z_t^2]=\sum_ic_i^2\,n\,\gamma_i∑t=1n​E[Zt2​]=∑i​ci2​nγi​. 5. Corollary B.1 (p. 26), Bernstein's inequality for bounded martingale differences with random predictable variance VnV_nVn​: for n≥96n\ge96n≥96, δ∈(0,1)\delta\in(0,1)δ∈(0,1), with probability greater than 1−δ1-\delta1−δ,

∣Mn∣≤2Vnln⁡(n/δ)+3Kln⁡(n/δ).|M_n|\le2\sqrt{V_n\ln(n/\delta)}+3K\ln(n/\delta).∣Mn​∣≤2Vn​ln(n/δ)​+3Kln(n/δ).

Significance

The result. Proposition 5.2 is the concentration half of the optimism step of the paper (Lemma 5.3): combined with an anti-concentration bound for Dirichlet samples along the same direction (Proposition 5.1), it shows that some posterior sample is optimistic along hhh with constant probability. Because the bound is stated along a single direction and is weighted by the variance of hhh rather than by DDD alone, it avoids the S\sqrt SS​ loss that an ℓ1\ell_1ℓ1​ bound would incur, which is part of how the paper's regret bound improves on UCRL2's O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​). The stick-breaking form of the variance is what lets the same quantity appear on both sides of the optimism argument, in the Dirichlet bound and in the empirical bound.

Formalizing it. The proposition and its proof steps are proved on paper; none of them has a machine-checked proof. The regret theorem of the paper (Theorem 1) is not posed: its constants are hidden in O(⋅)O(\cdot)O(⋅) and its algorithm's parameters are given as Θ(⋅)\Theta(\cdot)Θ(⋅). Proposition 5.2, by contrast, is fully explicit. Corollary B.1 is a reusable martingale inequality with explicit constants. The predictable-variance identity and Fact 1 are exact identities about stick-breaking coordinates that recur in analyses of Dirichlet and categorical models.

Difficulty

Two steps resist the obvious approach. First, the statement carries the variance in stick-breaking form, not as Varp(h)\mathrm{Var}_p(h)Varp​(h); linking the two needs the decomposition of Fact 1 and the identity for the predictable variance, which are exact algebraic identities whose bookkeeping of tails and empty tails is error-prone. Second, the paper's own route goes through Corollary B.1, a martingale Bernstein inequality with a random variance, which rests on a peeling argument over a grid of variance levels (Seldin et al., 2012); Mathlib has neither this inequality nor a Bernstein inequality with explicit constants for bounded variables.

A known subtlety: the paper's proof, through Corollary B.1, yields the second term 3Dlog⁡(n/ρ)/n3D\log(n/\rho)/n3Dlog(n/ρ)/n, while the statement prints the smaller 3Dlog⁡(2/ρ)/n3D\log(2/\rho)/n3Dlog(2/ρ)/n. The printed statement is still true for nnn iid trials (the classical Bernstein inequality gives a bound below it), so the goal is posed as printed. The paper's own proof therefore does not establish the printed constant.

Formalization scope

  • States are Fin S with its natural order, 0-based; the paper's range i<Si<Si<S is every state but the last (belowLast S). Fact 1 holds for every ordering; the natural order covers this since states are labels.
  • Probability vectors are p : Fin S → ℝ with IsProbVec p (nonnegative, summing to one). Zero entries are allowed. A ratio whose denominator is zero evaluates to 000 (Lean's convention), which gives the values the identities need; no positivity of ppp is assumed.
  • One trial has law cat p =∑ipiδi=\sum_ip_i\delta_i=∑i​pi​δi​; nnn trials have the product law trialsLaw n p === Measure.pi. The empirical vector phat ω is computed from the sample ω : Fin n → Fin S. "With probability 1−ρ1-\rho1−ρ" is ENNReal.ofReal (1 - ρ) ≤ trialsLaw n p {good event}; Corollary B.1's "greater than 1−δ1-\delta1−δ" is strict. log⁡\loglog is Real.log.
  • The proof displays (milestones 2–4) are stated in the iid reading of the proposition: the paper writes them for transitions of an MDP out of a fixed (s,a)(s,a)(s,a), with an indicator 1(st−1=s,at−1=a)\mathbb 1(s_{t-1}=s,a_{t-1}=a)1(st−1​=s,at−1​=a) and a random count τ\tauτ; here the indicator is one and τ=n\tau=nτ=n, and the conditional expectations are expectations under one draw of law ppp. Milestone 2 assumes every drawn state has positive probability (true almost surely), which the page's intermediate sum over i≤S−1i\le S-1i≤S−1 needs.
  • Corollary B.1 is posed for a general filtered probability space, with ZiZ_iZi​ Fi\mathcal F_iFi​-measurable, ∣Zi∣≤K|Z_i|\le K∣Zi​∣≤K almost surely and E[Zi∣Fi−1]=0\mathbb E[Z_i\mid\mathcal F_{i-1}]=0E[Zi​∣Fi−1​]=0.

The goal cannot be satisfied by a degenerate reading: p^\hat pp^​ is built from the sample, the measure is the nnn-fold product of the categorical law ppp, the event is the good event itself (not a complement bound), and the variance term is not identically zero (for S=2S=2S=2, p=(12,12)p=(\tfrac12,\tfrac12)p=(21​,21​) it equals (h1−h2)2/4(h_1-h_2)^2/4(h1​−h2​)2/4).

Needed infrastructure: finite-sum manipulations over tails of Fin S; a Bernstein or Freedman inequality with explicit constants (for iid bounded variables for the goal, for martingale differences for Corollary B.1). Contributions of either inequality are reusable well beyond this mission and are welcome, as are alternative proofs of the goal that bypass Corollary B.1.

Selected references

  • S. Agrawal and R. Jia, Posterior sampling for reinforcement learning: worst-case regret bounds, arXiv:1705.07041v3, 2020; published as Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds, Mathematics of Operations Research, 2023. https://arxiv.org/abs/1705.07041
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal regret bounds for reinforcement learning, Journal of Machine Learning Research 11, 2010. https://www.jmlr.org/papers/v11/jaksch10a.html
  • Y. Seldin, F. Laviolette, N. Cesa-Bianchi, J. Shawe-Taylor and P. Auer, PAC-Bayesian inequalities for martingales, IEEE Transactions on Information Theory 58(12), 2012. https://doi.org/10.1109/TIT.2012.2211334
7 thms4 active usersReviewed
Bandit AlgorithmsOperations ResearchStatistics·Captain: mikedeng1

Distribution-Free Contextual Dynamic Pricing 1: The DIP Policy Has Expected Regret at Most C T^(2/3) log T Plus 4 p_max L Times the Episode-Weighted ℓ₁ Estimation ErrorsResearch Paper

Motivation

In contextual dynamic pricing a seller posts a price for each arriving customer, observes only whether the customer buys, and must learn the demand from these binary responses while selling. The problem arises in e-commerce, insurance and consumer lending, where every customer comes with features (product attributes, customer characteristics) that shift the willingness to pay. Most regret analyses assume either that the noise distribution of the valuation is known up to a parameter, or that it belongs to a parametric family. Luo, Sun and Liu (arXiv:2109.07340, Mathematics of Operations Research, 2024) drop that assumption: the valuation is linear in the features plus a noise with an unknown distribution, and they give a policy, DIP, whose regret is bounded without parametric knowledge of the noise.

This mission formalizes the paper's main upper bound, Theorem 1, together with the chain of lemmas and propositions of its proof. The source is the arXiv v2 preprint (6 March 2023); all proofs are in its Appendix A.

Setting

At each period t=1,2,…t = 1, 2, \dotst=1,2,… a customer arrives with a covariate xt∈X⊆Rd0x_t \in \mathcal X \subseteq \mathbb R^{d_0}xt​∈X⊆Rd0​, where ∥x∥∞≤1\|x\|_\infty \le 1∥x∥∞​≤1 on X\mathcal XX. The customer's valuation is vt=xt⊤θ0+ztv_t = x_t^\top\theta_0 + z_tvt​=xt⊤​θ0​+zt​, with an unknown parameter θ0\theta_0θ0​, ∥θ0∥1≤W\|\theta_0\|_1 \le W∥θ0​∥1​≤W for a known WWW, and market noises ztz_tzt​ drawn i.i.d. from an unknown CDF FFF. The seller posts a price pt∈(0,pmax⁡)p_t \in (0, p_{\max})pt​∈(0,pmax​) and observes yt=1{vt≥pt}y_t = \mathbf 1\{v_t \ge p_t\}yt​=1{vt​≥pt​}; the revenue is ptytp_ty_tpt​yt​. The expected revenue of price ppp at linear value q=x⊤θ0q = x^\top\theta_0q=x⊤θ0​ is

fq(p)=p(1−F(p−q)).f_q(p) = p\bigl(1 - F(p - q)\bigr).fq​(p)=p(1−F(p−q)).

The clairvoyant price p∗(x)p^*(x)p∗(x) maximizes fx⊤θ0f_{x^\top\theta_0}fx⊤θ0​​ over p>0p > 0p>0 and is assumed to lie in (0,pmax⁡)(0, p_{\max})(0,pmax​). The regret of period ttt is rt=fxt⊤θ0(p∗(xt))−fxt⊤θ0(pt)r_t = f_{x_t^\top\theta_0}(p^*(x_t)) - f_{x_t^\top\theta_0}(p_t)rt​=fxt⊤​θ0​​(p∗(xt​))−fxt⊤​θ0​​(pt​), and RT=∑t=1TrtR_T = \sum_{t=1}^T r_tRT​=∑t=1T​rt​.

Two assumptions are made on FFF. Assumption 1: FFF is LLL-Lipschitz. Assumption 2: there is a constant CAC_ACA​ with fq(p∗(x))−fq(p)≤CA(p∗(x)−p)2f_q(p^*(x)) - f_q(p) \le C_A(p^*(x) - p)^2fq​(p∗(x))−fq​(p)≤CA​(p∗(x)−p)2 for all x∈Xx \in \mathcal Xx∈X, q=x⊤θ0q = x^\top\theta_0q=x⊤θ0​ and p∈[0,pmax⁡]p \in [0, p_{\max}]p∈[0,pmax​].

The DIP policy (Algorithm 4) splits time into episodes of lengths ℓ1=α1\ell_1 = \alpha_1ℓ1​=α1​ and ℓk=2k−2ℓ2\ell_k = 2^{k-2}\ell_2ℓk​=2k−2ℓ2​, ℓ2=α2\ell_2 = \alpha_2ℓ2​=α2​, for k≥2k \ge 2k≥2. In episode k≥2k \ge 2k≥2 it takes an estimate θ^k−1\hat\theta_{k-1}θ^k−1​ computed from episode k−1k-1k−1 (Inner Algorithm A), cuts G(θ^)=[−∥θ^∥1,pmax⁡+∥θ^∥1]G(\hat\theta) = [-\|\hat\theta\|_1, p_{\max} + \|\hat\theta\|_1]G(θ^)=[−∥θ^∥1​,pmax​+∥θ^∥1​] into dk=Cd⌈(2k−2ℓ2)1/6⌉d_k = C_d\lceil(2^{k-2}\ell_2)^{1/6}\rceildk​=Cd​⌈(2k−2ℓ2​)1/6⌉ equal pieces with midpoints mjm_jmj​, and runs a UCB rule (Inner Algorithm B) over the candidate prices mj+xt⊤θ^∈(0,pmax⁡)m_j + x_t^\top\hat\theta \in (0, p_{\max})mj​+xt⊤​θ^∈(0,pmax​). The UCB step is analysed as a perturbed linear bandit (PLB): rewards Zt=⟨ξt,At⟩+ηtZ_t = \langle\xi_t, A_t\rangle + \eta_tZt​=⟨ξt​,At​⟩+ηt​ whose parameters satisfy ∥ξs−ξt∥∞≤Cp\|\xi_s - \xi_t\|_\infty \le C_p∥ξs​−ξt​∥∞​≤Cp​. The algorithm M-LinUCB (Algorithm 5) is optimistic linear UCB with forced exploration of new coordinates.

Formalization targets

Goal: Theorem 1 with the O~\tilde OO~ pinned

For every model satisfying the standing assumptions and Assumptions 1–2, every DIP configuration with pmax⁡+2W<Cd pmax⁡p_{\max} + 2W < C_d\,p_{\max}pmax​+2W<Cd​pmax​ and λ>0\lambda > 0λ>0, there is C>0C > 0C>0 such that every run of DIP satisfies, for all T≥2T \ge 2T≥2,

E(RT)≤C T2/3log⁡T+4pmax⁡L∑k=2n2k−2ℓ2 E∥θ^k−1−θ0∥1,\mathbb E(R_T) \le C\,T^{2/3}\log T + 4p_{\max}L\sum_{k=2}^{n}2^{k-2}\ell_2\,\mathbb E\|\hat\theta_{k-1} - \theta_0\|_1,E(RT​)≤CT2/3logT+4pmax​Lk=2∑n​2k−2ℓ2​E∥θ^k−1​−θ0​∥1​,

where n=n(T,α1,α2)n = n(T, \alpha_1, \alpha_2)n=n(T,α1​,α2​) is the number of episodes. The printed statement reads O~(T2/3)\tilde O(T^{2/3})O~(T2/3); the single logarithm is what the proof gives.

Milestones

In the order of the proof: Lemma 1 (the pricing problem of one episode is a PLB with perturbation 2L∥θ^−θ0∥12L\|\hat\theta - \theta_0\|_12L∥θ^−θ0​∥1​); Lemma 2 (M-LinUCB on that PLB is Inner Algorithm B); Lemmas S1–S5 (weighted averages, the elliptical potential lemma, the shadow parameter, the self-normalized bound, a confidence ellipsoid); Lemma 3 (M-LinUCB on a PLB has regret O~(dT0)+2amax⁡CpT0\tilde O(d\sqrt{T_0}) + 2a_{\max}C_pT_0O~(dT0​​)+2amax​Cp​T0​ with high probability); Proposition 4 (the discrete-part regret of one episode); Lemma S6 (the confidence term in dlog⁡T0\sqrt d\log T_0d​logT0​ form); Proposition 3 (the total regret of one episode, E(RT0)≤C3′log⁡(C2′T0)T02/3+4pmax⁡L∥θ^−θ0∥1T0\mathbb E(R_{T_0}) \le C'_3\log(C'_2T_0)T_0^{2/3} + 4p_{\max}L\|\hat\theta - \theta_0\|_1T_0E(RT0​​)≤C3′​log(C2′​T0​)T02/3​+4pmax​L∥θ^−θ0​∥1​T0​). Lemmas S2 and S4 are already proved on the platform and are referenced.

Significance

The bound separates the cost of learning the unknown noise distribution, T2/3T^{2/3}T2/3 up to a logarithm, from the cost of estimating θ0\theta_0θ0​, which enters only through the ℓ1\ell_1ℓ1​ estimation errors. Any estimator with a known error rate therefore gives an explicit regret rate for DIP: if E∥θ^k−θ0∥1=O(ℓk−α)\mathbb E\|\hat\theta_k - \theta_0\|_1 = O(\ell_k^{-\alpha})E∥θ^k​−θ0​∥1​=O(ℓk−α​) with 0<α≤1/20 < \alpha \le 1/20<α≤1/2, the regret is O~(T2/3∨(1−α))\tilde O(T^{2/3 \vee (1-\alpha)})O~(T2/3∨(1−α)) (p. 19). The rate of the paper's logistic-regression estimator on adaptively collected data is not established; the authors study it by simulation. Lemma 3 is a regret bound for linear bandits with bounded parameter drift that is linear in the drift and O~(dT0)\tilde O(d\sqrt{T_0})O~(dT0​​) otherwise, which the authors note is of independent interest.

The results are proved in the paper, not formalized. The two textbook lemmas the paper quotes, the elliptical potential lemma (S2) and the self-normalized bound (S4), are already proved on the platform; the paper's own results (Lemma 3, the PLB reduction, the episode analysis and Theorem 1) have no machine-checked proof. Faithfulness checks during drafting found printed slips that the formal statements correct and disclose: the unsquared norm in Lemma S2, the finite UCB of an unpulled arm in display (2), and a missing nonemptiness condition for the candidate price sets.

Difficulty

The obvious argument treats each episode as a linear bandit around the central parameter ξ∗=(1−F(mj))j\xi^* = (1 - F(m_j))_jξ∗=(1−F(mj​))j​ and invokes the standard optimistic regret bound. That fails because the parameter ξt\xi_tξt​ moves with the covariate xtx_txt​ through the estimation error xt⊤(θ^−θ0)x_t^\top(\hat\theta - \theta_0)xt⊤​(θ^−θ0​); the ridge estimate then tracks no fixed vector, and a general misspecified-bandit bound pays an extra factor d\sqrt dd​ in the drift term (Remark 5, p. 21), which destroys the T2/3T^{2/3}T2/3 rate once ddd grows with the horizon. A second difficulty is bookkeeping: the per-episode bound must hold uniformly over the random estimate θ^k−1\hat\theta_{k-1}θ^k−1​, over the growing discretization dkd_kdk​, and over the truncated last episode, before the episodes are summed.

Formalization scope

Periods are 1-based; arm indices are Fin d, 0-based. Norms are written out: ∥v∥1=∑i∣vi∣\|v\|_1 = \sum_i|v_i|∥v∥1​=∑i​∣vi​∣, ∥v∥∞\|v\|_\infty∥v∥∞​ coordinatewise. The probability space carries a filtration G\mathcal GG; covariates and prices are Gt−1\mathcal G_{t-1}Gt−1​-measurable (adaptive or adversarial covariates and randomized prices are allowed), and ztz_tzt​ has CDF FFF and is independent of Gt−1\mathcal G_{t-1}Gt−1​. Conditional sub-Gaussianity is Mathlib's HasCondSubgaussianMGF, which needs a standard Borel sample space. Expectations are lower Lebesgue integrals of nonnegative regrets. "With probability at least 1−δ1 - \delta1−δ" means a measurable event of probability at least 1−δ1 - \delta1−δ on which the bound holds.

The standing assumptions are ∥θ0∥1≤W\|\theta_0\|_1 \le W∥θ0​∥1​≤W, pmax⁡>0p_{\max} > 0pmax​>0, ∥x∥∞≤1\|x\|_\infty \le 1∥x∥∞​≤1 on X\mathcal XX, and p∗(x)∈(0,pmax⁡)p^*(x) \in (0, p_{\max})p∗(x)∈(0,pmax​) maximizing the revenue over p>0p > 0p>0. Hypotheses added to the printed statements: pmax⁡+2∥θ^∥1<d pmax⁡p_{\max} + 2\|\hat\theta\|_1 < d\,p_{\max}pmax​+2∥θ^∥1​<dpmax​ (resp. pmax⁡+2W<Cd pmax⁡p_{\max} + 2W < C_d\,p_{\max}pmax​+2W<Cd​pmax​), which makes every candidate price set nonempty; ∥θ^∥1≤W\|\hat\theta\|_1 \le W∥θ^∥1​≤W in Proposition 3; δ∈(0,1)\delta \in (0,1)δ∈(0,1) in Lemma 3; finite action sets; a nonempty index set in Lemma S1. Algorithm 3 is read with forced exploration of unpulled arms, as Lemma 2 fixes. Inner Algorithm A is any measurable estimator of the previous episode's data with values in {∥θ∥1≤W}\{\|\theta\|_1 \le W\}{∥θ∥1​≤W}; the paper's logistic regression with projection is one instance. Algorithms are run predicates that hold for every tie-breaking rule. The constants of Theorem 1, Proposition 3 and Lemma S6 are chosen before the processes, the estimate, ddd and the horizon.

The formalization cannot be satisfied trivially: expectations are integrals of nonnegative quantities, so no non-integrability default applies; the run predicates are satisfiable (a sorry-free check accompanies the drafts); LinUCB is a closed form whose maximality over the confidence ellipsoid is itself a milestone, not a real supremum; and the noise CDF is pinned by P(zt≤c)=F(c)\mathbb P(z_t \le c) = F(c)P(zt​≤c)=F(c).

A complete development needs the PLB analysis (Lemmas S3, S5, 3), which is reusable for any linear bandit with one-sparse actions, and the conditional Hoeffding step for Lemma 1, for which a platform theorem exists. Proofs of any milestone, and reusable lemmas on ridge estimates with diagonal designs, are welcome.

Selected references

  • Y. Luo, W. W. Sun, Y. Liu, Distribution-Free Contextual Dynamic Pricing, Mathematics of Operations Research, 2024; arXiv:2109.07340v2. https://arxiv.org/abs/2109.07340 , https://doi.org/10.1287/moor.2023.1369
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020 (Lemma 19.4, Theorem 20.4). https://doi.org/10.1017/9781108571401
  • Y. Abbasi-Yadkori, D. Pál, C. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NeurIPS, 2011. https://papers.nips.cc/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html
  • R. Kleinberg, T. Leighton, The Value of Knowing a Demand Curve: Bounds on Regret for Online Posted-Price Auctions, FOCS, 2003. https://doi.org/10.1109/SFCS.2003.1238232
17 thms4 active usersReviewed
Linear OptimizationStatistics·Captain: mikedeng1

Fast Rates for Contextual Linear Optimization 2: Any Algorithm Choosing from a Policy Class of Natarajan Dimension η Has Regret ≥ (ρ(Z)/2e⁴)((η−1)/n)^((1+α)/(2+α)) on Some Margin-α InstanceResearch Paper

Motivation

In contextual linear optimization (CLO) a decision maker observes a covariate XXX (features of a day, a customer, a network state) and then chooses a decision zzz from a polytope Z\mathcal ZZ to minimise an uncertain linear cost Y⊤zY^\top zY⊤z. Shortest-path routing with predicted travel times and inventory or portfolio decisions driven by forecasts are standard instances. Since YYY is unknown at decision time, the relevant cost is f∗(X)⊤zf^*(X)^\top zf∗(X)⊤z with f∗(x)=E[Y∣X=x]f^*(x) = \mathbb E[Y \mid X = x]f∗(x)=E[Y∣X=x], and a policy is learned from nnn past observations (Xi,Yi)(X_i, Y_i)(Xi​,Yi​).

Hu, Kallus and Mao (arXiv:2011.03030, Management Science 2022) compare two families of methods: estimate-then-optimize (fit f∗f^*f∗, then optimise) and induced empirical risk minimisation (search a policy class directly for low empirical cost). Their main finding is that under a noise condition that controls how often two vertices of Z\mathcal ZZ are nearly tied, the regret decays faster than the usual n−1/2n^{-1/2}n−1/2. For ERM over a policy class of Natarajan dimension η\etaη they prove the rate (η/n)(1+α)/(2+α)(\eta/n)^{(1+\alpha)/(2+\alpha)}(η/n)(1+α)/(2+α) up to logarithms (their Theorem 6). This mission formalizes the matching lower bound, their Theorem 7: no algorithm that only knows the true optimal policy lies in the class can do better.

Setting

A polytope Z={z∈Rd:Az≤b}\mathcal Z = \{z \in \mathbb R^d : Az \le b\}Z={z∈Rd:Az≤b} is nonempty with sup⁡z∈Z∥z∥≤B\sup_{z \in \mathcal Z}\|z\| \le Bsupz∈Z​∥z∥≤B, B>0B > 0B>0. Its set of extreme points is Z∠\mathcal Z^\angleZ∠. An instance is a law PX\mathbb P_XPX​ of X∈RpX \in \mathbb R^pX∈Rp together with a conditional law of Y∈RdY \in \mathbb R^dY∈Rd given X=xX = xX=x, with ∥Y∥≤1\|Y\| \le 1∥Y∥≤1; f∗(x)f^*(x)f∗(x) is the conditional mean. The optimal set is Z∗(x)=arg⁡min⁡z∈Zf∗(x)⊤z\mathcal Z^*(x) = \arg\min_{z\in\mathcal Z} f^*(x)^\top zZ∗(x)=argminz∈Z​f∗(x)⊤z and the gap is

Δ(x)=inf⁡z∈Z∠∖Z∗(x)f∗(x)⊤z−min⁡z∈Zf∗(x)⊤z\Delta(x) = \inf_{z \in \mathcal Z^\angle \setminus \mathcal Z^*(x)} f^*(x)^\top z - \min_{z \in \mathcal Z} f^*(x)^\top zΔ(x)=z∈Z∠∖Z∗(x)inf​f∗(x)⊤z−z∈Zmin​f∗(x)⊤z

when Z∗(x)≠Z\mathcal Z^*(x) \ne \mathcal ZZ∗(x)=Z, and Δ(x)=0\Delta(x) = 0Δ(x)=0 otherwise. The noise condition (Assumption 2) with parameters α,γ≥0\alpha, \gamma \ge 0α,γ≥0 is

PX(0<Δ(X)≤δ)≤(γδ/B)α∀δ>0.\mathbb P_X\big(0 < \Delta(X) \le \delta\big) \le (\gamma\delta/B)^\alpha \qquad \forall \delta > 0.PX​(0<Δ(X)≤δ)≤(γδ/B)α∀δ>0.

A policy is a map π:Rp→Z∠\pi : \mathbb R^p \to \mathcal Z^\angleπ:Rp→Z∠. A class Π\PiΠ of policies Natarajan-shatters η\etaη points if there are x1,…,xηx_1, \dots, x_\etax1​,…,xη​ and values si≠si′s_i \ne s_i'si​=si′​ such that every pattern in {0,1}η\{0,1\}^\eta{0,1}η is realised by some π∈Π\pi \in \Piπ∈Π choosing sis_isi​ or si′s_i'si′​ at xix_ixi​; the Natarajan dimension is the largest such η\etaη. An algorithm maps a sample D\mathcal DD of nnn i.i.d. draws of (X,Y)(X, Y)(X,Y) to a policy π^D∈Π\hat\pi_{\mathcal D} \in \Piπ^D​∈Π, and its regret is

Regret(π^)=ED EX[f∗(X)⊤π^D(X)−min⁡z∈Zf∗(X)⊤z].\mathrm{Regret}(\hat\pi) = \mathbb E_{\mathcal D}\,\mathbb E_X\Big[f^*(X)^\top \hat\pi_{\mathcal D}(X) - \min_{z\in\mathcal Z} f^*(X)^\top z\Big].Regret(π^)=ED​EX​[f∗(X)⊤π^D​(X)−z∈Zmin​f∗(X)⊤z].

The scale of the bound is the vertex separation

ρ(Z)=inf⁡z∈Z∠, z′∈conv(Z∠∖{z})∥z−z′∥.\rho(\mathcal Z) = \inf_{z \in \mathcal Z^\angle,\ z' \in \mathrm{conv}(\mathcal Z^\angle \setminus \{z\})} \|z - z'\|.ρ(Z)=z∈Z∠, z′∈conv(Z∠∖{z})inf​∥z−z′∥.

Formalization targets

Goal: Theorem 7

Fix α≥0\alpha \ge 0α≥0, a polytope Z\mathcal ZZ, a class Π\PiΠ of Natarajan dimension at least η≥1\eta \ge 1η≥1, and n≥22+α(η−1)n \ge 2^{2+\alpha}(\eta - 1)n≥22+α(η−1). For every algorithm D↦π^D∈Π\mathcal D \mapsto \hat\pi_{\mathcal D} \in \PiD↦π^D​∈Π there is an instance with ∥Y∥≤1\|Y\| \le 1∥Y∥≤1 on which some π∗∈Π\pi^* \in \Piπ∗∈Π is optimal at every xxx, the noise condition holds with the given α\alphaα and γ=B/ρ(Z)\gamma = B/\rho(\mathcal Z)γ=B/ρ(Z), and

Regret(π^)  ≥  ρ(Z)2e4(η−1n)1+α2+α.\mathrm{Regret}(\hat\pi) \;\ge\; \frac{\rho(\mathcal Z)}{2e^4}\Big(\frac{\eta - 1}{n}\Big)^{\frac{1+\alpha}{2+\alpha}}.Regret(π^)≥2e4ρ(Z)​(nη−1​)2+α1+α​.

Milestones

  1. ρ(Z)>0\rho(\mathcal Z) > 0ρ(Z)>0 when Z\mathcal ZZ has two extreme points (Theorem 3, p. 7).
  2. Eq. (25): the vertex-separating directions w(z)w(z)w(z) have norm at most one and separate zzz from the other vertices by exactly ρ(Z)\rho(\mathcal Z)ρ(Z).
  3. Eq. (14): the error of any estimate of a hidden bit is at least the minimum Bayes risk.
  4. The posterior identity of p. 21.
  5. The Jensen step of p. 21.
  6. The binomial bound E∣N1−N0∣≤nq\mathbb E|N^1 - N^0| \le \sqrt{nq}E∣N1−N0∣≤nq​ of pp. 21–22.
  7. The exponential bound in Eq. (15).
  8. The closing calculation of the proof of Theorem 7 (p. 30).

Significance

Theorem 7 shows that the fast rate of Theorem 6 is optimal in both nnn and η\etaη, up to logarithmic factors, among methods that exploit only the well-specification of the policy class. The paper uses this to explain why estimate-then-optimize, which also exploits the structure of the regression class, can beat ERM: it is not subject to this lower bound. At α=0\alpha = 0α=0 the bound recovers the order of the paper's slow-rate lower bound (Theorem 3), and as α→∞\alpha \to \inftyα→∞ it approaches η/n\eta/nη/n.

The result is proved in the paper; no machine-checked proof of it or of its milestones is known. Formalizing it produces a checked minimax lower bound for a decision problem over an arbitrary polytope, together with a reusable toolkit for Assouad-type arguments over hypercubes of hard instances: the binary Bayes-risk bound, the closed-form posterior for a biased coin, the Jensen step, and the binomial mean absolute deviation bound.

Difficulty

The statement quantifies over every algorithm, including non-measurable and randomisation-free ones, so the argument cannot analyse a specific estimator. The standard route averages the regret over a family of 2η−12^{\eta-1}2η−1 instances and reduces it to hidden-bit estimation, but two features of CLO make the construction delicate. First, the instances must keep ∥Y∥≤1\|Y\| \le 1∥Y∥≤1 while giving each shattered point a prescribed gap between its optimal vertex and every other vertex of an arbitrary polytope; this is where ρ(Z)\rho(\mathcal Z)ρ(Z) and the directions of Eq. (25) enter. Second, each instance must satisfy the noise condition with the given α\alphaα and γ=B/ρ(Z)\gamma = B/\rho(\mathcal Z)γ=B/ρ(Z), which fixes how much probability mass the near-tied points may carry; the mass cannot simply be spread uniformly as in the slow-rate argument. The constants have to be tracked exactly, since the goal states the explicit constant 1/(2e4)1/(2e^4)1/(2e4).

Formalization scope

Everything lives in the namespace FastCLO.LowerBound. Vectors are EuclideanSpace ℝ (Fin k). A polytope bundles its constraint rows, right-hand sides, a radius B>0B > 0B>0, nonemptiness and boundedness. An instance is a probability measure μ\muμ on Rp\mathbb R^pRp and a Markov kernel κ\kappaκ with κ(x)({∥y∥>1})=0\kappa(x)(\{\|y\| > 1\}) = 0κ(x)({∥y∥>1})=0; f∗f^*f∗ is the kernel mean, and the sample law is the nnn-fold product of μ⊗κ\mu \otimes \kappaμ⊗κ. Every joint law disintegrates this way. The regret is measured against the optimal value min⁡z∈Zf∗(x)⊤z\min_{z\in\mathcal Z} f^*(x)^\top zminz∈Z​f∗(x)⊤z, which equals the paper's comparison with π∗\pi^*π∗. Natarajan dimension "at least η\etaη" is the existence of a shattered η\etaη-tuple. Infima are real infima over sets that are nonempty and bounded under the hypotheses. Probabilities in the noise condition are in [0,∞][0,\infty][0,∞], and (γδ/B)α(\gamma\delta/B)^\alpha(γδ/B)α is a real power.

The paper prints Theorem 7 with the distribution chosen before nnn; its proof builds the distribution from nnn, and the formal goal is stated in the proved order: for every nnn and every algorithm there is an instance. The hypothesis η≥1\eta \ge 1η≥1 excludes the empty case. No measurability is assumed of the algorithm. The algorithm must return a member of Π\PiΠ for every sample, and the instance must satisfy ∥Y∥≤1\|Y\| \le 1∥Y∥≤1, the optimality of some member of Π\PiΠ everywhere, and the noise condition. Dropping any of these would make the bound trivial or false, and none of them is relaxed.

A complete development needs finiteness of the extreme points of a polytope, projections onto convex hulls, products of finitely supported measures, and elementary binomial identities. The generic milestones (3–7) are reusable for other hypercube lower bounds. Proofs of individual milestones are welcome independently of the goal.

The companion missions Fast Rates for Contextual Linear Optimization 1 (the ERM upper bound, Theorem 6) and 3 (the estimate-then-optimize bound, Theorem 8) use the same model.

Selected references

  • Y. Hu, N. Kallus, X. Mao, Fast Rates for Contextual Linear Optimization, arXiv:2011.03030v3, 2021; Management Science 68(6), 2022. https://arxiv.org/abs/2011.03030
  • L. Devroye, G. Lugosi, Lower bounds in pattern recognition and learning, Pattern Recognition 28(7), 1995. https://doi.org/10.1016/0031-3203(95)00002-Z
  • A. B. Tsybakov, Optimal aggregation of classifiers in statistical learning, Annals of Statistics 32(1), 2004. https://doi.org/10.1214/aos/1079120131
  • B. K. Natarajan, On learning sets and functions, Machine Learning 4, 1989. https://doi.org/10.1007/BF00114804
  • O. El Balghiti, A. N. Elmachtoub, P. Grigas, A. Tewari, Generalization bounds in the predict-then-optimize framework, NeurIPS 2019. https://arxiv.org/abs/1905.11488
12 thms4 active usersReviewed
Bandit AlgorithmsOperations ResearchStatistics·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

Formalization targets

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

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

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

Milestones, in the order of the paper's proof

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

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

Why the large-horizon bound matters

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

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

Bandit model and information cost

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

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

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

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

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

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

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

Formalization targets

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

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

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

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

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

What the result supplies

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

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

Main difficulty

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

Formalization targets

Goal: Proposition 5.3

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

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

Milestones

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

Companions

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

Learning Models with Uniform Performance via Distributionally Robust Optimization 2: A Minimax Lower Bound of Order n^(−1/2) ∨ n^(−1/k*) for Estimating the Cressie–Read Robust Risk (Theorem 3)Research Paper

Motivation

Distributionally robust optimization replaces the expected loss EP0[ℓ(θ;X)]\mathbb E_{P_0}[\ell(\theta; X)]EP0​​[ℓ(θ;X)] of a statistical model by its worst case over all distributions QQQ close to the data distribution P0P_0P0​. When closeness is measured by an fff-divergence ball {Q:Df(Q∥P0)≤ρ}\{Q : D_f(Q\|P_0) \le \rho\}{Q:Df​(Q∥P0​)≤ρ} of fixed radius ρ>0\rho > 0ρ>0, the robust risk upper-bounds the risk of every subpopulation of P0P_0P0​ that has sufficiently large probability, so a model with small robust risk performs uniformly well across latent subgroups. This is the program of J. C. Duchi and H. Namkoong, Learning Models with Uniform Performance via Distributionally Robust Optimization (arXiv:1810.08750; Ann. Statist. 49 (2021), doi:10.1214/20-AOS2004).

The robust risk is itself a statistical functional. It is estimated by plugging in the empirical distribution, and the paper shows (its Theorem 2) that for the Cressie–Read family of divergences with parameter kkk the plug-in estimate concentrates at rate n−1/(k∗∨2)n^{-1/(k_* \vee 2)}n−1/(k∗​∨2), with k∗=k/(k−1)k_* = k/(k-1)k∗​=k/(k−1). For small kkk (heavy protection against distribution shift) k∗k_*k∗​ is large and this rate is far slower than the parametric n−1/2n^{-1/2}n−1/2. This mission formalizes the paper's answer to whether the slow rate is an artefact of the plug-in estimator or intrinsic: its Theorem 3, a minimax lower bound valid for every estimator.

Setting

Fix k∈(1,∞)k \in (1,\infty)k∈(1,∞) and write k∗=k/(k−1)k_* = k/(k-1)k∗​=k/(k−1). The Cressie–Read function is

fk(t)=tk−kt+k−1k(k−1)(t≥0),fk(t)=+∞(t<0).f_k(t) = \frac{t^k - kt + k - 1}{k(k-1)} \quad (t \ge 0), \qquad f_k(t) = +\infty \quad (t < 0).fk​(t)=k(k−1)tk−kt+k−1​(t≥0),fk​(t)=+∞(t<0).

For a probability measure PPP, a real random variable ZZZ and a radius ρ>0\rho > 0ρ>0, the robust risk is

Rk(Z)=sup⁡{EP[LZ]:L≥0, EP[L]=1, EP[fk(L)]≤ρ},\mathcal R_k(Z) = \sup\Bigl\{ \mathbb E_P[LZ] : L \ge 0,\ \mathbb E_P[L] = 1,\ \mathbb E_P[f_k(L)] \le \rho \Bigr\},Rk​(Z)=sup{EP​[LZ]:L≥0, EP​[L]=1, EP​[fk​(L)]≤ρ},

the supremum of EQ[Z]\mathbb E_Q[Z]EQ​[Z] over distributions Q≪PQ \ll PQ≪P with likelihood ratio L=dQ/dPL = dQ/dPL=dQ/dP and Cressie–Read divergence Dfk(Q∥P)=EP[fk(L)]D_{f_k}(Q\|P) = \mathbb E_P[f_k(L)]Dfk​​(Q∥P)=EP​[fk​(L)] at most ρ\rhoρ.

Write

ck(ρ)=(1+k(k−1)ρ)1/k,pk=(1+k(k−1)ρ)−1/(k−1),βk=k(k−1)ρ2(1+k(k−1)ρ).c_k(\rho) = (1 + k(k-1)\rho)^{1/k}, \qquad p_k = (1 + k(k-1)\rho)^{-1/(k-1)}, \qquad \beta_k = \frac{k(k-1)\rho}{2(1+k(k-1)\rho)} .ck​(ρ)=(1+k(k−1)ρ)1/k,pk​=(1+k(k−1)ρ)−1/(k−1),βk​=2(1+k(k−1)ρ)k(k−1)ρ​.

Fix M>0M > 0M>0 and let P\mathcal PP be the set of all distributions on the two points {0,M}\{0, M\}{0,M}; each is determined by its mass p∈[0,1]p \in [0,1]p∈[0,1] at MMM. An estimator is any function R^:{0,M}n→R\widehat R : \{0, M\}^n \to \mathbb RR:{0,M}n→R of a sample Z1n=(Z1,…,Zn)Z_1^n = (Z_1, \dots, Z_n)Z1n​=(Z1​,…,Zn​) drawn i.i.d. from P0∈PP_0 \in \mathcal PP0​∈P. The minimax risk of estimating the robust risk is

Mn(P,fk)=inf⁡R^ sup⁡P0∈P EP0n∣R^(Z1n)−Rk(Z)∣,Z∼P0.(16)\mathfrak M_n(\mathcal P, f_k) = \inf_{\widehat R}\ \sup_{P_0 \in \mathcal P}\ \mathbb E_{P_0^n}\bigl|\widehat R(Z_1^n) - \mathcal R_k(Z)\bigr|, \qquad Z \sim P_0. \qquad (16)Mn​(P,fk​)=Rinf​ P0​∈Psup​ EP0n​​​R(Z1n​)−Rk​(Z)​,Z∼P0​.(16)

The total variation distance between two product laws Pn,P′nP^n, P'^nPn,P′n on the finite set {0,M}n\{0,M\}^n{0,M}n is ∥Pn−P′n∥TV=12∑z∣Pn{z}−P′n{z}∣\|P^n - P'^n\|_{\mathrm{TV}} = \tfrac12\sum_z |P^n\{z\} - P'^n\{z\}|∥Pn−P′n∥TV​=21​∑z​∣Pn{z}−P′n{z}∣, and DklD_{\mathrm{kl}}Dkl​ denotes the Kullback–Leibler divergence.

Formalization targets

Goal: Theorem 3

For every n≥1n \ge 1n≥1,

Mn(P,fk)≥Mmax⁡{18k∗pk(pk(1−pk)16n∧12(1−pk)∧pk),  18βk1/kck(ρ)(14n∧pk∧(1−(1−βk)1−k∗pk))1/k∗}.\mathfrak M_n(\mathcal P, f_k) \ge M \max\Biggl\{ \frac{1}{8 k_* p_k}\Bigl( \sqrt{\frac{p_k(1-p_k)}{16 n}} \wedge \tfrac12(1-p_k) \wedge p_k \Bigr),\ \ \frac18 \beta_k^{1/k} c_k(\rho) \Bigl( \frac{1}{4n} \wedge p_k \wedge \bigl(1 - (1-\beta_k)^{1-k_*} p_k\bigr) \Bigr)^{1/k_*} \Biggr\}.Mn​(P,fk​)≥Mmax{8k∗​pk​1​(16npk​(1−pk​)​​∧21​(1−pk​)∧pk​),  81​βk1/k​ck​(ρ)(4n1​∧pk​∧(1−(1−βk​)1−k∗​pk​))1/k∗​}.

The first branch is of order n−1/2n^{-1/2}n−1/2, the second of order n−1/k∗n^{-1/k_*}n−1/k∗​. The page prints 8n8n8n in the first branch; the target uses 16n16n16n (see Formalization scope).

Milestones

  1. Lemma 12 (three claims): for ZZZ equal to z0≤z1z_0 \le z_1z0​≤z1​ with probabilities 1−p1-p1−p, ppp: if p≥pkp \ge p_kp≥pk​ then Rk(Z)=z1\mathcal R_k(Z) = z_1Rk​(Z)=z1​; if p≤pkp \le p_kp≤pk​ then Rk(Z)≤ckp1/k∗z1+(1−ckp1/k∗)z0\mathcal R_k(Z) \le c_k p^{1/k_*} z_1 + (1 - c_k p^{1/k_*}) z_0Rk​(Z)≤ck​p1/k∗​z1​+(1−ck​p1/k∗​)z0​; and if p≤pk∧(1−(1−β)1−k∗pk)p \le p_k \wedge (1 - (1-\beta)^{1-k_*} p_k)p≤pk​∧(1−(1−β)1−k∗​pk​) for some β∈(0,1)\beta \in (0,1)β∈(0,1) then Rk(Z)≥β1/kckp1/k∗z1+(1−β1/kckp1/k∗)z0\mathcal R_k(Z) \ge \beta^{1/k} c_k p^{1/k_*} z_1 + (1 - \beta^{1/k} c_k p^{1/k_*}) z_0Rk​(Z)≥β1/kck​p1/k∗​z1​+(1−β1/kck​p1/k∗​)z0​.
  2. The primal two-point formula (p. 47): for p∈(0,1)p \in (0,1)p∈(0,1),
Rk(Z)=z0+(z1−z0)sup⁡{q∈[0,1]:(1−p)1−k(1−q)k+p1−kqk≤ckk}.\mathcal R_k(Z) = z_0 + (z_1 - z_0)\sup\{q \in [0,1] : (1-p)^{1-k}(1-q)^k + p^{1-k}q^k \le c_k^k\}.Rk​(Z)=z0​+(z1​−z0​)sup{q∈[0,1]:(1−p)1−k(1−q)k+p1−kqk≤ckk​}.
  1. Le Cam's reduction (37): if ∣Rk(P0)−Rk(P1)∣≥2δ>0|\mathcal R_k(P_0) - \mathcal R_k(P_1)| \ge 2\delta > 0∣Rk​(P0​)−Rk​(P1​)∣≥2δ>0 then Mn≥δ2(1−∥P0n−P1n∥TV)\mathfrak M_n \ge \frac\delta2(1 - \|P_0^n - P_1^n\|_{\mathrm{TV}})Mn​≥2δ​(1−∥P0n​−P1n​∥TV​).
  2. The Taylor display ck(pk−δ)1/k∗≤1−1k∗ckk∗δc_k(p_k - \delta)^{1/k_*} \le 1 - \frac{1}{k_*}c_k^{k_*}\deltack​(pk​−δ)1/k∗​≤1−k∗​1​ckk∗​​δ for 0<δ≤pk0 < \delta \le p_k0<δ≤pk​.
  3. The KL display Dkl(P2∥P1)≤8δ2/(pk(1−pk))D_{\mathrm{kl}}(P_2\|P_1) \le 8\delta^2/(p_k(1-p_k))Dkl​(P2​∥P1​)≤8δ2/(pk​(1−pk​)) for the laws with masses pk∓δp_k \mp \deltapk​∓δ at MMM.
  4. Pinsker for products ∥P1n−P2n∥TV2≤n2Dkl(P2∥P1)\|P_1^n - P_2^n\|_{\mathrm{TV}}^2 \le \frac n2 D_{\mathrm{kl}}(P_2\|P_1)∥P1n​−P2n​∥TV2​≤2n​Dkl​(P2​∥P1​).
  5. The second-branch KL display −log⁡(1−δ)≤δ/(1−δ)≤2δ-\log(1-\delta) \le \delta/(1-\delta) \le 2\delta−log(1−δ)≤δ/(1−δ)≤2δ for δ≤12\delta \le \frac12δ≤21​.

Significance

Theorem 3 shows that the rate n−1/(k∗∨2)n^{-1/(k_* \vee 2)}n−1/(k∗​∨2) of the paper's concentration bound for the plug-in robust risk cannot be improved by any estimator, even when the data take only two values. For k<2k < 2k<2 the robust risk is therefore intrinsically harder to estimate than a mean: its value depends on how much mass P0P_0P0​ puts on rare large values, and rare events are observed rarely. The same phenomenon drives the paper's lower bounds for minimizing the robust risk (its Section 5.2), which are not part of this mission.

The result is proved in the paper; no machine-checked version of it or of Lemma 12 is known. Formalizing it produces a verified two-point analysis of the Cressie–Read robust risk (Lemma 12 and its primal formula), which is reusable for any lower bound or worked example involving fff-divergence balls, and a verified finite-sample Le Cam two-point bound for estimating a functional of a distribution on two points. It also corrects a constant in the first branch of the printed statement.

Difficulty

The lower bound needs two distributions on {0,M}\{0,M\}{0,M} that are statistically close yet have well-separated robust risks. Both requirements must be quantitative and must hold simultaneously at the stated constants. The robust risk is a supremum over an infinite-dimensional set of likelihood ratios, so the separation needs exact control of that supremum for two-point laws: an exact value above the threshold pkp_kpk​, and matching upper and lower bounds below it. For mass near pkp_kpk​ the separation is linear in δ\deltaδ, while for small mass it is of order δ1/k∗\delta^{1/k_*}δ1/k∗​, which is where the slow rate comes from. Closeness requires the KL divergence of each pair to be at most 1/(2n)1/(2n)1/(2n), and the two branches need different perturbations. A naive bound on the robust risk by max⁡(z0,z1)\max(z_0, z_1)max(z0​,z1​) or by the mean gives no separation at all.

Formalization scope

The Lean development lives in the namespace UniformDRO.LowerBound. Its conventions are:

  • k>1k > 1k>1, ρ>0\rho > 0ρ>0, M>0M > 0M>0 (all on the page); n≥1n \ge 1n≥1 in the goal (implicit on the page, since the bound contains 1/n1/n1/n).
  • The robust risk is the real supremum in the likelihood-ratio form above, with the divergence constraint written as a lower Lebesgue integral of fk(L)≥0f_k(L) \ge 0fk​(L)≥0. Absolute continuity Q≪PQ \ll PQ≪P is built in. For a two-point law the feasible values lie between the two points, so the supremum is genuine.
  • Laws on {0,M}\{0,M\}{0,M} are (1−p)δ0+p δM(1-p)\delta_0 + p\,\delta_M(1−p)δ0​+pδM​, p∈[0,1]p \in [0,1]p∈[0,1]. Expectations under P0nP_0^nP0n​ are finite sums over {0,M}n\{0,M\}^n{0,M}n. The minimax risk takes values in [0,∞][0,\infty][0,∞], with the infimum over all real functions of the sample taken outside the supremum over ppp. For these laws it agrees with the platform's general HighDimStat.Minimax.minimaxRisk.
  • DklD_{\mathrm{kl}}Dkl​ between two-point laws is the platform's BanditAlgorithm.bernoulliRelativeEntropy, always evaluated with a second argument in (0,1)(0,1)(0,1), where it is the true divergence.
  • Real powers are Real.rpow. The primal formula is stated for p∈(0,1)p \in (0,1)p∈(0,1), where its negative powers are finite.
  • Correction of the print. In Theorem 3 the page has pk(1−pk)/(8n)\sqrt{p_k(1-p_k)/(8n)}pk​(1−pk​)/(8n)​. The paper's argument with that choice gives Dkl≤1/nD_{\mathrm{kl}} \le 1/nDkl​≤1/n and, by Pinsker, total variation at most 1/21/\sqrt21/2​, which does not yield the printed constant 1/(8k∗pk)1/(8k_*p_k)1/(8k∗​pk​). The target uses 16n16n16n, for which the same argument gives total variation at most 12\tfrac1221​ and exactly the printed constant. The second branch is as printed. The milestone quotes keep the page's text.

The goal is the lower bound on the minimax risk (16) over all estimators and all laws on {0,M}\{0,M\}{0,M}. It does not mention the two hypotheses, δ\deltaδ, total variation or KL divergence, so it cannot be satisfied by a statement about a particular pair of laws or a particular estimator.

Contributions are welcome at every level: proofs of Lemma 12 through the primal formula or through the dual representation of the robust risk, a general finite-space Le Cam lemma, and tensorization of KL and Pinsker for finite products, which are reusable beyond this mission.

Selected references

  • J. C. Duchi and H. Namkoong, Learning Models with Uniform Performance via Distributionally Robust Optimization, Ann. Statist. 49(3), 2021; arXiv:1810.08750v6. https://arxiv.org/abs/1810.08750, https://doi.org/10.1214/20-AOS2004
  • L. Le Cam, Asymptotic Methods in Statistical Decision Theory, Springer, 1986. https://doi.org/10.1007/978-1-4612-4946-7
  • B. Yu, Assouad, Fano, and Le Cam, in Festschrift for Lucien Le Cam, Springer, 1997, 423–435. https://doi.org/10.1007/978-1-4612-1880-7_29
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009. https://doi.org/10.1007/b13794
  • N. Cressie and T. R. C. Read, Multinomial goodness-of-fit tests, J. R. Stat. Soc. B 46(3), 1984, 440–464. https://doi.org/10.1111/j.2517-6161.1984.tb01318.x
13 thms4 active usersReviewed
ProbabilityStatisticsTheoretical Computer Science·Captain: mikedeng1

Foundations of Machine Learning VIII: Multi-Class Classification and the Margin BoundTextbook

Motivation

Every generalization bound in chapters 2-5 is for binary classification. Most real-world classification problems have more than two classes, and the number of classes can itself be in the hundreds or thousands (topic classification, speech recognition). Chapter 9 extends the margin-based generalization theory of chapter 5 (SVMs) to this multi-class, mono-label setting, using the same Rademacher-complexity machinery as chunk 03-rademacher-vc, but with a new combinatorial ingredient — bounding the Rademacher complexity of a family built by taking a pointwise maximum over several hypothesis sets — needed because a multi-class prediction is itself an argmax over per-class scores.

Setting

A multi-class hypothesis is a scoring function h:X×Y→Rh:X\times Y\to\mathbb Rh:X×Y→R with Y={1,…,k}Y=\{1,\dots,k\}Y={1,…,k} (mono-label case); the predicted label is arg⁡max⁡yh(x,y)\arg\max_y h(x,y)argmaxy​h(x,y), and the margin ρh(x,y)=h(x,y)−max⁡y′≠yh(x,y′)\rho_h(x,y)=h(x,y)-\max_{y'\ne y}h(x,y')ρh​(x,y)=h(x,y)−maxy′=y​h(x,y′) (p. 215) is negative exactly when hhh misclassifies (x,y)(x,y)(x,y). The empirical margin loss R^S,ρ(h)\hat R_{S,\rho}(h)R^S,ρ​(h) (Eq. 9.5) uses the same margin-loss function Φρ\Phi_\rhoΦρ​ (Definition 5.5) as chunk 05-svm, restated locally here. Π1(H)={x↦h(x,y):y∈Y,h∈H}\Pi_1(H) = \{x\mapsto h(x,y):y\in Y,h\in H\}Π1​(H)={x↦h(x,y):y∈Y,h∈H} (p. 217) projects a multi-class hypothesis set onto ordinary real-valued functions on XXX — the object the chapter's Rademacher-complexity bound actually controls, since H⊆RX×YH\subseteq\mathbb R^{X\times Y}H⊆RX×Y has no norm of its own without such a projection. Lemma 9.1 is a purely combinatorial tool: the empirical Rademacher complexity of a family built by taking the pointwise max over lll hypothesis sets is bounded by the sum of their individual empirical Rademacher complexities — used to control the argmax structure of a multi-class prediction. Theorem 9.2 combines this with chunk 03's Rademacher-complexity generalization machinery (Theorem 3.3) to give the chapter's margin bound. Proposition 9.3 and Corollary 9.4 specialize this to kernel-based hypotheses, where each class has its own weight vector in a reproducing kernel Hilbert space and the kkk weight vectors are jointly constrained by an LpL^pLp-type group norm ∥W∥H,p≤Λ\|W\|_{H,p}\le\Lambda∥W∥H,p​≤Λ.

Formalization targets

Lemma 9.1 (milestone). For F1,…,FlF_1,\dots,F_lF1​,…,Fl​ hypothesis sets in RX\mathbb R^XRX, l≥1l\ge1l≥1, and G={max⁡{h1,…,hl}:hi∈Fi}G=\{\max\{h_1,\dots,h_l\}:h_i\in F_i\}G={max{h1​,…,hl​}:hi​∈Fi​}: R^S(G)≤∑j=1lR^S(Fj)\hat R_S(G)\le\sum_{j=1}^l\hat R_S(F_j)R^S​(G)≤∑j=1l​R^S​(Fj​).

Theorem 9.2 — the mission's goal. For H⊆RX×YH\subseteq\mathbb R^{X\times Y}H⊆RX×Y, Y={1,…,k}Y=\{1,\dots,k\}Y={1,…,k}, fix ρ>0\rho>0ρ>0. For any δ>0\delta>0δ>0, with probability at least 1−δ1-\delta1−δ, for all h∈Hh\in Hh∈H:

R(h)≤R^S,ρ(h)+4kρRm(Π1(H))+log⁡(1/δ)2m.R(h) \le \hat R_{S,\rho}(h) + \tfrac{4k}\rho R_m(\Pi_1(H)) + \sqrt{\tfrac{\log(1/\delta)} {2m}}.R(h)≤R^S,ρ​(h)+ρ4k​Rm​(Π1​(H))+2mlog(1/δ)​​.

Proposition 9.3 (milestone). For a PDS kernel KKK with feature map Φ\PhiΦ and K(x,x)≤r2K(x,x)\le r^2K(x,x)≤r2: Rm(Π1(HK,p))≤r2Λ2/mR_m(\Pi_1(H_{K,p})) \le \sqrt{r^2\Lambda^2/m}Rm​(Π1​(HK,p​))≤r2Λ2/m​.

Corollary 9.4 (milestone). Under Proposition 9.3's hypotheses, fix ρ>0\rho>0ρ>0. For any δ>0\delta>0δ>0, with probability at least 1−δ1-\delta1−δ, for all h∈HK,ph\in H_{K,p}h∈HK,p​: R(h)≤R^S,ρ(h)+4kr2Λ2/ρ2/m+log⁡(1/δ)/(2m)R(h) \le \hat R_{S,\rho}(h) + 4k\sqrt{r^2\Lambda^2/\rho^2/m} + \sqrt{\log(1/\delta)/(2m)}R(h)≤R^S,ρ​(h)+4kr2Λ2/ρ2/m​+log(1/δ)/(2m)​.

Significance

Theorem 9.2 is the multi-class generalization of chunk 05-svm's Theorem 5.8, and its proof is the chapter's genuine new technique rather than a restatement: it needs a kkk-way application of Lemma 9.1 (once for the argmax structure of the margin, once summing over the kkk possible labels), which is exactly where the 4k4k4k factor comes from. Corollary 9.4 is the direct theoretical basis for the multi-class SVM algorithm the chapter derives next (§9.3.1): the displayed dual optimization problem literally minimizes the right-hand side of the corollary's bound. No prior art exists on the platform: GET /theorems?q=multi-class%20classification returns zero hits, and chunk 03's Rademacher-complexity machinery (needed by the proof route) is a draft, not reusable, per the "drafts cannot import drafts" rule.

Difficulty

Lemma 9.1's proof is a genuine two-function argument (max as 12(h1+h2+∣h1−h2∣)\tfrac12(h_1+h_2+|h_1-h_2|)21​(h1​+h2​+∣h1​−h2​∣), Talagrand's lemma applied to ∣⋅∣|\cdot|∣⋅∣) generalized to lll functions by induction, not a one-line consequence of chunk 03's single-hypothesis-set bound. Theorem 9.2's own proof (PDF pp. 234-236) is the chapter's most involved: it introduces an auxiliary margin function ρθ,h\rho_{\theta,h}ρθ,h​ with a free parameter θ\thetaθ later fixed to 2ρ2\rho2ρ, splits the resulting Rademacher complexity into a "diagonal" term (bounded via a further one-hot decomposition across the kkk classes, giving the first factor of kkk) and a "off-diagonal" term bounded via Lemma 9.1 (giving the second factor, folded into the same 4k4k4k constant). A formalization that stated Theorem 9.2 for HHH itself rather than Π1(H)\Pi_1(H)Π1​(H), or that treated kkk as an unrelated free constant rather than the actual number of classes, would misstate the theorem — precisely the pitfall BRIEF.md names for this chapter. Proposition 9.3's proof is a clean Cauchy-Schwarz/Jensen argument in the RKHS but needs the LpL^pLp-group-norm hypothesis class HK,pH_{K,p}HK,p​ stated with its exact footnote definition (PDF p. 236), not a simplified p=2p=2p=2 special case.

Formalization scope

GeneralizationError, EmpiricalRademacherComplexity and RademacherComplexity are restated locally in this chunk's MultiClass namespace (the last two identical in content to chunk 03-rademacher-vc's own copies); MarginLossFunction restates chunk 05-svm's Definition 5.5 (the same function, needed here for this chapter's own EmpiricalMarginLoss); IsPDS restates chunk 06-kernels's PDS-kernel definition. All are duplicated rather than imported since a draft item cannot import another chunk's draft module, and none of 03, 05, 06 is listed as reusable in missions/README.md's "Published definitions" table at the time of this session. GeneralizationError is formalized via the book's own established equivalence "hhh misclassifies (x,y)(x,y)(x,y) iff ρh(x,y)≤0\rho_h(x,y)\le0ρh​(x,y)≤0" (the form Theorem 9.2's own proof displays and works with), rather than via an explicit argmax classifier construction — checked as faithful, not a weakening, since it is exactly the quantity the chapter's proof bounds. MarginFunction's ⨆_{y'≠y} is a real supremum rather than a Finset.sup', avoiding a nonempty-finset side proof at definition time; every consuming theorem supplies 2 ≤ k (Y = Fin k) to guard it against trap 5. MaxFamily's index type is Fintype+Nonempty rather than a Finset-cardinality parameter l, a harmless generalization matching "l ≥ 1 hypothesis sets" via Nonempty. IsPDS's feature map Φ and its defining property K(x,y) = ⟪Φ(x),Φ(y)⟫ are supplied as hypotheses to the two kernel theorems rather than as a separate "feature mapping associated to a kernel" definition — the book itself treats this as a given correspondence, not a construction. No numerical constant is altered: 4k/ρ and log(1/δ) in Theorem 9.2, r²Λ²/m in Proposition 9.3, and 4k and r²Λ²/ρ²/m in Corollary 9.4 are exactly as displayed.

Not formalized: §9.1's discussion of the multi-label case (Eq. 9.2/9.3, the Hamming-distance risk) and Eq. 9.4 (empirical Hamming error) — background for a case this chapter's own generalization-bound section (§9.2) does not cover (the mono-label case only); the multi-class SVM primal/dual optimization problems (§9.3.1, an algorithm derived from Corollary 9.4, not a generalization-theoretic theorem); AdaBoost.MH (§9.3.2, a boosting algorithm, analyzed via a convex-surrogate argument rather than the Rademacher-complexity route this mission formalizes); and the uniform-over-ρ\rhoρ extension mentioned at the end of the Theorem 9.2 proof (an unnumbered remark referencing Theorem 5.9's technique from a different chapter, not restated here). Drafting only the algorithmic consequences (the multi-class SVM's optimization problem) in place of the generalization bounds themselves would be this chapter's trivializing formalization.

Selected references

  • M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., MIT Press, 2018, Chapter 9.
  • V. Koltchinskii, D. Panchenko, "Empirical margin distributions and bounding the generalization error of combined classifiers," Annals of Statistics 30(1), 2002 (Lemma 9.1's technique).
  • K. Crammer, Y. Singer, "On the algorithmic implementation of multiclass kernel-based vector machines," JMLR 2, 2001 (the multi-class SVM algorithm §9.3.1 derives).
18 thms4 active users
ProbabilityStatistics·Captain: mikedeng1

High-Dimensional Statistics XII: An Oracle Inequality for Nonparametric Least SquaresTextbook

Motivation

Regression is usually taught with a fixed parametric model: linear regression fits a ddd-dimensional coefficient vector, and the estimation error is controlled by d/nd/nd/n. Many regression problems in practice have no such finite-dimensional description — the regressor is only known to be, say, convex, monotone, or smooth, and the estimator is a least-squares fit over the (infinite-dimensional) set of functions with that shape. This is nonparametric regression, and the basic question is the same as in the parametric case: how close is the fitted function to the truth, as a function of the sample size nnn? Answering it requires replacing "dimension" with a genuinely functional notion of complexity, since an infinite- dimensional function class can still be small enough to estimate well (a Sobolev ball) or too large to estimate at all. The theory in this mission, due to van de Geer and developed in Chapter 13 of Wainwright (High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019), gives a single non-asymptotic template — the localized Gaussian complexity — that answers this question for an arbitrary star-shaped function class, and recovers the familiar parametric and Sobolev/RKHS rates as special cases.

Setting

Fix nnn design points x1,…,xnx_1,\dots,x_nx1​,…,xn​ in an arbitrary covariate space X\mathcal XX (fixed, not random — this is the fixed-design setting) and observe

yi=f∗(xi)+σwi,i=1,…,n,y_i = f^*(x_i) + \sigma w_i, \qquad i = 1,\dots,n,yi​=f∗(xi​)+σwi​,i=1,…,n,

where f∗f^*f∗ is the unknown regression function, σ>0\sigma > 0σ>0 is a known noise level, and w1,…,wnw_1,\dots,w_nw1​,…,wn​ are i.i.d. standard Gaussian. Given a class FFF of candidate functions, the nonparametric least-squares estimate is any minimizer

f^n∈arg⁡min⁡f∈F 1n∑i=1n(yi−f(xi))2.\hat f_n \in \arg\min_{f\in F}\ \frac1n\sum_{i=1}^n \big(y_i - f(x_i)\big)^2.f^​n​∈argf∈Fmin​ n1​i=1∑n​(yi​−f(xi​))2.

Error is measured in the empirical (design-dependent) seminorm ∥g∥n2:=1n∑i=1ng(xi)2\|g\|_n^2 := \frac1n\sum_{i=1}^n g(x_i)^2∥g∥n2​:=n1​∑i=1n​g(xi​)2. A class HHH of functions is star-shaped if h∈Hh\in Hh∈H and α∈[0,1]\alpha\in[0,1]α∈[0,1] together imply αh∈H\alpha h \in Hαh∈H — every convex class containing the origin has this property, and it is the minimal structural assumption under which the theory below applies. For a star-shaped class HHH and radius δ>0\delta>0δ>0, the local Gaussian complexity

Gn(δ;H):=Ew[ sup⁡h∈H, ∥h∥n≤δ ∣1n∑i=1nwih(xi)∣ ]G_n(\delta; H) := \mathbb E_w\Big[\ \sup_{h\in H,\ \|h\|_n\le\delta}\ \Big|\tfrac1n \sum_{i=1}^n w_i h(x_i)\Big|\ \Big]Gn​(δ;H):=Ew​[ h∈H, ∥h∥n​≤δsup​ ​n1​i=1∑n​wi​h(xi​)​ ]

measures how much a mean-zero Gaussian process can be made to look like a member of HHH restricted to the ball of radius δ\deltaδ. A critical radius δn\delta_nδn​ is any positive solution of Gn(δ;H)/δ≤δ/(2σ)G_n(\delta;H)/\delta \le \delta/(2\sigma)Gn​(δ;H)/δ≤δ/(2σ); by Lemma 13.6, δ↦Gn(δ;H)/δ\delta\mapsto G_n(\delta;H)/\deltaδ↦Gn​(δ;H)/δ is non-increasing on HHH star-shaped, so this inequality always has a smallest positive solution.

Formalization targets

Lemma 13.6. For any star-shaped HHH, δ↦Gn(δ;H)/δ\delta \mapsto G_n(\delta;H)/\deltaδ↦Gn​(δ;H)/δ is non-increasing on (0,∞)(0,\infty)(0,∞), and consequently Gn(δ;H)/δ≤cδG_n(\delta;H)/\delta \le c\deltaGn​(δ;H)/δ≤cδ has a smallest positive solution for every c>0c>0c>0.

Theorem 13.5 (special case, f∗∈Ff^*\in Ff∗∈F).

P[∥f^n−f∗∥n2≥16 tδn]≤e−ntδn/(2σ2)for all t≥δn.\mathbb P\big[\|\hat f_n - f^*\|_n^2 \ge 16\,t\delta_n\big] \le e^{-nt\delta_n/(2\sigma^2)} \qquad \text{for all } t \ge \delta_n.P[∥f^​n​−f∗∥n2​≥16tδn​]≤e−ntδn​/(2σ2)for all t≥δn​.

Theorem 13.13 (goal — general oracle inequality, f∗f^*f∗ not assumed in FFF). With δn\delta_nδn​ solving the critical inequality for ∂F:=F−F\partial F := F - F∂F:=F−F, there are universal constants (c0,c1,c2)(c_0,c_1,c_2)(c0​,c1​,c2​) such that for all t≥δnt\ge\delta_nt≥δn​,

∥f^n−f∗∥n2≤inf⁡γ∈(0,1)[1+γ1−γ∥f−f∗∥n2+c0γ(1−γ)tδn]for all f∈F,\|\hat f_n-f^*\|_n^2 \le \inf_{\gamma\in(0,1)}\left[\frac{1+\gamma}{1-\gamma}\|f-f^*\|_n^2 +\frac{c_0}{\gamma(1-\gamma)}t\delta_n\right]\quad\text{for all }f\in F,∥f^​n​−f∗∥n2​≤γ∈(0,1)inf​[1−γ1+γ​∥f−f∗∥n2​+γ(1−γ)c0​​tδn​]for all f∈F,

with probability at least 1−c1e−c2ntδn/σ21-c_1e^{-c_2nt\delta_n/\sigma^2}1−c1​e−c2​ntδn​/σ2. The goal is deliberately the statement with unresolved universal constants and an infimum over γ\gammaγ, rather than any single instantiated bound, so the target survives sharper constant tracking.

Significance

Theorem 13.13 is the "master" result behind essentially every concrete rate in the chapter: orthogonal series regression, convex/monotone regression, and (via the KRR specialization of Section 13.4) kernel ridge regression rates for Sobolev and Gaussian-kernel classes are all obtained by bounding GnG_nGn​ for a particular FFF and reading off δn\delta_nδn​. Its value is that it isolates exactly the one place where the geometry of FFF enters — the local Gaussian complexity — while the probabilistic argument (a peeling/chaining argument controlling a localized empirical process) is generic. Formalizing it produces, for the first time on the platform, the statement-level infrastructure (star-shaped classes, local Gaussian complexity, critical radius) that any future mission on a concrete nonparametric-regression rate — kernel ridge regression, convex regression, isotonic regression — can specialize, without re-deriving the oracle inequality from scratch. The proof itself (concentration of Gaussian complexity via Borell-TIS/Gaussian comparison plus a peeling argument over dyadic scales) is not attempted here; only the statement is formalized, as a draft goal for future proof contributions.

Difficulty

The naive route to Theorem 13.13 is to bound ∥f^n−f∗∥n\|\hat f_n - f^*\|_n∥f^​n​−f∗∥n​ pointwise via the basic inequality 12∥f^n−f∗∥n2≤σn∑iwi(f^n(xi)−f∗(xi))\tfrac12\|\hat f_n-f^*\|_n^2 \le \tfrac{\sigma}{n}\sum_i w_i(\hat f_n(x_i)-f^*(x_i))21​∥f^​n​−f∗∥n2​≤nσ​∑i​wi​(f^​n​(xi​)−f∗(xi​)) and then bound the right side by σ Gn(δ;∂F)\sigma\,G_n(\delta;\partial F)σGn​(δ;∂F) for δ=∥f^n−f∗∥n\delta = \|\hat f_n-f^*\|_nδ=∥f^​n​−f∗∥n​ — but δ\deltaδ is itself random (it depends on the estimate), so this is circular: the bound on the right depends on the very quantity being bounded. The chapter's actual argument resolves this with a peeling device: partition the event space by which dyadic annulus ∥f^n−f∗∥n\|\hat f_n-f^*\|_n∥f^​n​−f∗∥n​ falls into, and apply a uniform (non-circular) bound on each annulus separately via Gaussian concentration, summing a geometric series of tail probabilities. This is the step every first attempt misses, and it is why the local Gaussian complexity — rather than the simpler global complexity of Chapter 4/5 — is the right object: localizing to radius δ\deltaδ is what makes the per-annulus bound tight enough for the final sum to converge.

Formalization scope

Design points are an arbitrary type X (no topology or metric structure is needed for the statements themselves); the least-squares estimate is represented as a Prop (IsLeastSquaresEstimate) picking out any function achieving the empirical minimum, matching the book's "any minimizer" phrasing rather than assuming uniqueness. The local Gaussian complexity is defined as an expectation over an explicit i.i.d.-standard-Gaussian noise vector on an abstract probability space, with the inner supremum taken over the subtype of the radius-restricted slice of the class — this is well-defined (not the junk value 0 of an unbounded Set ℝ supremum) whenever the slice is nonempty, which holds automatically for any nonempty star-shaped class (taking α=0\alpha=0α=0 exhibits 000 in the class). Since neither X nor H carries a topology, separability or countability constraint, SatisfiesCriticalInequality adds an explicit Integrable hypothesis on that same supremum (added in revision), guarding against Mathlib's Bochner integral silently returning the junk value 0 for a non-measurable integrand — a value that would otherwise trivially satisfy the critical inequality for every positive δ, regardless of the function class's actual local complexity. The trivializing formalization to rule out here is stating Theorem 13.13's universal constants after the quantification over the function class and sample size, which would let (c0,c1,c2)(c_0,c_1,c_2)(c0​,c1​,c2​) secretly depend on the instance and make the "universal" claim vacuous; this mission places the constant quantifiers first, before the class, design and noise data they must not depend on. A complete downstream development would add: the concentration-of-Gaussian-complexity step (Borell–TIS or a comparable tail bound), the peeling argument, and the metric-entropy / Dudley-integral machinery of Section 13.2.1 for bounding GnG_nGn​ explicitly on concrete classes (Sobolev balls, RKHS balls) — none of which is attempted here.

Selected references

  • M. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Chapter 13. https://doi.org/10.1017/9781108627771
  • S. van de Geer, Empirical Processes in M-Estimation, Cambridge University Press, 2000.
  • S. van de Geer, "Estimating a regression function," Annals of Statistics, 18(2):907-924, 1990. https://doi.org/10.1214/aos/1176347627
5 thms4 active usersReviewed
ProbabilityRandom Matrix TheoryStatistics·Captain: mikedeng1

High-Dimensional Probability IX: The Matrix Deviation InequalityTextbook

Motivation

Random matrices with independent rows are the workhorse of high-dimensional statistics and compressed sensing: sample covariance matrices, sub-sampled measurement operators, and randomized sketches are all of this form. A basic question about such a matrix AAA is how close ∥Ax∥2\|Ax\|_2∥Ax∥2​ stays to its typical size E∥Ax∥2≈m∥x∥2\mathbb E\|Ax\|_2\approx\sqrt m\|x\|_2E∥Ax∥2​≈m​∥x∥2​ — not just for one fixed xxx, but simultaneously for every xxx in some set TTT of interest (a sphere, a cone, the difference set of a data cloud). A bound that holds only pointwise in xxx is of limited use, since most applications need to reason about the worst case over an entire geometric set at once.

This chapter proves such a uniform bound — the matrix deviation inequality — for matrices with independent, isotropic, sub-gaussian rows, controlling the deviation by a single geometric parameter of TTT, its Gaussian complexity. The result is a direct descendant of the chaining machinery of Chapter 8 (via Talagrand's comparison inequality, Chapter 8.6) and, in this book's own account, subsumes several results proved earlier by other methods — two-sided bounds on random matrices, the Johnson-Lindenstrauss lemma for infinite sets — while also yielding two new consequences central to high-dimensional convex geometry: the M∗M^*M∗ bound and the Escape theorem, both controlling how a random subspace intersects a fixed geometric set.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P). A random vector XXX in Rn\mathbb R^nRn is isotropic if its covariance matrix is the identity, Σ(X)=E[XX⊤]=In\Sigma(X)=\mathbb E[XX^\top]=I_nΣ(X)=E[XX⊤]=In​ — equivalently (the book's own Lemma 3.2.3), E⟨X,x⟩2=∥x∥22\mathbb E\langle X,x\rangle^2=\|x\|_2^2E⟨X,x⟩2=∥x∥22​ for every x∈Rnx\in\mathbb R^nx∈Rn. The sub-gaussian norm of a random vector XXX is ∥X∥ψ2:=sup⁡x∈Sn−1∥⟨X,x⟩∥ψ2\|X\|_{\psi_2}:=\sup_{x\in S^{n-1}}\|\langle X,x\rangle\|_{\psi_2}∥X∥ψ2​​:=supx∈Sn−1​∥⟨X,x⟩∥ψ2​​, the supremum over the unit sphere of the scalar sub-gaussian (Orlicz ψ2\psi_2ψ2​) norm of its one-dimensional marginals; XXX is sub-gaussian when this is finite.

Fix a standard Gaussian random vector g∼N(0,In)g\sim N(0,I_n)g∼N(0,In​) in Rn\mathbb R^nRn (a vector whose coordinates in any orthonormal basis are independent standard normal). For a subset T⊆RnT\subseteq\mathbb R^nT⊆Rn, the Gaussian width and Gaussian complexity of TTT are

w(T):=Esup⁡x∈T⟨g,x⟩,γ(T):=Esup⁡x∈T∣⟨g,x⟩∣,w(T) := \mathbb E\sup_{x\in T}\langle g,x\rangle, \qquad \gamma(T) := \mathbb E\sup_{x\in T}|\langle g,x\rangle|,w(T):=Ex∈Tsup​⟨g,x⟩,γ(T):=Ex∈Tsup​∣⟨g,x⟩∣,

two closely related measures of the geometric size of TTT — "cousins" that agree up to a factor of 222 whenever TTT contains the origin, and agree exactly when TTT is origin-symmetric.

Formalization targets

Goal (Theorem 9.1.1, Matrix deviation inequality)

∃ C>0:Esup⁡x∈T∣ ∥Ax∥2−m∥x∥2 ∣  ≤  CK2γ(T)\exists\,C>0:\quad \mathbb E\sup_{x\in T}\bigl|\,\|Ax\|_2-\sqrt m\|x\|_2\,\bigr| \;\le\; CK^2\gamma(T)∃C>0:Ex∈Tsup​​∥Ax∥2​−m​∥x∥2​​≤CK2γ(T)

for every m×nm\times nm×n matrix AAA whose rows A1,…,AmA_1,\dots,A_mA1​,…,Am​ are independent, isotropic, sub-gaussian random vectors with K:=max⁡i∥Ai∥ψ2K:=\max_i\|A_i\|_{\psi_2}K:=maxi​∥Ai​∥ψ2​​, and every T⊆RnT\subseteq\mathbb R^nT⊆Rn (whenever γ(T)\gamma(T)γ(T) is finite). CCC is the book's own unnamed absolute constant, hard-coded to no numeral — the weakest stable form of the claim.

Milestone (Theorem 9.4.2, the M∗M^*M∗ bound)

E diam(T∩ker⁡A)  ≤  CK2w(T)m\mathbb E\,\mathrm{diam}(T\cap\ker A) \;\le\; \frac{CK^2w(T)}{\sqrt m}Ediam(T∩kerA)≤m​CK2w(T)​

for the same class of matrices AAA and any bounded T⊆RnT\subseteq\mathbb R^nT⊆Rn, where ker⁡A\ker AkerA is the (random) kernel of AAA, a subspace of codimension at most mmm. A direct one-paragraph consequence of the goal theorem (apply it to T−TT-TT−T, then restrict to ker⁡A\ker AkerA, where ∥Ax−Ay∥2\|Ax-Ay\|_2∥Ax−Ay∥2​ vanishes).

Significance

The matrix deviation inequality converts a purely algebraic quantity — how close ∥Ax∥2\|Ax\|_2∥Ax∥2​ stays to m∥x∥2\sqrt m\|x\|_2m​∥x∥2​ — into a single geometric parameter of the index set TTT, letting it subsume, via specializations of TTT, results that were previously proved by separate ad hoc arguments: two-sided singular value bounds on random matrices (TTT a sphere), Johnson-Lindenstrauss-type embeddings for possibly infinite point sets (TTT a difference set), and covariance estimation. The M∗M^*M∗ bound is one of the two classical consequences the book develops fresh from the inequality (the other, the Escape theorem, is outside this mission's scope): it answers, quantitatively, how large a random affine section of a fixed convex body typically is, a question at the heart of the local theory of Banach spaces and of compressed sensing's recovery guarantees (Chapter 10 builds directly on this chapter's machinery). Both results have long-standing, well-understood classical proofs; this mission formalizes their statements, not open research.

Difficulty

The natural first idea — bound ∥Ax∥2−m∥x∥2\|Ax\|_2-\sqrt m\|x\|_2∥Ax∥2​−m​∥x∥2​ pointwise for a fixed xxx using concentration of the norm of a sub-gaussian random vector, then take a union bound over TTT — only works when TTT is finite, and gives a bound that scales with log⁡∣T∣\log|T|log∣T∣ rather than with the actual geometric size of TTT. The book's actual route treats Xx:=∥Ax∥2−m∥x∥2X_x:=\|Ax\|_2-\sqrt m\|x\|_2Xx​:=∥Ax∥2​−m​∥x∥2​, indexed by x∈Rnx\in\mathbb R^nx∈Rn, as a genuine random process and shows it has sub-gaussian increments (∥Xx−Xy∥ψ2≤CK2∥x−y∥2\|X_x-X_y\|_{\psi_2}\le CK^2\|x-y\|_2∥Xx​−Xy​∥ψ2​​≤CK2∥x−y∥2​) — itself a nontrivial fact proved in stages (first for a single unit vector via concentration of the norm, Theorem 3.1.1; then for a pair of unit vectors via a squared-process argument; only then in full generality) — and then invokes Talagrand's comparison inequality (a consequence of the chaining machinery of Chapter 8) to pass from sub-gaussian increments directly to a bound in terms of Gaussian complexity, without ever performing a union bound over TTT itself.

Formalization scope

A is represented by its rows, A : Fin m → Ω → EuclideanSpace ℝ (Fin n), with ‖Ax‖₂ recovered as Real.sqrt (∑ i, ⟨Aᵢ,x⟩²) rather than constructing A as a Matrix/LinearMap — this matches the book's own row-by-row hypotheses exactly and is what both theorems' own proofs use directly. IsIsotropic is formalized via the book's basis-free Lemma 3.2.3 characterization (E⟨X,x⟩² = ‖x‖² for every x) rather than the matrix equation Σ(X)=Iₙ, avoiding a fixed-basis covariance-matrix construction the rest of this chunk's definitions do not otherwise need. SubgaussianVectorNorm reuses the published scalar subgaussianNorm. GaussianWidth and GaussianComplexity realize the standard Gaussian vector g ∼ N(0,Iₙ) as the identity map on Mathlib's own standard Gaussian measure on a finite-dimensional inner product space (ProbabilityTheory.stdGaussian), and both, together with the goal's own left-hand side, use a locally-defined finite-marginal expected-supremum convention (ExpSup, EReal-valued) matching the book's own footnote-3 convention (Section 7.2), reused throughout the series. Both theorems' right-hand sides presuppose their respective geometric parameter (γ(T)\gamma(T)γ(T) or w(T)w(T)w(T)) is a finite real number; since both are EReal-valued in general, each theorem takes an explicit real witness together with a proof that it equals the true value — the same finiteness-disclosure pattern 07-chaining's Dudley inequality uses for its own right-hand integral, needed here for exactly the same reason (the book's own display does not spell out why the quantity is finite, true whenever TTT is bounded, as in every application). CCC (and, in the milestone, the same CCC again — the two are not asserted equal, matching that the book states them as two separate "absolute constants") is existentially quantified before every type, instance and hypothesis it is uniform over. The M∗M^*M∗ bound milestone (m_star_bound) additionally carries the hypothesis m>0m > 0m>0: its conclusion divides by m\sqrt mm​, and without this hypothesis Lean's real-division convention (x/0=0x/0=0x/0=0) makes the right-hand side 000 at m=0m=0m=0 regardless of C,K,w(T)C, K, w(T)C,K,w(T) — false whenever TTT has positive diameter, not merely a weaker or vacuous claim. The book's own proof ("Dividing by m\sqrt mm​ yields …", p. 241) already implicitly assumes m≥1m \ge 1m≥1, matching every other use of mmm in the chapter as a positive count of measurement rows.

A trivializing formalization would fix TTT to be a finite set, collapsing the goal to the elementary union-bound case the book explicitly contrasts its own more general statement against (Section 9.1's opening paragraph: "we may choose an arbitrary subset T⊆RnT\subseteq\mathbb R^nT⊆Rn"); this mission's goal quantifies over an arbitrary Set (EuclideanSpace ℝ (Fin n)) to rule that out.

This mission covers Theorem 9.1.1 and Theorem 9.4.2 only; Theorem 9.4.7 (the Escape theorem) and Theorem 9.2.4 (covariance estimation for lower-dimensional distributions), both named as candidate milestones, are left out for lack of session time given the substantial shared infrastructure this chapter needed from scratch. ExpSup, IsIsotropic, SubgaussianVectorNorm, GaussianWidth and GaussianComplexity are reusable by any later chapter needing an isotropic or sub-gaussian random vector, or a Gaussian-width-type quantity (Chapters 4, 10, 11 of this same book series all use one or more of these notions). Solvers' contributions are welcome on: Theorem 9.1.3 (the sub-gaussian increments of the deviation process, the technical heart of the goal's proof), Talagrand's comparison inequality itself (outside this mission, in 07-chaining's companion chapter), and the one-paragraph reduction from the goal to the M∗M^*M∗ bound.

Selected references

  • S. Mendelson, A. Pajor, N. Tomczak-Jaegermann, Reconstruction and subgaussian operators in asymptotic geometric analysis, Geometric and Functional Analysis 17 (2007), 1248–1282. https://doi.org/10.1007/s00039-007-0618-7
  • V. D. Milman, A new proof of A. Dvoretzky's theorem on cross-sections of convex bodies, Funkcional. Anal. i Priložen. 5 (1971), 28–37.
  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 9. https://doi.org/10.1017/9781108231596
10 thms4 active users
ProbabilityStatisticsTheoretical Computer Science·Captain: mikedeng1

Foundations of Machine Learning III: Structural Risk Minimization and Model SelectionTextbook

Motivation

Chapters 2 and 3 bound the estimation error of a hypothesis chosen from a fixed hypothesis set HHH, but the choice of HHH itself is left open: a richer HHH lowers the approximation error (how close HHH comes to the Bayes classifier) at the price of a looser generalization bound, and a poorer HHH does the reverse. Chapter 4 is the book's answer to this trade-off. It first shows that Empirical Risk Minimization (ERM) alone cannot resolve it — ERM ignores the complexity of HHH entirely — and then develops Structural Risk Minimization (SRM): decompose a rich hypothesis set into a nested countable union H=⋃k≥1HkH=\bigcup_{k\ge1}H_kH=⋃k≥1​Hk​ of increasingly complex pieces, and let the learning algorithm balance empirical fit against a complexity penalty for each HkH_kHk​ automatically. The chapter closes by showing how the same balance can be achieved computationally through convex surrogate losses, whose minimization is tractable where minimizing the zero-one loss directly is not.

Setting

For a hypothesis hhh chosen from HHH, the excess error R(h)−R∗R(h)-R^*R(h)−R∗ decomposes into an estimation term R(h)−inf⁡h∈HR(h)R(h)-\inf_{h\in H}R(h)R(h)−infh∈H​R(h) and an approximation term inf⁡h∈HR(h)−R∗\inf_{h\in H}R(h)-R^*infh∈H​R(h)−R∗ (Eq. 4.1). Proposition 4.1 bounds ERM's estimation error by twice the uniform deviation sup⁡h∈H∣R(h)−R^S(h)∣\sup_{h\in H}|R(h)-\hat R_S(h)|suph∈H​∣R(h)−R^S​(h)∣. For a nested family (Hk)k≥1(H_k)_{k\ge1}(Hk​)k≥1​ and h∈Hh\in Hh∈H, k(h)k(h)k(h) denotes the least index with h∈Hk(h)h\in H_{k(h)}h∈Hk(h)​; SRM selects hSSRMh_S^{SRM}hSSRM​ by minimizing Fk(h)=R^S(h)+Rm(Hk)+log⁡k/mF_k(h)=\hat R_S(h)+R_m(H_k)+\sqrt{\log k/m}Fk​(h)=R^S​(h)+Rm​(Hk​)+logk/m​ jointly over k≥1k\ge1k≥1 and h∈Hkh\in H_kh∈Hk​, where Rm(Hk)R_m(H_k)Rm​(Hk​) is HkH_kHk​'s Rademacher complexity (Definitions 3.1/3.2, restated locally in this chunk's ModelSelection namespace). Theorem 4.2 is the resulting learning guarantee. Section 4.4 develops a competing model-selection procedure, cross-validation, and Theorem 4.4 directly compares its guarantee to SRM's on a held-out split of the sample. Section 4.7 turns to real-valued scoring functions h:X→Rh:X\to\mathbb Rh:X→R with sign convention fh(x)=sign(h(x))f_h(x)=\mathrm{sign}(h(x))fh​(x)=sign(h(x)) and a convex non-decreasing surrogate Φ\PhiΦ of the zero-one loss; the Bayes scoring function h∗(x)=η(x)−12h^*(x)=\eta(x)-\tfrac12h∗(x)=η(x)−21​ (Eq. 4.9) and the Φ\PhiΦ-loss LΦL_\PhiLΦ​ (Eq. 4.10) let Theorem 4.7 bound the true excess error by a power of the surrogate's own excess loss.

Formalization targets

Proposition 4.1 (ERM bound, milestone). For any sample SSS, Pr⁡[R(hSERM)−inf⁡h∈HR(h)>ϵ]≤Pr⁡[sup⁡h∈H∣R(h)−R^S(h)∣>ϵ/2]\Pr[R(h_S^{ERM}) - \inf_{h\in H}R(h) > \epsilon] \le \Pr[\sup_{h\in H}|R(h)-\hat R_S(h)| > \epsilon/2]Pr[R(hSERM​)−infh∈H​R(h)>ϵ]≤Pr[suph∈H​∣R(h)−R^S​(h)∣>ϵ/2].

Theorem 4.2 — the mission's goal. For a nested countable union H=⋃k≥1HkH=\bigcup_{k\ge1}H_kH=⋃k≥1​Hk​ and hSSRMh_S^{SRM}hSSRM​ minimizing Fk(h)F_k(h)Fk​(h) over the whole union, for any δ>0\delta>0δ>0, with probability at least 1−δ1-\delta1−δ:

R(hSSRM)≤inf⁡h∈H[R(h)+2Rm(Hk(h))+log⁡k(h)m]+2log⁡(3/δ)m.R(h_S^{SRM}) \le \inf_{h\in H}\Big[R(h)+2R_m(H_{k(h)})+\sqrt{\tfrac{\log k(h)}m}\Big] + \sqrt{\tfrac{2\log(3/\delta)}m}.R(hSSRM​)≤h∈Hinf​[R(h)+2Rm​(Hk(h)​)+mlogk(h)​​]+m2log(3/δ)​​.

Theorem 4.4 (Cross-validation versus SRM, milestone). Splitting a sample of size mmm into S1S_1S1​ (size (1−α)m(1-\alpha)m(1−α)m, training) and S2S_2S2​ (size αm\alpha mαm, validation), for any δ>0\delta>0δ>0, with probability at least 1−δ1-\delta1−δ:

R(hSCV)−R(hS1SRM)≤2log⁡max⁡(k(hSCV),k(hS1SRM))αm+2log⁡(4/δ)2αm.R(h_S^{CV}) - R(h_{S_1}^{SRM}) \le 2\sqrt{\tfrac{\log\max(k(h_S^{CV}),k(h_{S_1}^{SRM}))}{\alpha m}} + 2\sqrt{\tfrac{\log(4/\delta)}{2\alpha m}}.R(hSCV​)−R(hS1​SRM​)≤2αmlogmax(k(hSCV​),k(hS1​SRM​))​​+22αmlog(4/δ)​​.

Theorem 4.7 (Convex-surrogate excess-error bound, milestone). For Φ\PhiΦ convex and non-decreasing with s≥1,c>0s\ge1,c>0s≥1,c>0 satisfying ∣h∗(x)∣s≤cs(LΦ(x,0)−LΦ(x,hΦ∗(x)))|h^*(x)|^s \le c^s(L_\Phi(x,0)-L_\Phi(x,h^*_\Phi(x)))∣h∗(x)∣s≤cs(LΦ​(x,0)−LΦ​(x,hΦ∗​(x))) for all xxx: R(h)−R∗≤2c(LΦ(h)−LΦ∗)1/sR(h)-R^* \le 2c(L_\Phi(h)-L^*_\Phi)^{1/s}R(h)−R∗≤2c(LΦ​(h)−LΦ∗​)1/s.

Significance

Theorem 4.2 is the chapter's headline result and the theoretical justification for regularization-based learning: it shows that a single algorithm, without knowing in advance which HkH_kHk​ contains a good hypothesis, achieves a guarantee that is — up to the log⁡k(h)/m\sqrt{\log k(h)/m}logk(h)/m​ penalty — as favorable as if an oracle had revealed the best-in-class index in advance (Eq. 4.6). It is also the chapter's genuine new content beyond chunk 03-rademacher-vc's single-hypothesis-set bound: the countable union bound (a 1/k²-weighted union over k≥1k\ge1k≥1 converging to π2/6\pi^2/6π2/6, hence the log⁡3\log 3log3 appearing in place of log⁡2\log 2log2) is not a restatement of Theorem 3.3 but a distinct argument, and the goal's inf over the whole nested family is what makes SRM a model-selection method rather than a bound for one fixed kkk. Theorem 4.4 is the chapter's only head-to-head comparison between two competing model-selection procedures, on two genuinely different samples. Theorem 4.7 is the bridge between the learning-theoretic guarantees of chapters 2-4 and the actually-implemented convex optimization problems of chapters 5 (SVM), 6 (kernels) and beyond, all of which minimize a convex surrogate rather than the zero-one loss directly. No prior art exists on the platform: GET /theorems?q=structural%20risk%20minimization and GET /theorems?q=model%20selection both return zero hits.

Difficulty

Theorem 4.2's proof genuinely uses the union bound over a countably infinite family indexed by k≥1k\ge1k≥1 with weight 1/k21/k^21/k2 converging to π2/6<2\pi^2/6 < 2π2/6<2 (Eq. 4.5) — this is the chapter's distinct new technique, not an application of chunk 03's finite/VC-dimension machinery to a single HkH_kHk​; a formalization that stated the bound only for one fixed kkk, or dropped the inf over the whole union in favor of a single best-in-class h∗h^*h∗, would be Theorem 4.2's named trivializing formalization (BRIEF.md's pitfall note) rather than the theorem itself. Theorem 4.4 requires keeping two distinct samples (S1S_1S1​, S2S_2S2​, of different, precisely related sizes) and two distinct hypotheses (hSCVh_S^{CV}hSCV​, hS1SRMh_{S_1}^{SRM}hS1​SRM​) apart throughout; conflating them collapses the comparison to a tautology. Theorem 4.7's difficulty is in its setup, not its statement: the Bayes scoring function, the Φ\PhiΦ-loss, and the pointwise Φ\PhiΦ-minimizer hΦ∗h^*_\PhihΦ∗​ (which the book allows to take the extended values ±∞\pm\infty±∞ at the degenerate points η(x)∈{0,1}\eta(x)\in\{0,1\}η(x)∈{0,1}) all need care to state without silently altering the theorem's content.

Formalization scope

GeneralizationError, EmpiricalError, EmpiricalRademacherComplexity and RademacherComplexity are restated locally in this chunk's ModelSelection namespace (identical in content to chunk 03-rademacher-vc's own copies), since a draft item cannot import another chunk's draft module. LeastIndex H h (k(h)) is Nat.sInf {k | 1 ≤ k ∧ h ∈ H k}; every theorem using it carries the standing hypothesis that h lies in the relevant union, guarding against trap 5 (Nat.sInf of an empty set). Theorem 4.2's hSRM and Proposition 4.1's hERM are hypothesis-supplied functions satisfying the book's optimality property, not constructed via choice over an unconstrained H; H.Nonempty (Proposition 4.1) and (⋃ k ≥ 1, Hk k).Nonempty (Theorem 4.2) guard the outer sInf/inf terms against trap 5. Theorem 4.7's hΦ∗h^*_\PhihΦ∗​ is formalized as a real-valued function satisfying the pointwise minimization property for all xxx; the book's own extended-real convention (hΦ∗(x)=±∞h^*_\Phi(x)=\pm\inftyhΦ∗​(x)=±∞ exactly where η(x)∈{0,1}\eta(x)\in\{0,1\}η(x)∈{0,1}) is outside this formalization — disclosed here and in MODERATION_NOTES.md — since no real number satisfies the minimizing property at those degenerate points, the theorem as stated applies precisely to the case a real-valued hΦ∗h^*_\PhihΦ∗​ can be supplied, which is the book's own generic case. No numerical constant is altered from the book in any of the four theorems: 2 and log(3/δ) in Theorem 4.2, 2 (twice) and log(4/δ) in Theorem 4.4, and 2c and the exponent 1/s in Theorem 4.7 are exactly as displayed.

Not formalized: the discussion of computing k∗k^*k∗ via binary search (a computational, not a statistical, result); nnn-fold and leave-one-out cross-validation (Section 4.5, a practical variant of Theorem 4.4's two-sample cross-validation without its own numbered generalization bound); regularization-based algorithms (Section 4.6, the uncountable-union extension of SRM, which the book itself only sketches without a numbered theorem); Lemma 4.5 and Proposition 4.6 (intermediate results establishing that hΦ∗h^*_\PhihΦ∗​ induces the same classifier as h∗h^*h∗, needed for Theorem 4.7's proof but not part of its statement); and the worked examples for the hinge, exponential and logistic losses (instantiations of Theorem 4.7's s,cs,cs,c, not separate theorems). Drafting only these worked instantiations in place of Theorem 4.7's general statement would be a trivializing formalization for this chapter.

Selected references

  • M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., MIT Press, 2018, Chapter 4.
  • V. Vapnik, Statistical Learning Theory, Wiley-Interscience, 1998 (structural risk minimization).
  • T. Zhang, "Statistical behavior and consistency of classification methods based on convex risk minimization," Annals of Statistics 32(1), 2003 (Theorem 4.7's origin).
16 thms4 active users
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Stochastic First-Order Methods for Average-Reward Markov Decision Processes: Stochastic Policy Mirror Descent Attains Expected Average-Cost Gap κ√(log|A|/K) + ς on Mixing AMDPsResearch Paper

Motivation

Many control problems in operations research have no natural horizon and no natural discount rate: a queue, an inventory system or a communication network runs indefinitely, and what matters is the cost it incurs per period in the long run. The average-reward Markov decision process (AMDP) is the standard model for these problems (Puterman, 2014, Ch. 8). Policy-gradient methods, and in particular policy mirror descent, have well-developed convergence theory in the discounted setting (Lan, 2022), where the discount factor makes the Bellman operator a contraction. In the average-reward setting that contraction is absent, and the analysis has to rely on the mixing of the Markov chains the policies induce.

Li, Wu and Lan (arXiv:2205.05800v6) study an actor–critic method for AMDPs, stochastic policy mirror descent (SPMD): the actor takes a KL-proximal step on the policy at every state, and the critic supplies an estimate of the differential Q-function whose bias and second moment are controlled. Their first convergence result, Theorem 1, bounds the expected optimality gap of the actor for unregularized AMDPs in terms of the two critic constants only. This mission formalizes that theorem and the lemmas its proof rests on.

Setting

An AMDP M=(S,A,P,c)\mathcal M=(\mathcal S,\mathcal A,\mathsf P,c)M=(S,A,P,c) has a finite state space S\mathcal SS, a finite action space A\mathcal AA, a transition kernel P(s′∣s,a)\mathsf P(s'\mid s,a)P(s′∣s,a) and a real cost c(s,a)c(s,a)c(s,a). A policy π\piπ assigns to every state a distribution π(⋅∣s)\pi(\cdot\mid s)π(⋅∣s) on actions. It induces the state transition matrix Pπ(s,s′)=∑aπ(a∣s)P(s′∣s,a)P_\pi(s,s')=\sum_a\pi(a\mid s)\mathsf P(s'\mid s,a)Pπ​(s,s′)=∑a​π(a∣s)P(s′∣s,a), the state–action matrix Pπ((s,a),(s′,a′))=P(s′∣s,a)π(a′∣s′)P^\pi((s,a),(s',a'))=\mathsf P(s'\mid s,a)\pi(a'\mid s')Pπ((s,a),(s′,a′))=P(s′∣s,a)π(a′∣s′), and the expected cost cπ(s)=∑ac(s,a)π(a∣s)c^\pi(s)=\sum_a c(s,a)\pi(a\mid s)cπ(s)=∑a​c(s,a)π(a∣s).

The average cost of π\piπ from state sss is

ρπ(s)=lim⁡T→∞1T∑t=0T−1Eπ[c(st,at)∣s0=s].\rho^\pi(s)=\lim_{T\to\infty}\frac1T\sum_{t=0}^{T-1}\mathbb E_\pi[c(s_t,a_t)\mid s_0=s].ρπ(s)=T→∞lim​T1​t=0∑T−1​Eπ​[c(st​,at​)∣s0​=s].

The AMDP is mixing (Assumption 1) if there is a finite tmixt_{\mathrm{mix}}tmix​ such that every policy π\piπ has a stationary distribution νπ\nu^\piνπ and max⁡q∥((Pπ)t)⊤q−νπ∥1≤12\max_{q}\|((P_\pi)^t)^\top q-\nu^\pi\|_1\le\frac12maxq​∥((Pπ​)t)⊤q−νπ∥1​≤21​ for some 1≤t≤tmix1\le t\le t_{\mathrm{mix}}1≤t≤tmix​. Then ρπ(s)=⟨νπ,cπ⟩\rho^\pi(s)=\langle\nu^\pi,c^\pi\rangleρπ(s)=⟨νπ,cπ⟩ does not depend on sss and is written ρ(π)\rho(\pi)ρ(π). The basic differential Q-function is Qˉπ(s,a)=∑t≥0(Eπ[c(st,at)∣s0=s,a0=a]−ρ(π))\bar Q^\pi(s,a)=\sum_{t\ge0}\big(\mathbb E_\pi[c(s_t,a_t)\mid s_0=s,a_0=a]-\rho(\pi)\big)Qˉ​π(s,a)=∑t≥0​(Eπ​[c(st​,at​)∣s0​=s,a0​=a]−ρ(π)).

Write Dqp=∑ap(a)log⁡p(a)q(a)D^p_q=\sum_a p(a)\log\frac{p(a)}{q(a)}Dqp​=∑a​p(a)logq(a)p(a)​ for the KL divergence and ∥x∥sp=max⁡ixi−min⁡ixi\|x\|_{\mathrm{sp}}=\max_ix_i-\min_ix_i∥x∥sp​=maxi​xi​−mini​xi​ for the span seminorm. SPMD starts from the uniform policy π0(a∣s)=1/∣A∣\pi_0(a\mid s)=1/|\mathcal A|π0​(a∣s)=1/∣A∣. At step kkk a critic returns a random estimate Qˉπk,ζk\bar{\mathcal Q}^{\pi_k,\zeta_k}Qˉ​πk​,ζk​ of Qˉπk\bar Q^{\pi_k}Qˉ​πk​, and the actor sets, at every state,

πk+1(⋅∣s)∈arg min⁡p∈Δ∣A∣{λk⟨Qˉπk,ζk(s,⋅),p⟩+Dπkp(s)}.\pi_{k+1}(\cdot\mid s)\in\operatorname*{arg\,min}_{p\in\Delta_{|\mathcal A|}}\Big\{\lambda_k\langle\bar{\mathcal Q}^{\pi_k,\zeta_k}(s,\cdot),p\rangle+D^p_{\pi_k}(s)\Big\}.πk+1​(⋅∣s)∈p∈Δ∣A∣​argmin​{λk​⟨Qˉ​πk​,ζk​(s,⋅),p⟩+Dπk​p​(s)}.

Assumption 3 asks for constants ς,κ≥0\varsigma,\kappa\ge0ς,κ≥0 such that, conditionally on the past, the mean Q~πk\tilde{\mathcal Q}^{\pi_k}Q~​πk​ of the estimate satisfies ∥Q~πk−Qˉπk∥sp≤ς\|\tilde{\mathcal Q}^{\pi_k}-\bar Q^{\pi_k}\|_{\mathrm{sp}}\le\varsigma∥Q~​πk​−Qˉ​πk​∥sp​≤ς (bias) and E∥Qˉπk,ζk∥sp2≤κ2\mathbb E\|\bar{\mathcal Q}^{\pi_k,\zeta_k}\|^2_{\mathrm{sp}}\le\kappa^2E∥Qˉ​πk​,ζk​∥sp2​≤κ2 (second moment). The paper's general form adds a convex regularizer hπ(s)h^\pi(s)hπ(s) with KL modulus ω≥0\omega\ge0ω≥0 to the cost, and the lemmas below are stated with it.

Formalization targets

Goal: Theorem 1 (p. 11)

Let π∗\pi^*π∗ be any policy, K≥1K\ge1K≥1, and λk=λ=2log⁡∣A∣/(κK)\lambda_k=\lambda=2\sqrt{\log|\mathcal A|}/(\kappa\sqrt K)λk​=λ=2log∣A∣​/(κK​). Then

E[∑k=0K−1(ρ(πk)−ρ(π∗))]≤κKlog⁡∣A∣+Kς,\mathbb E\Big[\sum_{k=0}^{K-1}\big(\rho(\pi_k)-\rho(\pi^*)\big)\Big]\le\kappa\sqrt{K\log|\mathcal A|}+K\varsigma,E[k=0∑K−1​(ρ(πk​)−ρ(π∗))]≤κKlog∣A∣​+Kς,

and, for an index rrr drawn uniformly from {0,…,K−1}\{0,\dots,K-1\}{0,…,K−1} independently of the run,

E[ρ(πr)−ρ(π∗)]≤κlog⁡∣A∣K+ς.\mathbb E\big[\rho(\pi_r)-\rho(\pi^*)\big]\le\frac{\kappa\sqrt{\log|\mathcal A|}}{\sqrt K}+\varsigma .E[ρ(πr​)−ρ(π∗)]≤K​κlog∣A∣​​+ς.

Milestones

  1. On a mixing AMDP, ρπ(s)=⟨νπ,cπ+hπ⟩\rho^\pi(s)=\langle\nu^\pi,c^\pi+h^\pi\rangleρπ(s)=⟨νπ,cπ+hπ⟩ for every sss (p. 6).
  2. The solution sets of the Bellman equations (2.3) and (2.4) are {Vˉπ+b1}\{\bar V^\pi+b\mathbf 1\}{Vˉπ+b1} and {Qˉπ+b1}\{\bar Q^\pi+b\mathbf 1\}{Qˉ​π+b1} (p. 6).
  3. Lemma 2, the performance difference identity ρ(π′)−ρ(π)=Es∼νπ′[⟨Qˉπ(s,⋅),π′(⋅∣s)−π(⋅∣s)⟩+hπ′(s)−hπ(s)]\rho(\pi')-\rho(\pi)=\mathbb E_{s\sim\nu^{\pi'}}[\langle\bar Q^\pi(s,\cdot),\pi'(\cdot\mid s)-\pi(\cdot\mid s)\rangle+h^{\pi'}(s)-h^\pi(s)]ρ(π′)−ρ(π)=Es∼νπ′​[⟨Qˉ​π(s,⋅),π′(⋅∣s)−π(⋅∣s)⟩+hπ′(s)−hπ(s)] (p. 7).
  4. The three-point inequality (3.13) for the KL prox step with a regularizer (p. 10).
  5. Lemma 4, the one-step inequality E[λk(ρ(πk)−ρ(π∗))+(1+λkω)D(πk+1,π∗)]≤E[D(πk,π∗)]+λkς+λk2(κ2/4+L2)\mathbb E[\lambda_k(\rho(\pi_k)-\rho(\pi^*))+(1+\lambda_k\omega)D(\pi_{k+1},\pi^*)]\le\mathbb E[D(\pi_k,\pi^*)]+\lambda_k\varsigma+\lambda_k^2(\kappa^2/4+L^2)E[λk​(ρ(πk​)−ρ(π∗))+(1+λk​ω)D(πk+1​,π∗)]≤E[D(πk​,π∗)]+λk​ς+λk2​(κ2/4+L2) (p. 10), with D(π,π′)=Es∼ν∗[Dππ′(s)]D(\pi,\pi')=\mathbb E_{s\sim\nu^*}[D^{\pi'}_\pi(s)]D(π,π′)=Es∼ν∗​[Dππ′​(s)].
  6. D(π0,π∗)≤log⁡∣A∣D(\pi_0,\pi^*)\le\log|\mathcal A|D(π0​,π∗)≤log∣A∣ for the uniform π0\pi_0π0​ (p. 12).

Lemma 4 is posed in the form its proof derives. As printed, the stepsize λk\lambda_kλk​ also multiplies the distance term, and that form is false: one state, two actions, costs (0,0.01)(0,0.01)(0,0.01), an exact critic and λ0=100\lambda_0=100λ0​=100 give a left side of 31.8331.8331.83 against a right side of 0.9430.9430.943.

Significance

Theorem 1 separates the two sources of error in an actor–critic method. The bias ς\varsigmaς enters additively and is not amplified over the iterations, while the noise enters only through the second moment κ2\kappa^2κ2 and is averaged out at rate 1/K1/\sqrt K1/K​. This separation is what lets the paper combine the actor with critics of different accuracy, including linear function approximation, whose bias cannot be driven to zero (§3.2). The same one-step inequality (Lemma 4) also yields the O(1/K)\mathcal O(1/K)O(1/K) rate for strongly convex regularizers (Theorem 2).

The result is proved in the paper. As far as the platform's catalog shows, none of it is formalized: there is no machine-checked average-reward performance difference lemma, no Bellman solution-set characterization for a mixing chain, and no KL-prox three-point inequality on the simplex with a non-smooth regularizer. Machine-checked proofs of Theorem 1 and its milestones are the work this mission asks for.

Difficulty

The obvious argument copies the discounted analysis and runs into two places where the discount factor did the work. First, the existence and state-independence of ρπ\rho^\piρπ and the convergence of the series defining Qˉπ\bar Q^\piQˉ​π need the mixing assumption to be turned into geometric convergence of PπtP_\pi^tPπt​ to 1(νπ)⊤\mathbf 1(\nu^\pi)^\top1(νπ)⊤. The policy-evaluation equations then have a one-dimensional family of solutions rather than a unique fixed point. Second, the stochastic step needs both the bias and the conditional second moment. Taking expectations of the per-state inequality requires the iterates to be measurable with respect to the past, and the critic's mean, a conditional expectation, has to be compared with the exact Qˉπk\bar Q^{\pi_k}Qˉ​πk​ of a random policy. Only the span of the error enters, because the update ignores constant shifts of Qˉ\bar{\mathcal Q}Qˉ​.

Formalization scope

Finite state and action types; policies are real functions π(s)(a)\pi(s)(a)π(s)(a) with the published IsPolicy; transitions use the published IsTransitionKernel, InducedTransition, InducedReward and MarkovMixing.IsStationary. Expectations along the chain are matrix powers. ρ\rhoρ is the limit of the Cesàro means, and Vˉπ,Qˉπ\bar V^\pi,\bar Q^\piVˉπ,Qˉ​π are series of expectations (the pathwise series need not converge). Regularized costs are passed as the cost argument. DqpD^p_qDqp​ uses Real.log; every iterate is strictly positive, so the KL divergences that occur are the true ones, and (2.2) is required at strictly positive points only. Assumption 3 lives on a probability space with a filtration whose kkk-th σ-algebra plays the paper's Fk−1\mathcal F_{k-1}Fk−1​. Every expectation the assumption writes carries its integrability: without it the conditional expectation would default to 000 and (3.9) would hold for any critic, a trivialization the statements rule out. The variance condition (3.8) is not assumed, since no target uses it. The comparator π∗\pi^*π∗ is any policy, not only an optimal one; the proofs never use optimality. Theorem 1 has no regularizer: L=0L=0L=0 forces hπ(s)h^\pi(s)hπ(s) to be independent of π\piπ, so it is absorbed into the cost.

A complete development needs geometric ergodicity of finite mixing chains, Cesàro limits and absolutely convergent series of matrix powers, the KL prox step on the simplex (strict positivity of the minimizer, its optimality condition, the three-point identity, Pinsker's inequality), and conditional expectations against a filtration. The mixing-chain and KL-prox parts are reusable well beyond this mission, for discounted and average-reward policy optimization alike. Proofs of any milestone are welcome, as are general lemmas on finite Markov chains and KL geometry that the milestones use.

Selected references

  • T. Li, F. Wu, G. Lan, Stochastic First-Order Methods for Average-Reward Markov Decision Processes, Mathematics of Operations Research, 2025; cited here in the version arXiv:2205.05800v6, 2024. https://arxiv.org/abs/2205.05800
  • G. Lan, Policy mirror descent for reinforcement learning: linear convergence, new sampling complexity, and generalized problem classes, Mathematical Programming, 2023. https://arxiv.org/abs/2102.00135
  • G. Lan, First-order and Stochastic Optimization Methods for Machine Learning, Springer, 2020. https://doi.org/10.1007/978-3-030-39568-1
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 2014 (first ed. 1994). https://doi.org/10.1002/9780470316887
  • S. Kakade, J. Langford, Approximately optimal approximate reinforcement learning, ICML 2002. https://dl.acm.org/doi/10.5555/645531.656005
  • Y. Zhang, K. Ross, On-policy deep reinforcement learning for the average-reward criterion, ICML 2021. https://arxiv.org/abs/2106.07329
13 thms3 active usersReviewed
Operations ResearchStatistics·Captain: mikedeng1

Fixing Inventory Inaccuracies at Scale: The Entrywise Algorithm's Expected Anomaly-Detection Cost Is Within O(log^1.5(m)/√m) of the Optimal CostResearch Paper

Motivation

Retail inventory records are often wrong. A store's system may report units on the shelf that are not there (phantom inventory), so the replenishment system never reorders and the product silently stops selling. Audits fix such errors but are expensive, so a retailer wants to decide which store–SKU pairs to audit from sales data alone. The classical way, studying each pair's sales history over a long period, needs time-homogeneous data that rarely exists.

Farias, Li and Peng (arXiv:2006.13126v3, Manufacturing & Service Operations Management, 2024) instead use a single cross-sectional snapshot of sales across nnn stores and mmm SKUs. Expected demand is modelled as a low-rank matrix, anomalies corrupt a random subset of entries, and only some entries are observed. The paper proposes the entrywise (EW) algorithm and proves that its expected decision cost approaches that of an oracle knowing the model, at rate log⁡1.5(m)/m\log^{1.5}(m)/\sqrt mlog1.5(m)/m​. A matching Ω(1/m)\Omega(1/\sqrt m)Ω(1/m​) lower bound (Proposition 1) is also proved. The paper evaluates the method on synthetic data and on real data from a consumer goods retailer.

Setting

An instance has an expected-demand matrix M∗∈R+n×mM^*\in\mathbb R_+^{n\times m}M∗∈R+n×m​ with 2≤m≤n2\le m\le n2≤m≤n, rank rrr and SVD M∗=UΣV⊤M^*=U\Sigma V^\topM∗=UΣV⊤ with singular values σ1∗≥⋯≥σr∗>0\sigma_1^*\ge\dots\ge\sigma_r^*>0σ1∗​≥⋯≥σr∗​>0 and κ=σ1∗/σr∗\kappa=\sigma_1^*/\sigma_r^*κ=σ1∗​/σr∗​. It also has an anomaly model Anom(α,M)\mathrm{Anom}(\alpha,M)Anom(α,M), which is a family of laws on N\mathbb NN indexed by a parameter α∈Γ⊂Rd\alpha\in\Gamma\subset\mathbb R^dα∈Γ⊂Rd and a mean level M≥0M\ge0M≥0. The remaining data are a true parameter α∗\alpha^*α∗, an anomaly probability pA∗p_A^*pA∗​, an observation probability pOp_OpO​, and costs cij(0)c^{(0)}_{ij}cij(0)​ (flagging a normal entry) and cij(1)c^{(1)}_{ij}cij(1)​ (missing an anomaly). Independently for every entry:

  1. the entry is observed with probability pOp_OpO​; the observed set is Ω\OmegaΩ;
  2. Bij∼Bernoulli(pA∗)B_{ij}\sim\mathrm{Bernoulli}(p_A^*)Bij​∼Bernoulli(pA∗​) marks an anomaly;
  3. sales are Xij∼Poisson(Mij∗)X_{ij}\sim\mathrm{Poisson}(M^*_{ij})Xij​∼Poisson(Mij∗​) if Bij=0B_{ij}=0Bij​=0 and Xij∼Anom(α∗,Mij∗)X_{ij}\sim\mathrm{Anom}(\alpha^*,M^*_{ij})Xij​∼Anom(α∗,Mij∗​) if Bij=1B_{ij}=1Bij​=1.

Assumptions (§2):

  • ∥M∗∥max⁡\|M^*\|_{\max}∥M∗∥max​ lies between a constant cM>0c_M>0cM​>0 and LLL.
  • Incoherence: ∥U∥2,∞≤μr/n\|U\|_{2,\infty}\le\sqrt{\mu r/n}∥U∥2,∞​≤μr/n​ and ∥V∥2,∞≤μr/m\|V\|_{2,\infty}\le\sqrt{\mu r/m}∥V∥2,∞​≤μr/m​.
  • Sparsity: pO≥Clog⁡1.5(m)μrκ2/m\sqrt{p_O}\ge C\log^{1.5}(m)\mu r\kappa^2/\sqrt mpO​​≥Clog1.5(m)μrκ2/m​.
  • pA∗≤1−cAp_A^*\le1-c_ApA∗​≤1−cA​.
  • Anom(α∗,Mij∗)\mathrm{Anom}(\alpha^*,M^*_{ij})Anom(α∗,Mij∗​) has sub-exponential norm ≤L\le L≤L.
  • P(Anom(α,M)=k)\mathbb P(\mathrm{Anom}(\alpha,M)=k)P(Anom(α,M)=k) is KKK-Lipschitz in (α,M)(\alpha,M)(α,M).
  • Mean decomposition: E Anom(α,M)=g(α)M\mathbb E\,\mathrm{Anom}(\alpha,M)=g(\alpha)MEAnom(α,M)=g(α)M with ggg valued in [0,1][0,1][0,1] and KKK-Lipschitz.

The oracle π∗\pi^*π∗ knows θ∗=(α∗,pA∗)\theta^*=(\alpha^*,p_A^*)θ∗=(α∗,pA∗​) and M∗M^*M∗. It computes the posterior fij∗=P(Bij=0∣XΩ)=yij∗/(xij∗+yij∗)f^*_{ij}=\mathbb P(B_{ij}=0\mid X_\Omega)=y^*_{ij}/(x^*_{ij}+y^*_{ij})fij∗​=P(Bij​=0∣XΩ​)=yij∗​/(xij∗​+yij∗​), where xij∗=pA∗PAnom(α∗,Mij∗)(Xij)x^*_{ij}=p_A^*\mathbb P_{\mathrm{Anom}(\alpha^*,M^*_{ij})}(X_{ij})xij∗​=pA∗​PAnom(α∗,Mij∗​)​(Xij​) and yij∗=(1−pA∗)PPoisson(Mij∗)(Xij)y^*_{ij}=(1-p_A^*)\mathbb P_{\mathrm{Poisson}(M^*_{ij})}(X_{ij})yij∗​=(1−pA∗​)PPoisson(Mij∗​)​(Xij​). It flags (i,j)(i,j)(i,j) iff cij(1)/(cij(0)+cij(1))≥fij∗c^{(1)}_{ij}/(c^{(0)}_{ij}+c^{(1)}_{ij})\ge f^*_{ij}cij(1)​/(cij(0)​+cij(1)​)≥fij∗​. The EW algorithm πEW\pi^{EW}πEW runs four steps:

  1. It computes M^=nm∣Ω∣SVD(XΩ)r\hat M=\frac{nm}{|\Omega|}\mathrm{SVD}(X_\Omega)_rM^=∣Ω∣nm​SVD(XΩ​)r​, a rescaled best rank-rrr approximation of the zero-filled observations.
  2. It estimates θ^\hat\thetaθ^ by matching TTT empirical CDF values ∣{Xij≤t,(i,j)∈Ω}∣/∣Ω∣|\{X_{ij}\le t,(i,j)\in\Omega\}|/|\Omega|∣{Xij​≤t,(i,j)∈Ω}∣/∣Ω∣ to their model predictions gt(θ,M^/e(θ))g_t(\theta,\hat M/e(\theta))gt​(θ,M^/e(θ)), where e(θ)=pAg(α)+1−pAe(\theta)=p_Ag(\alpha)+1-p_Ae(θ)=pA​g(α)+1−pA​.
  3. It forms plug-in estimates f^ij\hat f_{ij}f^​ij​ of fij∗f^*_{ij}fij∗​.
  4. It applies the oracle's threshold rule to f^\hat ff^​.

The cost of decisions AAA is

costA(XΩ)=1∣Ω∣∑(i,j)∈Ω(cij(0)1{Aij=1}fij∗+cij(1)1{Aij=0}(1−fij∗)).\mathrm{cost}^A(X_\Omega)=\frac1{|\Omega|}\sum_{(i,j)\in\Omega}\Big(c^{(0)}_{ij}\mathbf 1\{A_{ij}=1\}f^*_{ij}+c^{(1)}_{ij}\mathbf 1\{A_{ij}=0\}(1-f^*_{ij})\Big).costA(XΩ​)=∣Ω∣1​(i,j)∈Ω∑​(cij(0)​1{Aij​=1}fij∗​+cij(1)​1{Aij​=0}(1−fij∗​)).

Formalization targets

Goal: Theorem 1 (p. 12)

EXΩ(costπEW(XΩ)−costπ∗(XΩ))≤cmax⁡ C0 (1+K+L+κ+μ+r+pO−1)k log⁡1.5(m)m.\mathbb E_{X_\Omega}\Big(\mathrm{cost}^{\pi^{EW}}(X_\Omega)-\mathrm{cost}^{\pi^*}(X_\Omega)\Big)\le c_{\max}\,C_0\,(1+K+L+\kappa+\mu+r+p_O^{-1})^k\,\frac{\log^{1.5}(m)}{\sqrt m}.EXΩ​​(costπEW(XΩ​)−costπ∗(XΩ​))≤cmax​C0​(1+K+L+κ+μ+r+pO−1​)km​log1.5(m)​.

The constants C0C_0C0​ and kkk and the sparsity constant depend only on ddd, cMc_McM​, cAc_AcA​ and the regularity constant CRCC_{RC}CRC​. The statement asserts the paper's rate with polynomial dependence on the model parameters. It does not fix the polynomial, so a sharper analysis still proves it.

Milestones, in the proof's order

  • Lemma 8: ∥Poisson(λ)∥ψ1≤4λ+1\|\mathrm{Poisson}(\lambda)\|_{\psi_1}\le4\lambda+1∥Poisson(λ)∥ψ1​​≤4λ+1.
  • Lemma 14: a Bernstein bound for ∑(i,j)∈ΩTij\sum_{(i,j)\in\Omega}T_{ij}∑(i,j)∈Ω​Tij​.
  • Theorem 2: the entrywise bound ∥M^−e(θ∗)M∗∥max⁡≤Cδ′\|\hat M-e(\theta^*)M^*\|_{\max}\le C\delta'∥M^−e(θ∗)M∗∥max​≤Cδ′ with δ′=κ4μrLlog⁡m/(pOm)\delta'=\kappa^4\mu rL\sqrt{\log m/(p_Om)}δ′=κ4μrLlogm/(pO​m)​.
  • Lemmas 15 and 16: the model moments and the objective h(θ∗)h(\theta^*)h(θ∗).
  • Lemma 2: ∥F(θ^)−F(θ∗)∥≲(K+L)δ′\|F(\hat\theta)-F(\theta^*)\|\lesssim(K+L)\delta'∥F(θ^)−F(θ∗)∥≲(K+L)δ′.
  • Lemma 17: a quantitative inverse-function bound.
  • Lemma 1: ∥θ^−θ∗∥≲(K+L)δ′\|\hat\theta-\theta^*\|\lesssim(K+L)\delta'∥θ^−θ∗∥≲(K+L)δ′.
  • Lemmas 18 and 19: plug-in likelihoods and the ratio perturbation bound.
  • Lemma 3: ∣fij∗−f^ij∣≤min⁡(Cδ/(xij∗+yij∗),1)|f^*_{ij}-\hat f_{ij}|\le\min(C\delta/(x^*_{ij}+y^*_{ij}),1)∣fij∗​−f^​ij​∣≤min(Cδ/(xij∗​+yij∗​),1).
  • Step 4 of the proof sketch: the excess cost is at most 1∣Ω∣∑Ω∣aij−bij∣\frac1{|\Omega|}\sum_\Omega|a_{ij}-b_{ij}|∣Ω∣1​∑Ω​∣aij​−bij​∣.

Significance

Theorem 1 says that the value of cross-sectional data grows with the number of stores and SKUs. A retailer that can only see one snapshot does nearly as well as one that knows the demand matrix and the anomaly law exactly. With Proposition 1, the rate is optimal up to the logarithmic factor. Theorem 2 is, per the authors, the first entrywise guarantee for matrix completion under Poisson (more generally sub-exponential) noise, and it is reusable outside inventory problems.

The results are proved on paper: Theorem 1 by a proof sketch in §5.1 plus Appendix B, and Theorem 2 in Appendix A, which builds on a cited entrywise eigenvector perturbation theorem of Abbe et al. None of this is formalized. A machine-checked proof would also settle the constants and conventions that the paper leaves implicit. These include the dimension restriction in Lemma 17, the unspecified constant in Lemma 3, the form of the sparsity assumption used in the proof of Theorem 2, and the closed range of pAp_ApA​ in Θ\ThetaΘ.

Difficulty

The obvious argument plugs consistent estimates of M∗M^*M∗ and θ∗\theta^*θ∗ into the Bayes rule. It breaks at the first step: a Frobenius-norm bound for M^\hat MM^, which is what standard matrix completion gives, does not control any single f^ij\hat f_{ij}f^​ij​. An entrywise bound is needed, under heavy-tailed (sub-exponential, not sub-Gaussian) noise, and with the anomalies corrupting the mean by the unknown factor e(θ∗)e(\theta^*)e(θ∗). The second step inverts the moment map FFF. Closeness of moments yields closeness of parameters only through a quantitative inverse-function argument, which needs the regularity conditions of Lemma 1. A third subtlety is that fij∗f^*_{ij}fij∗​ is a ratio whose denominator xij∗+yij∗x^*_{ij}+y^*_{ij}xij∗​+yij∗​ can be tiny. The error bound of Lemma 3 therefore degrades on rare sales values, and Theorem 1 averages this over the law of XXX.

Formalization scope

One definitions module, InventoryAnomaly.EW.Model, holds the instance, the product sampling law over {\{{observed}×{\}\times\{}×{anomalous}×N\}\times\mathbb N}×N per entry, the estimators, the costs and four predicates:

  • Model: §2's assumptions;
  • SparsityMax: the sparsity condition as read in the proof of Theorem 2, p. 41;
  • Regular: Lemma 1's conditions;
  • CostBound: costs in [0,cmax⁡][0,c_{\max}][0,cmax​].

The sub-exponential norm is the published HighDimProb.Concentration.subexponentialNorm.

Conventions:

  • Parameters. θ=(α,pA)∈Rd+1\theta=(\alpha,p_A)\in\mathbb R^{d+1}θ=(α,pA​)∈Rd+1, and T=d+1T=d+1T=d+1 moments are matched.
  • Parameter set. Θ=Γ×[0,1−cA]\Theta=\Gamma\times[0,1-c_A]Θ=Γ×[0,1−cA​].
  • Clamped means. Laws are evaluated at the mean max⁡(M,0)\max(M,0)max(M,0).
  • Cost. The cost is the closed form (5) with f∗f^*f∗ by Bayes' rule (8). c(0)c^{(0)}c(0) is the false-positive cost (the display on p. 12 swaps the labels).
  • Estimators. SVDr\mathrm{SVD}_rSVDr​ is any exact best rank-rrr approximation. θ^\hat\thetaθ^ is any point of Θ\ThetaΘ with h(θ^)≤h(θ∗)h(\hat\theta)\le h(\theta^*)h(θ^)≤h(θ∗), which every minimiser of (7) satisfies.
  • Constants. "O(⋅)O(\cdot)O(⋅)" and "with probability 1−O(1/nm)1-O(1/nm)1−O(1/nm)" are existential constants. They come after d,cM,cA,CRCd,c_M,c_A,C_{RC}d,cM​,cA​,CRC​ and before the instance.
  • Added conditions. 2≤m≤n2\le m\le n2≤m≤n, 1≤r≤m1\le r\le m1≤r≤m, finite anomaly means, and nonnegative costs. Lemma 17 is stated for square Jacobians. Lemma 3 has a constant CCC in place of 2. Lemma 19's δ/(x^+y^)\delta/(\hat x+\hat y)δ/(x^+y^​) clause is stated when x^+y^>0\hat x+\hat y>0x^+y^​>0. Each item's Formalization Note lists these.

The algorithm's selections are universally quantified together with their defining properties. Neither may be replaced by unconstrained functions. The cost of π∗\pi^*π∗ must use f∗f^*f∗, not f^\hat ff^​. The goal must keep the explicit rate log⁡1.5(m)/m\log^{1.5}(m)/\sqrt mlog1.5(m)/m​ and the full probability model, without assuming Theorem 2's event.

Not formalized: Proposition 1 (the lower bound), Appendix E (the TPR/FPR-constrained variant), the cited Lemmas 6–7, and the internal Lemmas 9–13 and Propositions 2–3 of Appendix A.

Useful infrastructure includes entrywise singular-subspace perturbation bounds, Bernstein's inequality for bounded independent sums, and Orlicz-norm bounds for Poisson variables. All three are reusable beyond this mission. Proofs of individual milestones are welcome, especially Lemmas 8, 14, 17 and 19 and Step 4, which are self-contained.

Selected references

  • V. F. Farias, A. A. Li, T. Peng, Fixing Inventory Inaccuracies at Scale, Manufacturing & Service Operations Management, 2024; arXiv:2006.13126v3 (2022). https://arxiv.org/abs/2006.13126
  • E. Abbe, J. Fan, K. Wang, Y. Zhong, Entrywise Eigenvector Analysis of Random Matrices with Low Expected Rank, Annals of Statistics 48(3), 2020. https://arxiv.org/abs/1709.09565
  • A. D. McRae, M. A. Davenport, Low-rank matrix completion and denoising under Poisson noise, Information and Inference 10(2), 2021. https://arxiv.org/abs/1907.05325
  • R. Vershynin, High-Dimensional Probability, Cambridge University Press, 2018. https://doi.org/10.1017/9781108231596
15 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

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

Learning which products to offer

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

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

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

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

Setting

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 3

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Speculative Actions: A Lossless Framework for Faster Agentic Systems: Exact Expected Runtime Ratio of k-Branch Speculation Under Exponential LatenciesResearch Paper

Motivation

An agentic system may make several slow API calls in sequence: the answer to one call determines what to request next. A speculator can guess the current answer while the real call is running and start likely next calls early. When a guess is correct, the system can reuse a pending result; when it is wrong, it discards that result. This can shorten a run if concurrent calls do not interfere and incorrect calls have no lasting side effects. Ye and coauthors introduce this execution scheme for language-model and tool-using agents in Speculative Actions, §2.

The paper's Proposition 1 quantifies the expected latency of one-step speculation with exponential call times. Its proof in Appendix A states a stochastic timing model and computes a finite-horizon runtime ratio and its limit. The first author's existing Prove2Me mission, Speculative Actions: Cost-Latency Analysis for Agentic Speculation, contains proved algebraic identities for expressions named specTime and seqTime. Those expressions encode the values claimed for the expectations. This mission supplies the missing connection between random executions and those expressions, while reusing the published algebra.

Setting

There are TTT real API calls, numbered 000 through T−1T-1T−1. The real-call latency of step ttt is BtB_tBt​ with exponential rate β\betaβ. At a speculation window during step ttt, a speculator has latency AtA_tAt​ with exponential rate α\alphaα. It produces kkk candidate next calls. Each candidate independently matches the actual next call with probability ppp, so a hit means that at least one of the kkk candidates matches. The hit probability is

p(k)=1−(1−p)k.p(k)=1-(1-p)^k.p(k)=1−(1−p)k.

All latencies and branch-correctness indicators are mutually independent. Proposition 1 assumes 0<β<α0<\beta<\alpha0<β<α and Assumption 1 gives p>0p>0p>0; as a probability, p≤1p\le1p≤1. Assumption 2 permits concurrent API calls and reversible or side-effect-free pre-launching. The theorem also treats state transitions and construction of API parameters as having negligible duration. These conditions and the exponential laws are stated in §2 and Proposition 1.

The sequential runtime TseqT_{\mathrm{seq}}Tseq​ is ∑t<TBt\sum_{t<T}B_t∑t<T​Bt​. The speculative runtime TsT_sTs​ follows Appendix A's timing rule. At a window without a hit, the current step costs BtB_tBt​. At a hit, the block comprising steps ttt and t+1t+1t+1 costs min⁡(At,Bt)+Bt+1\min(A_t,B_t)+B_{t+1}min(At​,Bt​)+Bt+1​, and step t+1t+1t+1 opens no window. The last step cannot open a window. This is the model used in the paper's proof of Proposition 1, Appendix A, pp. 14–15. Its precise timing rule matters: reading Algorithm 1's awaits literally gives a different timeline, as does waiting for validation before accepting an early next-step result.

Let SnS_nSn​ be the expected number of hits in nnn potential windows, with a hit consuming the following window. The paper gives S0=0S_0=0S0​=0, S1=p(k)S_1=p(k)S1​=p(k), and

Sn=p(k)(1+Sn−2)+(1−p(k))Sn−1(n≥2).S_n=p(k)(1+S_{n-2})+(1-p(k))S_{n-1}\qquad(n\ge2).Sn​=p(k)(1+Sn−2​)+(1−p(k))Sn−1​(n≥2).

Formalization targets

Random-runtime identities

The new milestones identify the expectation of the sequential runtime, the saving from one correct speculation, and the expected hit count. The total-saving identity is

E[Ts]=Tβ−ST−1αβ(α+β),T≥1.\mathbb E[T_s]=\frac{T}{\beta}-S_{T-1}\frac{\alpha}{\beta(\alpha+\beta)},\qquad T\ge1.E[Ts​]=βT​−ST−1​β(α+β)α​,T≥1.

Here ST−1S_{T-1}ST−1​ is the expectation of the random count defined by the execution model. The previously published expression SpecActions.specTime has this same algebraic form; proving equality with the integral of the random runtime is the new step. The closed form for SnS_nSn​ and the algebraic ratio are linked as published milestones.

Proposition 1

For every integer T≥1T\ge1T≥1, the goal is the Proposition 1 ratio for the actual expectations:

E[Ts]E[Tseq]=1−1Tαα+β[(T−1)p(k)1+p(k)+p(k)2(1+p(k))2−p(k)2(1+p(k))2(−p(k))T−1].\frac{\mathbb E[T_s]}{\mathbb E[T_{\mathrm{seq}}]}=1-\frac1T\frac{\alpha}{\alpha+\beta}\left[\frac{(T-1)p(k)}{1+p(k)}+\frac{p(k)^2}{(1+p(k))^2}-\frac{p(k)^2}{(1+p(k))^2}(-p(k))^{T-1}\right].E[Tseq​]E[Ts​]​=1−T1​α+βα​[1+p(k)(T−1)p(k)​+(1+p(k))2p(k)2​−(1+p(k))2p(k)2​(−p(k))T−1].

The same goal states convergence of this random-runtime ratio as T→∞T\to\inftyT→∞ to

1−p(k)1+p(k)αα+β.1-\frac{p(k)}{1+p(k)}\frac{\alpha}{\alpha+\beta}.1−1+p(k)p(k)​α+βα​.

The horizon condition protects the denominator: at T=0T=0T=0, the sequential runtime is zero. The number of branches may be zero; then p(0)=0p(0)=0p(0)=0 and the ratio is one for positive horizons.

Significance

The formula describes how breadth kkk, branch accuracy ppp, and the two latency rates affect expected completion time, both for a finite sequence of calls and in a long run. It makes the expected benefit of extra branches a quantity that can be compared with their resource cost. The paper uses the time expression again in its cost–latency discussion, including Theorem 5, p. 20.

The author's existing mission has machine-checked proofs for the recurrence's closed form and for algebraic identities involving specTime and seqTime. It does not prove that those expressions are expectations of a random execution. Completing this mission adds that probabilistic interpretation and a reusable model of independent calls, branch indicators, skipped windows, and runtime. The proposed stochastic theorems remain open; their statements compile, while the published reference results are already proved.

Difficulty

The main issue is the dependence created by skipping a window after a hit. Hit indicators at different windows are independent, but the number of opportunities actually used is determined by earlier outcomes. Treating the hit count as an ordinary binomial count gives the wrong recurrence. Likewise, multiplying a mean saving by the number of potential windows ignores that skipped windows cannot hit. A formal proof must relate the random execution and hit count while preserving the independence between correctness indicators and latencies.

Formalization scope

Lean represents all primitive random variables on one probability space. An index type separates speculator latency, real-call latency, and each of the kkk branch indicators at every window. IsSpecModel requires measurable variables, their exponential or real-valued Bernoulli laws, and mutual independence. A hit is an existential statement over the kkk branch indicators. The runtimes and hit count are recursions on a finite horizon, and expectation is the real Bochner integral. The model has an explicit construction on a product probability space, so its hypotheses are satisfiable.

Windows start at index zero: a TTT-step run has T−1T-1T−1 potential windows. The theorem keeps the paper's β<α\beta<\alphaβ<α and p>0p>0p>0 conditions, and specifies p≤1p\le1p≤1. It adds T≥1T\ge1T≥1 wherever a runtime ratio is divided by its sequential denominator. Concurrency without interference and negligible non-call work are represented by the timing recurrence. The claim concerns integrals of those random runtimes; defining an “expected runtime” directly by the paper's closed form would omit the target of this mission.

The definition layer and hit-probability, baseline, saving, hit-count, and total-saving milestones are available as separate contributions. Mathlib supplies exponential probability measures, product measures, independence, and integration; the published SpecActions definition and algebraic theorems are referenced. Work on the probabilistic bridges, integrability, and the final composition is within scope.

Selected references

  • N. Ye, A. Ahuja, G. Liargkovas, Y. Lu, K. Kaffes, and T. Peng, Speculative Actions: A Lossless Framework for Faster Agentic Systems, arXiv preprint arXiv:2510.04371v2, 2026. arXiv
13 thms3 active usersReviewed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Optimal and Differentially Private Data Acquisition: Central and Local Mechanisms: The Optimal Central-Privacy Mechanism Sets Privacy Losses to the Minimizer of a Virtual-Cost ProgramResearch Paper

Motivation

Platforms that estimate a population quantity from individual data, such as a health service estimating the mean response to a treatment, must compensate users for the privacy they give up. Users differ in how much they value privacy, and that value is private information. Differential privacy (Dwork, McSherry, Nissim, Smith, 2006) supplies a quantitative unit of privacy loss, so the platform can trade estimation accuracy against privacy at a price. Fallah, Makhdoumi, Malekian and Ozdaglar (arXiv:2201.03968v2, Operations Research, 2024) design the cost-minimizing mechanism that elicits users' privacy sensitivities, chooses a privacy level for each user, and pays them, when the platform's estimator is a weighted mean with Laplace noise. This mission formalizes their characterization of that mechanism in the central privacy setting (Theorem 3, p. 18).

Buying privacy at auction was studied by Ghosh and Roth (2011, arXiv:1011.1375); the paper's contribution is a Bayesian mechanism in which each user receives an individual privacy level and the estimator is chosen jointly with the payments.

Setting

There are n≥1n \ge 1n≥1 users. User iii holds a data point Xi=θ+ZiX_i = \theta + Z_iXi​=θ+Zi​, where the ZiZ_iZi​ are i.i.d. with mean 000, variance VAR>0\mathrm{VAR} > 0VAR>0 and ∣Zi∣≤1/2|Z_i| \le 1/2∣Zi​∣≤1/2. A randomized algorithm on datasets is ε\varepsilonε-centrally differentially private for ε=(εi)i\varepsilon = (\varepsilon_i)_iε=(εi​)i​ if changing user iii's entry changes the probability of any measurable output event by at most a factor eεie^{\varepsilon_i}eεi​ (Definition 1, p. 8).

The platform uses an estimator of the central class (22):

θ^(x)=∑i=1nwi(c) xi+Laplace(1/η(c)),∑iwi(c)=1,η(c) wi(c)≤εi(c),\hat\theta(x) = \sum_{i=1}^n w_i(c)\,x_i + \mathrm{Laplace}\big(1/\eta(c)\big), \qquad \sum_i w_i(c) = 1, \quad \eta(c)\,w_i(c) \le \varepsilon_i(c),θ^(x)=i=1∑n​wi​(c)xi​+Laplace(1/η(c)),i∑​wi​(c)=1,η(c)wi​(c)≤εi​(c),

which is (wiη)i(w_i\eta)_i(wi​η)i​-centrally private (Lemma 2) and has mean square error MSE(c)=2/η(c)2+∑iwi(c)2 VAR\mathrm{MSE}(c) = 2/\eta(c)^2 + \sum_i w_i(c)^2\,\mathrm{VAR}MSE(c)=2/η(c)2+∑i​wi​(c)2VAR.

Each user has a privacy sensitivity cic_ici​, drawn independently with density fif_ifi​ and distribution function FiF_iFi​. A direct mechanism maps the reported profile ccc to weights w(c)w(c)w(c), a noise parameter η(c)\eta(c)η(c), privacy losses ε(c)\varepsilon(c)ε(c) and payments t(c)t(c)t(c). A user of type cic_ici​ who reports rrr bears the expected cost

costi(r,ci)=Ec−i[MSE(r,c−i)+ci εi(r,c−i)−ti(r,c−i)],\mathrm{cost}_i(r, c_i) = \mathbb E_{c_{-i}}\big[\mathrm{MSE}(r, c_{-i}) + c_i\,\varepsilon_i(r, c_{-i}) - t_i(r, c_{-i})\big],costi​(r,ci​)=Ec−i​​[MSE(r,c−i​)+ci​εi​(r,c−i​)−ti​(r,c−i​)],

and a non-participant's cost is VAR\mathrm{VAR}VAR. The platform minimizes Ec[MSE(c)+∑iti(c)]\mathbb E_c[\mathrm{MSE}(c) + \sum_i t_i(c)]Ec​[MSE(c)+∑i​ti​(c)] subject to incentive compatibility (truthful reporting is optimal) and individual rationality (truthful participation costs at most VAR\mathrm{VAR}VAR). The virtual cost is ψi(c)=c+Fi(c)/fi(c)\psi_i(c) = c + F_i(c)/f_i(c)ψi​(c)=c+Fi​(c)/fi​(c), and Assumption 1 asks that each ψi\psi_iψi​ be increasing.

Formalization targets

Goal: Theorem 3 (p. 18)

Under Assumption 1, let y∗(c)y^*(c)y∗(c) be an optimal solution of

min⁡y≥0  n+1(∑jyj)2(2+∑iyi2 VAR)+∑iψi(ci) yi.(23)\min_{y \ge 0}\; \frac{n+1}{\big(\sum_j y_j\big)^2}\Big(2 + \sum_i y_i^2\,\mathrm{VAR}\Big) + \sum_i \psi_i(c_i)\,y_i . \tag{23}y≥0min​(∑j​yj​)2n+1​(2+i∑​yi2​VAR)+i∑​ψi​(ci​)yi​.(23)

The mechanism with εi∗(c)=yi∗(c)\varepsilon^*_i(c) = y^*_i(c)εi∗​(c)=yi∗​(c), weights wi∗(c)=yi∗/∑jyj∗w^*_i(c) = y^*_i/\sum_j y^*_jwi∗​(c)=yi∗​/∑j​yj∗​, η∗=∑jyj∗\eta^* = \sum_j y^*_jη∗=∑j​yj∗​ and the payments of Proposition 1 is incentive compatible, individually rational, and minimizes the platform's expected cost among all such mechanisms of class (22). The statement holds for every measurable selection of minimizers.

Milestones

  1. Lemma 1 (p. 9): Laplace noise of parameter 1/ε1/\varepsilon1/ε yields per-user privacy εLi(f)\varepsilon L_i(f)εLi​(f).
  2. Lemma 2 (p. 10): the linear estimator is (wiη)i(w_i\eta)_i(wi​η)i​-centrally private.
  3. The MSE formula 2/η2+∑iwi2VAR2/\eta^2 + \sum_i w_i^2\mathrm{VAR}2/η2+∑i​wi2​VAR (p. 18).
  4. Proposition 1 (p. 16): the payment identity characterizing incentive compatibility and individual rationality.
  5. Proposition 2 (p. 17): reduction of the platform's problem to minimizing Ec[(n+1)MSE+∑iεiψi(ci)]−n VAR\mathbb E_c[(n+1)\mathrm{MSE} + \sum_i \varepsilon_i\psi_i(c_i)] - n\,\mathrm{VAR}Ec​[(n+1)MSE+∑i​εi​ψi​(ci​)]−nVAR subject to monotone interim privacy losses.
  6. The constraints ηwi≤εi\eta w_i \le \varepsilon_iηwi​≤εi​ bind, so the pointwise problem (24) is (23) (proof of Theorem 3, pp. 44–45).
  7. Under Assumption 1, minimizers of (23) are weakly decreasing in the own privacy cost (p. 45).

Significance

Theorem 3 turns a mechanism design problem over function spaces into a finite-dimensional program solved separately at each type profile. Its consequences are that users with higher virtual cost receive less weight and less privacy loss (Corollary 1), that the optimal privacy level is a continuous function of the sensitivity rather than a threshold rule, and that the program can be solved in O(nlog⁡n)O(n\log n)O(nlogn) time (Proposition 3). The same reduction underlies the paper's comparison of central and local privacy.

The result is proved in the paper; no machine-checked version exists. The mission produces a verified payment identity for a setting where the allocation enters every user's cost through a shared externality (the MSE), a verified reduction to virtual costs that does not rely on differentiability of the mechanism, and the per-user Laplace mechanism on top of Mathlib's measure theory.

Difficulty

The classical Myerson argument assumes a linear objective and a single-dimensional allocation. Here the objective is non-linear and non-convex in the privacy losses, the MSE couples all users, and the minimizer of (23) has kinks where a coordinate reaches zero, so the paper's first-order derivation of the payment identity, which differentiates the interim cost, does not apply to the optimal mechanism, and the identity has to hold without any differentiability. A second obstacle is monotonicity: (23) is not convex and its minimizer need not be unique, so the monotonicity required by the payment identity cannot be read off from a unique smooth solution map; it has to hold for an arbitrary measurable selection of minimizers. Finally, the comparison is over all incentive compatible, individually rational mechanisms, not over a parametric family, so the measure-theoretic bookkeeping (interim expectations, exchanges of integrals over the type law) is part of the statement's content.

Formalization scope

All quantities are real. Users are Fin n with 0 < n. Types live in compact intervals [ai,bi][a_i, b_i][ai​,bi​] with 0<ai<bi0 < a_i < b_i0<ai​<bi​, and fif_ifi​ is continuous, positive and integrates to one there; the paper's ci∈R+c_i \in \mathbb R_+ci​∈R+​ and integrals to ∞\infty∞ become integrals to bib_ibi​. The type law is the product of the laws with densities fif_ifi​, and interim expectations over c−ic_{-i}c−i​ are integrals of g(update(c,i,r))g(\mathrm{update}(c,i,r))g(update(c,i,r)) against the type law. Incentive compatibility and individual rationality quantify over types and reports in [ai,bi][a_i,b_i][ai​,bi​]. Class (22) makes η>0\eta > 0η>0 and w≥0w \ge 0w≥0 explicit. Mechanisms are required to be measurable, with bounded privacy losses and integrable MSE and payments; differentiability (Definition 3) and nonnegative payments are not required, since the optimal mechanism has kinks and may pay negative amounts. Assumption 1 is strict monotonicity. The feasible set of (23) adds ∑jyj>0\sum_j y_j > 0∑j​yj​>0, because at y=0y = 0y=0 Lean's 1/0=01/0 = 01/0=0 would make the objective vanish. Laplace noise is the published PrivLearn.Generic.laplace.

Stating Theorem 3 as "y∗y^*y∗ minimizes (23)", or comparing the mechanism only with mechanisms that already use the payment rule (19), would be a trivialization; the goal compares against every admissible, incentive compatible, individually rational mechanism of class (22).

Reusable infrastructure includes heterogeneous differential privacy, the per-coordinate Laplace mechanism, the variance of Laplace noise, and a payment identity under concavity without differentiability. Proofs of any milestone, and alternative arguments for the monotonicity of the minimizer, are welcome.

Selected references

  • A. Fallah, A. Makhdoumi, A. Malekian, A. Ozdaglar, Optimal and Differentially Private Data Acquisition: Central and Local Mechanisms, Operations Research, 2024. arXiv:2201.03968v2
  • C. Dwork, F. McSherry, K. Nissim, A. Smith, Calibrating Noise to Sensitivity in Private Data Analysis, TCC 2006. doi:10.1007/11681878_14
  • C. Dwork, A. Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science, 2014. doi:10.1561/0400000042
  • R. B. Myerson, Optimal Auction Design, Mathematics of Operations Research, 1981. doi:10.1287/moor.6.1.58
  • A. Ghosh, A. Roth, Selling Privacy at Auction, EC 2011. arXiv:1011.1375
11 thms3 active usersReviewed
Bandit AlgorithmsProbability·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

Formalization targets

Goal: Theorem 1 (p. 8)

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

The printed slips and how they are handled:

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

The development needs:

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

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

Selected references

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

Offline Multi-Action Policy Learning: Generalization and Optimization 1: Cross-Fitted AIPW Policy Learning Has Regret O_p(κ(Π)√(V*/n)) Even with Slowly Converging Nuisance EstimatesResearch Paper

Learning treatment policies from logged data

Many decisions are made by assigning one of several actions to an individual on the basis of observed features: which of ddd drugs to prescribe, which of several promotions to show, which job-training programme to offer. Experimentation is often costly or unethical, while historical records of past assignments and their outcomes are plentiful. Offline policy learning asks for a rule that maps features to actions, chosen from such observational records, whose expected outcome is close to that of the best rule in a prescribed class. The binary-action case was settled by Kitagawa and Tetenov (2018) with known propensities and by Athey and Wager (2021) with estimated ones; Zhou, Athey and Wager extend the doubly robust approach to d≥2d \ge 2d≥2 actions. This mission formalizes the statistical half of that paper: the regret guarantee of its cross-fitted learner.

Timeline. Robins, Rotnitzky and Zhao (1994) introduced augmented inverse-propensity weighting (AIPW). Dudík, Langford and Li (2011) used doubly robust scores for multi-action policy evaluation and optimization. Chernozhukov et al. (2018) showed that cross-fitting removes the bias of flexible nuisance estimates in semiparametric estimation. Athey and Wager proved n\sqrt nn​-rate regret for binary actions with VC classes. Zhou, Athey and Wager (arXiv 2018; Operations Research, 2023) treat ddd actions with a Hamming entropy integral as the complexity measure.

Setting

There are ddd actions, written 1,…,d1,\dots,d1,…,d and identified with the standard basis vectors of Rd\mathbb R^dRd, so that for γ∈Rd\gamma\in\mathbb R^dγ∈Rd the inner product ⟨π(x),γ⟩\langle\pi(x),\gamma\rangle⟨π(x),γ⟩ is the coordinate γπ(x)\gamma_{\pi(x)}γπ(x)​. A draw consists of features X∈XX\in\mathcal XX∈X, potential outcomes (Y(1),…,Y(d))(Y(1),\dots,Y(d))(Y(1),…,Y(d)) and a logged action AAA; only the triple (X,A,Y)(X,A,Y)(X,A,Y) with Y=Y(A)Y=Y(A)Y=Y(A) is observed. The data are nnn iid draws.

The model consists of a law PXP_XPX​ of the features and two conditional laws given X=xX=xX=x: one for the outcome vector, one for the action. Given XXX the two are independent (unconfoundedness). The propensity is ea(x)=P(A=a∣X=x)e_a(x)=P(A=a\mid X=x)ea​(x)=P(A=a∣X=x) and the mean reward is μa(x)=E[Y(a)∣X=x]\mu_a(x)=\mathbb E[Y(a)\mid X=x]μa​(x)=E[Y(a)∣X=x]. A policy is a map π:X→{1,…,d}\pi:\mathcal X\to\{1,\dots,d\}π:X→{1,…,d} from a class Π\PiΠ. Its value is Q(π)=E[Y(π(X))]Q(\pi)=\mathbb E[Y(\pi(X))]Q(π)=E[Y(π(X))] and its regret is R(π)=sup⁡π′∈ΠQ(π′)−Q(π)R(\pi)=\sup_{\pi'\in\Pi}Q(\pi')-Q(\pi)R(π)=supπ′∈Π​Q(π′)−Q(π).

The learner, CAIPWL (Algorithm 1), divides the sample into K≥2K\ge2K≥2 evenly sized folds. For each fold kkk it fits estimators μ^a−k\hat\mu^{-k}_aμ^​a−k​, e^a−k\hat e^{-k}_ae^a−k​ on the observed data outside fold kkk, forms the cross-fitted AIPW score

Γ^i,j=μ^j−k(i)(Xi)+1{Ai=j}Yi−μ^Ai−k(i)(Xi)e^Ai−k(i)(Xi),\hat\Gamma_{i,j}=\hat\mu^{-k(i)}_j(X_i)+\mathbf 1\{A_i=j\}\frac{Y_i-\hat\mu^{-k(i)}_{A_i}(X_i)}{\hat e^{-k(i)}_{A_i}(X_i)},Γ^i,j​=μ^​j−k(i)​(Xi​)+1{Ai​=j}e^Ai​−k(i)​(Xi​)Yi​−μ^​Ai​−k(i)​(Xi​)​,

and returns a maximizer π^CAIPWL\hat\pi_{CAIPWL}π^CAIPWL​ over Π\PiΠ of Q^CAIPWL(π)=1n∑iΓ^i,π(Xi)\hat Q_{CAIPWL}(\pi)=\frac1n\sum_i\hat\Gamma_{i,\pi(X_i)}Q^​CAIPWL​(π)=n1​∑i​Γ^i,π(Xi​)​. The oracle score Γi\Gamma_iΓi​ is the same expression with the true μ\muμ and eee; it gives Q~(π)=1n∑iΓi,π(Xi)\tilde Q(\pi)=\frac1n\sum_i\Gamma_{i,\pi(X_i)}Q~​(π)=n1​∑i​Γi,π(Xi​)​. Write Δ\DeltaΔ, Δ~\tilde\DeltaΔ~, Δ^\hat\DeltaΔ^ for the differences Q(π1)−Q(π2)Q(\pi_1)-Q(\pi_2)Q(π1​)−Q(π2​), Q~(π1)−Q~(π2)\tilde Q(\pi_1)-\tilde Q(\pi_2)Q~​(π1​)−Q~​(π2​), Q^(π1)−Q^(π2)\hat Q(\pi_1)-\hat Q(\pi_2)Q^​(π1​)−Q^​(π2​), and

V∗=sup⁡πa,πb∈ΠE[(Γπa(X)−Γπb(X))2].V_*=\sup_{\pi_a,\pi_b\in\Pi}\mathbb E\big[(\Gamma_{\pi_a(X)}-\Gamma_{\pi_b(X)})^2\big].V∗​=πa​,πb​∈Πsup​E[(Γπa​(X)​−Γπb​(X)​)2].

The complexity of Π\PiΠ is measured through the Hamming distance H(π1,π2)=1m#{j:π1(xj)≠π2(xj)}H(\pi_1,\pi_2)=\frac1m\#\{j:\pi_1(x_j)\ne\pi_2(x_j)\}H(π1​,π2​)=m1​#{j:π1​(xj​)=π2​(xj​)} on points x1,…,xmx_1,\dots,x_mx1​,…,xm​. The covering number NH(ε,Π)N_H(\varepsilon,\Pi)NH​(ε,Π) is the supremum over all finite point sequences of the least number of policies of Π\PiΠ that ε\varepsilonε-cover Π\PiΠ in HHH. The entropy integral is κ(Π)=∫01log⁡NH(ε2,Π) dε\kappa(\Pi)=\int_0^1\sqrt{\log N_H(\varepsilon^2,\Pi)}\,d\varepsilonκ(Π)=∫01​logNH​(ε2,Π)​dε.

The assumptions are: overlap, ea(x)≥η>0e_a(x)\ge\eta>0ea​(x)≥η>0; bounded rewards, ∣Y(a)∣≤B|Y(a)|\le B∣Y(a)∣≤B; Assumption 2, E[(μ^a−k−μa)2]⋅E[(e^a−k−ea)2]=o(1)/n\mathbb E[(\hat\mu^{-k}_a-\mu_a)^2]\cdot\mathbb E[(\hat e^{-k}_a-e_a)^2]=o(1)/nE[(μ^​a−k​−μa​)2]⋅E[(e^a−k​−ea​)2]=o(1)/n; and Assumption 3, NH(ε,Π)≤Cexp⁡(Dε−ω)N_H(\varepsilon,\Pi)\le C\exp(D\varepsilon^{-\omega})NH​(ε,Π)≤Cexp(Dε−ω) with 0<ω<1/20<\omega<1/20<ω<1/2.

Formalization targets

Goal: Theorem 3 in the form of Remark 8, (18), p. 22

R(π^CAIPWL)=Op(κ(Π)V∗n),R(\hat\pi_{CAIPWL})=O_p\Big(\kappa(\Pi)\sqrt{\tfrac{V_*}{n}}\Big),R(π^CAIPWL​)=Op​(κ(Π)nV∗​​​),

read per nnn: for every ε>0\varepsilon>0ε>0 there are M>0M>0M>0 and NNN with P(R(π^CAIPWL)>Mκ(Π)V∗/n)≤ε\mathbb P\big(R(\hat\pi_{CAIPWL})>M\kappa(\Pi)\sqrt{V_*/n}\big)\le\varepsilonP(R(π^CAIPWL​)>Mκ(Π)V∗​/n​)≤ε for all n≥Nn\ge Nn≥N. This is the paper's own "simpler way of stating the regret bound in Theorem 3". It fixes the rate and the dependence on κ(Π)\kappa(\Pi)κ(Π) and V∗V_*V∗​, but no constants.

Milestones

  1. Lemma 1 (1): the inner product distance IΓI_\GammaIΓ​ satisfies the triangle inequality.
  2. (48): E[Q~(π)]=Q(π)\mathbb E[\tilde Q(\pi)]=Q(\pi)E[Q~​(π)]=Q(π).
  3. (17): Δ^−Δ~=∑j(S1j+S2j+S3j)\hat\Delta-\tilde\Delta=\sum_j(S^j_1+S^j_2+S^j_3)Δ^−Δ~=∑j​(S1j​+S2j​+S3j​), the algebraic split into error terms.
  4. Lemma 3 (pinned): sup⁡π1,π2∈Π∣Δ^−Δ~∣=op(n−1/2)\sup_{\pi_1,\pi_2\in\Pi}|\hat\Delta-\tilde\Delta|=o_p(n^{-1/2})supπ1​,π2​∈Π​∣Δ^−Δ~∣=op​(n−1/2).
  5. Oracle concentration (Lemma 2 as used in (18), pinned): sup⁡π1,π2∈Π∣Δ~−Δ∣=Op(n−1/2)\sup_{\pi_1,\pi_2\in\Pi}|\tilde\Delta-\Delta|=O_p(n^{-1/2})supπ1​,π2​∈Π​∣Δ~−Δ∣=Op​(n−1/2).
  6. (18): R(π^)≤sup⁡π1,π2∈Π∣Δ^−Δ∣R(\hat\pi)\le\sup_{\pi_1,\pi_2\in\Pi}|\hat\Delta-\Delta|R(π^)≤supπ1​,π2​∈Π​∣Δ^−Δ∣ for every empirical maximizer.

Printed statements not posed

  • Theorem 3's explicit display, R≤(54.42κ(Π)+435.2+2log⁡(1/δ))V∗/nR\le(54.4\sqrt2\kappa(\Pi)+435.2+\sqrt{2\log(1/\delta)})\sqrt{V_*/n}R≤(54.42​κ(Π)+435.2+2log(1/δ)​)V∗​/n​, together with Theorem 1, Lemma 2 (11) and Theorem 2, is not posed. Lemma 1(2), which the proof of Theorem 1 uses, is false. With three points, d=2d=2d=2, π0≡1\pi_0\equiv1π0​≡1, πk\pi_kπk​ switching to action 2 at the point kkk only, and γi=(1,0)\gamma_i=(1,0)γi​=(1,0), one gets NIΓ(0.7)=4>3≥NH(0.49)N_{I_\Gamma}(0.7)=4>3\ge N_H(0.49)NIΓ​​(0.7)=4>3≥NH​(0.49).
  • The V∗\sqrt{V_*}V∗​​ scaling of Theorem 1 fails for interval-switching classes, where κ(Π)\kappa(\Pi)κ(Π) stays bounded, V∗=2pV_*=2pV∗​=2p, and the Rademacher complexity is of order plog⁡(1/p)\sqrt{p\log(1/p)}plog(1/p)​.
  • 54.42(κ+8)54.4\sqrt2(\kappa+8)54.42​(κ+8) equals 54.42κ+435.2254.4\sqrt2\kappa+435.2\sqrt254.42​κ+435.22​, not 54.42κ+435.254.4\sqrt2\kappa+435.254.42​κ+435.2.
  • The o(1/n)o(1/\sqrt n)o(1/n​) and op(1/n)o_p(1/\sqrt n)op​(1/n​) remainders cannot be absorbed into one explicit constant at a fixed probability.
  • Lemma 1(2) is not posed, being false.

Significance

The theorem shows that a learner can use flexible machine-learning estimates of the propensities and outcome regressions, each converging more slowly than n−1/2n^{-1/2}n−1/2, and still attain the regret rate of an oracle that knows them, provided the product of their errors is o(n−1/2)o(n^{-1/2})o(n−1/2). This doubly robust rate condition is what makes cross-fitted AIPW scores usable for policy learning with random forests, boosting or neural-network nuisances. The dependence on Π\PiΠ only through κ(Π)\kappa(\Pi)κ(Π) covers the multi-action classes the paper uses later, such as depth-LLL decision trees.

On formalization: the result is proved on paper, with explicit constants that are not established as printed. No machine-checked proof of any part of it is known. A complete development would give a checked doubly robust policy-learning guarantee with the hypotheses a correct proof needs, stated explicitly. It would also deliver, as by-products, a checked uniform-entropy bound for empirical processes indexed by policy differences and a cross-fitting lemma with fold-wise conditional independence.

Difficulty

Two parts are hard. The oracle concentration needs a chaining (Dudley-type) bound for the empirical process {Δ~(π1,π2)−Δ(π1,π2)}\{\tilde\Delta(\pi_1,\pi_2)-\Delta(\pi_1,\pi_2)\}{Δ~(π1​,π2​)−Δ(π1​,π2​)}, indexed by pairs of policies, in which the covering numbers are uniform over point sets and the entropy integrand uses ε2\varepsilon^2ε2. Bounding one fixed pair by a central limit theorem is not enough, because the supremum over Π×Π\Pi\times\PiΠ×Π is the whole point. Lemma 3 needs the conditional independence that cross-fitting creates: given the data outside fold kkk, the terms of fold kkk are iid with conditional mean zero in the first two error terms of (17). The uniform op(n−1/2)o_p(n^{-1/2})op​(n−1/2) bound then comes from a localized chaining argument whose radius shrinks with the nuisance errors. A naive argument conditioning on all the data at once loses the mean-zero structure.

Formalization scope

Actions are Fin d; policies are deterministic maps X → Fin d (endnote 3, p. 45), and a class is Pol : Set (X → Fin d). The model is a probability measure PX with two Markov kernels κY, κA, and the joint law is PX ⊗ₘ (κY ×ₖ κA). This builds unconfoundedness into the law. The sample of size nnn is the product measure on Fin n → Draw X d. Estimators of fold kkk are functions of the observed triples indexed by {i // fold n i ≠ k}, so they cannot see fold kkk or unobserved potential outcomes. The regret uses sup⁡π′∈ΠQ(π′)\sup_{\pi'\in\Pi}Q(\pi')supπ′∈Π​Q(π′) in place of Q(π∗)Q(\pi^*)Q(π∗). κ(Π)\kappa(\Pi)κ(Π) is an ℝ≥0∞ lower integral, finite under Assumption 3. OpO_pOp​ and opo_pop​ are read for each nnn separately: Definition 8's "∀n≥N\forall n\ge N∀n≥N with probability 1−ε1-\varepsilon1−ε" presupposes one probability space for all nnn. Bounded support is stated for each xxx under κY x.

Hypotheses added to the printed ones:

  • (i) both mean-squared errors tend to 000 separately, in addition to (3). The proof of Lemma 3 uses separate rates, and with μ^≡0\hat\mu\equiv0μ^​≡0, e^=e\hat e=ee^=e, condition (3) holds while the first term of (17) has exact order n−1/2n^{-1/2}n−1/2.
  • (ii) ∣μ^∣≤B^|\hat\mu|\le\hat B∣μ^​∣≤B^, e^≥η^>0\hat e\ge\hat\eta>0e^≥η^​>0, and both estimators are measurable.
  • (iii) the policies are measurable, and the class is permissible: for each mmm and action pattern, the set of point sequences on which some policy realizes the pattern is measurable.

Without (ii) and (iii), Lean's integrals of non-measurable functions are 000 and Assumption 2 would be vacuous. The hypotheses are satisfiable: the oracle estimators μ^=μ\hat\mu=\muμ^​=μ, e^=e\hat e=ee^=e meet every estimator condition, and a finite class of constant policies meets Assumption 3 and permissibility. The degenerate cases κ(Π)=0\kappa(\Pi)=0κ(Π)=0 or V∗=0V_*=0V∗​=0 force zero regret, so the goal is not trivialized there.

Needed infrastructure: product measures and kernels (Mathlib), and Hamming covering numbers (local, Definition 4). Still to build: uniform-entropy chaining for bounded classes, and Talagrand/Bousquet-type concentration. Contributions are welcome on the chaining bound, the cross-fitting conditional-independence lemma, and the elementary items (48), (17) and Lemma 1(1). These are reusable in any doubly robust estimation mission.

Selected references

  • Z. Zhou, S. Athey, S. Wager, Offline Multi-Action Policy Learning: Generalization and Optimization, arXiv:1810.04778v2, 2018; Operations Research 71(1), 2023. https://arxiv.org/abs/1810.04778
  • S. Athey, S. Wager, Policy Learning with Observational Data, Econometrica 89(1), 2021. https://arxiv.org/abs/1702.02896
  • T. Kitagawa, A. Tetenov, Who Should Be Treated? Empirical Welfare Maximization Methods for Treatment Choice, Econometrica 86(2), 2018. https://doi.org/10.3982/ECTA13288
  • V. Chernozhukov et al., Double/Debiased Machine Learning for Treatment and Structural Parameters, The Econometrics Journal 21(1), 2018. https://arxiv.org/abs/1608.00060
  • M. Dudík, J. Langford, L. Li, Doubly Robust Policy Evaluation and Learning, ICML 2011. https://arxiv.org/abs/1103.4601
  • J. Robins, A. Rotnitzky, L. P. Zhao, Estimation of Regression Coefficients When Some Regressors Are Not Always Observed, JASA 89(427), 1994. https://doi.org/10.1080/01621459.1994.10476818
9 thms3 active usersReviewed
OptimizationReinforcement Learning·Captain: mikedeng1

Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees: Single-Loop ML-IRL Policy and Reward Iterates Converge at Explicit Finite-Time RatesResearch Paper

Motivation

Structural estimation of Markov decision processes recovers the parameters of an agent's reward from observed behavior, under the hypothesis that the agent acts optimally in a known dynamic environment. In econometrics this is the dynamic discrete choice model of Rust (Rust 1987); in artificial intelligence it is maximum-likelihood inverse reinforcement learning (ML-IRL). With Gumbel-distributed choice shocks the two coincide: the agent behaves like the optimal policy of an entropy-regularized MDP, and the reward parameter is estimated by maximizing the likelihood of the observed trajectories.

The classical estimators are nested: every evaluation of the likelihood solves the inner dynamic program to optimality (Rust's nested fixed-point algorithm), which is expensive when the state space is large. Zeng, Hong and Garcia (arXiv:2210.01282, Operations Research 2025) replace the nested loop by a single loop that alternates one approximate soft policy-iteration step with one stochastic gradient step on the reward parameter, and prove a finite-time guarantee for it. That guarantee, Theorem 1 of the paper, is the subject of this mission.

Setting

Let S\mathcal SS and A\mathcal AA be finite nonempty sets of states and actions, P(s′∣s,a)P(s'\mid s,a)P(s′∣s,a) a transition kernel, ρ\rhoρ an initial distribution on S\mathcal SS and γ∈[0,1)\gamma\in[0,1)γ∈[0,1) a discount factor. The reward r(s,a;θ)r(s,a;\theta)r(s,a;θ) depends on a parameter θ∈Rp\theta\in\mathbb R^pθ∈Rp. A policy π(a∣s)\pi(a\mid s)π(a∣s) is a distribution over actions at each state, with entropy H(π(⋅∣s))=−∑aπ(a∣s)log⁡π(a∣s)\mathcal H(\pi(\cdot\mid s))=-\sum_a\pi(a\mid s)\log\pi(a\mid s)H(π(⋅∣s))=−∑a​π(a∣s)logπ(a∣s).

The soft Q-function of a pair (θ,π)(\theta,\pi)(θ,π) is Q(s,a)=r(s,a;θ)+γ Es′∼P(⋅∣s,a)[V(s′)]Q(s,a)=r(s,a;\theta)+\gamma\,\mathbb E_{s'\sim P(\cdot\mid s,a)}[V(s')]Q(s,a)=r(s,a;θ)+γEs′∼P(⋅∣s,a)​[V(s′)], where V(s)V(s)V(s) is the expected discounted sum of r(st,at;θ)+H(π(⋅∣st))r(s_t,a_t;\theta)+\mathcal H(\pi(\cdot\mid s_t))r(st​,at​;θ)+H(π(⋅∣st​)) along the trajectory of π\piπ from sss. The soft-optimal Q-function QθQ_\thetaQθ​ is the fixed point of the soft-Bellman operator ΛθQ(s,a)=r(s,a;θ)+γ∑s′P(s′∣s,a)log⁡∑beQ(s′,b)\Lambda_\theta Q(s,a)=r(s,a;\theta)+\gamma\sum_{s'}P(s'\mid s,a)\log\sum_b e^{Q(s',b)}Λθ​Q(s,a)=r(s,a;θ)+γ∑s′​P(s′∣s,a)log∑b​eQ(s′,b); the soft-optimal policy is πθ(a∣s)∝eQθ(s,a)\pi_\theta(a\mid s)\propto e^{Q_\theta(s,a)}πθ​(a∣s)∝eQθ​(s,a) and Vθ(s)=log⁡∑aeQθ(s,a)V_\theta(s)=\log\sum_a e^{Q_\theta(s,a)}Vθ​(s)=log∑a​eQθ​(s,a).

Given a finite dataset D\mathcal DD of expert trajectories, the surrogate likelihood is

L^(θ;D)=Eτ∼D[∑t≥0γtr(st,at;θ)]−Es0∼ρ[Vθ(s0)].\widehat L(\theta;\mathcal D)=\mathbb E_{\tau\sim\mathcal D}\Big[\sum_{t\ge0}\gamma^tr(s_t,a_t;\theta)\Big]-\mathbb E_{s_0\sim\rho}[V_\theta(s_0)].L(θ;D)=Eτ∼D​[t≥0∑​γtr(st​,at​;θ)]−Es0​∼ρ​[Vθ​(s0​)].

Algorithm 1 (ML-IRL). Starting from (θ0,π0)(\theta_0,\pi_0)(θ0​,π0​) and for k=0,…,K−1k=0,\dots,K-1k=0,…,K−1: estimate the soft Q-function QkQ_kQk​ of (θk,πk)(\theta_k,\pi_k)(θk​,πk​) by Q^k\widehat Q_kQ​k​ with ∥Q^k−Qk∥∞≤ε\|\widehat Q_k-Q_k\|_\infty\le\varepsilon∥Q​k​−Qk​∥∞​≤ε; set πk+1(a∣s)∝eQ^k(s,a)\pi_{k+1}(a\mid s)\propto e^{\widehat Q_k(s,a)}πk+1​(a∣s)∝eQ​k​(s,a); sample an expert trajectory τkE\tau^E_kτkE​ from D\mathcal DD and an agent trajectory τkA\tau^A_kτkA​ from πk+1\pi_{k+1}πk+1​; set θk+1=θk+α(h(θk;τkE)−h(θk;τkA))\theta_{k+1}=\theta_k+\alpha\big(h(\theta_k;\tau^E_k)-h(\theta_k;\tau^A_k)\big)θk+1​=θk​+α(h(θk​;τkE​)−h(θk​;τkA​)) with h(θ;τ)=∑tγt∇θr(st,at;θ)h(\theta;\tau)=\sum_t\gamma^t\nabla_\theta r(s_t,a_t;\theta)h(θ;τ)=∑t​γt∇θ​r(st​,at​;θ).

The assumptions are: (1) 0≤r≤Cr0\le r\le C_r0≤r≤Cr​; (2) under every policy the state chain mixes geometrically in total variation; (3) ∥∇θr∥≤Lr\|\nabla_\theta r\|\le L_r∥∇θ​r∥≤Lr​ and ∇θr\nabla_\theta r∇θ​r is LgL_gLg​-Lipschitz in θ\thetaθ.

Formalization targets

Goal: Theorem 1, explicit form

Write Lq=Lr/(1−γ)L_q=L_r/(1-\gamma)Lq​=Lr​/(1−γ), Lc=2LqLrCd∣S∣∣A∣/(1−γ)+2Lg/(1−γ)L_c=2L_qL_rC_d\sqrt{|\mathcal S||\mathcal A|}/(1-\gamma)+2L_g/(1-\gamma)Lc​=2Lq​Lr​Cd​∣S∣∣A∣​/(1−γ)+2Lg​/(1−γ), C1=4CdLq2∣S∣∣A∣C_1=4C_dL_q^2\sqrt{|\mathcal S||\mathcal A|}C1​=4Cd​Lq2​∣S∣∣A∣​, C0=∥Q0−Qθ0∥∞C_0=\|Q_0-Q_{\theta_0}\|_\inftyC0​=∥Q0​−Qθ0​​∥∞​ and

B=C0K(1−γ)+2γε(1−γ)2+4Lq21−γα.B=\frac{C_0}{K(1-\gamma)}+\frac{2\gamma\varepsilon}{(1-\gamma)^2}+\frac{4L_q^2}{1-\gamma}\alpha .B=K(1−γ)C0​​+(1−γ)22γε​+1−γ4Lq2​​α.

There is Cd>0C_d>0Cd​>0 depending only on (P,ρ,γ)(P,\rho,\gamma)(P,ρ,γ) such that every run with K≥1K\ge1K≥1 and α=α0/Kσ\alpha=\alpha_0/K^\sigmaα=α0​/Kσ, α0>0\alpha_0>0α0​>0, σ∈(0,1)\sigma\in(0,1)σ∈(0,1), satisfies, for every realization,

1K∑k=0K−1∥log⁡πk+1−log⁡πθk∥∞≤2ε+2B,\frac1K\sum_{k=0}^{K-1}\|\log\pi_{k+1}-\log\pi_{\theta_k}\|_\infty\le2\varepsilon+2B,K1​k=0∑K−1​∥logπk+1​−logπθk​​∥∞​≤2ε+2B,

and in expectation

1K∑k=0K−1E∥∇θL^(θk;D)∥2≤2LcLq2α+C1(B+ε)+E[L^(θK;D)−L^(θ0;D)]Kα.\frac1K\sum_{k=0}^{K-1}\mathbb E\|\nabla_\theta\widehat L(\theta_k;\mathcal D)\|^2\le2L_cL_q^2\alpha+C_1(B+\varepsilon)+\frac{\mathbb E[\widehat L(\theta_K;\mathcal D)-\widehat L(\theta_0;\mathcal D)]}{K\alpha}.K1​k=0∑K−1​E∥∇θ​L(θk​;D)∥2≤2Lc​Lq2​α+C1​(B+ε)+KαE[L(θK​;D)−L(θ0​;D)]​.

The printed Theorem 1 states only the rates O(K−1)+O(K−σ)+O(ε)O(K^{-1})+O(K^{-\sigma})+O(\varepsilon)O(K−1)+O(K−σ)+O(ε) and O(K−σ)+O(K−1+σ)+O(K−1)+O(ε)O(K^{-\sigma})+O(K^{-1+\sigma})+O(K^{-1})+O(\varepsilon)O(K−σ)+O(K−1+σ)+O(K−1)+O(ε); the goal is the explicit pair of inequalities its proof derives, from which those rates follow because L^\widehat LL is bounded.

Milestones

Lemma 2 (the gradient of L^\widehat LL), Lemma 5 (Lipschitz visitation measures), Lemma 3 (Lipschitz QθQ_\thetaQθ​ and smooth L^\widehat LL), Lemma 6 and Lemma 7 (approximate soft policy iteration), and the proof's displays (35), (40), (41), the averaged tracking bound after (44) and the averaged gradient bound on p. 24. The bias bound (48) is a further item of the mission without being a milestone.

Significance

The result. Theorem 1 is a finite-time guarantee for a single-loop structural estimator: with σ=1/2\sigma=1/2σ=1/2 both the policy-tracking error and the squared gradient of the surrogate likelihood decay as O(K−1/2)+O(ε)O(K^{-1/2})+O(\varepsilon)O(K−1/2)+O(ε). It shows that the inner dynamic program need not be solved to optimality at each likelihood evaluation, and it quantifies the price of approximate policy evaluation through ε\varepsilonε. The paper reports it as the first finite-time result for an algorithm for either the dynamic discrete choice problem or ML-IRL.

Formalizing it. The result is proved on paper; no part of it is machine-checked. A complete development would put on the platform an entropy-regularized MDP layer (soft values, the soft-Bellman fixed point, the soft-optimal policy), its Lipschitz dependence on a reward parameter, the gradient of a soft-optimal value through its fixed point, and a two-timescale analysis with a biased stochastic gradient. Each of these is reusable by later soft-RL, IRL and structural-estimation formalizations.

Difficulty

Neither iterate converges on its own. The policy πk+1\pi_{k+1}πk+1​ chases a target πθk\pi_{\theta_k}πθk​​ that moves whenever θ\thetaθ moves, so the standard linear convergence of soft policy iteration for a fixed reward does not apply directly. The stochastic gradient gkg_kgk​ samples from πk+1\pi_{k+1}πk+1​ rather than from πθk\pi_{\theta_k}πθk​​, so it is biased, and the standard analysis of unbiased stochastic gradient ascent does not apply either. The analysis must show that the tracking error contracts faster than the reward drifts, and bound the bias by the tracking error through the dependence of the state-action visitation measure on the policy. The gradient formula itself requires differentiating a soft-optimal value through a fixed point.

Formalization scope

The Lean development works with finite S\mathcal SS and A\mathcal AA (both nonempty), policies as functions S→A→R\mathcal S\to\mathcal A\to\mathbb RS→A→R, θ∈\theta\inθ∈ EuclideanSpace ℝ (Fin p), and discounted expectations as tsums over the occupation distribution of the published FoundationsML.ReinforcementLearning layer. ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is the maximum over (s,a)(s,a)(s,a); Lemma 5's ∥w−w′∥\|w-w'\|∥w−w′∥ is the Frobenius norm; total variation is half the ℓ1\ell_1ℓ1​ distance. QθQ_\thetaQθ​ is chosen by Classical.epsilon among fixed points of Λθ\Lambda_\thetaΛθ​, which exist and are unique because Λθ\Lambda_\thetaΛθ​ is a γ\gammaγ-contraction.

Disclosed deviations from the page: Assumption 3 is a hypothesis of the goal (Theorem 1 prints "Assumptions 1 - 2" but its proof uses Assumption 3); S\mathcal SS is finite, as the proof's ∣S∣∣A∣\sqrt{|\mathcal S||\mathcal A|}∣S∣∣A∣​ requires, although the title speaks of high-dimensional state spaces; Assumption 3 includes differentiability of rrr, which the page uses implicitly; ε≥0\varepsilon\ge0ε≥0 (the page writes ϵapp>0\epsilon_{\rm app}>0ϵapp​>0); Assumption 2 is stated as the mixing bound the paper derives from irreducibility and aperiodicity; and Algorithm 1's sampling is represented by the conditional means of the sampled gradients given the past, measurable with respect to a filtration, which is the only way the proof uses it.

The statement admits no trivializing reading: the run structure is inhabited (a sorry-free check exhibits a run), CdC_dCd​ is fixed before the reward, the data and the run, every expectation is of a bounded measurable function, the gradient is that of a differentiable function (Lemma 2), and the Frobenius norm is used where the page uses it rather than Lean's sup norm on function types.

Welcome contributions: the existence and uniqueness of the soft-Bellman fixed point, the performance-difference and Gibbs-variational facts behind Lemma 7, the visitation-measure Lipschitz bound of Lemma 5, and the fixed-point differentiation behind Lemma 2.

Selected references

  • S. Zeng, M. Hong, A. Garcia, Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees, Operations Research, 2025; arXiv:2210.01282v3, 2024. https://arxiv.org/abs/2210.01282
  • J. Rust, Optimal Replacement of GMC Bus Engines: An Empirical Model of Harold Zurcher, Econometrica 55(5), 1987. https://doi.org/10.2307/1911259
  • B. D. Ziebart, A. Maas, J. A. Bagnell, A. K. Dey, Maximum Entropy Inverse Reinforcement Learning, AAAI 2008. https://cdn.aaai.org/AAAI/2008/AAAI08-227.pdf
  • T. Haarnoja, H. Tang, P. Abbeel, S. Levine, Reinforcement Learning with Deep Energy-Based Policies, ICML 2017. https://arxiv.org/abs/1702.08165
18 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Thompson Sampling with Information Relaxation Penalties I: For Natural Exponential Families the Suboptimality Gaps of TS, IRS.FH and IRS.V-Zero Are at Most 2√L[1/√ν + √(2 log T)(K/√ν + 2√(KT))]Research Paper

Motivation

Thompson sampling (TS) is the most widely used heuristic for Bayesian multi-armed bandits: at each step it samples a parameter from the current posterior and plays the arm that is best for the sample. Its Bayesian regret has been analysed extensively (Russo and Van Roy, 2014; Bubeck and Liu, 2013). Min, Maglaras and Moallemi (arXiv:1902.04251) place TS inside a larger family of information relaxation sampling (IRS) policies, obtained from the information-relaxation duality of Brown, Smith and Sun (2010). Each choice of penalty function yields a performance bound WzW^zWz and a randomized policy πz\pi^zπz; TS is the member with the trivial penalty. Their Theorem 3 gives explicit, finite-TTT bounds on the suboptimality gap Wz(T,y)−V(πz,T,y)W^z(T,y)-V(\pi^z,T,y)Wz(T,y)−V(πz,T,y) of three members of the family when the rewards come from a natural exponential family with conjugate priors. This mission formalizes Theorem 3 and the lemmas of its proof (Appendix §D.4).

Setting

There are K≥1K\ge1K≥1 arms A={1,…,K}\mathcal A=\{1,\dots,K\}A={1,…,K} and a horizon TTT. Arm aaa has an unknown parameter θa∈R\theta_a\in\mathbb Rθa​∈R; given θa\theta_aθa​, its rewards Ra,1,Ra,2,…R_{a,1},R_{a,2},\dotsRa,1​,Ra,2​,… (indexed by the number of the pull, not by time) are i.i.d. with the natural exponential family law ha(dr)exp⁡(θar−Aa(θa))h_a(dr)\exp(\theta_a r-A_a(\theta_a))ha​(dr)exp(θa​r−Aa​(θa​)), where hah_aha​ is a reference measure and AaA_aAa​ the log-partition function, eAa(θ)=∫eθrha(dr)e^{A_a(\theta)}=\int e^{\theta r}h_a(dr)eAa​(θ)=∫eθrha​(dr). The prior of θa\theta_aθa​ is the conjugate law proportional to exp⁡(ξaθ−νaAa(θ)) dθ\exp(\xi_a\theta-\nu_a A_a(\theta))\,d\thetaexp(ξa​θ−νa​Aa​(θ))dθ, indexed by a belief ya=(ξa,νa)y_a=(\xi_a,\nu_a)ya​=(ξa​,νa​); observing a reward rrr updates it to (ξa+r,νa+1)(\xi_a+r,\nu_a+1)(ξa​+r,νa​+1). Arms are independent.

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

The three performance bounds are

WTS(T,y)=Ey[Tmax⁡aμa(θa)],WIRS.FH(T,y)=Ey[Tmax⁡aμ^a,T−1],W^{\rm TS}(T,y)=\mathbb E_y\Big[T\max_a\mu_a(\theta_a)\Big],\qquad W^{\rm IRS.FH}(T,y)=\mathbb E_y\Big[T\max_a\hat\mu_{a,T-1}\Big],WTS(T,y)=Ey​[Tamax​μa​(θa​)],WIRS.FH(T,y)=Ey​[Tamax​μ^​a,T−1​], WIRS.V-Zero(T,y)=Ey[max⁡n∈NT∑a∑i=0na−1μ^a,i],NT={n∈N0K:∑ana=T}.W^{\rm IRS.V\text{-}Zero}(T,y)=\mathbb E_y\Big[\max_{n\in\mathcal N_T}\sum_a\sum_{i=0}^{n_a-1}\hat\mu_{a,i}\Big],\qquad\mathcal N_T=\Big\{n\in\mathbb N_0^K:\sum_a n_a=T\Big\}.WIRS.V-Zero(T,y)=Ey​[n∈NT​max​a∑​i=0∑na​−1​μ^​a,i​],NT​={n∈N0K​:a∑​na​=T}.

With remaining horizon TTT and current belief yyy, TS samples θ~\tilde\thetaθ~ from the prior P(y)\mathcal P(y)P(y) and plays arg⁡max⁡aμa(θ~a)\arg\max_a\mu_a(\tilde\theta_a)argmaxa​μa​(θ~a​). IRS.FH samples an outcome ω~∼I(y)\tilde\omega\sim\mathcal I(y)ω~∼I(y) and plays arg⁡max⁡aμ^a,T−1(ω~)\arg\max_a\hat\mu_{a,T-1}(\tilde\omega)argmaxa​μ^​a,T−1​(ω~). IRS.V-Zero samples ω~\tilde\omegaω~, finds an allocation n~∗∈NT\tilde n^*\in\mathcal N_Tn~∗∈NT​ maximizing the bracket above, and plays arg⁡max⁡an~a∗\arg\max_a\tilde n^*_aargmaxa​n~a∗​. Each policy repeats this at every step with the updated belief. V(π,T,y)V(\pi,T,y)V(π,T,y) is the expected total reward of π\piπ.

Formalization targets

Goal: Theorem 3

If every AaA_aAa​ is LLL-smooth (Aa′′≤LA_a''\le LAa′′​≤L on R\mathbb RR) and νa=ν\nu_a=\nuνa​=ν for all aaa, then for every T≥2T\ge2T≥2

WTS−V(πTS)≤2L[1ν+2log⁡T(Kν+2KT)],W^{\rm TS}-V(\pi^{\rm TS})\le2\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}\big)\Big],WTS−V(πTS)≤2L​[ν​1​+2logT​(ν​K​+2KT​)], WIRS.FH−V(πIRS.FH)≤2L[1ν+2log⁡T(Kν+2KT−13T/K)],W^{\rm IRS.FH}-V(\pi^{\rm IRS.FH})\le2\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}-\tfrac13\sqrt{T/K}\big)\Big],WIRS.FH−V(πIRS.FH)≤2L​[ν​1​+2logT​(ν​K​+2KT​−31​T/K​)], WIRS.V-Zero−V(πIRS.V-Zero)≤L[1ν+2log⁡T(Kν+2KT−13T/K)].W^{\rm IRS.V\text{-}Zero}-V(\pi^{\rm IRS.V\text{-}Zero})\le\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}-\tfrac13\sqrt{T/K}\big)\Big].WIRS.V-Zero−V(πIRS.V-Zero)≤L​[ν​1​+2logT​(ν​K​+2KT​−31​T/K​)].

The TS bound (60) is also posed alone as a companion statement.

Milestones

  1. Lemma 3: the loss of a first action aaa in the penalized inner problem is μa∗−μa\mu_{a^*}-\mu_aμa∗​−μa​ (TS), μ^a∗,T−1−μ^a,T−1\hat\mu_{a^*,T-1}-\hat\mu_{a,T-1}μ^​a∗,T−1​−μ^​a,T−1​ (IRS.FH), and at most max⁡n<Tμ^a∗,n−μ^a,0\max_{n<T}\hat\mu_{a^*,n}-\hat\mu_{a,0}maxn<T​μ^​a∗,n​−μ^​a,0​ (IRS.V-Zero).
  2. Lemma 4 and Corollary 3: a Gaussian tail, in particular sub-Gaussianity, gives E[(X−EX−zσ)+]≤(σ/z)e−z2/2\mathbb E[(X-\mathbb EX-z\sigma)^+]\le(\sigma/z)e^{-z^2/2}E[(X−EX−zσ)+]≤(σ/z)e−z2/2.
  3. Lemma 5: μˉa=ξa/ν\bar\mu_a=\xi_a/\nuμˉ​a​=ξa​/ν, μa\mu_aμa​ is L/ν\sqrt{L/\nu}L/ν​-sub-Gaussian and μ^a,n\hat\mu_{a,n}μ^​a,n​ is Ln/(ν(ν+n))\sqrt{Ln/(\nu(\nu+n))}Ln/(ν(ν+n))​-sub-Gaussian.
  4. Lemma 6: the maximal version of Lemma 4 for max⁡i≤nμ^a,i\max_{i\le n}\hat\mu_{a,i}maxi≤n​μ^​a,i​.
  5. (259)–(261) and (269)–(275): deterministic summation bounds over the pull counts of an action sequence.

Significance

Theorem 3 shows that the IRS policies, although built from tighter performance bounds than TS, keep the O(KTlog⁡T)O(\sqrt{KT\log T})O(KTlogT​) behaviour of TS, and that they improve the leading coefficient (IRS.V-Zero) or subtract a T/K\sqrt{T/K}T/K​ term (IRS.FH, IRS.V-Zero). Because WTS−V(πTS)W^{\rm TS}-V(\pi^{\rm TS})WTS−V(πTS) is the Bayesian regret of TS, (60) is also an explicit Bayesian regret bound for TS that applies to unbounded rewards such as Gaussian ones. The bounds apply to the Bernoulli family (with L=1/4L=1/4L=1/4) and to Gaussian rewards with known variance.

None of these results has a machine-checked proof. A formal development produces a reusable Lean model of a conjugate-prior Bayesian bandit with natural-exponential-family rewards, the sub-Gaussianity of its posterior mean process, and a Lean account of TS as a belief-Markov randomized policy. The paper's proofs are in its Appendix D.4.

Difficulty

The obvious route to (60) is the standard Bayesian-regret decomposition with upper confidence bounds. For unbounded natural-exponential-family rewards the required concentration does not come from boundedness. It has to come from the conjugate structure: the prior of μa(θa)=Aa′(θa)\mu_a(\theta_a)=A_a'(\theta_a)μa​(θa​)=Aa′​(θa​) is sub-Gaussian because AaA_aAa​ is LLL-smooth, which uses the whole real line as parameter space. For the IRS policies there is a further step: the policy must match nature's randomness in the same way TS does, with the penalized inner problem in place of the true best arm. The printed arguments for (61) and (62) pass through a time-ttt version of Lemma 3 whose IRS.FH and IRS.V-Zero cases do not hold in full generality as printed, so those two bounds need new or repaired arguments.

Formalization scope

Arms are Fin K and reward indices are 0-based. The parameter space of every arm is R\mathbb RR, and a belief is a pair (ξ,ν)∈R2(\xi,\nu)\in\mathbb R^2(ξ,ν)∈R2. μa\mu_aμa​, μˉa\bar\mu_aμˉ​a​ and μ^a,n\hat\mu_{a,n}μ^​a,n​ are defined as integrals, with μ^a,n\hat\mu_{a,n}μ^​a,n​ the predictive mean at the conjugate posterior belief (13), so the closed forms (14) are consequences, not assumptions. Products of probability measures are Measure.infinitePi. WIRS.FHW^{\rm IRS.FH}WIRS.FH is defined by its closed form (33). V(π,T,y)V(\pi,T,y)V(π,T,y) is the recursion of the outer loop: draw the action from the policy's law at the current belief, earn the predictive mean, observe a reward from the predictive law, and update the belief. Every policy is a map from (remaining horizon, current belief) to a law on arms, so no policy can see the true outcome; a formalization in which TS used the true parameter would make (60) trivial and is excluded by construction. Ties are broken by arbitrary measurable selectors, and the goal quantifies over all of them.

Standing hypotheses carried by the goal:

  • normalization ∫eθrha(dr)=eAa(θ)\int e^{\theta r}h_a(dr)=e^{A_a(\theta)}∫eθrha​(dr)=eAa​(θ);
  • Aa∈C2A_a\in C^2Aa​∈C2 with Aa′′≤LA_a''\le LAa′′​≤L;
  • ν>0\nu>0ν>0 and a proper prior at the initial belief;
  • integrability (3) of the rewards at the initial belief;
  • K≥1K\ge1K≥1.

Properness is not assumed at every belief, since for Bernoulli rewards it fails outside 0<ξ<ν0<\xi<\nu0<ξ<ν. Lemma 3 (3) carries the added hypothesis that aaa is strictly suboptimal; without it the printed statement fails at ties. Sub-Gaussianity uses Mathlib's HasSubgaussianMGF with variance proxy σ2\sigma^2σ2.

Useful infrastructure: conjugate updating for exponential families, the moment generating function of a natural exponential family, Doob's maximal inequality for the submartingale eλμ^a,ne^{\lambda\hat\mu_{a,n}}eλμ^​a,n​, and a probability-matching lemma for TS in the belief-recursion model. Contributions are welcome on any milestone, and on a proof that the Beta–Bernoulli instance satisfies the hypotheses.

Selected references

  • S. Min, C. Maglaras, C. C. Moallemi, Thompson Sampling with Information Relaxation Penalties, Management Science, 2025; preprint arXiv:1902.04251v2, 2021. https://arxiv.org/abs/1902.04251
  • D. B. Brown, J. E. Smith, P. Sun, Information Relaxations and Duality in Stochastic Dynamic Programs, Operations Research 58(4), 2010. https://doi.org/10.1287/opre.1090.0796
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014. https://doi.org/10.1287/moor.2014.0650
  • S. Bubeck, C.-Y. Liu, Prior-free and prior-dependent regret bounds for Thompson Sampling, NeurIPS 2013. https://arxiv.org/abs/1304.5758
9 thms3 active usersReviewed
PreviousPage 1 of 8Next

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me