Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Statistics

429 missions · 207 completed

The mathematical discipline of drawing inferences from data under uncertainty: estimation, hypothesis testing, prediction, and the quantification of confidence. Grounded in probability, it spans classical and Bayesian inference, experimental design, and modern high-dimensional and nonparametric theory, asking what data can reveal and with what guarantees.

Missions

Open222Completed207All429
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

The Multi-Armed Bandit Problem with Covariates II: Adaptively Binned Successive Elimination Has Regret at Most Cn(K log K/n)^{β(α+1)/(2β+d)} Under Smoothness and Margin ConditionsResearch Paper

Motivation

An online decision maker often sees information about a customer, patient, or request before choosing an action. A bandit with covariates models this setting when the reward of every available action is initially unknown and only the reward of the chosen action is observed. A method must learn which action works best for which covariates while paying for exploratory choices. Perchet and Rigollet studied this problem for smooth reward functions and measured how quickly a policy can approach the performance of an oracle that knows every arm's mean reward Perchet and Rigollet, 2013.

A fixed grid divides the covariate space at one resolution everywhere. It can spend pulls distinguishing arms in regions where their difference is already large, while leaving too few observations in regions where they are close. Adaptively binned successive elimination (ABSE) instead refines a region only while several arms remain plausible there. The paper proves a regret rate controlled jointly by the smoothness of the reward functions and the probability of encountering near ties. Its Theorem 5.1 is the target of this mission.

Setting

There are K≥2K\ge2K≥2 arms and covariates XtX_tXt​ in the unit cube X=[0,1]d⊂Rd\mathcal X=[0,1]^d\subset\mathbb R^dX=[0,1]d⊂Rd, with d≥1d\ge1d≥1. At time ttt, the policy sees XtX_tXt​, chooses an arm, and sees that arm's reward. The random vectors consisting of the covariate and all potential arm rewards are independent across times. Covariates have a common probability law PXP_XPX​ with a density between constants 0<c‾≤c‾0<\underline c\le\overline c0<c​≤c. Every reward lies in [0,1][0,1][0,1]; for arm iii its conditional mean given Xt=xX_t=xXt​=x is f(i)(x)∈[0,1]f^{(i)}(x)\in[0,1]f(i)(x)∈[0,1]. The paper does not require the complete reward vectors to be identically distributed across time. These conventions come from §3.1, pp. 10–11.

At xxx, write f∗(x)=max⁡if(i)(x)f^*(x)=\max_i f^{(i)}(x)f∗(x)=maxi​f(i)(x). Write f♯(x)f^\sharp(x)f♯(x) for the largest mean strictly below f∗(x)f^*(x)f∗(x), and set f♯(x)=f∗(x)f^\sharp(x)=f^*(x)f♯(x)=f∗(x) when every arm ties. The difference f∗(x)−f♯(x)f^*(x)-f^\sharp(x)f∗(x)−f♯(x) is the positive gap wherever a genuinely suboptimal arm exists. The smoothness condition requires ∣f(i)(x)−f(i)(x′)∣≤L∥x−x′∥β|f^{(i)}(x)-f^{(i)}(x')|\le L\|x-x'\|^\beta∣f(i)(x)−f(i)(x′)∣≤L∥x−x′∥β for every arm, with the Euclidean norm, 0<β≤10<\beta\le10<β≤1, and L>0L>0L>0. The margin condition, with α>0\alpha>0α>0, 0<δ0<10<\delta_0<10<δ0​<1, and C0>0C_0>0C0​>0, says

PX{0<f∗(X)−f♯(X)≤δ}≤C0δα(0≤δ≤δ0).P_X\{0<f^*(X)-f^\sharp(X)\le\delta\}\le C_0\delta^\alpha\qquad(0\le\delta\le\delta_0).PX​{0<f∗(X)−f♯(X)≤δ}≤C0​δα(0≤δ≤δ0​).

These are the assumptions defining the paper's class MXK(α,β,L)\mathcal M^K_{\mathcal X}(\alpha,\beta,L)MXK​(α,β,L) §3.2, pp. 12–13.

ABSE starts with the whole cube. Each live dyadic cell runs a copy of successive elimination on its inherited arms. One round pulls each remaining arm once. After a complete round, an arm is eliminated if its empirical mean falls more than twice the radius U(s,n∣B∣d)U(s,n|B|^d)U(s,n∣B∣d) below the largest empirical mean, where ∣B∣|B|∣B∣ is the cell's side length and UUU uses log⁡‾(x)=max⁡{log⁡x,1}\overline{\log}(x)=\max\{\log x,1\}log​(x)=max{logx,1}. The cell splits after its specified stopping round if it has at least two active arms and is below the maximum depth k0k_0k0​. Each child receives the survivors. The policy takes d,β,L,K,nd,\beta,L,K,nd,β,L,K,n as parameters and uses the current covariate and rewards it actually observed Policy 3, p. 22.

Formalization targets

Goal: Theorem 5.1, finite margin exponent

The goal is the finite-α\alphaα part of Theorem 5.1, p. 22. Fix d≥1d\ge1d≥1, 0<β≤10<\beta\le10<β≤1, L>0L>0L>0, α>0\alpha>0α>0 with αβ≤d\alpha\beta\le dαβ≤d, 0<δ0<10<\delta_0<10<δ0​<1, C0>0C_0>0C0​>0 and 0<c‾≤c‾0<\underline c\le\overline c0<c​≤c. There is one constant C>0C>0C>0, depending on these parameters but not on KKK, nnn or the machine, such that for every K≥2K\ge2K≥2, every n≥Klog⁡Kn\ge K\log Kn≥KlogK and every machine of the class,

ERn(π~)≤Cn(Klog⁡Kn)β(α+1)2β+d.\mathbb E R_n(\widetilde\pi)\le Cn\left(\frac{K\log K}{n}\right)^{\frac{\beta(\alpha+1)}{2\beta+d}}.ERn​(π)≤Cn(nKlogK​)2β+dβ(α+1)​.

Here π~\widetilde\piπ is ABSE and RnR_nRn​ is its cumulative regret against an arm of maximum conditional mean at each covariate. The goal asserts the shape of the rate with an unspecified constant, which is the paper's form.

Milestones

In attack order:

  1. Lemma A.1 (p. 28): a maximal Hoeffding–Azuma inequality, P{∃t≤T:Zˉt≥2(b−a)2t−1log⁡(4T/(δt))}≤δ\mathbb P\{\exists t\le T:\bar Z_t\ge\sqrt{2(b-a)^2t^{-1}\log(4T/(\delta t))}\}\le\deltaP{∃t≤T:Zˉt​≥2(b−a)2t−1log(4T/(δt))​}≤δ for bounded martingale differences.
  2. (5.3) (p. 21): ℓB≤Cℓ∣B∣−2β log⁡‾(n∣B∣2β+d)\ell_B\le C_\ell|B|^{-2\beta}\,\overline{\log}(n|B|^{2\beta+d})ℓB​≤Cℓ​∣B∣−2βlog​(n∣B∣2β+d), the number of rounds a cell spends before it may split.
  3. (5.10) (p. 26): if arm iii has gap above 8c0∣B∣β8c_0|B|^\beta8c0​∣B∣β at a point of BBB, then the cell mean of the arm ıˇ\check\imathˇ that is best at that point exceeds the cell mean of iii by at least 32εB,ℓB\tfrac32\varepsilon_{B,\ell_B}23​εB,ℓB​​.
  4. The display before (5.6) (p. 25): ∑∣B∣=2−kqB≤c22k(d−βα)\sum_{|B|=2^{-k}}q_B\le c_2 2^{k(d-\beta\alpha)}∑∣B∣=2−k​qB​≤c2​2k(d−βα), where qBq_BqB​ is the conditional probability of a near tie inside BBB.
  5. (5.5) (p. 24): the pathwise decomposition rnborn(B)=rnlive(B)+∑B′∈burst(B)rnborn(B′)r_n^{\mathrm{born}}(B)=r_n^{\mathrm{live}}(B)+\sum_{B'\in\mathrm{burst}(B)}r_n^{\mathrm{born}}(B')rnborn​(B)=rnlive​(B)+∑B′∈burst(B)​rnborn​(B′) of regret along the tree.
  6. Theorem 5.1, α=∞\alpha=\inftyα=∞ (p. 22): when the margin region {0<f⋆−f♯≤δ0}\{0<f^\star-f^\sharp\le\delta_0\}{0<f⋆−f♯≤δ0​} has probability zero, ERn(π~)≤CKlog⁡n\mathbb E R_n(\widetilde\pi)\le CK\log nERn​(π)≤CKlogn.

Significance

The result provides a performance guarantee for a policy that adapts its spatial resolution to observed evidence, under a class of nonparametric reward functions. It permits a direct comparison with a fixed-bin policy under the same smoothness and margin conditions. The paper proves the rate and discusses optimality in a minimax sense when K=2K=2K=2 §5, pp. 22–27. This mission asks for a machine-checked proof of the stated finite-α\alphaα regime; the Lean goal and milestones are currently open statements, so the paper's proof is the mathematical source rather than a completed formal proof.

A completed development would make the stochastic model, adaptive policy, cell geometry, and concentration estimates reusable for other contextual bandit analyses.

Difficulty

The main difficulty is the feedback loop between decisions and observations. A cell receives samples only when the covariate lands there, and its available arms depend on eliminations in its ancestors. Applying an ordinary concentration inequality to a fixed sequence of arm rewards does not by itself justify the bound at these random birth and stopping times. The formal proof must track the inherited active sets and the samples collected after each birth, then combine local error bounds across the tree. The appendix's maximal inequality controls a range of round counts; the regret argument also uses the small probability of covariates with nearly tied arm means §5, pp. 23–27 and Lemma A.1, p. 28.

Formalization scope

Lean uses EuclideanSpace ℝ (Fin d) and a probability measure on its unit cube. The lower density bound ensures every valid dyadic cell has positive probability, so its conditional mean is defined by a real quotient. A consistent half-open boundary assignment turns the paper's cells, which are specified up to Lebesgue-null boundaries, into a partition on every path. The policy is a recursive state machine: at time ttt it receives XtX_tXt​, chooses an arm from its prior state, and updates with only the reward of that arm. It does not receive the unknown means or any unobserved potential reward. The existential constant in the goal is quantified before KKK, nnn, the sample space, and the machine.

The finite-α\alphaα goal includes αβ≤d\alpha\beta\le dαβ≤d. The printed theorem omits it, although the proof uses it. Without it, a two-arm machine with constant means 111 and 000 has regret from the policy's first exploratory round, while the printed bound tends to zero when α\alphaα is large. The α=∞\alpha=\inftyα=∞ clause reads the margin condition as PX(0<f⋆−f♯≤δ0)=0P_X(0<f^\star-f^\sharp\le\delta_0)=0PX​(0<f⋆−f♯≤δ0​)=0, the limit of C0δαC_0\delta^\alphaC0​δα for δ<1\delta<1δ<1, because the page does not define it. The (5.3) milestone uses log⁡‾\overline{\log}log​: the printed ordinary logarithm can be nonpositive at a finest cell, while the left side is a positive integer. The cell parameter TB=n∣B∣dT_B=n|B|^dTB​=n∣B∣d and bursting after a full round follow Policy 3 and the proof where nearby prose or pseudocode differs. Lemma A.1 adds EZ1=0\mathbb EZ_1=0EZ1​=0 and a<ba<ba<b, both implicit on the page. The constants c2c_2c2​ and CℓC_\ellCℓ​ are existential and placed after the class parameters, because the page's explicit c2=c1α/c‾c_2=c_1^\alpha/\underline cc2​=c1α​/c​ omits the margin constant C0C_0C0​.

The probabilistic error displays (5.6)–(5.9) and (5.11)–(5.14) are not milestones. They are statements about the events AB={I‾B⊆IB⊆IˉB}\mathcal A_B=\{\underline{\mathcal I}_B\subseteq\mathcal I_B\subseteq\bar{\mathcal I}_B\}AB​={I​B​⊆IB​⊆IˉB​} and GB\mathcal G_BGB​, which the page leaves undefined for cells that are never born or never finish ℓB\ell_BℓB​ rounds. The decomposition (5.8) also leaves out arms of I‾B\underline{\mathcal I}_BI​B​ that were eliminated at an ancestor of BBB. A faithful encoding of these events is welcome as a contribution.

A complete proof needs measurable recursive policies, conditional expectations and independence, dyadic-cell volume and nesting facts, concentration for arm observations at adaptive times, and sums over tree depths. Contributions establishing these interfaces and the paper's intermediate bounds are welcome. The result must apply to every machine in the stated class. Each of the following would change the theorem: a policy that reads the unknown f(i)f^{(i)}f(i) or unobserved rewards (the oracle has zero regret), a constant chosen after the machine, a covariate law that is not a probability measure on the cube, Hölder continuity in the sup norm instead of the Euclidean norm, or dropping the density lower bound (cells of zero mass would make fˉB\bar f_Bfˉ​B​ a junk value). The paper's proofs are in §5 (pp. 23–27) and its Appendix (p. 28).

Selected references

  • Jean-Yves Audibert and Alexandre B. Tsybakov, Fast learning rates for plug-in classifiers, Annals of Statistics 35(2):608–633, 2007, DOI:10.1214/009053606000001217.
  • Eyal Even-Dar, Shie Mannor and Yishay Mansour, Action elimination and stopping conditions for the multi-armed bandit and reinforcement learning problems, Journal of Machine Learning Research 7:1079–1105, 2006, jmlr.org/papers/v7/evendar06a.
  • Philippe Rigollet and Assaf Zeevi, Nonparametric bandits with covariates, COLT 2010, pp. 54–66, arXiv:1003.1630.
  • Vianney Perchet and Philippe Rigollet, The multi-armed bandit problem with covariates, Annals of Statistics 41(2):693–721, 2013, pinned arXiv:1110.6084v3, DOI:10.1214/13-AOS1101.
13 thms1 active userReviewed
Machine LearningOptimal TransportProbability·Captain: mikedeng1

Wasserstein Distributionally Robust Optimization and Variation Regularization III: With Probability 1 − e^(−t), E_Pn[(ρ − d(z, D_f))₊] ≤ Cρ² + 2ρ·E[Rademacher] + ρ√(t/2n) for Every fResearch Paper

Motivation

Wasserstein distributionally robust optimization (DRO) replaces the empirical risk EPn[f]\mathbb E_{P_n}[f]EPn​​[f] of a loss fff by its worst case over all distributions within Wasserstein distance ρ\rhoρ of the empirical law PnP_nPn​. Gao, Chen and Kleywegt (arXiv:1712.06050; Operations Research, 2024, doi:10.1287/opre.2022.2383) show that, for small radii, this worst-case risk is the empirical risk plus ρ\rhoρ times a variation of the loss (a norm of its gradient or local slope), up to a remainder. This links DRO to gradient-norm regularization, as used in adversarial training and in data-driven newsvendor and pricing models.

For smooth losses the remainder is of order ρ2\rho^2ρ2. Many losses used in practice are only piecewise smooth: hinge, ReLU networks, newsvendor costs, θz∧1\theta z \wedge 1θz∧1. Near the set Df\mathcal D_fDf​ where the pieces meet, the first-order expansion fails, and the paper's Theorem 1(I)–(II) carries an extra boundary term M EPn[(ρ−d(z,Df))+]M\,\mathbb E_{P_n}[(\rho - d(z,\mathcal D_f))_+]MEPn​​[(ρ−d(z,Df​))+​]. Theorem 1(III) shows that this term is small with high probability, uniformly over the loss class, provided the data distribution does not concentrate near the non-smooth points. This mission formalizes that probabilistic bound.

Setting

Let (Z,d)(\mathcal Z, d)(Z,d) be a metric space with its Borel σ\sigmaσ-algebra, PtrueP_{\rm true}Ptrue​ a probability measure on Z\mathcal ZZ, and z1,…,znz_1, \dots, z_nz1​,…,zn​ an i.i.d. sample from PtrueP_{\rm true}Ptrue​, with empirical law Pn=1n∑iδziP_n = \frac1n\sum_i \delta_{z_i}Pn​=n1​∑i​δzi​​. The sampling law is the product P⊗=Ptrue⊗nP_\otimes = P_{\rm true}^{\otimes n}P⊗​=Ptrue⊗n​ on Zn\mathcal Z^nZn, and E⊗\mathbb E_\otimesE⊗​ is its expectation. The formal statements also assume the metric space is second countable.

Let F\mathcal FF be a set of losses f:Z→Rf : \mathcal Z \to \mathbb Rf:Z→R, and for each fff let Df⊆Z\mathcal D_f \subseteq \mathcal ZDf​⊆Z be its non-smooth set: for a piecewise smooth fff with pieces Zf,1,…,Zf,Kf\mathcal Z_{f,1}, \dots, \mathcal Z_{f,K_f}Zf,1​,…,Zf,Kf​​, the union of the pairwise intersections of their closures (Assumption 1). The paper assumes Df\mathcal D_fDf​ is PtrueP_{\rm true}Ptrue​-null. The distance to a set is d(z,D)=inf⁡z~∈Dd(z,z~)d(z, D) = \inf_{\tilde z\in D} d(z,\tilde z)d(z,D)=infz~∈D​d(z,z~), with d(z,∅)=+∞d(z,\varnothing) = +\inftyd(z,∅)=+∞.

The objects of the mission are:

  • the boundary gap (ρ−d(z,Df))+(\rho - d(z, \mathcal D_f))_+(ρ−d(z,Df​))+​ and the near indicator 1{d(z,Df)<ρ}\mathbf 1\{d(z,\mathcal D_f) < \rho\}1{d(z,Df​)<ρ};
  • the indicator class Iρ={z↦1{d(z,Df)<ρ}:f∈F, Df≠∅}\mathcal I_\rho = \{z\mapsto \mathbf 1\{d(z,\mathcal D_f)<\rho\} : f\in\mathcal F,\ \mathcal D_f\neq\varnothing\}Iρ​={z↦1{d(z,Df​)<ρ}:f∈F, Df​=∅};
  • the empirical Rademacher complexity Rn(H)=Eσ[sup⁡h∈H1n∑iσih(zi)]\mathfrak R_n(\mathcal H) = \mathbb E_\sigma\bigl[\sup_{h\in\mathcal H}\frac1n\sum_i\sigma_i h(z_i)\bigr]Rn​(H)=Eσ​[suph∈H​n1​∑i​σi​h(zi​)] of a class H\mathcal HH, with i.i.d. uniform signs σi\sigma_iσi​, and the Rademacher complexity E⊗[Rn(H)]\mathbb E_\otimes[\mathfrak R_n(\mathcal H)]E⊗​[Rn​(H)];
  • Assumption 3 (bounded density):
lim sup⁡δ↓0 sup⁡f∈F: Df≠∅Ptrue{z:0<d(z,Df)<δ}δ<∞.\limsup_{\delta\downarrow 0}\ \sup_{f\in\mathcal F:\,\mathcal D_f\ne\varnothing}\frac{P_{\rm true}\{z : 0 < d(z,\mathcal D_f) < \delta\}}{\delta} < \infty.δ↓0limsup​ f∈F:Df​=∅sup​δPtrue​{z:0<d(z,Df​)<δ}​<∞.

In Lean the boundary gap is the shared WassVarReg.PInf.boundaryGap; nearIndicator, indicatorClass, empRademacher, rademacher and Assumption3 are in WassVarReg.Boundary. The sample law is the published MinimaxWass.DataDep.sampleLaw.

Formalization targets

Goal: Theorem 1(III), first display (p. 8)

Under Assumption 3 there exist ρˉ,C>0\bar\rho, C > 0ρˉ​,C>0 such that for all n≥1n\ge1n≥1, t>0t>0t>0 and 0≤ρ<ρˉ0\le\rho<\bar\rho0≤ρ<ρˉ​, with probability at least 1−e−t1-e^{-t}1−e−t, for every f∈Ff\in\mathcal Ff∈F,

EPn[(ρ−d(z,Df))+]≤Cρ2+2ρ E⊗[Rn(Iρ)]+ρt2n.\mathbb E_{P_n}\bigl[(\rho - d(z,\mathcal D_f))_+\bigr] \le C\rho^2 + 2\rho\,\mathbb E_\otimes[\mathfrak R_n(\mathcal I_\rho)] + \rho\sqrt{\frac{t}{2n}}.EPn​​[(ρ−d(z,Df​))+​]≤Cρ2+2ρE⊗​[Rn​(Iρ​)]+ρ2nt​​.

The constants CCC and ρˉ\bar\rhoρˉ​ are left unspecified; they depend only on Assumption 3.

Milestones

  1. Lemma EC.5 (p. ec4): for a class H\mathcal HH of measurable functions with values in [0,M][0,M][0,M], with probability at least 1−e−t1-e^{-t}1−e−t, EPn[h]≤EPtrue[h]+2 E⊗[Rn(H)]+Mt/(2n)\mathbb E_{P_n}[h] \le \mathbb E_{P_{\rm true}}[h] + 2\,\mathbb E_\otimes[\mathfrak R_n(\mathcal H)] + M\sqrt{t/(2n)}EPn​​[h]≤EPtrue​​[h]+2E⊗​[Rn​(H)]+Mt/(2n)​ for all h∈Hh\in\mathcal Hh∈H.
  2. Assumption 3 bounds the true mass (proof of Lemma EC.11, p. ec11): EPtrue[1{d(z,Df)<ρ}]≤Cρ\mathbb E_{P_{\rm true}}[\mathbf 1\{d(z,\mathcal D_f)<\rho\}] \le C\rhoEPtrue​​[1{d(z,Df​)<ρ}]≤Cρ for 0≤ρ<ρˉ0\le\rho<\bar\rho0≤ρ<ρˉ​, uniformly in fff.
  3. Lemma EC.11 (p. ec11): with probability at least 1−e−t1-e^{-t}1−e−t, for every fff, EPn[1{d(z,Df)<ρ}]≤Cρ+2 E⊗[Rn(Iρ)]+t/(2n)\mathbb E_{P_n}[\mathbf 1\{d(z,\mathcal D_f)<\rho\}] \le C\rho + 2\,\mathbb E_\otimes[\mathfrak R_n(\mathcal I_\rho)] + \sqrt{t/(2n)}EPn​​[1{d(z,Df​)<ρ}]≤Cρ+2E⊗​[Rn​(Iρ​)]+t/(2n)​.
  4. Gap versus mass (p. ec11): EPn[(ρ−d(z,Df))+]≤ρ EPn[1{d(z,Df)<ρ}]\mathbb E_{P_n}[(\rho-d(z,\mathcal D_f))_+] \le \rho\,\mathbb E_{P_n}[\mathbf 1\{d(z,\mathcal D_f)<\rho\}]EPn​​[(ρ−d(z,Df​))+​]≤ρEPn​​[1{d(z,Df​)<ρ}].

Significance

The result. With ρn=ρ0/n\rho_n = \rho_0/\sqrt nρn​=ρ0​/n​ and a class Iρ\mathcal I_\rhoIρ​ of bounded complexity, the right side of the goal is Op(1/n)O_p(1/n)Op​(1/n). Combined with Theorem 1(I)–(II), it gives the paper's conclusion that ppp-Wasserstein DRO with p∈(1,∞]p\in(1,\infty]p∈(1,∞] is asymptotically equivalent to empirical variation regularization, min⁡f{EPn[f]+ρnVPn,q(f)}+Op(1/n)\min_f\{\mathbb E_{P_n}[f] + \rho_n\mathcal V_{P_n,q}(f)\} + O_p(1/n)minf​{EPn​​[f]+ρn​VPn​,q​(f)}+Op​(1/n), for non-smooth losses, uniformly over the class. Without it, the boundary term is only bounded by MρM\rhoMρ, and the expansion has no better accuracy than first order. Assumption 3 is the condition under which the non-smooth set does not matter statistically.

Formalizing it. The result is proved in the paper; it has no machine-checked proof. Its proof composes a uniform deviation bound (McDiarmid's inequality plus symmetrization) with a bounded-density estimate. The mission produces a general Rademacher deviation bound for bounded classes on an arbitrary metric space with a measurability guard, reusable by any statistical-learning mission, and fixes the printed constant of Lemma EC.5 (M2t/nM\sqrt{2t/n}M2t/n​ on the page, Mt/(2n)M\sqrt{t/(2n)}Mt/(2n)​ from its proof).

Difficulty

The deterministic parts are short. The difficulty is in Lemma EC.5. McDiarmid's inequality must be applied to the uniform deviation over an arbitrary, possibly uncountable, class. Symmetrization must then be carried out with Bochner integrals over Zn×Zn\mathcal Z^n\times\mathcal Z^nZn×Zn and a finite sign space. Neither tool is in Mathlib in this form. A tempting shortcut, bounding each fixed hhh by Hoeffding's inequality and taking a union bound, fails: the class is infinite, and the bound must hold simultaneously for all fff inside a single event. A second point is Assumption 3: it controls only the shell 0<d(z,Df)<δ0 < d(z,\mathcal D_f) < \delta0<d(z,Df​)<δ, so the mass of {d=0}\{d = 0\}{d=0} has to come from the null closure of Df\mathcal D_fDf​.

Formalization scope

  • Space and sample. Z\mathcal ZZ is a metric space with [MeasurableSpace Z] [BorelSpace Z] [SecondCountableTopology Z] in the goal-level statements. Second countability is an added technical hypothesis used throughout this paper's mission series. A sample is ω : Fin n → Z with n≥1n\ge1n≥1, and its law is Measure.pi. Empirical means are 1n∑i:Fin n\frac1n\sum_{i : \mathrm{Fin}\,n}n1​∑i:Finn​.
  • Distance to a set. Metric.infEDist, which is +∞+\infty+∞ on ∅\varnothing∅. A loss with Df=∅\mathcal D_f=\varnothingDf​=∅ thus has boundary gap 000 and is excluded from Iρ\mathcal I_\rhoIρ​, as on the page. The real-valued Metric.infDist (which is 000 on ∅\varnothing∅) would give such a loss gap ρ\rhoρ and is not used.
  • The non-smooth sets are an arbitrary family D : (Z → ℝ) → Set Z. The goal-level statements assume each Df\mathcal D_fDf​ is closed and PtrueP_{\rm true}Ptrue​-null, the standing consequence of its construction in Assumption 1. The details of the piecewise smooth loss model are not needed for this probability estimate.
  • Probabilities are written as P⊗{ω:¬ ∀f∈F,… }≤e−tP_\otimes\{\omega : \neg\,\forall f\in\mathcal F, \dots\}\le e^{-t}P⊗​{ω:¬∀f∈F,…}≤e−t, with the quantifier over F\mathcal FF inside the event (an outer measure for uncountable F\mathcal FF).
  • Rademacher complexity. The sign expectation is an average over {±1}n\{\pm1\}^n{±1}n. Suprema are real suprema of classes with values in [0,M][0,M][0,M]; an empty class gives 000. E⊗\mathbb E_\otimesE⊗​ is a Bochner integral.
  • Measurability guard (added): the uniform deviation, the empirical Rademacher complexity and the double-sample deviation of the class are measurable. This holds, for instance, for countable F\mathcal FF, and the paper leaves it implicit.
  • Quantifier order. ρˉ\bar\rhoρˉ​ and CCC are chosen before nnn and ttt, which is stronger than the page's order. The radius satisfies ρ≥0\rho\ge0ρ≥0.
  • Not stated. The second display of Theorem 1(III) and the "Moreover" part of Lemma EC.11, which use Dudley's entropy integral: their proof bounds the empirical Rademacher complexity, while Lemma EC.5 needs its expectation.
  • Trivialization ruled out. The Rademacher term is that of the specific class Iρ\mathcal I_\rhoIρ​ built from the sets Df\mathcal D_fDf​. It is not a free constant, and no hypothesis assumes the conclusion of Lemma EC.5.

Contributions welcome: a general McDiarmid inequality for product measures, a symmetrization lemma for measurable classes, and proofs of the milestones in any order.

Selected references

  • R. Gao, X. Chen, A. J. Kleywegt, Wasserstein Distributionally Robust Optimization and Variation Regularization, Operations Research, 2024. arXiv:1712.06050, doi:10.1287/opre.2022.2383
  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Theorem 26.5. doi:10.1017/CBO9781107298019
  • C. McDiarmid, On the method of bounded differences, Surveys in Combinatorics, LMS Lecture Note Series 141, 1989. doi:10.1017/CBO9781107359949.008
  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Ch. 5. doi:10.1017/9781108627771
8 thms1 active userReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Data-Based Dynamic Pricing and Inventory Control with Censored Demand and Limited Price Changes 1: In the Well-Separated Case, Algorithm-I with m Price Changes Has Regret at Most KT^(1/(m+1))Research Paper

Motivation

Retailers set prices and stock levels without knowing how demand responds to price. They must learn the demand curve from their own sales while still earning money, which is the exploration–exploitation trade-off of dynamic pricing with learning (den Boer 2015). Two features of practice make the problem harder than the textbook bandit. First, demand is censored: when the shelf runs empty, the firm sees only its sales min⁡{dt,yt}\min\{d_t,y_t\}min{dt​,yt​}, not the demand dtd_tdt​. Second, firms change prices rarely, because of menu costs and customer reaction, so a policy may change its price at most mmm times over the whole horizon (Cheung, Simchi-Levi and Wang 2017).

Chen, Chao and Wang study a firm facing both features at once, in a parametric model where the demand distribution is known up to a parameter. For the well-separated case they give an algorithm, Algorithm-I, whose regret grows as T1/(m+1)T^{1/(m+1)}T1/(m+1), and they show that no admissible policy does better in general. This mission formalizes the upper bound. A companion mission formalizes the lower bound.

Setting

A firm sells one product over periods t=1,…,Tt=1,\dots,Tt=1,…,T. At the start of period ttt it holds inventory xtx_txt​ (with x1=0x_1=0x1​=0). It chooses a price pt∈P=[pl,ph]p_t\in\mathcal P=[p^l,p^h]pt​∈P=[pl,ph] and an order-up-to level yt∈Y={yl,…,yh}y_t\in\mathcal Y=\{y^l,\dots,y^h\}yt​∈Y={yl,…,yh} with yt≥xty_t\ge x_tyt​≥xt​, and the order arrives at once. Demand dtd_tdt​ then has probability mass function f(⋅;pt,z)f(\cdot;p_t,z)f(⋅;pt​,z) on {dl,dl+1,…,dh}\{d^l,d^l+1,\dots,d^h\}{dl,dl+1,…,dh}, where dh≤+∞d^h\le+\inftydh≤+∞ and the parameter zzz lies in Z=[zl,zh]\mathcal Z=[z^l,z^h]Z=[zl,zh], 0≤zl≤zh0\le z^l\le z^h0≤zl≤zh. Unmet demand is lost, and the firm observes only the sales min⁡{dt,yt}\min\{d_t,y_t\}min{dt​,yt​}. Leftover stock carries over, xt+1=(yt−dt)+x_{t+1}=(y_t-d_t)^+xt+1​=(yt​−dt​)+. Each unit left over costs h≥0h\ge0h≥0 and each lost sale costs b≥0b\ge0b≥0. The single-period expected profit is

G(p,y,z)=p E[D(p,z)]−h E[y−D(p,z)]+−(b+p) E[D(p,z)−y]+.G(p,y,z)=p\,\mathbb E[D(p,z)]-h\,\mathbb E[y-D(p,z)]^+-(b+p)\,\mathbb E[D(p,z)-y]^+ .G(p,y,z)=pE[D(p,z)]−hE[y−D(p,z)]+−(b+p)E[D(p,z)−y]+.

For each yyy, py∗(z)p^*_y(z)py∗​(z) is an optimal price, max⁡p∈PG(p,y,z)=G(py∗(z),y,z)\max_{p\in\mathcal P}G(p,y,z)=G(p^*_y(z),y,z)maxp∈P​G(p,y,z)=G(py∗​(z),y,z), and the clairvoyant value is G∗(z)=max⁡(p,y)∈P×YG(p,y,z)G^*(z)=\max_{(p,y)\in\mathcal P\times\mathcal Y}G(p,y,z)G∗(z)=max(p,y)∈P×Y​G(p,y,z).

A policy's decision in period ttt may depend only on past decisions and past sales. The regret of a policy is

R(T)=T G∗(z)−E[Vϕ(T,z)]=∑t=1TE[G∗(z)−G(pt,yt,z)].R(T)=T\,G^*(z)-\mathbb E[V^\phi(T,z)]=\sum_{t=1}^T\mathbb E\big[G^*(z)-G(p_t,y_t,z)\big].R(T)=TG∗(z)−E[Vϕ(T,z)]=t=1∑T​E[G∗(z)−G(pt​,yt​,z)].

The family is well-separated (Definition 1) if for every price the pmfs f(⋅;p,z)f(\cdot;p,z)f(⋅;p,z), z∈Zz\in\mathcal Zz∈Z, are pairwise distinct.

Algorithm-I splits the horizon into m+1m+1m+1 stages of lengths Ii=⌈Ti/(m+1)⌉I_i=\lceil T^{i/(m+1)}\rceilIi​=⌈Ti/(m+1)⌉ for i≤mi\le mi≤m, with Im+1=T−∑i≤mIiI_{m+1}=T-\sum_{i\le m}I_iIm+1​=T−∑i≤m​Ii​. Stage iii uses one price p^i\hat p_ip^​i​ and the order-up-to target y~i\tilde y_iy~​i​. The target equals the planned level y^i\hat y_iy^​i​, raised by Δ≥1\Delta\ge1Δ≥1 when y^i=dl\hat y_i=d^ly^​i​=dl so that the sales carry information. At the end of the stage the algorithm computes the censored-data maximum-likelihood estimate z^i\hat z_iz^i​ (5). It then sets the next stage's decisions to a maximizer of G(⋅,⋅,z^i)G(\cdot,\cdot,\hat z_i)G(⋅,⋅,z^i​) (6). It changes its price at most mmm times.

Formalization targets

Goal: Theorem 1

Under Assumption A (regularity of GGG and of py∗p^*_ypy∗​ near the true zzz), Assumption 1 (Fisher-information bounds, a positive lower bound on the pmf, strict monotonicity of f(dl;p,⋅)f(d^l;p,\cdot)f(dl;p,⋅)), Definition 1, and the condition that every optimal order-up-to level exceeds dld^ldl, there is K6>0K_6>0K6​>0 such that for all large TTT

R(T)≤K6 T1m+1.R(T)\le K_6\,T^{\frac1{m+1}} .R(T)≤K6​Tm+11​.

The constant may depend on the model, the true parameter and the algorithm's inputs. The rate T1/(m+1)T^{1/(m+1)}T1/(m+1) is the content.

Milestones

  1. Theorem B1: if an estimator satisfies P{∥z^−z∥≥ϵ}≤K14e−nK15ϵ2+K16/n\mathbb P\{\|\hat z-z\|\ge\epsilon\}\le K_{14}e^{-nK_{15}\epsilon^2}+K_{16}/nP{∥z^−z∥≥ϵ}≤K14​e−nK15​ϵ2+K16​/n, then the plug-in decision has optimality gap G∗(z)−E[G(p^∗,y^∗,z)]≤K17/nG^*(z)-\mathbb E[G(\hat p^*,\hat y^*,z)]\le K_{17}/nG∗(z)−E[G(p^​∗,y^​∗,z)]≤K17​/n.
  2. Proposition 1: the censored MLE satisfies P{∣z−z^i∣≥ϵ}≤K3e−K4Iiϵ2+K5/Ii\mathbb P\{|z-\hat z_i|\ge\epsilon\}\le K_3e^{-K_4I_i\epsilon^2}+K_5/I_iP{∣z−z^i​∣≥ϵ}≤K3​e−K4​Ii​ϵ2+K5​/Ii​.
  3. Per-stage estimation regret (p. 25): E[G∗(z)−G(p^i,y^i,z)]≤K17/Ii−1\mathbb E[G^*(z)-G(\hat p_i,\hat y_i,z)]\le K_{17}/I_{i-1}E[G∗(z)−G(p^​i​,y^​i​,z)]≤K17​/Ii−1​.
  4. (25): the summed estimation regret is at most a constant times mT1/(m+1)mT^{1/(m+1)}mT1/(m+1).
  5. (26): P(y^i≠y~i)≤K/Ii−1\mathbb P(\hat y_i\ne\tilde y_i)\le K/I_{i-1}P(y^​i​=y~​i​)≤K/Ii−1​, so exploration after stage 1 is rare.

Significance

The upper bound shows that a budget of mmm price changes costs only a T1/(m+1)T^{1/(m+1)}T1/(m+1) regret even under censoring. With mmm of order log⁡T\log TlogT the rate drops to logarithmic (Theorem 3 of the paper). Together with the matching lower bound (Theorem 2), it identifies the exact price of limiting price changes in this model. Theorem B1 is a general transfer principle, from a large-deviation bound on an estimate to a 1/n1/n1/n optimality gap of the plug-in decision. It allows continuous and discrete decisions together and needs no unique optimizer. It is reusable for any parametric learning problem with that structure. Proposition 1 is a large-deviation bound for maximum likelihood from censored, dependent, non-identically distributed data. The paper notes that such results were not previously available in the statistics literature.

The results are proved in the paper's appendices. None of them has a machine-checked proof. A formalization would check the regret decomposition (23), the stagewise bookkeeping with ceilings, and the large-deviation argument for the censored MLE. It would also make the reading of several loosely stated steps exact (see Formalization scope).

Difficulty

The obvious argument plugs a consistent estimator into the optimizer and bounds the regret by the estimation error. It fails twice. The error of z^i\hat z_iz^i​ is of order Ii−1−1/2I_{i-1}^{-1/2}Ii−1−1/2​, so a Lipschitz bound on the profit would give regret of order Ii/Ii−1I_i/\sqrt{I_{i-1}}Ii​/Ii−1​​ per stage, which is too large. The 1/n1/n1/n rate of Theorem B1 needs the first-order condition at an interior optimum and the exact gap δ\deltaδ between optimal and suboptimal discrete levels. Second, the data are censored and dependent. The censoring level yty_tyt​ depends on carried inventory, which depends on past demand and on past prices. The classical large-deviation results for maximum likelihood assume i.i.d. uncensored samples (Borovkov 1998) and do not apply. Proposition 1 needs a separate argument that the inventory target is reached in most periods with high probability.

Formalization scope

The model is encoded with a scalar parameter. P\mathcal PP, Y\mathcal YY and Z\mathcal ZZ are as above. The pmf is positive exactly on {dl,…,dh}\{d^l,\dots,d^h\}{dl,…,dh} and sums to one, and dh=+∞d^h=+\inftydh=+∞ is allowed. The expected profit GGG is built from these sums. G∗(z)G^*(z)G∗(z) is the finite maximum max⁡yG(py∗(z),y,z)\max_{y}G(p^*_y(z),y,z)maxy​G(py∗​(z),y,z) for a price selection p∗p^*p∗, not a real supremum. Periods are 0-based in Lean, while stages keep the paper's indices. Expectations and probabilities are sums over demand paths d∈NTd\in\mathbb N^Td∈NT weighted by ∏tf(dt;pt,z)\prod_tf(d_t;p_t,z)∏t​f(dt​;pt​,z), the law of the path under the algorithm, taken in [0,∞][0,\infty][0,∞]. Every regret summand is nonnegative.

Algorithm-I reads demand only through sales. Step 2's arg max is any maximizer of the censored product likelihood, which exists by compactness. Step 3's arg max is y^\hat yy^​, any maximizer of y↦G(py∗(z^),y,z^)y\mapsto G(p^*_y(\hat z),y,\hat z)y↦G(py∗​(z^),y,z^), together with the price py^∗(z^)p^*_{\hat y}(\hat z)py^​∗​(z^) of Assumption A(iii). This is the decision the proof of Theorem B1 analyses. Proposition 1's "large enough iii" is read as "large enough TTT, uniformly in the stage and in ϵ\epsilonϵ". Theorem B1 is stated for a scalar price and level and a parameter in Rk\mathbb R^kRk.

Three hypotheses are added and disclosed. Differentiability of fff in zzz is presupposed by Assumption 1. Finiteness of the mean demand is needed for (4) when dh=∞d^h=\inftydh=∞. The condition dl≤yld^l\le y^ldl≤yl is needed because Step 1 defines the target only for y^≥dl\hat y\ge d^ly^​≥dl. "The optimal order-up-to level exceeds dld^ldl" is read for every optimal level.

A trivializing formalization is ruled out. Regret and probabilities are path sums of nonnegative terms, not Bochner integrals that vanish on non-integrable inputs. T1/(m+1)T^{1/(m+1)}T1/(m+1) is a real power. The hypotheses are jointly satisfiable: a Bernoulli instance with Y={1}\mathcal Y=\{1\}Y={1}, P=[1,2]\mathcal P=[1,2]P=[1,2], Z=[2/3,4/5]\mathcal Z=[2/3,4/5]Z=[2/3,4/5], f(0;p,z)=zp/2f(0;p,z)=zp/2f(0;p,z)=zp/2 satisfies all of them, together with explicit selections, and this has been verified in Lean.

A complete development needs the following:

  • Hoeffding-type concentration for dependent bounded sums;
  • a large-deviation bound for the censored log-likelihood;
  • Taylor's theorem with integral remainder on an interval;
  • bookkeeping lemmas for the stage lengths ⌈Ti/(m+1)⌉\lceil T^{i/(m+1)}\rceil⌈Ti/(m+1)⌉.

Theorem B1 and the model definitions are reusable for the paper's later results (Theorems 3, 5, 6), which repeat these arguments. Contributions to any milestone are welcome, including alternative proofs of Proposition 1.

Selected references

  • B. Chen, X. Chao, Y. Wang, Data-Based Dynamic Pricing and Inventory Control with Censored Demand and Limited Price Changes, Operations Research (technical note), 2020; read in the SSRN revision of 2020-02-10. https://doi.org/10.1287/opre.2020.1993, https://ssrn.com/abstract=2700747
  • W. C. Cheung, D. Simchi-Levi, H. Wang, Dynamic Pricing and Demand Learning with Limited Price Experimentation, Operations Research 65(6), 2017. https://doi.org/10.1287/opre.2017.1629
  • J. Broder, P. Rusmevichientong, Dynamic Pricing under a General Parametric Choice Model, Operations Research 60(4), 2012. https://doi.org/10.1287/opre.1120.1057
  • A. A. Borovkov, Mathematical Statistics, Gordon and Breach, 1998.
  • A. V. den Boer, Dynamic pricing and learning: Historical origins, current research, and new directions, Surveys in Operations Research and Management Science 20(1), 2015. https://doi.org/10.1016/j.sorms.2015.03.001
9 thms1 active userReviewed
Bandit AlgorithmsMachine LearningOperations Research·Captain: mikedeng1

Personalized Dynamic Pricing with Machine Learning: High-Dimensional Features and Heterogeneous Elasticity 1: Under Known Sparsity, ILSX Pricing Has Regret at Most Cs√T log TResearch Paper

Motivation

A seller who changes prices while learning demand faces two costs: a price experiment may earn less revenue now, while insufficient experimentation leaves later prices poorly calibrated. Customer features make the balance harder because both willingness to buy and sensitivity to price may vary between customers. Ban and Keskin study this problem when the number of recorded features can be large relative to the selling horizon. Their known-support policy, ILSX, provides the upper bound formalized here Ban and Keskin, 2021, §§2 and 4.1.

The paper's result is a statement about learning a demand model while serving sequential customers, rather than about fitting that model after all observations are available. A price at period ttt must use information then available, including the arriving customer's features but excluding that customer's demand shock. The seller therefore needs a policy whose expected revenue loss can be bounded uniformly over the unknown parameters in a specified model Ban and Keskin, 2021, pp. 5552–5556.

Setting

In each period t=1,2,…t=1,2,\ldotst=1,2,…, a customer arrives with a feature vector Zt∈RdZ_t\in\mathbb R^dZt​∈Rd. The seller observes the augmented vector Xt=[1;Zt]X_t=[1;Z_t]Xt​=[1;Zt​], posts a price pt∈[ℓ,u]p_t\in[\ell,u]pt​∈[ℓ,u] with 0<ℓ<u0<\ell<u0<ℓ<u, and then observes demand. In the linear demand model, demand equals

Dt=α⋅Xt+(β⋅Xt)pt+εt.D_t=\alpha\cdot X_t+(\beta\cdot X_t)p_t+\varepsilon_t.Dt​=α⋅Xt​+(β⋅Xt​)pt​+εt​.

The intercept and slope vectors α,β\alpha,\betaα,β are unknown. The seller knows the sparsity structure S\mathcal SS: outside this set of coordinate indices, both parameter vectors vanish. The compressed parameter θS=(αS,βS)\theta_{\mathcal S}=(\alpha_{\mathcal S},\beta_{\mathcal S})θS​=(αS​,βS​) lies in a compact coordinate rectangle ΘS\Theta_{\mathcal S}ΘS​, and s=∣S∣≥1s=|\mathcal S|\ge1s=∣S∣≥1. The compressed customer vector is XS,t=(Xt,i)i∈SX_{\mathcal S,t}=(X_{t,i})_{i\in\mathcal S}XS,t​=(Xt,i​)i∈S​ Ban and Keskin, 2021, pp. 5552–5555.

At price ppp, expected single-period revenue is r(p,θS,x)=p[αS⋅x+(βS⋅x)p]r(p,\theta_{\mathcal S},x)=p[\alpha_{\mathcal S}\cdot x+(\beta_{\mathcal S}\cdot x)p]r(p,θS​,x)=p[αS​⋅x+(βS​⋅x)p]. The clairvoyant price is φ(θS,x)=−(αS⋅x)/(2βS⋅x)\varphi(\theta_{\mathcal S},x)=-(\alpha_{\mathcal S}\cdot x)/(2\beta_{\mathcal S}\cdot x)φ(θS​,x)=−(αS​⋅x)/(2βS​⋅x) when the slope is negative. The paper assumes this price is in (ℓ,u)(\ell,u)(ℓ,u) throughout its model domain. Expected regret ΔθSπ(T)\Delta^{\pi}_{\theta_{\mathcal S}}(T)ΔθS​π​(T) is the expected sum, through period TTT, of the clairvoyant revenue minus the revenue at the policy's price Ban and Keskin, 2021, (2)–(4), p. 5553–5554.

The ILSX policy charges one fixed experimental price m1m_1m1​ at periods 1,4,9,…1,4,9,\ldots1,4,9,… and a distinct price m2m_2m2​ at periods 2,5,10,…2,5,10,\ldots2,5,10,…. At every other period it estimates the compressed demand parameter by least squares using experimental observations, projects the estimate onto ΘS\Theta_{\mathcal S}ΘS​, and applies φ\varphiφ to the projected estimate and the current customer vector. Both prices lie in [ℓ,u][\ell,u][ℓ,u] Ban and Keskin, 2021, (7), (8), (12), pp. 5555–5556.

Formalization targets

The goal is Theorem 2: for the stated model and ILSX policy, a finite positive constant CCC exists such that

ΔθSILSX(m1,m2)(T)≤CsTlog⁡T(θS∈ΘS, T≥2).\Delta^{\mathrm{ILSX}(m_1,m_2)}_{\theta_{\mathcal S}}(T)\le Cs\sqrt T\log T\qquad(\theta_{\mathcal S}\in\Theta_{\mathcal S},\ T\ge2).ΔθS​ILSX(m1​,m2​)​(T)≤CsT​logT(θS​∈ΘS​, T≥2).

The constant is chosen after the model, shock process, experimental prices, and estimator selection are fixed, but before the parameter and horizon. The theorem and Remark 5 are on pp. 5556–5557 of Ban and Keskin, 2021.

The milestones reproduce the paper's route into this claim: the experimental-period count following (7); the growth bound (15) for the price-variation statistic JtJ_tJt​; Lemma 1's minimum-eigenvalue probability bound for the experimental information matrix J~S,t\widetilde{\mathcal J}_{\mathcal S,t}J​S,t​; and Lemma 2's high-probability bound for its noise-driven estimation error. The least-squares error identity (11) is included as a supporting item on invertible samples, not as a milestone. The constants and thresholds in these targets remain existential where the article leaves them existential Ban and Keskin, 2021, pp. 5555–5556.

Significance

The theorem gives a guarantee for a concrete pricing policy under feature-dependent price sensitivity. The bound grows with the horizon at order Tlog⁡T\sqrt T\log TT​logT for a fixed known support, with an explicit factor sss in the published statement. It lets a seller compare the cost of this policy with the revenue of a seller who knew the demand coefficients before pricing. The paper presents its result as matching its lower-bound benchmark up to logarithmic factors, under the paper's respective hypotheses Ban and Keskin, 2021, Theorems 1–2, pp. 5554–5556.

The mathematical result was published in 2021. This mission seeks a machine-checked statement and proof of the known-support guarantee and its stated intermediate results. The checked Prove2Me prior-art catalog contains featureless dynamic-pricing results and separate least-squares results, but no matching formalization of ILSX. A completed development would add reusable definitions for a feature-dependent price regressor, experimental information matrix, nonanticipating estimator selection, and expected regret. The article places its proofs in an electronic companion, which is not included in the held source PDF; this mission does not reproduce those proofs as source material.

Difficulty

The policy learns from a sparse set of deliberately chosen periods, while its regret accumulates at every period. A pointwise least-squares identity alone does not control the regret: the information matrix can be singular at early periods, and the customer features and shocks are random. In particular, the printed inverse identity (11) says “for all t≥2t\ge2t≥2”, although at t=2t=2t=2 the matrix has rank at most two and cannot be invertible when s≥2s\ge2s≥2. The formal statement therefore confines the inverse identity to invertible samples. Lemma 2's event also includes invertibility so a default inverse of a singular matrix cannot make its error bound automatic Ban and Keskin, 2021, (9)–(11), Lemma 2, p. 5556.

Formalization scope

Lean uses one-based periods and a support subtype of the augmented feature coordinates. Coordinate zero is the paper's intercept coordinate one. The parameter has coordinates (j,i)(j,i)(j,i) for demand intercept or price slope j∈{0,1}j\in\{0,1\}j∈{0,1} and support index i∈Si\in\mathcal Si∈S. The regressor [1;p]⊗XS,t[1;p]\otimes X_{\mathcal S,t}[1;p]⊗XS,t​ gives the information matrix in (10). Euclidean squared norms are explicit sums of squares, and the minimum-eigenvalue claim is the equivalent Rayleigh inequality. The parameter rectangle is nonempty, and its Euclidean projection is coordinatewise clamping.

The standing assumptions are d≥1d\ge1d≥1, s≥1s\ge1s≥1, 0<ℓ<u0<\ell<u0<ℓ<u, distinct experimental prices in [ℓ,u][\ell,u][ℓ,u], bounded i.i.d. features with mean zero and positive-definite covariance, and a fixed shock process with conditional mean zero, bounded conditional second moment, and finite conditional exponential moments near zero. The feature process is measurable and integrable. The model additionally states independence of the next customer's features from the past primitives, the reading of the paper's joint probability construction used here. The slope is negative and the clairvoyant price lies in (ℓ,u)(\ell,u)(ℓ,u) for every allowed parameter and realized feature. These conditions ensure that the price formula represents a genuine revenue maximum. The phrase about continuous features having positive measure in the interior of their domains is omitted because the page does not specify the domains or a reference measure Ban and Keskin, 2021, §2, pp. 5552–5554.

The estimator is any measurable minimizer of the experimental least-squares objective for histories with at least two observations. Its type depends only on earlier observations; at nonexperimental periods the recorded pseudo-observations are ignored by the objective. The shock law is fixed while the parameter varies. Expected regret uses a nonnegative integral, and conditional second and exponential moments use nonnegative conditional expectations. The theorem binds CCC before the parameter and horizon, while leaving support size fixed with the model. Consequently, the stronger uniformity in sss suggested by Remark 5 is outside this statement. These choices exclude vacuous integrals, unconstrained estimators, and accidental bounds from a singular matrix inverse. Work on the probability estimates, least-squares identity, and regret bound is welcome under these exact definitions.

Selected references

  • G.-Y. Ban and N. B. Keskin, Personalized Dynamic Pricing with Machine Learning: High-Dimensional Features and Heterogeneous Elasticity, Management Science 67(9):5549–5568, 2021. DOI: 10.1287/mnsc.2020.3680.
6 thms1 active userReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

The Multi-Armed Bandit Problem with Covariates I: Successive Elimination Has Expected Regret at Most 392γ²(1 + n/T)(K/Δ)log(TΔ²/18γ²) + nΔ⁻ Under a Random HorizonResearch Paper

Motivation

In a multi-armed bandit, a decision maker repeatedly chooses an arm, observes a reward, and tries to learn which arm has the highest average reward while losing little reward during learning. A policy that requires the number of future pulls in advance cannot be used unchanged when stopping time is uncertain. Perchet and Rigollet study successive elimination (SE), which removes poorly performing arms from a shrinking active set and can run without knowing the realized horizon. Their Theorem 2.1 bounds its expected regret when the horizon is random and independent of rewards Perchet and Rigollet, 2013, Theorem 2.1.

The static-bandit theorem also supplies a concentration and elimination analysis used in the paper's broader study of bandits with covariates. This mission isolates that theorem and the intermediate estimates that make its quantitative constant explicit. The paper proves the result in §2, with a concentration lemma in the Appendix; the goal here is a machine-checked statement and, eventually, a machine-checked proof of that known result.

Setting

There are K+1≥2K+1\ge2K+1≥2 arms. For each arm iii, the reward stack Yi,1,Yi,2,…Y_{i,1},Y_{i,2},\ldotsYi,1​,Yi,2​,… lists the rewards that successive pulls of that arm will reveal. Rewards lie in [0,1][0,1][0,1], are identically distributed along each arm, and have mean fif_ifi​. The stacks are mutually independent. Arms are indexed so that f1≤⋯≤fK+1f_1\le\cdots\le f_{K+1}f1​≤⋯≤fK+1​, and the last arm, denoted ∗*∗, is uniquely best. Its gap from arm iii is Δi=f∗−fi\Delta_i=f_*-f_iΔi​=f∗​−fi​. A gap is zero only for the best arm.

The policy works in rounds. At the start of round τ\tauτ, a nonempty set IτI_\tauIτ​ is active. It pulls each arm in IτI_\tauIτ​ once, in increasing index order, and computes the mean Yˉi(τ)\bar Y_i(\tau)Yˉi​(τ) from that arm's first τ\tauτ rewards. It retains an arm when its mean is within γU(τ,T)\gamma U(\tau,T)γU(τ,T) of the largest active mean, where T≥1T\ge1T≥1 is an integer, γ≥1\gamma\ge1γ≥1, and

log⁡‾(x)=max⁡{log⁡x,1},U(τ,T)=22log⁡‾(T/τ)τ.\overline{\log}(x)=\max\{\log x,1\},\qquad U(\tau,T)=2\sqrt{\frac{2\overline{\log}(T/\tau)}{\tau}}.log​(x)=max{logx,1},U(τ,T)=2τ2log​(T/τ)​​.

Concatenating the rounds gives the pull sequence π^1,π^2,…\widehat\pi_1,\widehat\pi_2,\ldotsπ1​,π2​,…. For a horizon NNN, its regret is RN(π^)=∑t=1NΔπ^tR_N(\widehat\pi)=\sum_{t=1}^{N}\Delta_{\widehat\pi_t}RN​(π)=∑t=1N​Δπt​​. If NNN is random, independent of the reward stacks, and has mean nnn, the paper studies ERN(π^)\mathbb E R_N(\widehat\pi)ERN​(π). For a threshold Δ>0\Delta>0Δ>0, let Δ−\Delta^-Δ− be the largest arm gap strictly smaller than Δ\DeltaΔ, or zero if none exists.

Formalization targets

The goal is Theorem 2.1, for every positive threshold Δ\DeltaΔ:

ERN(π^)≤392γ2(1+nT)KΔ log⁡‾ ⁣(TΔ218γ2)+nΔ−.\mathbb E R_N(\widehat\pi) \le 392\gamma^2\left(1+\frac nT\right) \frac K\Delta\, \overline{\log}\!\left(\frac{T\Delta^2}{18\gamma^2}\right) +n\Delta^-.ERN​(π)≤392γ2(1+Tn​)ΔK​log​(18γ2TΔ2​)+nΔ−.

The KKK in this formula counts suboptimal arms; there are K+1K+1K+1 arms in total. The paper writes Δ≥0\Delta\ge0Δ≥0 under a convention that division by zero is infinite. The real-valued Lean goal states the informative positive-threshold case.

The milestones include the Appendix's maximal Hoeffding–Azuma inequality and Lemma A.1, which controls all empirical averages up to a fixed time. In §2 they continue with the stopping-round estimate (2.2), the empirical-gap tail (2.5), the bound Φj(τ)≤4τ/T\Phi_j(\tau)\le4\tau/TΦj​(τ)≤4τ/T for a false elimination of the best arm, and the final comparison for ϕ(x)=log⁡‾(ax2)/x\phi(x)=\overline{\log}(a x^2)/xϕ(x)=log​(ax2)/x. Each has its own statement so that a proof of the goal can import the exact estimate it needs.

Significance

The bound separates the cost of learning arms with gaps above Δ\DeltaΔ from the remaining regret represented by nΔ−n\Delta^-nΔ−. It applies when the policy uses a tuning value TTT but the number of pulls actually made is the random variable NNN. Thus it gives a quantitative guarantee without asking the algorithm to know its stopping time in advance. Its constants and dependence on TTT, nnn, KKK, and γ\gammaγ are explicit Perchet and Rigollet, 2013, §2.

The result is proved in the paper, while the Lean declarations in this proposal are open statements. Completing them would add a reusable formal account of elimination on a reward stack and of the Appendix's time-uniform concentration estimate. Mathlib and existing platform theorems contain related Hoeffding–Azuma tools, but this paper's peeling inequality, its particular stopping rule, and the random-horizon regret conclusion still require proofs in the stated model.

Difficulty

An ordinary concentration bound at one sample size does not control every round in which an arm could eliminate the best arm. Taking a naive union bound over all rounds loses the dependence on TTT needed for the displayed regret constant. The Appendix instead states a maximal inequality and a bound that holds across a range of sample sizes. The regret calculation must then account for both kinds of error: removing the best arm and retaining a suboptimal arm for too long.

The stopping round depends on the gap through U(τ,T)U(\tau,T)U(τ,T), which itself contains log⁡‾(T/τ)\overline{\log}(T/\tau)log​(T/τ). Its upper bound, the event decomposition across ordered arms, and the final comparison of gap-dependent terms all retain the paper's exact constants. A proof that only establishes the asymptotic rate would not close this goal.

Formalization scope

Lean uses Fin (K+1) with zero-based indices, so its last element is the paper's arm K+1K+1K+1. The published stochastic-bandit definition supplies the mutually independent reward stack and arm means. The [0,1] bound, sorted means, and unique best arm are explicit assumptions. A separate martingale-difference definition supplies the Appendix's adapted, integrable sequence, including centering of its first term; the page's one-line definition leaves that first-step condition unstated. The concentration milestones require a nondegenerate interval a<ba<ba<b: the displayed maximal exponent divides by (b−a)2(b-a)^2(b−a)2, and Lemma A.1 is false at a=b=0a=b=0a=b=0 for a zero sequence and δ<1\delta<1δ<1.

The SE policy is a function of observed rewards in the stack. It uses the end-of-round test described in the text and proof of §2, with equality retained, since Policy 1's pseudocode tests at a different point in the round. The active set starts with all arms and remains nonempty; the total Lean pull function has a fallback value that is unreachable under the theorem's parameters. The policy never reads the unknown means. Empirical means and UUU are used only at positive rounds.

The horizon is measurable and integrable, has mean nnn, and is independent of the entire reward stack. Since regret is bounded by the horizon, its expectation is a genuine integral rather than the default value of a non-integrable Lean integral. The positive-threshold condition avoids Lean's zero-valued division at Δ=0\Delta=0Δ=0. Finite maxima are taken over finite arm sets, and log⁡‾\overline{\log}log​ is kept distinct from the ordinary logarithm in the Appendix's bounds. The paper's printed nnn in the logarithm of (2.7) and the final ϕ\phiϕ comparison is read as TTT, consistently with (2.2) and Theorem 2.1. Contributions to the concentration lemmas, stopping-round analysis, elimination events, and final regret proof all fit this scope.

Selected references

  • V. Perchet and P. Rigollet, The multi-armed bandit problem with covariates, Annals of Statistics 41(2), 2013, 693–721. arXiv:1110.6084v3; DOI:10.1214/13-AOS1101.
  • S. Bubeck and N. Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Foundations and Trends in Machine Learning 5(1), 2012. arXiv:1204.5721.
10 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Robust Sample Average Approximation 1: A Data-Driven DRO Converges in Objective, Optimal Value and Optimal Solutions for Every Admissible Cost If and Only If Its Test Is Uniformly ConsistentResearch Paper

Motivation

A decision maker who must choose xxx to minimize an expected cost EF[c(x;ξ)]\mathbb E_F[c(x;\xi)]EF​[c(x;ξ)] rarely knows the distribution FFF of the uncertain parameter ξ\xiξ; what is available is a sample ξ1,…,ξN\xi^1,\dots,\xi^Nξ1,…,ξN. Sample average approximation (SAA) replaces FFF by the empirical distribution. Data-driven distributionally robust optimization (DRO) instead minimizes the worst case of the expected cost over a set FN\mathcal F_NFN​ of distributions built from the data, which protects against the error of the empirical distribution at small NNN. Many such sets have been proposed: moment sets (Delage and Ye, 2010), ϕ\phiϕ-divergence balls (Ben-Tal et al., 2013), Wasserstein balls (Mohajerin Esfahani and Kuhn, 2018).

Bertsimas, Gupta and Kallus (arXiv:1408.4445v3; Mathematical Programming, 2018, doi:10.1007/s10107-017-1174-z) observe that each such set can be read as the confidence region of a statistical goodness-of-fit (GoF) test, and call the resulting method Robust SAA. A basic question for any such method is whether, as N→∞N\to\inftyN→∞, its objective, optimal value and optimal solutions converge to those of the full-information problem. The paper answers it for all data-driven DROs at once, with a single property of the test.

Setting

The support Ξ⊆Rd\Xi\subseteq\mathbb R^dΞ⊆Rd of ξ\xiξ is closed, and P(Ξ)\mathcal P(\Xi)P(Ξ) is the set of Borel probability distributions on Ξ\XiΞ with the topology of weak convergence. The data ξ1,ξ2,…\xi^1,\xi^2,\dotsξ1,ξ2,… are i.i.d. from an unknown F∈P(Ξ)F\in\mathcal P(\Xi)F∈P(Ξ). A data-driven uncertainty set (DUS) map assigns to each sample (ξ1,…,ξN)(\xi^1,\dots,\xi^N)(ξ1,…,ξN) a set FN⊆P(Ξ)\mathcal F_N\subseteq\mathcal P(\Xi)FN​⊆P(Ξ); it is the confidence region of the test that rejects a hypothesis F0F_0F0​ exactly when F0∉FNF_0\notin\mathcal F_NF0​∈/FN​. Decisions lie in a closed set X⊆RdxX\subseteq\mathbb R^{d_x}X⊆Rdx​, the cost is c(x;ξ)c(x;\xi)c(x;ξ), and the robust objective is the worst-case expectation

C(x;FN)=sup⁡F0∈FNEF0[c(x;ξ)].\mathcal C(x;\mathcal F_N)=\sup_{F_0\in\mathcal F_N}\mathbb E_{F_0}[c(x;\xi)] .C(x;FN​)=F0​∈FN​sup​EF0​​[c(x;ξ)].

A test is uniformly consistent (Definition 3) if, for every data-generating FFF, almost surely every sequence FNF_NFN​ that does not converge weakly to FFF lies outside FN\mathcal F_NFN​ for infinitely many NNN. The admissible instances are those satisfying three assumptions: (1) c(⋅;ξ)c(\cdot;\xi)c(⋅;ξ) is equicontinuous in xxx uniformly over ξ\xiξ; (2) XXX is bounded, or ccc is coercive in xxx uniformly over a set DDD of positive FFF-probability and bounded below off DDD; (3) Ξ\XiΞ is bounded, or there is a growth function ϕ≥0\phi\ge0ϕ≥0 with c(x;ξ)=O(ϕ(ξ))c(x;\xi)=O(\phi(\xi))c(x;ξ)=O(ϕ(ξ)) whose expectation the DUS tracks: sup⁡F0∈FN∣EF0ϕ−1N∑iϕ(ξi)∣→0\sup_{F_0\in\mathcal F_N}|\mathbb E_{F_0}\phi-\frac1N\sum_i\phi(\xi^i)|\to0supF0​∈FN​​∣EF0​​ϕ−N1​∑i​ϕ(ξi)∣→0 almost surely. The convergence conditions are (18) C(x;FN)→EF[c(x;ξ)]\mathcal C(x;\mathcal F_N)\to\mathbb E_F[c(x;\xi)]C(x;FN​)→EF​[c(x;ξ)] uniformly on compact subsets of XXX; (19) convergence of optimal values; and (20) every sequence of robust minimizers has a limit point, and all its limit points are true minimizers.

Formalization targets

Goal: Theorem 2

For a DUS map with nonempty sets,

FN is uniformly consistent  ⟺  [∀F,X,c satisfying Assumptions 1–3: (18),(19),(20) hold a.s.].\mathcal F_N\ \text{is uniformly consistent}\iff\Big[\forall F,X,c\ \text{satisfying Assumptions 1–3}:\ (18),(19),(20)\ \text{hold a.s.}\Big].FN​ is uniformly consistent⟺[∀F,X,c satisfying Assumptions 1–3: (18),(19),(20) hold a.s.].

The statement carries no rates and no constants; it is a characterization, so it does not depend on any particular test.

Milestones

  1. Proposition 8: under uniform consistency and Assumptions 1 and 3, almost surely EFN[c(x;ξ)]→EF[c(x;ξ)]\mathbb E_{F_N}[c(x;\xi)]\to\mathbb E_F[c(x;\xi)]EFN​​[c(x;ξ)]→EF​[c(x;ξ)] for every x∈Xx\in Xx∈X and every sequence FN∈FNF_N\in\mathcal F_NFN​∈FN​.
  2. Proposition 9: deterministically, convergence of C(xN;FN)\mathcal C(x_N;\mathcal F_N)C(xN​;FN​) along every convergent xN→xx_N\to xxN​→x implies (18).
  3. Theorem 2, "only if" side: uniform consistency implies (18)–(20) a.s. for every admissible instance.
  4. Theorem 2, "if" side: if the test is not uniformly consistent, some admissible instance fails (18)–(20) with positive probability.
  5. Theorem 3: if FN\mathcal F_NFN​ always contains the empirical distribution and the test is ccc-consistent (Definition 5, consistency with respect to the expected costs only), then (18)–(20) hold a.s.
  6. Proposition 4 (first sentence): a uniformly consistent test is consistent in the classical sense, P(F0∉FN)→1\mathbb P(F_0\notin\mathcal F_N)\to1P(F0​∈/FN​)→1 for each F0≠FF_0\neq FF0​=F.

Significance

The result. Theorem 2 reduces the asymptotic analysis of a data-driven DRO to a property of a statistical test, which can be checked once per test rather than once per optimization model. The paper uses it to classify DUSs: the χ2\chi^2χ2 and G-tests on a finite support and the Kolmogorov–Smirnov, Kuiper, Cramér–von Mises, Watson and Anderson–Darling tests on the line are uniformly consistent (Theorems 4–5, separate missions of this series), while the test of marginals is not even consistent and so cannot give convergence for every cost. The necessity direction makes the property sharp: a weaker test always admits a well-behaved cost on which the DRO fails to converge. Theorem 3 explains the remaining cases where a DRO converges for one given cost.

Formalizing it. The result is proved in the paper (§10.5), but its proof leans on several standard facts used without detail: the portmanteau theorem, uniform integrability arguments from Billingsley's Convergence of Probability Measures, the Lévy continuity theorem with the Cramér–Wold device, and coercivity arguments carried over from the paper's Theorem 1. A machine-checked version would fix exactly which regularity of the cost these steps need; three such conditions are stated explicitly here (see the scope section). No part of the result is formalized elsewhere to our knowledge; the platform has no notion of a data-driven uncertainty set or of uniform consistency.

Difficulty

Uniform consistency is a statement about weak convergence, while (18)–(20) are statements about expectations of an unbounded, xxx-dependent cost under the members of FN\mathcal F_NFN​. Weak convergence controls expectations only of bounded continuous functions, so the "only if" side must recover convergence of EFN[c(x;ξ)]\mathbb E_{F_N}[c(x;\xi)]EFN​​[c(x;ξ)] from Assumption 3, which requires uniform integrability, and then upgrade pointwise convergence to uniform convergence on compacts and to convergence of minimizers when XXX is unbounded. The tempting route through a single limiting minimization problem fails: the sets FN\mathcal F_NFN​ change with the sample, the worst case is a supremum over infinitely many distributions, and the minimizers of C(⋅;FN)\mathcal C(\cdot;\mathcal F_N)C(⋅;FN​) could escape to infinity unless coercivity on DDD transfers to every member of FN\mathcal F_NFN​. The "if" side needs, from the mere failure of uniform consistency, a single admissible cost whose worst-case objective detects every failure of weak convergence.

Formalization scope

Points are EuclideanSpace ℝ (Fin d), distributions are ProbabilityMeasure ↥Ξ (whose topology is weak convergence), and the data live on the canonical product space ΞN\Xi^{\mathbb N}ΞN with the product law, 0-indexed. "Almost surely" is ∀ᵐ, and in Definition 3 one null set serves every sequence FNF_NFN​. An expectation over a member of FN\mathcal F_NFN​ is +∞+\infty+∞ when the integrand is not integrable, never Lean's default 000. Minima in (19)–(20) are infima in the extended reals, so the empty and unattained cases need no special treatment; (20) applies to sequences that are minimizers for all large NNN.

Four hypotheses are added to the page, each used by the paper's own proof: every FN\mathcal F_NFN​ is nonempty (otherwise the worst case is −∞-\infty−∞ and uniform consistency is vacuous); c(x;⋅)c(x;\cdot)c(x;⋅) is continuous on Ξ\XiΞ; the set DDD of Assumption 2b is open; the growth function ϕ\phiϕ of Assumption 3b is continuous, with EFϕ<∞\mathbb E_F\phi<\inftyEF​ϕ<∞ as fixed on p. 10 of the paper. Theorem 3 additionally assumes Assumption 2, which its proof uses. Proposition 4 assumes the rejection events are measurable. A formalization in which the worst case uses the raw Bochner integral, the supremum ranges over a possibly empty set, or (20) requires minimizers at N=0N=0N=0 would make the statements false or vacuous, and is ruled out.

A full development needs weak convergence and the portmanteau theorem (in Mathlib), uniform integrability and its relation to convergence of means under weak convergence, the strong law of large numbers for the growth function and the empirical measure, the Lévy continuity theorem in several dimensions (in Mathlib, via characteristic functions), and a countable convergence-determining class of bounded continuous functions. The uniform-integrability step and the path characterization of local uniform convergence (Proposition 9) are reusable beyond this mission. Contributions to any milestone are welcome; Proposition 9 is self-contained and deterministic.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Robust Sample Average Approximation, arXiv:1408.4445v3, 2016; Mathematical Programming 171 (2018). https://arxiv.org/abs/1408.4445v3, https://doi.org/10.1007/s10107-017-1174-z
  • P. Billingsley, Convergence of Probability Measures, 2nd ed., Wiley, 1999. https://doi.org/10.1002/9780470316962
  • E. Delage, Y. Ye, Distributionally Robust Optimization Under Moment Uncertainty with Application to Data-Driven Problems, Operations Research 58(3), 2010. https://doi.org/10.1287/opre.1090.0741
  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg, G. Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Science 59(2), 2013. https://doi.org/10.1287/mnsc.1120.1641
  • P. Mohajerin Esfahani, D. Kuhn, Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
9 thms1 active userReviewed
Machine LearningMarkov ChainProbability·Captain: mikedeng1

Nonasymptotic Convergence Analysis for the Unadjusted Langevin Algorithm: Explicit Total-Variation Bound for ULA with Nonincreasing Step Sizes When the Potential Is Strongly Convex Outside a BallResearch Paper

Why sampling from e−Ue^{-U}e−U needs non-asymptotic guarantees

Bayesian inference, statistical physics and machine learning all ask for samples from a probability distribution π\piπ on Rd\mathbb R^dRd whose density is known only up to a constant, π(dx)∝e−U(x)dx\pi(dx)\propto e^{-U(x)}dxπ(dx)∝e−U(x)dx. The unadjusted Langevin algorithm (ULA) is the Euler–Maruyama discretisation of the Langevin diffusion, whose invariant law is π\piπ. It needs only gradients of UUU, has no accept/reject step, and is therefore cheap in high dimension. Without the Metropolis correction, however, the chain does not leave π\piπ invariant, so its usefulness rests on quantitative bounds: how far, in total variation, the law of the ppp-th iterate is from π\piπ, as an explicit function of the dimension ddd, the step sizes and the regularity of UUU.

Durmus and Moulines (arXiv:1507.05021, Ann. Appl. Probab. 27(3), 2017) gave such bounds for constant and decreasing step sizes. Earlier work of Dalalyan (arXiv:1412.7392, 2017) treated strongly log-concave targets with constant steps. Durmus and Moulines cover nonincreasing step sequences and, among other regimes, potentials that are only strongly convex outside a ball; this mission formalizes that case.

Setting

Write ∥⋅∥\|\cdot\|∥⋅∥ and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ for the Euclidean norm and inner product of Rd\mathbb R^dRd. The total variation norm of a difference of probability measures is

∥μ−ν∥TV=sup⁡{∣∫f dμ−∫f dν∣:f Borel, ∣f∣≤1},\|\mu-\nu\|_{\mathrm{TV}}=\sup\Big\{\Big|\int f\,d\mu-\int f\,d\nu\Big|: f\text{ Borel},\ |f|\le1\Big\},∥μ−ν∥TV​=sup{​∫fdμ−∫fdν​:f Borel, ∣f∣≤1},

which ranges in [0,2][0,2][0,2].

The potential U:Rd→RU:\mathbb R^d\to\mathbb RU:Rd→R satisfies two assumptions:

  • L1: UUU is differentiable and ∇U\nabla U∇U is LLL-Lipschitz;
  • H3(MsM_sMs​): UUU is convex and ⟨∇U(x)−∇U(y),x−y⟩≥m∥x−y∥2\langle\nabla U(x)-\nabla U(y),x-y\rangle\ge m\|x-y\|^2⟨∇U(x)−∇U(y),x−y⟩≥m∥x−y∥2 whenever ∥x−y∥≥Ms\|x-y\|\ge M_s∥x−y∥≥Ms​, for some Ms≥0M_s\ge0Ms​≥0, m>0m>0m>0.

The point x⋆x^\starx⋆ is a minimiser of UUU, and π(dx)=e−U(x)dx/∫e−U\pi(dx)=e^{-U(x)}dx/\int e^{-U}π(dx)=e−U(x)dx/∫e−U.

The Langevin diffusion is dYt=−∇U(Yt)dt+2 dBtddY_t=-\nabla U(Y_t)dt+\sqrt2\,dB^d_tdYt​=−∇U(Yt​)dt+2​dBtd​, with BdB^dBd a standard ddd-dimensional Brownian motion. Its transition semigroup is Pt(x,A)=P(Yt(x)∈A)P_t(x,A)=\mathbb P(Y_t(x)\in A)Pt​(x,A)=P(Yt​(x)∈A).

ULA with step sizes (γk)k≥1(\gamma_k)_{k\ge1}(γk​)k≥1​ is the chain

Xk+1=Xk−γk+1∇U(Xk)+2γk+1Zk+1,X_{k+1}=X_k-\gamma_{k+1}\nabla U(X_k)+\sqrt{2\gamma_{k+1}}Z_{k+1},Xk+1​=Xk​−γk+1​∇U(Xk​)+2γk+1​​Zk+1​,

with (Zk)(Z_k)(Zk​) i.i.d. standard Gaussian. Its one-step kernel is Rγ(x,⋅)=N(x−γ∇U(x),2γId)R_\gamma(x,\cdot)=\mathcal N(x-\gamma\nabla U(x),2\gamma I_d)Rγ​(x,⋅)=N(x−γ∇U(x),2γId​), and δxQγn=δxRγ1⋯Rγn\delta_xQ^n_\gamma=\delta_xR_{\gamma_1}\cdots R_{\gamma_n}δx​Qγn​=δx​Rγ1​​⋯Rγn​​ is the law of XnX_nXn​ started at xxx. Write Γn,p=∑k=npγk\Gamma_{n,p}=\sum_{k=n}^p\gamma_kΓn,p​=∑k=np​γk​, and let A(γ,x)=sup⁡k≥0∫∥∇U∥2 d(δxQγk)A(\gamma,x)=\sup_{k\ge0}\int\|\nabla U\|^2\,d(\delta_xQ^k_\gamma)A(γ,x)=supk≥0​∫∥∇U∥2d(δx​Qγk​).

The explicit constants use

  • F(λ,a,c,γ,w)=λaw+c(−λγlog⁡λ)−1F(\lambda,a,c,\gamma,w)=\lambda^aw+c(-\lambda^\gamma\log\lambda)^{-1}F(λ,a,c,γ,w)=λaw+c(−λγlogλ)−1 and G(λ,c,γ,w)=w+c(−λγlog⁡λ)−1G(\lambda,c,\gamma,w)=w+c(-\lambda^\gamma\log\lambda)^{-1}G(λ,c,γ,w)=w+c(−λγlogλ)−1;
  • ω(ε,R)=R2/{2Φ−1(1−ε/2)}2\omega(\varepsilon,R)=R^2/\{2\Phi^{-1}(1-\varepsilon/2)\}^2ω(ε,R)=R2/{2Φ−1(1−ε/2)}2, with Φ\PhiΦ the standard Gaussian distribution function;
  • λ=e−2m+γˉL2\lambda=e^{-2m+\bar\gamma L^2}λ=e−2m+γˉ​L2 and c=2(d+mMs2)c=2(d+mM_s^2)c=2(d+mMs2​).

Formalization targets

Goal: Theorem 21 (p. 16)

Let d≥1d\ge1d≥1, and let (γk)(\gamma_k)(γk​) be positive and nonincreasing with γ1≤γˉ<2mL−2\gamma_1\le\bar\gamma<2mL^{-2}γ1​≤γˉ​<2mL−2. Then for all 0≤n<p0\le n<p0≤n<p and xxx,

∥δxQγp−π∥TV≤2−1/2L(∑k=np−1{γk+133A(γ,x)+dγk+12})1/2+C(δxQγn)κΓn+1,p.\|\delta_xQ^p_\gamma-\pi\|_{\mathrm{TV}}\le2^{-1/2}L\Big(\sum_{k=n}^{p-1}\Big\{\tfrac{\gamma^3_{k+1}}3A(\gamma,x)+d\gamma^2_{k+1}\Big\}\Big)^{1/2}+C(\delta_xQ^n_\gamma)\kappa^{\Gamma_{n+1,p}}.∥δx​Qγp​−π∥TV​≤2−1/2L(k=n∑p−1​{3γk+13​​A(γ,x)+dγk+12​})1/2+C(δx​Qγn​)κΓn+1,p​.

The three constants are explicit:

  • the rate, log⁡κ=−m2log⁡2 [log⁡{(1+emω(1/2,max⁡(1,Ms))/4)(1+max⁡(1,Ms))}+log⁡2]−1\log\kappa=-\frac m2\log2\,[\log\{(1+e^{m\omega(1/2,\max(1,M_s))/4})(1+\max(1,M_s))\}+\log2]^{-1}logκ=−2m​log2[log{(1+emω(1/2,max(1,Ms​))/4)(1+max(1,Ms​))}+log2]−1;
  • the constant of the first term, A(γ,x)≤L2G(λ,c,γ1,∥x−x⋆∥2)A(\gamma,x)\le L^2G(\lambda,c,\gamma_1,\|x-x^\star\|^2)A(γ,x)≤L2G(λ,c,γ1​,∥x−x⋆∥2);
  • the constant of the second term, C(δxQγn)≤6+2(d/m+Ms2)1/2+2F1/2(λ,Γ1,n,c,γ1,∥x−x⋆∥2)C(\delta_xQ^n_\gamma)\le6+2(d/m+M_s^2)^{1/2}+2F^{1/2}(\lambda,\Gamma_{1,n},c,\gamma_1,\|x-x^\star\|^2)C(δx​Qγn​)≤6+2(d/m+Ms2​)1/2+2F1/2(λ,Γ1,n​,c,γ1​,∥x−x⋆∥2).

Milestones, in the order of the proof (§5.1, p. 34)

  1. (56), p. 30: for dXt=b(Xt)dt+dBtddX_t=b(X_t)dt+dB^d_tdXt​=b(Xt​)dt+dBtd​ with bbb Lipschitz and monotone (G1), sup⁡∥x−y∥≤R∥Pt(x,⋅)−Pt(y,⋅)∥TV≤2(1−ε)\sup_{\|x-y\|\le R}\|P_t(x,\cdot)-P_t(y,\cdot)\|_{\mathrm{TV}}\le2(1-\varepsilon)sup∥x−y∥≤R​∥Pt​(x,⋅)−Pt​(y,⋅)∥TV​≤2(1−ε) for t≥ω(ε,R)t\ge\omega(\varepsilon,R)t≥ω(ε,R).
  2. Theorem 36, p. 33: under G1 and the contraction G3, ∥Pt(x,⋅)−Pt(y,⋅)∥TV≤2{(1−ε)−1+1+∥x−y∥}κt\|P_t(x,\cdot)-P_t(y,\cdot)\|_{\mathrm{TV}}\le2\{(1-\varepsilon)^{-1}+1+\|x-y\|\}\kappa^t∥Pt​(x,⋅)−Pt​(y,⋅)∥TV​≤2{(1−ε)−1+1+∥x−y∥}κt with an explicit κ\kappaκ.
  3. §5.1, p. 34: ∥Pt(x,⋅)−π∥TV≤2{3+∥x−x⋆∥+∫∥y−x⋆∥dπ(y)}κt\|P_t(x,\cdot)-\pi\|_{\mathrm{TV}}\le2\{3+\|x-x^\star\|+\int\|y-x^\star\|d\pi(y)\}\kappa^t∥Pt​(x,⋅)−π∥TV​≤2{3+∥x−x⋆∥+∫∥y−x⋆∥dπ(y)}κt for the Langevin semigroup.
  4. §5.1, p. 34: ∫∥y−x⋆∥2dπ(y)≤d/m+Ms2\int\|y-x^\star\|^2d\pi(y)\le d/m+M_s^2∫∥y−x⋆∥2dπ(y)≤d/m+Ms2​.
  5. Proposition 20, p. 16: V(x)=∥x−x⋆∥2V(x)=\|x-x^\star\|^2V(x)=∥x−x⋆∥2 satisfies RγV≤λγV+γcR_\gamma V\le\lambda^\gamma V+\gamma cRγ​V≤λγV+γc for γ∈(0,γˉ]\gamma\in(0,\bar\gamma]γ∈(0,γˉ​].
  6. Lemma 1, p. 5: such a drift gives QγnV(x)≤F(λ,Γn,c,γ1,V(x))Q^n_\gamma V(x)\le F(\lambda,\Gamma_n,c,\gamma_1,V(x))Qγn​V(x)≤F(λ,Γn​,c,γ1​,V(x)).
  7. Proposition 2, p. 5: the decomposition bound (10), given the geometric ergodicity (3) of the diffusion.

The paper's proofs follow each statement in the body of the paper (§4.1, §4.12, §5, §5.1).

Significance

The theorem bounds the sampling error of ULA in total variation non-asymptotically, with a dimension-free contraction rate κ\kappaκ and constants polynomial in ddd. With steps decreasing to zero and cumulative step size diverging, its bound gives convergence of δxQγp\delta_xQ^p_\gammaδx​Qγp​ to π\piπ; for constant steps, the paper reports iteration counts of order dlog⁡dd\log ddlogd at a prescribed precision in Table 2. H3 covers log-concave targets whose potential can lack strong convexity inside a ball.

The result is proved in the paper but, as far as the platform's catalogue shows, not formalized anywhere. A formalization adds machine-checked versions of several reusable pieces:

  • a Foster–Lyapunov moment bound for time-inhomogeneous Markov chains (Lemma 1);
  • a Girsanov–Pinsker discretisation estimate for Euler schemes (Proposition 2);
  • a reflection-coupling contraction for diffusions with monotone drift (56), Theorem 36.

Difficulty

The ULA chain is not reversible with respect to π\piπ, so the spectral and Dirichlet-form tools of reversible MCMC do not apply to it directly. The bound must instead compare the chain with the continuous diffusion.

That comparison needs Girsanov's theorem on path space and a uniform control of ∫∥∇U∥2\int\|\nabla U\|^2∫∥∇U∥2 along a time-inhomogeneous chain.

The rate of the diffusion itself is the second obstacle. Without global strong convexity, synchronous coupling gives no contraction inside the ball ∥x−y∥<Ms\|x-y\|<M_s∥x−y∥<Ms​. An explicit rate requires a reflection coupling together with return-time estimates, and it has to be transferred through the time change between dY=−∇U dt+2dBdY=-\nabla U\,dt+\sqrt2dBdY=−∇Udt+2​dB and dX=−12∇U dt+dBdX=-\frac12\nabla U\,dt+dBdX=−21​∇Udt+dB.

Formalization scope

The state space is the published EthierKurtz.SDEState d, i.e. EuclideanSpace ℝ (Fin d), and Brownian motion and strong solutions are the published EthierKurtz.IsStandardBrownian and EthierKurtz.SolvesBrownianSDE. The conventions are:

  • Semigroup. A semigroup is pinned down by the laws of solutions. PPP is the semigroup of dX=b(X)dt+s dBdX=b(X)dt+s\,dBdX=b(X)dt+sdB when every strong solution from xxx, on every probability space, has time-ttt law Pt(x,⋅)P_t(x,\cdot)Pt​(x,⋅). The Langevin case is b=−∇Ub=-\nabla Ub=−∇U, s=2s=\sqrt2s=2​.
  • Total variation. It is the sup⁡∣f∣≤1\sup_{|f|\le1}sup∣f∣≤1​ norm. Using sup⁡A∣μ(A)−ν(A)∣\sup_A|\mu(A)-\nu(A)|supA​∣μ(A)−ν(A)∣ instead would halve every bound.
  • ULA. The laws δxQγn\delta_xQ^n_\gammaδx​Qγn​ are iterated Measure.bind with the Gaussian kernel N(x−γ∇U(x),2γId)\mathcal N(x-\gamma\nabla U(x),2\gamma I_d)N(x−γ∇U(x),2γId​). Steps are indexed from 111, and Γn,p=0\Gamma_{n,p}=0Γn,p​=0 for p<np<np<n.
  • Moments. Upper-bounded moments (QγnVQ^n_\gamma VQγn​V, ∫∥∇U∥2\int\|\nabla U\|^2∫∥∇U∥2, ∫∥y−x⋆∥2dπ\int\|y-x^\star\|^2d\pi∫∥y−x⋆∥2dπ) are lower Lebesgue integrals, so a non-integrable function cannot make a bound free. A(γ,x)≤aA(\gamma,x)\le aA(γ,x)≤a is a bound for every kkk, not a real supremum.
  • Normalisation of π\piπ. No hypothesis ∫e−U<∞\int e^{-U}<\infty∫e−U<∞ is added; it follows from L1 and H3.
  • Quantile. Φ−1(u)=inf⁡{z:Φ(z)≥u}\Phi^{-1}(u)=\inf\{z:\Phi(z)\ge u\}Φ−1(u)=inf{z:Φ(z)≥u}.
  • Logarithms and powers. λ\lambdaλ, κ\kappaκ lie in (0,1)(0,1)(0,1), so the logarithms and real powers are genuine.

Several hypotheses are added or read in a particular way, and each is disclosed in the item's statement:

  • x⋆x^\starx⋆. It is a bound variable with the hypothesis that it minimises UUU; the paper uses x⋆x^\starx⋆ in §3.3 without defining it.
  • Proposition 20. The dimension is positive so its printed c=2(d+mMs2)c=2(d+mM_s^2)c=2(d+mMs2​) satisfies (6)'s requirement c>0c>0c>0; this is stated in Lean.
  • Lemma 1. It carries the §2 standing assumption L1, which makes the Euler transition family measurable in its starting point. It is stated for Borel V≥0V\ge0V≥0 rather than V≥1V\ge1V≥1, because Theorem 21 applies it to ∥x−x⋆∥2\|x-x^\star\|^2∥x−x⋆∥2.
  • Proposition 2. It assumes (3) only at μ0=δxQγn\mu_0=\delta_xQ^n_\gammaμ0​=δx​Qγn​, with finite CCC and a finite bound on A(γ,x)A(\gamma,x)A(γ,x).
  • (11). The printed Qγk(y,dz)Q^k_\gamma(y,dz)Qγk​(y,dz) is read as Qγk(x,dz)Q^k_\gamma(x,dz)Qγk​(x,dz).

The citations [20] (existence of solutions), [27] (Lindvall), [32] (Meyn–Tweedie) and Girsanov's theorem are used inside the proofs and are not restated.

The library work needed is substantial: Itô calculus for the reflection coupling, Girsanov's theorem, Pinsker's inequality in this norm, and generator–drift arguments for the moments of π\piπ. Contributions of any of these as standalone platform theorems are welcome.

Selected references

  • A. Durmus, É. Moulines, Nonasymptotic convergence analysis for the unadjusted Langevin algorithm, Ann. Appl. Probab. 27(3), 2017; cited as arXiv:1507.05021v3. https://arxiv.org/abs/1507.05021
  • A. S. Dalalyan, Theoretical guarantees for approximate sampling from smooth and log-concave densities, J. R. Stat. Soc. B 79(3), 2017. https://arxiv.org/abs/1412.7392
  • T. Lindvall, L. C. G. Rogers, Coupling of multidimensional diffusions by reflection, Ann. Probab. 14(3), 1986. https://doi.org/10.1214/aop/1176992436
  • S. P. Meyn, R. L. Tweedie, Stability of Markovian processes III: Foster–Lyapunov criteria for continuous-time processes, Adv. Appl. Probab. 25(3), 1993. https://doi.org/10.2307/1427522
  • G. O. Roberts, R. L. Tweedie, Exponential convergence of Langevin distributions and their discrete approximations, Bernoulli 2(4), 1996. https://doi.org/10.2307/3318418
13 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Robust Sample Average Approximation 3: The Kolmogorov–Smirnov, Kuiper, Cramér–von Mises, Watson and Anderson–Darling Tests with O(N^(−1/2)) Thresholds Are Uniformly ConsistentResearch Paper

Motivation

Robust Sample Average Approximation (Robust SAA) is a data-driven approach to stochastic optimization proposed by Bertsimas, Gupta and Kallus (arXiv:1408.4445; Mathematical Programming (2018), doi:10.1007/s10107-017-1174-z). Instead of minimizing the empirical average of a cost, a decision maker minimizes the worst-case expected cost over a distributional uncertainty set: the set of distributions that a statistical goodness-of-fit (GoF) test does not reject at a chosen significance level, given the observed data. Each classical GoF test therefore produces its own robust optimization model.

Whether such a model behaves well as data accumulate depends on a property of the test. Theorem 2 of the paper shows that Robust SAA converges, in objective, optimal value and optimal solutions, for every admissible cost if and only if the underlying test is uniformly consistent. This mission concerns the univariate case: it asks for a proof that the five standard tests on the real line, those of Kolmogorov–Smirnov, Kuiper, Cramér–von Mises, Watson and Anderson–Darling, are uniformly consistent (Theorem 5, p. 14). The companion missions of the series treat the characterization (Theorem 2) and the discrete χ² and G-tests (Theorem 4).

Setting

Let FFF be a probability distribution on R\mathbb RR, and let ξ1,ξ2,…\xi^1,\xi^2,\dotsξ1,ξ2,… be independent draws from FFF. As in §3.2 of the paper, ξ\xiξ is a continuous random variable: FFF has no atoms. For a candidate distribution F0F_0F0​ write F0(t)=F0((−∞,t])F_0(t)=F_0((-\infty,t])F0​(t)=F0​((−∞,t]) for its cdf, and write ξ(1)≤⋯≤ξ(N)\xi^{(1)}\le\dots\le\xi^{(N)}ξ(1)≤⋯≤ξ(N) for the sorted sample of size NNN. With ui=F0(ξ(i))u_i=F_0(\xi^{(i)})ui​=F0​(ξ(i)), the five statistics (8) are

DN=max⁡1≤i≤Nmax⁡{iN−ui, ui−i−1N},VN=max⁡i(ui−i−1N)+max⁡i(iN−ui),WN=(112N2+1N∑i=1N(2i−12N−ui)2)1/2,UN=(WN2−(1N∑i=1Nui−12)2)1/2,\begin{aligned} D_N&=\max_{1\le i\le N}\max\Big\{\tfrac iN-u_i,\ u_i-\tfrac{i-1}N\Big\},& V_N&=\max_i\Big(u_i-\tfrac{i-1}N\Big)+\max_i\Big(\tfrac iN-u_i\Big),\\ W_N&=\Big(\tfrac1{12N^2}+\tfrac1N\sum_{i=1}^N\Big(\tfrac{2i-1}{2N}-u_i\Big)^2\Big)^{1/2},& U_N&=\Big(W_N^2-\Big(\tfrac1N\sum_{i=1}^Nu_i-\tfrac12\Big)^2\Big)^{1/2}, \end{aligned}DN​WN​​=1≤i≤Nmax​max{Ni​−ui​, ui​−Ni−1​},=(12N21​+N1​i=1∑N​(2N2i−1​−ui​)2)1/2,​VN​UN​​=imax​(ui​−Ni−1​)+imax​(Ni​−ui​),=(WN2​−(N1​i=1∑N​ui​−21​)2)1/2,​ AN=(−1−∑i=1N2i−1N2(log⁡ui+log⁡(1−uN+1−i)))1/2.A_N=\Big(-1-\sum_{i=1}^N\tfrac{2i-1}{N^2}\big(\log u_i+\log(1-u_{N+1-i})\big)\Big)^{1/2}.AN​=(−1−i=1∑N​N22i−1​(logui​+log(1−uN+1−i​)))1/2.

For a statistic SNS_NSN​ and a threshold QSN(α)Q_{S_N}(\alpha)QSN​​(α), the confidence region (7) is FSNα={F0:SN(F0;ξ1,…,ξN)≤QSN(α)}\mathcal F^\alpha_{S_N}=\{F_0: S_N(F_0;\xi^1,\dots,\xi^N)\le Q_{S_N}(\alpha)\}FSN​α​={F0​:SN​(F0​;ξ1,…,ξN)≤QSN​​(α)}: the distributions the test does not reject. A test is uniformly consistent (Definition 3, p. 13) if, for every data-generating FFF, almost surely every sequence FNF_NFN​ that does not converge weakly to FFF is rejected infinitely often, i.e. FN∉FNF_N\notin\mathcal F_NFN​∈/FN​ for infinitely many NNN. The Lévy metric between cdfs is dLeˊvy(G,G′)=inf⁡{ϵ>0:G(ξ−ϵ)−ϵ≤G′(ξ)≤G(ξ+ϵ)+ϵ ∀ξ}d_{\text{Lévy}}(G,G')=\inf\{\epsilon>0: G(\xi-\epsilon)-\epsilon\le G'(\xi)\le G(\xi+\epsilon)+\epsilon\ \forall\xi\}dLeˊvy​(G,G′)=inf{ϵ>0:G(ξ−ϵ)−ϵ≤G′(ξ)≤G(ξ+ϵ)+ϵ ∀ξ}, and F^N\hat F_NF^N​ denotes the empirical cdf.

Formalization targets

Goal: Theorem 5

For thresholds τN\tau_NτN​ with τN≤q/N\tau_N\le q/\sqrt NτN​≤q/N​ for some constant qqq and all N≥1N\ge1N≥1,

the regions {F0:SN(F0)≤τN},SN∈{DN,VN,WN,UN,AN}, are uniformly consistent.\text{the regions }\{F_0: S_N(F_0)\le\tau_N\},\quad S_N\in\{D_N,V_N,W_N,U_N,A_N\},\ \text{are uniformly consistent.}the regions {F0​:SN​(F0​)≤τN​},SN​∈{DN​,VN​,WN​,UN​,AN​}, are uniformly consistent.

The statement fixes only the rate O(N−1/2)O(N^{-1/2})O(N−1/2) of the thresholds, which is all the paper's argument uses; it holds for any sequence with that rate, in particular for the tabulated quantiles QSN(α)Q_{S_N}(\alpha)QSN​​(α).

Milestones (§10.7, pp. 38–39)

  1. dLeˊvyd_{\text{Lévy}}dLeˊvy​ metrizes weak convergence on R\mathbb RR; almost surely dLeˊvy(F^N,F)→0d_{\text{Lévy}}(\hat F_N,F)\to0dLeˊvy​(F^N​,F)→0.
  2. dLeˊvy(F^N,F0)≤DN(F0)d_{\text{Lévy}}(\hat F_N,F_0)\le D_N(F_0)dLeˊvy​(F^N​,F0​)≤DN​(F0​), and DN≤VND_N\le V_NDN​≤VN​.
  3. DN2(F0)≤max⁡{1/N+3/(2N), N WN2(F0)+2/N}D_N^2(F_0)\le\max\{1/\sqrt N+3/(2N),\ \sqrt N\,W_N^2(F_0)+2/\sqrt N\}DN2​(F0​)≤max{1/N​+3/(2N), N​WN2​(F0​)+2/N​}, and the same with WN2W_N^2WN2​ replaced by AN2A_N^2AN2​.
  4. WN2−UN2=(1N∑iF0(ξ(i))−12)2≤max⁡{… }W_N^2-U_N^2=(\tfrac1N\sum_iF_0(\xi^{(i)})-\tfrac12)^2\le\max\{\dots\}WN2​−UN2​=(N1​∑i​F0​(ξ(i))−21​)2≤max{…}, a bound in terms of DN′(F0)=max⁡i∣F0(ξ(i))−2i−12N∣D'_N(F_0)=\max_i|F_0(\xi^{(i)})-\tfrac{2i-1}{2N}|DN′​(F0​)=maxi​∣F0​(ξ(i))−2N2i−1​∣.

Significance

The result. Together with Theorem 2 of the paper, Theorem 5 guarantees that Robust SAA built on any of these five univariate tests converges for every cost that is equicontinuous in the decision and satisfies the paper's growth conditions. It also feeds Proposition 5, which extends the guarantee to multivariate problems with separable costs by testing marginals. Without it, the univariate tests would carry only the finite-sample guarantee of Proposition 1 and no asymptotic one.

The formalization. The theorem is proved in the paper, but the published argument for the Watson test has a gap. Its last step asserts that (1N∑imin⁡{1,2i−12N+DN′}−12)2=O(1/N)(\tfrac1N\sum_i\min\{1,\tfrac{2i-1}{2N}+D'_N\}-\tfrac12)^2=O(1/N)(N1​∑i​min{1,2N2i−1​+DN′​}−21​)2=O(1/N) whenever DN′≥1/N+1/ND'_N\ge1/\sqrt N+1/NDN′​≥1/N​+1/N, which fails when DN′D'_NDN′​ stays bounded away from 000 (at DN′=1/2D'_N=1/2DN′​=1/2 the expression tends to 9/649/649/64). The Watson clause is believed true, but a complete proof needs a different argument. The Anderson–Darling step relies on a cited integral representation rather than an argument on the page. A machine-checked proof would close both points. No part of the theorem is formalized elsewhere, as far as a search of the platform shows.

Difficulty

The Kolmogorov–Smirnov case reduces to deterministic inequalities once the Lévy-metric picture is in place, but each of the other statistics controls DND_NDN​ only indirectly. The Cramér–von Mises statistic is an L2L^2L2 quantity, and an L2L^2L2 bound does not by itself control a supremum. What closes the gap is monotonicity of F0F_0F0​ together with the rate of the threshold, so a threshold that merely tends to 000 is not enough. The Watson statistic is invariant under cyclic rotation of the transformed sample u1,…,uNu_1,\dots,u_Nu1​,…,uN​ on the circle [0,1)[0,1)[0,1), so a small UNU_NUN​ leaves the centring term 1N∑iF0(ξ(i))−12\tfrac1N\sum_iF_0(\xi^{(i)})-\tfrac12N1​∑i​F0​(ξ(i))−21​ uncontrolled until the boundary constraints 0≤F0≤10\le F_0\le10≤F0​≤1 are used. The obvious attempt, bounding the centring term by DN′D'_NDN′​ alone, is the step that fails on p. 39.

Formalization scope

Distributions are MeasureTheory.ProbabilityMeasure ℝ, with weak convergence as their topology. The cdf is Mathlib's ProbabilityTheory.cdf. The data are the coordinates of the canonical product space ℕ → ℝ under Measure.infinitePi, so the sample of size NNN is (ω0,…,ωN−1)(\omega_0,\dots,\omega_{N-1})(ω0​,…,ωN−1​). Order statistics are the sorted sample s ∘ Tuple.sort s, and every formula of (8) is written with the paper's 1-based index (iii in Lean is the paper's i+1i+1i+1; ξ(N+1−i)\xi^{(N+1-i)}ξ(N+1−i) is Fin.rev i).

Committed conventions:

  • distributions range over all of R\mathbb RR; a support [ξ‾,ξ‾][\underline\xi,\overline\xi][ξ​,ξ​] with infinite endpoints is this case;
  • the data law has no atoms (§3.2's standing assumption, expressed by the predicate IsContinuousLaw), although the paper's proof does not use it;
  • ANA_NAN​ takes values in [0,∞][0,\infty][0,∞] and is +∞+\infty+∞ when some F0(ξ(i))∈{0,1}F_0(\xi^{(i)})\in\{0,1\}F0​(ξ(i))∈{0,1}, so Lean's log⁡0=0\log0=0log0=0 never makes a distribution look close;
  • the threshold hypothesis is an explicit constant, τN≤q/N\tau_N\le q/\sqrt NτN​≤q/N​ for N≥1N\ge1N≥1;
  • maxima over an empty index set are 000, and every fixed-NNN milestone assumes N≥1N\ge1N≥1.

Uniform consistency is quantified over all sequences FNF_NFN​ inside the almost-sure event, as in Definition 3. A pointwise consistency statement for a fixed F0F_0F0​ is a different and weaker theorem and does not count.

A full development needs the Lévy metric and its metrization of weak convergence on R\mathbb RR, the Glivenko–Cantelli theorem in Lévy form, and elementary order-statistic inequalities. The first two are reusable well beyond this mission. Contributions of independent value include a corrected proof of the Watson step, and a proof of the goal without the atomless hypothesis.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Robust Sample Average Approximation, arXiv:1408.4445v3 (2016); Mathematical Programming (2018). https://arxiv.org/abs/1408.4445, https://doi.org/10.1007/s10107-017-1174-z
  • R. M. Dudley, Real Analysis and Probability, Cambridge University Press, 2002, Theorem 11.4.1. https://doi.org/10.1017/CBO9780511755347
  • R. B. D'Agostino, M. A. Stephens (eds.), Goodness-of-Fit Techniques, Marcel Dekker, New York, 1986 (reference [14] of the paper; the source of the formulas (8)).
9 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Robust Sample Average Approximation 2: Pearson's χ² Test and the G-Test on a Known Finite Support, with Thresholds √(Q/N), Are Uniformly ConsistentResearch Paper

Motivation

A decision made from sampled data can be sensitive to the distribution chosen to represent future uncertainty. Robust sample average approximation addresses this by optimizing against every distribution that passes a goodness of fit test, rather than against one fitted distribution. The resulting set of plausible laws is a data driven uncertainty set. Its finite sample coverage and its behavior as the sample grows serve different purposes: coverage protects against sampling error at a chosen sample size, while convergence asks whether the uncertainty set eventually stops admitting laws far from the true one. Bertsimas, Gupta, and Kallus distinguish these properties in their Robust Sample Average Approximation paper.

This mission concerns the two tests the paper assigns to a known finite support: Pearson's χ2\chi^2χ2 test and the G test. Both compare the empirical frequencies of the observed support points with the probabilities under a proposed law. Their confidence regions give concrete uncertainty sets for discrete data. The paper's Theorem 4 states that both tests have the stronger convergence property it calls uniform consistency. That property is used in its general characterization of when robust sample average approximation converges for every admissible cost function (Theorem 2 and Table 1, pp. 13–14).

Setting

Fix a known set of nnn possible observations, labelled j=1,…,nj=1,\ldots,nj=1,…,n. A probability law FFF on this support is specified by probabilities pF(j)p_F(j)pF​(j), each nonnegative and summing to one. A sample of size NNN consists of independent observations ξ1,…,ξN\xi^1,\ldots,\xi^Nξ1,…,ξN from an unknown true law FFF. Its empirical frequency at label jjj is

p^N(j)=1N∑i=1N1{ξi=j}.\widehat p_N(j)=\frac1N\sum_{i=1}^N\mathbf 1\{\xi^i=j\}.p​N​(j)=N1​i=1∑N​1{ξi=j}.

To assess a hypothetical law F0F_0F0​ with probabilities p0(j)p_0(j)p0​(j), Pearson's statistic and the G statistic are, in the paper's normalization,

XN(F0)=(∑j=1n(p0(j)−p^N(j))2p0(j))1/2,GN(F0)=(2∑j=1np^N(j)log⁡p^N(j)p0(j))1/2.X_N(F_0)=\left(\sum_{j=1}^n\frac{(p_0(j)-\widehat p_N(j))^2}{p_0(j)}\right)^{1/2},\qquad G_N(F_0)=\left(2\sum_{j=1}^n\widehat p_N(j)\log\frac{\widehat p_N(j)}{p_0(j)}\right)^{1/2}.XN​(F0​)=(j=1∑n​p0​(j)(p0​(j)−p​N​(j))2​)1/2,GN​(F0​)=(2j=1∑n​p​N​(j)logp0​(j)p​N​(j)​)1/2.

The confidence region for each test is the set of hypothetical laws whose statistic is at most Q/N\sqrt{Q/N}Q/N​, where Q≥0Q\ge0Q≥0 is fixed across sample sizes. An observed point to which F0F_0F0​ assigns zero probability makes either statistic infinite. A term with zero empirical frequency contributes zero to the G sum, including when its hypothetical probability is zero. These conventions make the regions describe the same tests at the boundary of the probability simplex as they do in its interior (§3.1, p. 8; §10.6, p. 38).

A sequence of laws FNF_NFN​ is weakly convergent to FFF when expectations of every bounded continuous function converge. On this finite support, weak convergence can be measured by the total variation distance

dTV(q,q′)=12∑j=1n∣q(j)−q′(j)∣.d_{\mathrm{TV}}(q,q')=\frac12\sum_{j=1}^n|q(j)-q'(j)|.dTV​(q,q′)=21​j=1∑n​∣q(j)−q′(j)∣.

The paper's Definition 3 calls a test uniformly consistent when, for every true law FFF, almost surely every sequence FNF_NFN​ that fails to converge weakly to FFF lies outside the confidence region infinitely often (Definition 3, p. 13). The almost sure event applies to all such sequences at once; this is stronger than a statement about one fixed false hypothesis.

Formalization targets

Goal: both tests are uniformly consistent

For the Pearson and G confidence regions FNχ2\mathcal F_N^{\chi^2}FNχ2​ and FNG\mathcal F_N^GFNG​ with fixed Q≥0Q\ge0Q≥0, the target is

UC⁡(FNχ2)andUC⁡(FNG).\operatorname{UC}(\mathcal F_N^{\chi^2})\quad\text{and}\quad\operatorname{UC}(\mathcal F_N^G).UC(FNχ2​)andUC(FNG​).

Here UC⁡\operatorname{UC}UC has the quantifier order of Definition 3: every generating FFF, almost every infinite sample, and every nonconvergent sequence FNF_NFN​. This is Theorem 4, p. 14. Its four milestone claims are the finite support description of weak convergence, almost sure convergence of empirical frequencies, and the paper's total variation bounds for XNX_NXN​ and GNG_NGN​ (§10.6, p. 38).

Significance

The result says that distributions retained by either test cannot remain persistently separated from the data generating law as the sample grows. In the paper's framework, that is the statistical condition needed for its general theorem to turn test based confidence regions into convergent robust optimization values and decisions under its separate assumptions on the cost and feasible set (Theorem 2, p. 13). Theorem 4 itself concerns the tests; it does not assume a cost function or assert optimization convergence directly.

The paper proves Theorem 4, so the open work here is its Lean formalization. A complete development would also leave reusable statements for finite probability vectors, their empirical frequencies under an infinite product law, total variation, and the boundary aware Pearson and G divergences. These pieces can support other discrete goodness of fit and distributionally robust optimization results. The mission does not claim that Theorem 4 already has a machine checked proof.

Difficulty

Pointwise convergence of empirical frequencies does not by itself state uniform consistency. The latter quantifies over all moving hypothetical laws FNF_NFN​ on one almost sure sample event, including laws chosen differently at every NNN. A direct argument about one fixed F0≠FF_0\ne FF0​=F therefore does not address the target. The finite support makes weak convergence concrete, but the formal statement must still relate that topology to a finite total variation sum and keep the quantifiers in the order required by Definition 3.

The boundary of the probability simplex is another source of difficulty. Lean's real division and logarithm have default values at zero. Using those defaults in the test statistics would accept some laws that assign zero probability to an actually observed category. Both statistics must instead retain the paper's infinite penalty there. The G expression also contains individual logarithmic terms that may be negative before summation, so its extended value cannot be built by coercing each term directly to a nonnegative extended real.

Formalization scope

The known support is represented by Fin n. Its members are labels for the paper's distinct points ξ^1,…,ξ^n\hat\xi^1,\ldots,\hat\xi^nξ^​1,…,ξ^​n; coordinates in Euclidean space are irrelevant to these tests. Laws use Mathlib's ProbabilityMeasure (Fin n) and its weak topology. The data are coordinates of the canonical infinite product law, with Lean index zero corresponding to the paper's first observation. The empty support has no probability law; all substantive instances have n≥1n\ge1n≥1. The empty sample N=0N=0N=0 is defined by total operations but has no bearing on an eventual or infinitely often assertion.

Pearson's statistic lives in [0,+∞][0,+\infty][0,+∞]. The squared G statistic uses extended real arithmetic so finite negative summands can be combined with an infinite boundary term. Its region compares GN2G_N^2GN2​ with Q/NQ/NQ/N, equivalent to the paper's GN≤Q/NG_N\le\sqrt{Q/N}GN​≤Q/N​ at positive NNN. The free Q≥0Q\ge0Q≥0 stands for a fixed threshold constant, including the paper's chi square quantile; no particular quantile value is built into the theorem. This makes explicit the only property of that threshold used in §10.6: independence from NNN.

Contributions may prove the four milestone statements, connect Mathlib's finite probability and strong law interfaces to the empirical frequencies, or establish finite support versions of Cauchy–Schwarz and Pinsker with the correct infinite boundary cases. A proof of the goal must use the stated regions and preserve simultaneous quantification over every moving sequence of laws; replacing uniform consistency by convergence of p^N\widehat p_Np​N​ would remove its main claim.

Selected references

  • Dimitris Bertsimas, Vishal Gupta, Nathan Kallus, Robust Sample Average Approximation, arXiv:1408.4445v3, 2016; published in Mathematical Programming (2018). Preprint · Publication DOI.
6 thms1 active userReviewed
Probability·Captain: mikedeng1

Central Limit Theorems and Bootstrap in High Dimensions 2: Gaussian Multiplier Bootstrap for Simple Convex Sets with Error C[Δ̄ₙ^{1/3} log^{2/3}(pn) + n⁻¹ log^{1/2}(pn)]Research Paper

Motivation

Many procedures in high-dimensional statistics reduce to computing the probability that a normalized sum of independent random vectors falls into a set: simultaneous confidence intervals for many means, max-type tests, multiple testing with family-wise error control, and inference after model selection. When the dimension ppp is comparable to or much larger than the sample size nnn, these probabilities are approximated by those of a Gaussian vector with the same covariance, the high-dimensional central limit theorem. That Gaussian law is not available in practice, because its covariance matrix is unknown. The Gaussian multiplier bootstrap replaces it by a Gaussian vector built from the data, whose covariance is the sample covariance, and simulates from it.

Chernozhukov, Chetverikov and Kato, Central limit theorems and bootstrap in high dimensions (Ann. Probab. 45 (2017)), prove that this bootstrap is valid uniformly over hyperrectangles and over simple convex sets (sets sandwiched between a polytope with polynomially many facets and its small enlargement), with error depending on ppp only through log⁡p\log plogp. This mission formalizes their abstract multiplier bootstrap theorem, Theorem 4.1.

Timeline:

  • 2013: the same authors prove Gaussian approximation and multiplier bootstrap validity for maxima of sums of high-dimensional vectors (Ann. Statist. 41 (2013)).
  • 2015: comparison and anti-concentration bounds for maxima of Gaussian vectors (Probab. Theory Related Fields 162 (2015)), reference [20] of the paper; its Theorem 1 is the Gaussian-to-Gaussian comparison used here.
  • 2017: the present paper extends both the CLT and the bootstrap from maxima to hyperrectangles and simple convex sets.

Setting

Let n≥4n\ge4n≥4 and p≥3p\ge3p≥3. Let X1,…,XnX_1,\dots,X_nX1​,…,Xn​ be independent random vectors in Rp\mathbb R^pRp with coordinates XijX_{ij}Xij​, centred (E[Xij]=0\mathrm E[X_{ij}]=0E[Xij​]=0) with E[Xij2]<∞\mathrm E[X_{ij}^2]<\inftyE[Xij2​]<∞. Let Y1,…,YnY_1,\dots,Y_nY1​,…,Yn​ be independent Gaussian vectors with Yi∼N(0,E[XiXi′])Y_i\sim N(0,\mathrm E[X_iX_i'])Yi​∼N(0,E[Xi​Xi′​]) and set

SnY=1n∑i=1nYi.S_n^Y=\frac1{\sqrt n}\sum_{i=1}^nY_i .SnY​=n​1​i=1∑n​Yi​.

The multiplier bootstrap: let e1,…,ene_1,\dots,e_ne1​,…,en​ be i.i.d. N(0,1)N(0,1)N(0,1), independent of the data X1n={X1,…,Xn}X_1^n=\{X_1,\dots,X_n\}X1n​={X1​,…,Xn​}, let Xˉ=n−1∑iXi\bar X=n^{-1}\sum_iX_iXˉ=n−1∑i​Xi​, and

SneX=1n∑i=1nei(Xi−Xˉ).S_n^{eX}=\frac1{\sqrt n}\sum_{i=1}^ne_i(X_i-\bar X).SneX​=n​1​i=1∑n​ei​(Xi​−Xˉ).

Given the data, SneXS_n^{eX}SneX​ is Gaussian with covariance Σ^=n−1∑i(Xi−Xˉ)(Xi−Xˉ)′\widehat\Sigma=n^{-1}\sum_i(X_i-\bar X)(X_i-\bar X)'Σ=n−1∑i​(Xi​−Xˉ)(Xi​−Xˉ)′, while SnYS_n^YSnY​ has covariance Σ=n−1∑iE[XiXi′]\Sigma=n^{-1}\sum_i\mathrm E[X_iX_i']Σ=n−1∑i​E[Xi​Xi′​].

A hyperrectangle is a set {w:aj≤wj≤bj ∀j}\{w:a_j\le w_j\le b_j\ \forall j\}{w:aj​≤wj​≤bj​ ∀j} with −∞≤aj≤bj≤∞-\infty\le a_j\le b_j\le\infty−∞≤aj​≤bj​≤∞. For a finite set V\mathcal VV of unit vectors and thresholds s(v)s(v)s(v), the polyhedron Am=⋂v∈V{w:w′v≤s(v)}A^m=\bigcap_{v\in\mathcal V}\{w:w'v\le s(v)\}Am=⋂v∈V​{w:w′v≤s(v)} has the enlargement Am,ϵ=⋂v∈V{w:w′v≤s(v)+ϵ}A^{m,\epsilon}=\bigcap_{v\in\mathcal V}\{w:w'v\le s(v)+\epsilon\}Am,ϵ=⋂v∈V​{w:w′v≤s(v)+ϵ}. For constants a,d>0a,d>0a,d>0, a Borel set AAA satisfies condition (C) if Am⊆A⊆Am,a/nA^m\subseteq A\subseteq A^{m,a/n}Am⊆A⊆Am,a/n for some such polyhedron with m≤(pn)dm\le(pn)^dm≤(pn)d facets; Am(A)A^m(A)Am(A) denotes this polyhedron and V(Am)\mathcal V(A^m)V(Am) its normals. Condition (M.1′) with constant b>0b>0b>0 asks n−1∑iE[(v′Xi)2]≥bn^{-1}\sum_i\mathrm E[(v'X_i)^2]\ge bn−1∑i​E[(v′Xi​)2]≥b for every v∈V(Am)v\in\mathcal V(A^m)v∈V(Am). Finally,

Δn(A)=sup⁡A∈Amax⁡v1,v2∈V(Am(A))∣v1′(Σ^−Σ)v2∣,Δn,r=max⁡j,k∣Σ^jk−Σjk∣.\Delta_n(\mathcal A)=\sup_{A\in\mathcal A}\max_{v_1,v_2\in\mathcal V(A^m(A))}\big|v_1'(\widehat\Sigma-\Sigma)v_2\big|,\qquad \Delta_{n,r}=\max_{j,k}|\widehat\Sigma_{jk}-\Sigma_{jk}| .Δn​(A)=A∈Asup​v1​,v2​∈V(Am(A))max​​v1′​(Σ−Σ)v2​​,Δn,r​=j,kmax​∣Σjk​−Σjk​∣.

Formalization targets

Goal: Theorem 4.1

Let A\mathcal AA be a class of sets satisfying (C) and (M.1′). There is CCC depending only on a,b,da,b,da,b,d such that for every Δˉn>0\bar\Delta_n>0Δˉn​>0, on the event Δn(A)≤Δˉn\Delta_n(\mathcal A)\le\bar\Delta_nΔn​(A)≤Δˉn​,

ρnMB(A)=sup⁡A∈A∣P(SneX∈A∣X1n)−P(SnY∈A)∣≤C{Δˉn1/3log⁡2/3(pn)+n−1log⁡1/2(pn)}.\rho_n^{MB}(\mathcal A)=\sup_{A\in\mathcal A}\big|P(S_n^{eX}\in A\mid X_1^n)-P(S_n^Y\in A)\big|\le C\big\{\bar\Delta_n^{1/3}\log^{2/3}(pn)+n^{-1}\log^{1/2}(pn)\big\}.ρnMB​(A)=A∈Asup​​P(SneX​∈A∣X1n​)−P(SnY​∈A)​≤C{Δˉn1/3​log2/3(pn)+n−1log1/2(pn)}.

The theorem is deterministic in the data: it holds at every realization on the event, and turning it into a rate requires only a bound on Δn(A)\Delta_n(\mathcal A)Δn​(A).

Milestones

In the order of the proof (App. E.2, p. 2342):

  1. Conditional Gaussianity: given X1nX_1^nX1n​, SneX∼N(0,Σ^)S_n^{eX}\sim N(0,\widehat\Sigma)SneX​∼N(0,Σ).
  2. Display (21): 0≤Fβ(w)−max⁡j(wj−yj)≤β−1log⁡p0\le F_\beta(w)-\max_j(w_j-y_j)\le\beta^{-1}\log p0≤Fβ​(w)−maxj​(wj​−yj​)≤β−1logp for the smooth max Fβ(w)=β−1log⁡∑jeβ(wj−yj)F_\beta(w)=\beta^{-1}\log\sum_je^{\beta(w_j-y_j)}Fβ​(w)=β−1log∑j​eβ(wj​−yj​).
  3. The comparison display ∣E[g(Fβ(SneX))∣X1n]−E[g(Fβ(SnY))]∣≤(∥g′′∥∞/2+β∥g′∥∞)Δn,r|\mathrm E[g(F_\beta(S^{eX}_n))\mid X_1^n]-\mathrm E[g(F_\beta(S^Y_n))]|\le(\|g''\|_\infty/2+\beta\|g'\|_\infty)\Delta_{n,r}∣E[g(Fβ​(SneX​))∣X1n​]−E[g(Fβ​(SnY​))]∣≤(∥g′′∥∞​/2+β∥g′∥∞​)Δn,r​.
  4. Lemma A.1 (Nazarov's inequality): P(Y≤y+a)−P(Y≤y)≤Calog⁡pP(Y\le y+a)-P(Y\le y)\le Ca\sqrt{\log p}P(Y≤y+a)−P(Y≤y)≤Calogp​ for a centred Gaussian YYY with variances at least bbb.
  5. The smoothed step: ∣P(SneX≤y−ϕ−1∣X1n)−P(SnY≤y−ϕ−1)∣≤C{ϕ−1log⁡1/2p+(ϕ2+βϕ)Δn,r}|P(S^{eX}_n\le y-\phi^{-1}\mid X_1^n)-P(S^Y_n\le y-\phi^{-1})|\le C\{\phi^{-1}\log^{1/2}p+(\phi^2+\beta\phi)\Delta_{n,r}\}∣P(SneX​≤y−ϕ−1∣X1n​)−P(SnY​≤y−ϕ−1)∣≤C{ϕ−1log1/2p+(ϕ2+βϕ)Δn,r​} with β=ϕlog⁡p\beta=\phi\log pβ=ϕlogp.
  6. Display (39): sup⁡y∣P(SneX≤y∣X1n)−P(SnY≤y)∣≤CΔn,r1/3log⁡2/3p\sup_y|P(S^{eX}_n\le y\mid X_1^n)-P(S^Y_n\le y)|\le C\Delta_{n,r}^{1/3}\log^{2/3}psupy​∣P(SneX​≤y∣X1n​)−P(SnY​≤y)∣≤CΔn,r1/3​log2/3p under (M.1): n−1∑iE[Xij2]≥bn^{-1}\sum_i\mathrm E[X_{ij}^2]\ge bn−1∑i​E[Xij2​]≥b.
  7. Remark 4.1 = (38): ρnMB(Are)≤CΔˉn1/3log⁡2/3p\rho_n^{MB}(\mathcal A^{re})\le C\bar\Delta_n^{1/3}\log^{2/3}pρnMB​(Are)≤CΔˉn1/3​log2/3p on Δn,r≤Δˉn\Delta_{n,r}\le\bar\Delta_nΔn,r​≤Δˉn​, CCC depending only on bbb.
  8. The reduction display: for one simple convex set, the error at AAA is at most Cϵlog⁡1/2(pn)+ρˉC\epsilon\log^{1/2}(pn)+\bar\rhoCϵlog1/2(pn)+ρˉ​, where ρˉ\bar\rhoρˉ​ is the larger error at AmA^mAm and Am,ϵA^{m,\epsilon}Am,ϵ.

Significance

Theorem 4.1 is the abstract step behind the paper's explicit multiplier bootstrap rates: Proposition 4.1 combines it with maximal inequalities that bound Δn(A)\Delta_n(\mathcal A)Δn​(A) with high probability, and obtains, with probability at least 1−α1-\alpha1−α, the rate (Bn2log⁡5(pn)log⁡2(1/α)/n)1/6(B_n^2\log^5(pn)\log^2(1/\alpha)/n)^{1/6}(Bn2​log5(pn)log2(1/α)/n)1/6 for simple convex sets with sparse facet normals. In applications it justifies bootstrap critical values for max-type statistics and simultaneous confidence regions when p≫np\gg np≫n. Remark 4.1, the hyperrectangle case, is the version most used in practice.

The results are proved on paper; none is formalized on the platform. A formal development produces machine-checked versions of the smooth-max sandwich, a Gaussian anti-concentration bound (Nazarov's inequality), a quantitative Gaussian comparison inequality and the bootstrap theorem itself. The comparison display and Lemma A.1 are proved in the paper only by citation ([20] and Klivans–O'Donnell–Servedio, Thm. 20), so formal proofs of them are new work rather than transcriptions.

Difficulty

The obvious route compares SneXS^{eX}_nSneX​ and SnYS^Y_nSnY​ through the Kolmogorov distance of their laws or through a total-variation bound between two Gaussians. Both depend polynomially on ppp and fail when p≫np\gg np≫n. The proof instead compares smooth functionals of the coordinatewise maximum, where the error depends on ppp only through β∼log⁡p\beta\sim\log pβ∼logp, and then converts back to probabilities of orthants with an anti-concentration inequality whose constant grows like log⁡p\sqrt{\log p}logp​. Both conversions must hold uniformly in the threshold yyy, and the final bound for simple convex sets requires passing to the mmm-dimensional vectors (v′Xi)v∈V(v'X_i)_{v\in\mathcal V}(v′Xi​)v∈V​ with m≤(pn)dm\le(pn)^dm≤(pn)d, which is why log⁡(pn)\log(pn)log(pn) appears. The comparison inequality for g∘Fβg\circ F_\betag∘Fβ​ is the step with the least existing infrastructure: it is a Slepian–Stein interpolation between two Gaussian laws with explicit control of second derivatives of FβF_\betaFβ​.

Formalization scope

  • Vectors live in EuclideanSpace ℝ (Fin p); N(0,Σ)N(0,\Sigma)N(0,Σ) is Mathlib's multivariateGaussian 0 Σ. Independence is iIndepFun; YiY_iYi​'s law is fixed by P.map (Y i) = multivariateGaussian 0 (covMat P (X i)), and square integrability of each XijX_{ij}Xij​ makes covMat positive semidefinite, so this is the genuine Gaussian law.
  • n≥4n\ge4n≥4 and p≥3p\ge3p≥3 (the paper's standing assumption) are hypotheses of every theorem.
  • P(⋅∣X1n)P(\cdot\mid X_1^n)P(⋅∣X1n​) is read per realization: the bootstrap law mbLaw x is the push-forward of N(0,1)⊗nN(0,1)^{\otimes n}N(0,1)⊗n under e↦n−1/2∑iei(xi−xˉ)e\mapsto n^{-1/2}\sum_ie_i(x_i-\bar x)e↦n−1/2∑i​ei​(xi​−xˉ), and the bound is asserted at every ω\omegaω on the event, for the data X(ω)X(\omega)X(ω). Since eee is independent of the data, this is a version of the conditional law; no conditional expectation appears.
  • Suprema over the class, over v1,v2v_1,v_2v1​,v2​ and over hyperrectangles are encoded as bounds for every member.
  • The class A\mathcal AA is an indexed family of measurable sets, each with its approximating polyhedron given by a finite set of unit vectors and real thresholds. The page uses facet normals and support values; allowing any finite family of unit vectors is a mild generalization that implies the page's theorem.
  • Constants: CCC is quantified after a,b,da,b,da,b,d (after bbb alone for (38), (39), Lemma A.1 and the smoothed step) and before nnn, ppp, the probability space, the data, the class, Δˉn\bar\Delta_nΔˉn​ and the realization. A constant chosen after nnn or ppp would trivialize the goal.
  • Moments enter only through lower bounds ((M.1), (M.1′)) on integrals of square-integrable functions, so no integral takes a default value; the comparison display integrates continuous functions of linear growth against Gaussian laws. The goal does not mention FβF_\betaFβ​, ggg, ϱnMB\varrho_n^{MB}ϱnMB​, (38) or (39).

Infrastructure needed: multivariate Gaussian laws and their linear images, Gaussian integration by parts or Slepian interpolation, Nazarov's inequality, and properties of log-sum-exp. Lemma A.1, display (21) and the comparison display are reusable beyond this mission, for the high-dimensional CLT of the companion mission and for any max-type Gaussian approximation. Proofs of any milestone are welcome, as are proofs of the conditional Gaussianity identity from Mathlib's Gaussian API.

Selected references

  • V. Chernozhukov, D. Chetverikov, K. Kato, Central limit theorems and bootstrap in high dimensions, Ann. Probab. 45(4):2309–2352, 2017. https://doi.org/10.1214/16-AOP1113
  • V. Chernozhukov, D. Chetverikov, K. Kato, Comparison and anti-concentration bounds for maxima of Gaussian random vectors, Probab. Theory Related Fields 162:47–70, 2015. https://doi.org/10.1007/s00440-014-0565-9
  • V. Chernozhukov, D. Chetverikov, K. Kato, Gaussian approximations and multiplier bootstrap for maxima of sums of high-dimensional random vectors, Ann. Statist. 41(6):2786–2819, 2013. https://doi.org/10.1214/13-AOS1161
  • A. Klivans, R. O'Donnell, R. Servedio, Learning geometric concepts via Gaussian surface area, FOCS 2008. https://doi.org/10.1109/FOCS.2008.64
  • F. Nazarov, On the maximal perimeter of a convex set in ℝⁿ with respect to a Gaussian measure, Geometric Aspects of Functional Analysis, Lecture Notes in Math. 1807, 169–187, 2003. https://doi.org/10.1007/978-3-540-36428-3_14
10 thms1 active userReviewed
Probability·Captain: mikedeng1

Central Limit Theorems and Bootstrap in High Dimensions 1: Gaussian Approximation of Normalized Sums over All Hyperrectangles with Error K₁[(L̄ₙ² log⁷p/n)^{1/6} + Mₙ(φₙ)/L̄ₙ]Research Paper

Motivation

Many statistical procedures look at a large number of averages at once: simultaneous confidence intervals for ppp means, multiple testing of ppp hypotheses, the maximum of ppp ttt-statistics. Their calibration needs the joint law of a ppp-dimensional normalized sum, and in modern applications ppp is comparable to, or much larger than, the sample size nnn. Classical multivariate central limit theorems with explicit error, such as Bentkus's bound over convex sets (Bentkus 2003), require ppp to grow slowly with nnn (roughly p=o(n1/7)\sqrt p = o(n^{1/7})p​=o(n1/7)), which rules out these applications.

Chernozhukov, Chetverikov and Kato showed that when the class of sets is restricted to hyperrectangles, the Gaussian approximation error depends on the dimension only through log⁡p\log plogp (Ann. Probab. 45 (2017)).

Timeline. In 2013 the same authors proved a Gaussian approximation for the maximum of a sum (sets of the form {w:wj≤a ∀j}\{w : w_j \le a \ \forall j\}{w:wj​≤a ∀j}) with rate n−1/8n^{-1/8}n−1/8 (Ann. Statist. 41 (2013)). The 2017 paper extends this to all hyperrectangles, improves the rate to n−1/6n^{-1/6}n−1/6, and adds bootstrap results.

Setting

Let n≥4n \ge 4n≥4 and p≥3p \ge 3p≥3. Let X1,…,XnX_1, \dots, X_nX1​,…,Xn​ be independent random vectors in Rp\mathbb R^pRp with coordinates XijX_{ij}Xij​, each centred (E[Xij]=0\mathrm E[X_{ij}] = 0E[Xij​]=0) with E[Xij2]<∞\mathrm E[X_{ij}^2] < \inftyE[Xij2​]<∞. Let Y1,…,YnY_1, \dots, Y_nY1​,…,Yn​ be independent centred Gaussian vectors with Yi∼N(0,E[XiXi′])Y_i \sim N(0, \mathrm E[X_iX_i'])Yi​∼N(0,E[Xi​Xi′​]), the same covariance as XiX_iXi​. The normalized sums are

SnX:=1n∑i=1nXi,SnY:=1n∑i=1nYi.S^X_n := \frac{1}{\sqrt n}\sum_{i=1}^n X_i, \qquad S^Y_n := \frac{1}{\sqrt n}\sum_{i=1}^n Y_i.SnX​:=n​1​i=1∑n​Xi​,SnY​:=n​1​i=1∑n​Yi​.

A hyperrectangle is a set A={w∈Rp:aj≤wj≤bj for all j}A = \{w \in \mathbb R^p : a_j \le w_j \le b_j \text{ for all } j\}A={w∈Rp:aj​≤wj​≤bj​ for all j} with −∞≤aj≤bj≤∞-\infty \le a_j \le b_j \le \infty−∞≤aj​≤bj​≤∞; Are\mathcal A^{\mathrm{re}}Are is the class of all of them. The quantity to bound is

ρn(Are):=sup⁡A∈Are∣P(SnX∈A)−P(SnY∈A)∣.\rho_n(\mathcal A^{\mathrm{re}}) := \sup_{A \in \mathcal A^{\mathrm{re}}}\big|\mathrm P(S^X_n \in A) - \mathrm P(S^Y_n \in A)\big|.ρn​(Are):=A∈Aresup​​P(SnX​∈A)−P(SnY​∈A)​.

The error is measured through the third-moment parameter Ln:=max⁡jn−1∑iE∣Xij∣3L_n := \max_j n^{-1}\sum_i \mathrm E|X_{ij}|^3Ln​:=maxj​n−1∑i​E∣Xij​∣3 and the truncated maximal moments

Mn,X(ϕ):=1n∑i=1nE[max⁡j∣Xij∣3 1{max⁡j∣Xij∣>n4ϕlog⁡p}],M_{n,X}(\phi) := \frac1n\sum_{i=1}^n \mathrm E\Big[\max_j|X_{ij}|^3\,1\Big\{\max_j|X_{ij}| > \frac{\sqrt n}{4\phi\log p}\Big\}\Big],Mn,X​(ϕ):=n1​i=1∑n​E[jmax​∣Xij​∣31{jmax​∣Xij​∣>4ϕlogpn​​}],

Mn,Y(ϕ)M_{n,Y}(\phi)Mn,Y​(ϕ) the same with YYY, and Mn(ϕ):=Mn,X(ϕ)+Mn,Y(ϕ)M_n(\phi) := M_{n,X}(\phi) + M_{n,Y}(\phi)Mn​(ϕ):=Mn,X​(ϕ)+Mn,Y​(ϕ). Here log⁡\loglog is the natural logarithm.

Formalization targets

Goal: Theorem 2.1

If n−1∑iE[Xij2]≥b>0n^{-1}\sum_i \mathrm E[X_{ij}^2] \ge b > 0n−1∑i​E[Xij2​]≥b>0 for all jjj, there are constants K1,K2>0K_1, K_2 > 0K1​,K2​>0 depending only on bbb such that for every Lˉn≥Ln\bar L_n \ge L_nLˉn​≥Ln​,

ρn(Are)≤K1[(Lˉn2log⁡7pn)1/6+Mn(ϕn)Lˉn],ϕn:=K2(Lˉn2log⁡4pn)−1/6.\rho_n(\mathcal A^{\mathrm{re}}) \le K_1\left[\left(\frac{\bar L_n^2\log^7 p}{n}\right)^{1/6} + \frac{M_n(\phi_n)}{\bar L_n}\right], \qquad \phi_n := K_2\left(\frac{\bar L_n^2\log^4 p}{n}\right)^{-1/6}.ρn​(Are)≤K1​[(nLˉn2​log7p​)1/6+Lˉn​Mn​(ϕn​)​],ϕn​:=K2​(nLˉn2​log4p​)−1/6.

The constants are left existential, as on the page: the goal asserts the shape of the bound, not particular values.

Milestones

  1. Display (21): the smooth maximum Fβ(w)=β−1log⁡∑jeβ(wj−yj)F_\beta(w) = \beta^{-1}\log\sum_j e^{\beta(w_j - y_j)}Fβ​(w)=β−1log∑j​eβ(wj​−yj​) is within β−1log⁡p\beta^{-1}\log pβ−1logp of max⁡j(wj−yj)\max_j(w_j - y_j)maxj​(wj​−yj​).
  2. Lemma B.1: association inequalities for nondecreasing nonnegative functions, including (20) without independence.
  3. Lemma A.1 (Nazarov's inequality): P(Y≤y+a)−P(Y≤y)≤Calog⁡p\mathrm P(Y \le y + a) - \mathrm P(Y \le y) \le Ca\sqrt{\log p}P(Y≤y+a)−P(Y≤y)≤Calogp​ for a centred Gaussian YYY with E[Yj2]≥b\mathrm E[Y_j^2] \ge bE[Yj2​]≥b.
  4. Lemma 5.1, the key lemma: a recursive bound on ϱn:=sup⁡y,v∈[0,1]∣P(vSnX+1−vSnY≤y)−P(SnY≤y)∣\varrho_n := \sup_{y, v\in[0,1]}|\mathrm P(\sqrt v S^X_n + \sqrt{1-v}S^Y_n \le y) - \mathrm P(S^Y_n \le y)|ϱn​:=supy,v∈[0,1]​∣P(v​SnX​+1−v​SnY​≤y)−P(SnY​≤y)∣.
  5. Corollary 5.1: the same bound for ϱn′\varrho_n'ϱn′​, the supremum over hyperrectangles.
  6. Lemma C.1: an exponential tail bound gives E[ξ31{ξ>t}]≤6A(t+B)3e−t/B\mathrm E[\xi^3 1\{\xi > t\}] \le 6A(t+B)^3e^{-t/B}E[ξ31{ξ>t}]≤6A(t+B)3e−t/B.

Companion: Proposition 2.1

Under the moment conditions (M.1)–(M.2) and either an exponential (E.1) or a polynomial (E.2) moment bound with parameter Bn≥1B_n \ge 1Bn​≥1,

ρn(Are)≤C(Bn2log⁡7(pn)n)1/6orρn(Are)≤C{(Bn2log⁡7(pn)n)1/6+(Bn2log⁡3(pn)n1−2/q)1/3}.\rho_n(\mathcal A^{\mathrm{re}}) \le C\Big(\frac{B_n^2\log^7(pn)}{n}\Big)^{1/6} \quad\text{or}\quad \rho_n(\mathcal A^{\mathrm{re}}) \le C\Big\{\Big(\frac{B_n^2\log^7(pn)}{n}\Big)^{1/6} + \Big(\frac{B_n^2\log^3(pn)}{n^{1-2/q}}\Big)^{1/3}\Big\}.ρn​(Are)≤C(nBn2​log7(pn)​)1/6orρn​(Are)≤C{(nBn2​log7(pn)​)1/6+(n1−2/qBn2​log3(pn)​)1/3}.

Significance

The result. Under the exponential moment condition (E.1), Proposition 2.1 makes the Gaussian approximation error tend to zero when Bn2log⁡7(pn)=o(n)B_n^2\log^7(pn) = o(n)Bn2​log7(pn)=o(n), allowing ppp much larger than nnn. Under the polynomial moment condition (E.2), its second error term must also tend to zero. Theorem 2.1 is the probabilistic basis of the paper's multiplier and empirical bootstrap results for simultaneous inference (Chernozhukov, Chetverikov and Kato 2017).

Formalizing it. The result is proved on paper; no machine-checked version of this theorem was found in the platform catalog during this mission's prior-art search. A formal proof needs interpolation between SnXS^X_nSnX​ and SnYS^Y_nSnY​, Gaussian anti-concentration (Nazarov's inequality), and third-order Taylor estimates of smooth approximations of indicator functions. Nazarov's inequality is used in the paper by citation, so its formal proof is a separate milestone.

Difficulty

The obvious route, a Lindeberg replacement of each XiX_iXi​ by YiY_iYi​ after smoothing the indicator of a hyperrectangle coordinate by coordinate, loses a polynomial factor in ppp: the derivatives of a product of ppp smoothed one-dimensional indicators add up over coordinates, so the error grows like a power of ppp rather than of log⁡p\log plogp. Any smoothing must also be paid for by the probability that the Gaussian vector falls in a thin neighbourhood of the boundary of a hyperrectangle, and a dimension-free bound on that probability is not available for general hyperrectangles; the log⁡p\sqrt{\log p}logp​ anti-concentration bound is the best one can use. Finally, a direct comparison yields an inequality in which the quantity to be bounded appears on both sides, and the rate n−1/6n^{-1/6}n−1/6 is obtained only after that inequality is solved; a one-shot estimate gives a worse power of nnn. The truncation in Mn(ϕ)M_n(\phi)Mn​(ϕ) handles coordinates too large for a third-order Taylor expansion, since no moment condition beyond third moments is assumed.

Formalization scope

Vectors live in EuclideanSpace ℝ (Fin p) and the coordinate XijX_{ij}Xij​ is X i ω j. The Gaussian comparison vectors satisfy P.map (Y i) = multivariateGaussian 0 (covMat P (X i)) with covMat P Z = (E[Z_j Z_k])_{j,k}, which is positive semidefinite, so this is the genuine N(0,E[XiXi′])N(0, \mathrm E[X_iX_i'])N(0,E[Xi​Xi′​]); the YiY_iYi​ are independent. Hyperrectangle endpoints are extended reals used only in comparisons. Every theorem carries the standing assumptions n≥4n \ge 4n≥4, p≥3p \ge 3p≥3, independence, centring and finite second moments. Items that involve LnL_nLn​ or MnM_nMn​ add E∣Xij∣3<∞\mathrm E|X_{ij}|^3 < \inftyE∣Xij​∣3<∞; when a third moment is infinite the paper's bounds are vacuous, so this loses nothing. Mn(ϕ)M_n(\phi)Mn​(ϕ) is defined by its formula for every real ϕ\phiϕ, because Theorem 2.1 evaluates it at ϕn\phi_nϕn​, which may be below 111. Lemma 5.1 and Corollary 5.1 assume the YYY's independent of the XXX's, as the definition of ϱn\varrho_nϱn​ does; Theorem 2.1 and Proposition 2.1 do not. A bound on a supremum is stated set by set.

Constants that the paper says depend only on bbb (or on bbb and qqq) are quantified after bbb and before nnn, ppp, the probability space and every random vector; a constant chosen after nnn, ppp or the law would trivialize every statement. Upper bounds on expectations in hypotheses ((M.2), (E.1), (E.2)) and in Lemma C.1's conclusion are lower Lebesgue integrals, so a non-integrable function cannot make a hypothesis hold with a junk value of 000. Dropping the independence of the YiY_iYi​ or using a wrong covariance would make the goal false.

A complete development needs: a multivariate Stein or Slepian interpolation, third-order Taylor expansion with remainder for functions on Rp\mathbb R^pRp, Gaussian integration by parts, and Nazarov's inequality. The anti-concentration and smooth-max lemmas are reusable for any max-type Gaussian approximation, including the bootstrap results of the second mission of this series. Proofs of individual milestones, of Nazarov's inequality in particular, are welcome on their own.

Selected references

  • V. Chernozhukov, D. Chetverikov, K. Kato, Central limit theorems and bootstrap in high dimensions, Ann. Probab. 45(4):2309–2352, 2017. https://doi.org/10.1214/16-AOP1113
  • V. Chernozhukov, D. Chetverikov, K. Kato, Gaussian approximations and multiplier bootstrap for maxima of sums of high-dimensional random vectors, Ann. Statist. 41(6):2786–2819, 2013. https://doi.org/10.1214/13-AOS1161
  • V. Bentkus, On the dependence of the Berry–Esseen bound on dimension, J. Statist. Plann. Inference 113:385–402, 2003. MR1965117, https://mathscinet.ams.org/mathscinet-getitem?mr=1965117
  • F. Nazarov, On the maximal perimeter of a convex set in ℝⁿ with respect to a Gaussian measure, Geometric Aspects of Functional Analysis, Lecture Notes in Math. 1807, 169–187, Springer, 2003. MR2083397, https://mathscinet.ams.org/mathscinet-getitem?mr=2083397
9 thms1 active userReviewed
Information TheoryProbabilityRandom Matrix Theory·Captain: mikedeng1

Universality in Polytope Phase Transitions and Message Passing Algorithms 2: State Evolution, Empirical Averages of Polynomial AMP Iterates Converge to Gaussian ExpectationsResearch Paper

Motivation

Approximate message passing (AMP) is an iterative method for large systems with random matrices. At each step, every coordinate receives a weighted combination of nonlinear messages from all other coordinates, together with a correction for dependence created by earlier steps. For symmetric random matrices, the correction makes a simple description of the high-dimensional iterates possible: a finite collection of covariance matrices predicts their limiting distributions. Bayati, Lelarge and Montanari prove this state evolution statement for polynomial AMP on a broad class of independent sub-Gaussian matrix entries, rather than only Gaussian entries (paper, §§1.2–1.3). It gives a precise distributional account of an algorithm whose coordinates are coupled at every iteration.

The paper has three distinct headline results. Its Theorem 3 compares AMP moments under two matrix laws with equal entry variances, and its Theorem 2 concerns projected cross-polytopes. This mission targets Theorem 4, which identifies the limit of empirical averages of AMP iterates with a Gaussian expectation. The companion missions address the other results; the statements here use their own copy of the paper's AMP model because draft definitions cannot yet be imported across proposals (paper, pp. 5, 8–9).

Setting

For each size NNN, let A(N)A(N)A(N) be a random symmetric N×NN\times NN×N matrix with zero diagonal. Its entries above the diagonal are independent, centered, and sub-Gaussian at scale C/NC/NC/N. Each coordinate iii carries a polynomial map fi(⋅;t):Rq→Rqf^i(\cdot;t):\mathbb R^q\to\mathbb R^qfi(⋅;t):Rq→Rq at iteration ttt and an initial vector xi0x_i^0xi0​. Their coefficients have degree at most ddd and a uniform bound CCC. The AMP orbit is

xit+1=∑jAijfj(xjt;t)−∑jAij2Jfj(xjt;t)fi(xit−1;t−1).x_i^{t+1}=\sum_j A_{ij}f^j(x_j^t;t) -\sum_j A_{ij}^{2}Jf^j(x_j^t;t)f^i(x_i^{t-1};t-1).xit+1​=j∑​Aij​fj(xjt​;t)−j∑​Aij2​Jfj(xjt​;t)fi(xit−1​;t−1).

The second sum is the Onsager memory term; it is absent at t=0t=0t=0. Here JfjJf^jJfj is the Jacobian, so its product with the preceding qqq-vector is another qqq-vector. The initial vectors obey an exponential bound on their squared Euclidean norms. These assumptions form the paper's (C,d)(C,d)(C,d)-regularity condition (Definitions 2–4, pp. 6–7).

A converging sequence has a fixed finite set of classes a∈[k]a\in[k]a∈[k]. Coordinate iii belongs to CaNC_a^NCaN​ for one class aaa, whose proportion approaches ca∈(0,1)c_a\in(0,1)ca​∈(0,1). A symmetric nonnegative matrix WWW specifies entry variances: if i∈CaNi\in C_a^Ni∈CaN​ and j∈CbNj\in C_b^Nj∈CbN​, then EAij2=Wab/N\mathbb E A_{ij}^2=W_{ab}/NEAij2​=Wab​/N. Independent labels Y(i)Y(i)Y(i) have class-dependent laws PaP_aPa​, each a finite mixture of Gaussian laws that may be degenerate. The polynomial maps have the common form fi(x;t)=g(x,Y(i),a,t)f^i(x;t)=g(x,Y(i),a,t)fi(x;t)=g(x,Y(i),a,t) for i∈CaNi\in C_a^Ni∈CaN​ (Definition 5, pp. 8–9).

The empirical second moments of g(xi0,Y(i),a,0)g(x_i^0,Y(i),a,0)g(xi0​,Y(i),a,0) converge in probability to a prescribed positive semidefinite matrix Σ^a0\widehat\Sigma_a^0Σa0​. For t≥1t\ge1t≥1, state evolution defines

Σat=∑bcbWabΣ^bt−1,Σ^at=E[g(Zat,Ya,a,t)g(Zat,Ya,a,t)T],\Sigma_a^t=\sum_b c_bW_{ab}\widehat\Sigma_b^{t-1},\qquad \widehat\Sigma_a^t=\mathbb E\big[g(Z_a^t,Y_a,a,t)g(Z_a^t,Y_a,a,t)^{\mathsf T}\big],Σat​=b∑​cb​Wab​Σbt−1​,Σat​=E[g(Zat​,Ya​,a,t)g(Zat​,Ya​,a,t)T],

where Zat∼N(0,Σat)Z_a^t\sim\mathcal N(0,\Sigma_a^t)Zat​∼N(0,Σat​) is independent of Ya∼PaY_a\sim P_aYa​∼Pa​. The index t−1t-1t−1 in the first formula and ttt in the second are essential (equations (1.9)–(1.11), p. 9).

Formalization targets

Coordinate moments and concentration

For a nonnegative multi-index mmm and a coordinate sequence eventually in class aaa, Proposition 4 identifies the Gaussian limit of each moment. Proposition 5 says the variance of the class-average monomial tends to zero:

E[(xi(N)t)m]⟶E[(Zat)m],Var⁡ ⁣(1∣CaN∣∑i∈CaN(xit)m)⟶0.\mathbb E[(x_{i(N)}^t)^m]\longrightarrow\mathbb E[(Z_a^t)^m],\qquad \operatorname{Var}\!\left(\frac1{|C_a^N|}\sum_{i\in C_a^N}(x_i^t)^m\right)\longrightarrow0.E[(xi(N)t​)m]⟶E[(Zat​)m],Var​∣CaN​∣1​i∈CaN​∑​(xit​)m​⟶0.

The diagonal two-time identity (4.4) is another milestone: Σat,t\Sigma_a^{t,t}Σat,t​ has four blocks, each equal to Σat\Sigma_a^tΣat​. These are the paper's stated intermediate targets (pp. 15, 30, 32).

Main goal: Theorem 4

For t≥1t\ge1t≥1, class aaa, and every locally Lipschitz function ψ\psiψ with ∣ψ(x,y)∣≤K(1+∥x∥22+∥y∥22)K|\psi(x,y)|\le K(1+\|x\|_2^2+\|y\|_2^2)^K∣ψ(x,y)∣≤K(1+∥x∥22​+∥y∥22​)K for some KKK, prove convergence in probability:

1∣CaN∣∑j∈CaNψ(xjt,Y(j))⟶E[ψ(Zat,Ya)].\frac1{|C_a^N|}\sum_{j\in C_a^N}\psi(x_j^t,Y(j)) \longrightarrow \mathbb E[\psi(Z_a^t,Y_a)].∣CaN​∣1​j∈CaN​∑​ψ(xjt​,Y(j))⟶E[ψ(Zat​,Ya​)].

The target covers polynomial-growth test functions, including functions beyond monomials. The expectation on the right is under the product law of the Gaussian state and the independent class label (Theorem 4, p. 9).

Significance

The theorem assigns a computable asymptotic distribution to each class of AMP coordinates at every fixed positive iteration time. It can be used to evaluate empirical observables without tracking the full coupled NNN-dimensional random trajectory. The class weights and variance profile permit heterogeneous coordinates, while the sub-Gaussian assumption covers more matrix laws than a Gaussian-only statement (paper, Introduction and Theorem 4).

The paper proves this result. The mission's Lean statements are compilation-checked targets, with proofs still to be formalized. A completed development would establish the measure-theoretic meaning of the covariance recursion and its Gaussian expectations, as well as the moment and concentration claims needed for the empirical limit. The polynomial representation, random-matrix regularity predicate, and Gaussian transport are reusable for other AMP results from the same paper.

Difficulty

The matrix A(N)A(N)A(N) is reused at every AMP iteration, so a new coordinate is correlated with earlier coordinates and with the matrix entries that produced them. A direct independent-summand argument for its Gaussian limit is unavailable. The memory term is tuned to this dependence, and any formal proof must account for its exact Jacobian and squared-entry form. Passing from individual moments to empirical averages also requires control of correlations between different coordinates. The target allows locally Lipschitz functions with polynomial growth, so convergence for a fixed monomial alone does not finish the job (paper, §4.7).

Formalization scope

Vectors in Rq\mathbb R^qRq are functions Fin q → ℝ; squared Euclidean norms are explicit sums of coordinate squares. Polynomials use bounded real coefficient arrays as in (4.10), with an explicit Jacobian. Fin N uses zero-based indices. The orbit stores the current and preceding iterates and omits the memory term at t=0t=0t=0. A single probability space carries all sizes; matrix entries, labels, coefficients, and initial vectors have explicit measurability and independence conditions.

The paper's displayed sub-Gaussian formula conflicts with its stated C/NC/NC/N scale, so the model uses the scale required by its moment estimates and imposes the moment-generating bound for all real arguments. Its initial exponential bound is read almost surely at every size, which ensures the expectations used by the paper are well-defined. Label-dependent polynomial coefficients are measurable. The full label vector is independent of the matrix and initial vectors; this makes explicit the independence needed for Theorem 4's Gaussian-label product law. Independence of the induced polynomial coefficients alone would not imply it when ggg ignores part of a label. The initial covariance limit is entrywise convergence in probability; finite-dimensional equivalence makes this the same matrix convergence. Class averages divide by the class cardinality, even though that expression has Lean's default value at an empty class for a small NNN. Positive limiting class fractions make those finite exceptions irrelevant.

Gaussian laws live on Mathlib's Euclidean space and are transported to coordinate vectors. Theorems explicitly assert positive semidefiniteness or integrability where a non-PSD covariance, non-integrable expectation, or non-square-integrable variance could otherwise give a default value. The source's Y(i)Y(i)Y(i) in (1.12) is read as Y(j)Y(j)Y(j), its summation index, and its final covariance as Σat\Sigma_a^tΣat​. The Gaussian covariance is computed by the recursion above; it is not defined from the proposed limit. Contributions establishing moment bounds, covariance positivity, Gaussian integrability, the three milestones, or the full Theorem 4 are within scope.

Selected references

  • M. Bayati, M. Lelarge and A. Montanari, Universality in polytope phase transitions and message passing algorithms, Annals of Applied Probability 25(2), 2015, 753–822. arXiv:1207.7321v2; DOI:10.1214/14-AAP1010.
12 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

Distribution-Free, Risk-Controlling Prediction Sets III: Thresholding the Conditional Expected Loss Gives the Smallest Sets Among Predictors of No Larger Risk (Theorem 8)Research Paper

Motivation

A set-valued predictor returns, for each input xxx, a set of plausible responses rather than a single guess. Such sets are used wherever a model's output feeds a decision with asymmetric costs: a medical classifier that lists every diagnosis it cannot rule out, a segmentation model that marks every pixel that may belong to a tumour, a protein-structure predictor that reports a range of distances. Bates, Angelopoulos, Lei, Malik and Jordan, Distribution-Free, Risk-Controlling Prediction Sets (J. ACM 68(6), 2021), calibrate a nested family of such predictors {Tλ}\{\mathcal T_\lambda\}{Tλ​} so that a chosen loss is controlled with high probability, without distributional assumptions.

Calibration says nothing about which family to calibrate. Any nested family can be made risk-controlling; families differ in how large their sets are, and large sets are uninformative. §4 of the paper asks which family is best in the population: which predictor achieves a given risk with the smallest expected set size. For a weighted miscoverage loss (Theorem 7, §4.2) the answer thresholds a weighted conditional density, in the spirit of the optimality results of Sadinle, Lei and Wasserman (2019) for classification. Theorem 8 (§4.3) extends the answer to every loss of integral form. This mission formalizes Theorem 8.

Setting

Let (X,Y)(X, Y)(X,Y) take values in X×Y\mathcal X \times \mathcal YX×Y with law PPP, marginal PXP_XPX​, and conditional law κ(x)\kappa(x)κ(x) of YYY given X=xX = xX=x. Prediction sets are subsets of a measurable space Z\mathcal ZZ (in the paper's examples Z=Y\mathcal Z = \mathcal YZ=Y). A set-valued predictor is a map T:X→2Z\mathcal T : \mathcal X \to 2^{\mathcal Z}T:X→2Z.

Fix a finite measure μ\muμ on Z\mathcal ZZ and a nonnegative cost ℓ:Y×Z→[0,∞)\ell : \mathcal Y \times \mathcal Z \to [0, \infty)ℓ:Y×Z→[0,∞); ℓ(y,z)\ell(y, z)ℓ(y,z) is the cost of leaving zzz out of the prediction set when the true response is yyy. The loss of a set S\mathcal SS is the total cost of what it leaves out,

L(y;S)=∫z∈Scℓ(y,z) dμ(z),L(y; \mathcal S) = \int_{z \in \mathcal S^c} \ell(y, z)\, d\mu(z),L(y;S)=∫z∈Sc​ℓ(y,z)dμ(z),

and the risk of a predictor is R(T)=E[L(Y;T(X))]R(\mathcal T) = \mathbb E[L(Y; \mathcal T(X))]R(T)=E[L(Y;T(X))] (§2.1). Larger sets have smaller loss. The conditional expected cost of omitting zzz at xxx is

E[ℓ(Y;z)∣X=x]=∫ℓ(y,z) dκ(x)(y),\mathbb E[\ell(Y; z) \mid X = x] = \int \ell(y, z)\, d\kappa(x)(y),E[ℓ(Y;z)∣X=x]=∫ℓ(y,z)dκ(x)(y),

and for λ<0\lambda < 0λ<0 the threshold predictor of display (11) is

Tλ(x)={z∈Z:E[ℓ(Y;z)∣X=x]≥−λ}.\mathcal T_\lambda(x) = \{z \in \mathcal Z : \mathbb E[\ell(Y; z) \mid X = x] \ge -\lambda\}.Tλ​(x)={z∈Z:E[ℓ(Y;z)∣X=x]≥−λ}.

It includes exactly the points whose omission is expected to cost at least −λ-\lambda−λ. The size of a set is its μ\muμ-measure, ∣S∣=μ(S)|\mathcal S| = \mu(\mathcal S)∣S∣=μ(S), and the expected size of a predictor is E[∣T(X)∣]=∫μ(T(x)) dPX(x)\mathbb E[|\mathcal T(X)|] = \int \mu(\mathcal T(x))\, dP_X(x)E[∣T(X)∣]=∫μ(T(x))dPX​(x).

In Lean: setLoss μ ℓ y S, risk P μ ℓ T, condLoss κ ℓ x z, thresholdSet κ ℓ lam x and expSize P μ T in the namespace RiskControl.Optimal.

Formalization targets

Goal: Theorem 8

For every λ<0\lambda < 0λ<0 and every set-valued predictor T′\mathcal T'T′ (with measurable graph),

R(T′)≤R(Tλ)  ⟹  E[∣Tλ(X)∣]≤E[∣T′(X)∣].R(\mathcal T') \le R(\mathcal T_\lambda) \implies \mathbb E\big[|\mathcal T_\lambda(X)|\big] \le \mathbb E\big[|\mathcal T'(X)|\big].R(T′)≤R(Tλ​)⟹E[∣Tλ​(X)∣]≤E[∣T′(X)∣].

No constant is involved; the statement is uniform over ℓ\ellℓ, μ\muμ, PPP and T′\mathcal T'T′.

Milestones: the steps of the proof (p. 27)

  1. Moving the conditional expectation inside the μ\muμ-integral: for a predictor A\mathcal AA with measurable graph, E[∫A(X)ℓ(Y;z) dμ(z)]=E[∫A(X)E[ℓ(Y;z)∣X] dμ(z)]\mathbb E[\int_{\mathcal A(X)} \ell(Y; z)\, d\mu(z)] = \mathbb E[\int_{\mathcal A(X)} \mathbb E[\ell(Y; z) \mid X]\, d\mu(z)]E[∫A(X)​ℓ(Y;z)dμ(z)]=E[∫A(X)​E[ℓ(Y;z)∣X]dμ(z)].
  2. From the risk comparison to the set differences:
E[∫T′(X)∖Tλ(X)E[ℓ(Y;z)∣X] dμ]≥E[∫Tλ(X)∖T′(X)E[ℓ(Y;z)∣X] dμ].\mathbb E\Big[\int_{\mathcal T'(X) \setminus \mathcal T_\lambda(X)} \mathbb E[\ell(Y; z) \mid X]\, d\mu\Big] \ge \mathbb E\Big[\int_{\mathcal T_\lambda(X) \setminus \mathcal T'(X)} \mathbb E[\ell(Y; z) \mid X]\, d\mu\Big].E[∫T′(X)∖Tλ​(X)​E[ℓ(Y;z)∣X]dμ]≥E[∫Tλ​(X)∖T′(X)​E[ℓ(Y;z)∣X]dμ].
  1. From costs to sizes: E∣T′(X)∖Tλ(X)∣≥E∣Tλ(X)∖T′(X)∣\mathbb E|\mathcal T'(X) \setminus \mathcal T_\lambda(X)| \ge \mathbb E|\mathcal T_\lambda(X) \setminus \mathcal T'(X)|E∣T′(X)∖Tλ​(X)∣≥E∣Tλ​(X)∖T′(X)∣.
  2. From set differences to sets: E∣A(X)∖B(X)∣≤E∣B(X)∖A(X)∣\mathbb E|\mathcal A(X) \setminus \mathcal B(X)| \le \mathbb E|\mathcal B(X) \setminus \mathcal A(X)|E∣A(X)∖B(X)∣≤E∣B(X)∖A(X)∣ implies E∣A(X)∣≤E∣B(X)∣\mathbb E|\mathcal A(X)| \le \mathbb E|\mathcal B(X)|E∣A(X)∣≤E∣B(X)∣.

Significance

The result. Theorem 8 identifies the population-optimal shape of a set-valued predictor for every loss that charges for omitted points through a nonnegative cost and a finite measure. It justifies building nested families by thresholding an estimate of the conditional expected cost: if the estimate were exact, no other predictor with the same or smaller risk could have smaller sets on average. It contains the weighted-miscoverage case (Theorem 7) when Y\mathcal YY is discrete and μ\muμ is counting measure, and it covers losses for which no such special case exists, such as costs that depend on the distance between zzz and yyy.

Formalizing it. The proof on p. 27 is a chain of eight displays. A machine-checked version settles the measure-theoretic points the chain passes over: the conditional expectation inside an integral over a random set, the cancellation of possibly infinite terms, and the range of λ\lambdaλ. To our knowledge no formal proof of Theorem 8 or of the Neyman–Pearson-type optimality results it generalizes for set predictors exists in Lean or Mathlib.

Difficulty

The natural reading of the proof subtracts the quantity E∫ZE[ℓ(Y;z)∣X] dμ(z)\mathbb E\int_{\mathcal Z} \mathbb E[\ell(Y; z) \mid X]\, d\mu(z)E∫Z​E[ℓ(Y;z)∣X]dμ(z) from both sides of the risk comparison to pass from complements to sets. Nothing in the setting makes this quantity finite, so that step is not valid as written, and a proof that follows the displays literally breaks there. The theorem itself does not need finiteness of ℓ\ellℓ, and no such hypothesis is in scope.

The other obstacle is measure-theoretic bookkeeping. The conditional expectation E[ℓ(Y;z)∣X]\mathbb E[\ell(Y; z) \mid X]E[ℓ(Y;z)∣X] is indexed by a point zzz of a second space, and must be a jointly measurable function of (x,z)(x, z)(x,z) before it can be integrated over the random set T(X)\mathcal T(X)T(X); here it is given by a regular conditional distribution, and every integral over T(x)\mathcal T(x)T(x) needs the measurability of the graph of T\mathcal TT.

Formalization scope

  • Spaces and measures. X,Y,Z\mathcal X, \mathcal Y, \mathcal ZX,Y,Z are arbitrary measurable spaces; PPP is a probability measure on X×Y\mathcal X \times \mathcal YX×Y; μ\muμ is a finite measure on Z\mathcal ZZ; ℓ\ellℓ takes values in [0,∞)[0, \infty)[0,∞) and is jointly measurable.
  • Conditional law. E[ℓ(Y;z)∣X=x]\mathbb E[\ell(Y; z) \mid X = x]E[ℓ(Y;z)∣X=x] is ∫ℓ(y,z) dκ(x)(y)\int \ell(y, z)\, d\kappa(x)(y)∫ℓ(y,z)dκ(x)(y) for a Markov kernel κ\kappaκ with P=PX⊗κP = P_X \otimes \kappaP=PX​⊗κ, which is exactly the statement that κ\kappaκ is a regular conditional distribution of YYY given XXX. Such a kernel exists, for instance, when Y\mathcal YY is standard Borel; the formalization does not assume this. The threshold predictor is built from the same κ\kappaκ and the same ℓ\ellℓ as the risk; neither is a free object.
  • Integrals. Every integral is a lower Lebesgue integral with values in [0,∞][0, \infty][0,∞]; no integrability hypothesis is made, and an infinite risk is +∞+\infty+∞.
  • Range of λ\lambdaλ (correction of the print). The paper states Theorem 8 for λ∈Λ⊂(−∞,0]\lambda \in \Lambda \subset (-\infty, 0]λ∈Λ⊂(−∞,0]. At λ=0\lambda = 0λ=0 it is false: with ℓ≡0\ell \equiv 0ℓ≡0 and μ(Z)>0\mu(\mathcal Z) > 0μ(Z)>0, T0(x)=Z\mathcal T_0(x) = \mathcal ZT0​(x)=Z and T′≡∅\mathcal T' \equiv \emptysetT′≡∅ both have risk 000, but E∣T′(X)∣=0<μ(Z)\mathbb E|\mathcal T'(X)| = 0 < \mu(\mathcal Z)E∣T′(X)∣=0<μ(Z). The proof divides by −λ-\lambda−λ. Theorem 8 and its milestones are posed for λ<0\lambda < 0λ<0.
  • Set size (correction of the print). p. 13 describes ∣⋅∣|\cdot|∣⋅∣ as Lebesgue or counting measure, a sentence written for Theorem 7. In Theorem 8 the proof measures sets with the measure μ\muμ of the loss, and ∣⋅∣=μ|\cdot| = \mu∣⋅∣=μ throughout.
  • Measurable graphs. The competing predictor T′\mathcal T'T′ is required to have a measurable graph {(x,z):z∈T′(x)}\{(x, z) : z \in \mathcal T'(x)\}{(x,z):z∈T′(x)}; otherwise its risk and expected size are not integrals of measurable functions. The page leaves this implicit. The graph of Tλ\mathcal T_\lambdaTλ​ is measurable by construction.
  • Not a trivialization. The goal is stated about the threshold sets (11) built from the given ℓ\ellℓ, μ\muμ and κ\kappaκ, for every competing predictor; it does not assume any of the intermediate inequalities, and its hypotheses are satisfiable (for instance ℓ≡1\ell \equiv 1ℓ≡1, λ=−1/2\lambda = -1/2λ=−1/2, where Tλ(x)=Z\mathcal T_\lambda(x) = \mathcal ZTλ​(x)=Z).

The development needs Mathlib's composition of a measure with a kernel, Tonelli's theorem for kernels and lower integrals over sections of a measurable set. Lemmas about expected μ\muμ-sizes of random sets (milestone 4) and about moving a kernel integral inside a set integral (milestone 1) are reusable beyond this mission. Proofs of the milestones, and of the goal by other routes, are welcome.

Selected references

  • S. Bates, A. Angelopoulos, L. Lei, J. Malik, M. I. Jordan, Distribution-Free, Risk-Controlling Prediction Sets, Journal of the ACM 68(6), 2021. arXiv:2101.02703v3. https://arxiv.org/abs/2101.02703 — Theorem 8, p. 13; proof p. 27.
  • M. Sadinle, J. Lei, L. Wasserman, Least Ambiguous Set-Valued Classifiers With Bounded Error Levels, Journal of the American Statistical Association 114(525), 2019. https://doi.org/10.1080/01621459.2017.1395341
6 thms1 active userReviewed
Functional AnalysisOptimal TransportProbability·Captain: mikedeng1

Computational Optimal Transport XI: For p = 1, 2 the p-Wasserstein Distance on ℝ^d with d ≥ 2 Is Not HilbertianTextbook

Why ask whether a Wasserstein distance is Hilbertian

Kernel methods, multidimensional scaling and low-distortion embeddings all work best on data whose distance comes from a Hilbert space. A distance ddd on a set Z\mathcal ZZ is Hilbertian when Z\mathcal ZZ can be mapped into a Hilbert space so that ddd becomes the norm distance; for such a ddd, the kernel e−dp/te^{-d^p/t}e−dp/t is positive definite for 0≤p≤20\le p\le 20≤p≤2 and t>0t>0t>0 (Berg, Christensen and Ressel, 1984), and the classical Euclidean toolbox applies. Optimal transport distances are popular for comparing probability measures, so it is natural to ask whether they are Hilbertian. In dimension one the answer is yes for W2\mathcal W_2W2​: the map sending a measure to its quantile function is an isometry into L2([0,1])L^2([0,1])L2([0,1]), and between univariate Gaussians W2\mathcal W_2W2​ is the Euclidean distance between (mean, standard deviation). Peyré and Cuturi, Computational Optimal Transport (FnT ML 2019), §8.3, show that this does not extend to the plane: for p=1,2p=1,2p=1,2 and d≥2d\ge2d≥2 the ppp-Wasserstein distance on Rd\mathbb R^dRd is not Hilbertian (Proposition 8.2, p. 507).

The tool is a classical characterization. Schoenberg (1938) proved that a distance is Hilbertian exactly when its square is conditionally negative definite; Berg, Christensen and Ressel (1984, Prop. 3.2) give the modern form. The easy direction turns non-embeddability into a finite check, and the book's proof of Proposition 8.2 performs that check numerically on 35 measures supported on the four corners of the unit square (Figure 8.6, p. 508). Stronger, quantitative statements are known: planar W1\mathcal W_1W1​ does not even embed into L1L^1L1 with bounded distortion (Naor and Schechtman, 2007), and Andoni, Naor and Neiman (2018) study which powers of Wasserstein distances embed.

Setting

Let Z\mathcal ZZ be a set. A function φ:Z×Z→R\varphi:\mathcal Z\times\mathcal Z\to\mathbb Rφ:Z×Z→R is negative definite (Definition 8.3, p. 501, in the conditional form used in §8.3) if it is symmetric and, for every n≥0n\ge0n≥0, every x1,…,xn∈Zx_1,\dots,x_n\in\mathcal Zx1​,…,xn​∈Z and every r∈Rnr\in\mathbb R^nr∈Rn with ∑iri=0\sum_ir_i=0∑i​ri​=0,

∑i,j=1nrirj φ(xi,xj)≤0.\sum_{i,j=1}^n r_ir_j\,\varphi(x_i,x_j)\le0 .i,j=1∑n​ri​rj​φ(xi​,xj​)≤0.

A function d:Z×Z→Rd:\mathcal Z\times\mathcal Z\to\mathbb Rd:Z×Z→R is Hilbertian (Definition 8.4, p. 506) if there are a real Hilbert space H\mathcal HH and a map ϕ:Z→H\phi:\mathcal Z\to\mathcal Hϕ:Z→H with d(z,z′)=∥ϕ(z)−ϕ(z′)∥Hd(z,z')=\|\phi(z)-\phi(z')\|_{\mathcal H}d(z,z′)=∥ϕ(z)−ϕ(z′)∥H​ for all z,z′z,z'z,z′.

On Rd\mathbb R^dRd with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​, let Pp(Rd)\mathcal P_p(\mathbb R^d)Pp​(Rd) be the Borel probability measures μ\muμ with ∫∥x∥2p dμ<∞\int\|x\|_2^p\,d\mu<\infty∫∥x∥2p​dμ<∞. A coupling of μ\muμ and ν\nuν is a measure π\piπ on Rd×Rd\mathbb R^d\times\mathbb R^dRd×Rd whose two marginals are μ\muμ and ν\nuν, and the ppp-Wasserstein distance (2.18) is

Wp(μ,ν)=(inf⁡π∫∥x−y∥2p dπ(x,y))1/p,\mathcal W_p(\mu,\nu)=\Big(\inf_{\pi}\int\|x-y\|_2^p\,d\pi(x,y)\Big)^{1/p},Wp​(μ,ν)=(πinf​∫∥x−y∥2p​dπ(x,y))1/p,

finite on Pp(Rd)\mathcal P_p(\mathbb R^d)Pp​(Rd). For points x1,…,xnx_1,\dots,x_nx1​,…,xn​ and a histogram a∈Σna\in\Sigma_na∈Σn​ (nonnegative, summing to one) the discrete measure is ∑iaiδxi\sum_ia_i\delta_{x_i}∑i​ai​δxi​​; for two histograms a,ba,ba,b, U(a,b)U(a,b)U(a,b) is the set of nonnegative matrices with row sums aaa and column sums bbb, and LC(a,b)=min⁡P∈U(a,b)∑i,jCi,jPi,jL_C(a,b)=\min_{P\in U(a,b)}\sum_{i,j}C_{i,j}P_{i,j}LC​(a,b)=minP∈U(a,b)​∑i,j​Ci,j​Pi,j​ (2.11).

The configuration of the book's proof consists of the corners x1=[0,0]x^1=[0,0]x1=[0,0], x2=[1,0]x^2=[1,0]x2=[1,0], x3=[0,1]x^3=[0,1]x3=[0,1], x4=[1,1]x^4=[1,1]x4=[1,1] of the unit square, the 35 histograms of Σ4\Sigma_4Σ4​ with entries in {0,14,12,34,1}\{0,\tfrac14,\tfrac12,\tfrac34,1\}{0,41​,21​,43​,1}, and the centering matrix J=In−1n1n,nJ=I_n-\tfrac1n\mathbb 1_{n,n}J=In​−n1​1n,n​.

Formalization targets

Goal: Proposition 8.2

For d≥2d\ge2d≥2 and p∈{1,2}p\in\{1,2\}p∈{1,2},

Wp on Pp(Rd) is not Hilbertian.\mathcal W_p \text{ on } \mathcal P_p(\mathbb R^d) \text{ is not Hilbertian.}Wp​ on Pp​(Rd) is not Hilbertian.

Milestones

  1. Proposition 8.1, proved direction (pp. 506–507): if ddd is Hilbertian then d2d^2d2 is negative definite.
  2. Squared distance (p. 507): Wp2\mathcal W_p^2Wp2​ on Pp(Rd)\mathcal P_p(\mathbb R^d)Pp​(Rd) is not negative definite, d≥2d\ge2d≥2, p=1,2p=1,2p=1,2.
  3. Reduction to the plane (proof of Prop. 8.2): if Wp2\mathcal W_p^2Wp2​ on Pp(Rd)\mathcal P_p(\mathbb R^d)Pp​(Rd), d≥2d\ge2d≥2, were negative definite, so would be Wp2\mathcal W_p^2Wp2​ on Pp(R2)\mathcal P_p(\mathbb R^2)Pp​(R2).
  4. Discrete measures (Remark 2.13, p. 375): Wp(∑iaiδxi,∑jbjδxj)p=LC(a,b)\mathcal W_p\big(\sum_ia_i\delta_{x_i},\sum_jb_j\delta_{x_j}\big)^p=L_C(a,b)Wp​(∑i​ai​δxi​​,∑j​bj​δxj​​)p=LC​(a,b) with Ci,j=∥xi−xj∥2pC_{i,j}=\|x_i-x_j\|_2^pCi,j​=∥xi​−xj​∥2p​.
  5. Centering criterion (proof of Prop. 8.2): a matrix MMM admits a zero-sum rrr with r⊤Mr>0r^\top Mr>0r⊤Mr>0 if and only if JMJJMJJMJ has a positive eigenvalue.
  6. The grid counterexample (proof of Prop. 8.2, Figure 8.6): for p=1,2p=1,2p=1,2 there are grid histograms a1,…,ana^1,\dots,a^na1,…,an and a zero-sum rrr with
∑i,jrirj Wp2(∑kakiδxk,∑kakjδxk)>0.\sum_{i,j}r_ir_j\,\mathcal W_p^2\Big(\sum_k a^i_k\delta_{x^k},\sum_k a^j_k\delta_{x^k}\Big)>0.i,j∑​ri​rj​Wp2​(k∑​aki​δxk​,k∑​akj​δxk​)>0.

Significance

A Hilbertian distance gives positive definite Gaussian and Laplace kernels, Euclidean multidimensional scaling and Johnson–Lindenstrauss dimension reduction for free. Proposition 8.2 says none of these can be obtained for W1\mathcal W_1W1​ or W2\mathcal W_2W2​ on Rd\mathbb R^dRd, d≥2d\ge2d≥2, by an isometric embedding; this is why the literature turned to approximate embeddings, sliced distances and entropic surrogates (pp. 507–508). The negative-definiteness test of milestone 1 is a reusable certificate for non-embeddability of any finite metric.

The result is known, and the book's proof is a floating-point eigenvalue computation. The formal content of this mission is a machine-checked proof with an exact certificate: rational or algebraic Wasserstein distances between explicit discrete measures and an explicit zero-sum vector. As far as this mission is aware, no formal proof of the statement exists in Mathlib or on the platform. Schoenberg's converse is cited by the book and is not part of the mission.

Difficulty

The abstract part is short: expanding ∥ϕ(zi)−ϕ(zj)∥2\|\phi(z_i)-\phi(z_j)\|^2∥ϕ(zi​)−ϕ(zj​)∥2 and using ∑iri=0\sum_ir_i=0∑i​ri​=0 gives milestone 1. The obstacle is the certificate. The book observes that JDp2JJ\mathbf D_p^2JJDp2​J has a positive top eigenvalue (about 1.21.21.2 for p=1p=1p=1 and 0.70.70.7 for p=2p=2p=2), but a proof needs exact transport costs between the chosen measures, each the value of a small linear program whose optimality has to be established (for instance by a dual certificate), together with a vector rrr for which the quadratic form is provably positive. For p=1p=1p=1 the costs involve 2\sqrt22​, the diagonal of the square. A second, separate difficulty is connecting the measure-theoretic Wp\mathcal W_pWp​ to the discrete program (milestone 4) and transporting a counterexample from R2\mathbb R^2R2 into Rd\mathbb R^dRd (milestone 3), both of which require working with couplings as measures on a product space.

Formalization scope

  • Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d); Wp\mathcal W_pWp​ is the published definition WassersteinDRO.Duality.wassersteinDistance (an [0,∞][0,\infty][0,∞]-valued infimum over all measures with the two marginals, raised to 1/p1/p1/p), converted to a real number. The distance is considered on Pp(Rd)\mathcal P_p(\mathbb R^d)Pp​(Rd), the set where it is finite; outside it the real conversion is a junk 000. The book names no domain; since the counterexample consists of finitely supported measures, the finite computation gives non-Hilbertianity on Pp\mathcal P_pPp​ and on every smaller set containing those measures.
  • Negative definiteness is conditional. Definition 8.3 as printed quantifies over all rrr; under that reading no nonzero squared distance is negative definite, so Proposition 8.1 would be false and "not negative definite" trivially true. The zero-sum condition, used by the book in the proof of Proposition 8.1, is part of the definition; this rules out the trivial formalization.
  • Hilbert spaces are real, complete inner-product spaces in the universe of Z\mathcal ZZ. Indices are 0-based (Fin n). Histograms are real vectors; the reduction milestone is stated for every p≥1p\ge1p≥1.
  • Discrete transport objects (U(a,b)U(a,b)U(a,b), LCL_CLC​) are redefined in this mission's namespace CompOT.NotHilbertian, duplicating chunk II of the series.

Contributions welcome: the forward direction of Schoenberg's characterization, the discrete-measure bridge (reusable wherever discrete optimal transport meets measure-theoretic couplings), the isometric-embedding invariance of Wp\mathcal W_pWp​, and exact certificates for the grid computation.

Selected references

  • G. Peyré and M. Cuturi, Computational Optimal Transport, Foundations and Trends in Machine Learning 11(5–6):355–607, 2019. https://doi.org/10.1561/2200000073
  • I. J. Schoenberg, Metric spaces and positive definite functions, Transactions of the AMS 44(3):522–536, 1938. https://doi.org/10.1090/S0002-9947-1938-1501980-0
  • C. Berg, J. P. R. Christensen and P. Ressel, Harmonic Analysis on Semigroups, Graduate Texts in Mathematics 100, Springer, 1984. https://doi.org/10.1007/978-1-4612-1128-0
  • A. Naor and G. Schechtman, Planar earthmover is not in L1L_1L1​, SIAM Journal on Computing 37(3):804–826, 2007. https://doi.org/10.1137/05064206X
  • A. Andoni, A. Naor and O. Neiman, Snowflake universality of Wasserstein spaces, Annales scientifiques de l'École normale supérieure 51(3):657–700, 2018. https://arxiv.org/abs/1509.08677
10 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization 5: Dual Bounds from Active-Set Primal Solutions Lose Only O(kε), Independent of pResearch Paper

Motivation

Best-subset selection with ridge shrinkage, min⁡β12∥y−Xβ∥22+λ0∥β∥0+λ2∥β∥22\min_\beta \tfrac12\|y-X\beta\|_2^2+\lambda_0\|\beta\|_0+\lambda_2\|\beta\|_2^2minβ​21​∥y−Xβ∥22​+λ0​∥β∥0​+λ2​∥β∥22​, is a mixed-integer program that statisticians want to solve to certified optimality at the scale of modern data (ppp up to 10710^7107 features). Hazimeh, Mazumder and Saab (arXiv:2004.06152, Mathematical Programming 2022) built a branch-and-bound solver, L0BnB, whose node relaxations are solved in the primal space by active-set coordinate descent instead of by an interior-point method. Branch-and-bound prunes a node only with a valid dual bound, a certified lower bound on the node's relaxation value. A primal method returns an approximate minimizer, not such a bound, so the solver must turn an inexact primal point into a dual feasible point and needs to know how much is lost in doing so. This mission formalizes the paper's answer, its main theorem (Theorem 3).

Setting

Data are X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p with columns X1,…,XpX_1,\dots,X_pX1​,…,Xp​, y∈Rny\in\mathbb R^ny∈Rn, and parameters λ0,λ2,M>0\lambda_0,\lambda_2,M>0λ0​,λ2​,M>0. The reverse Huber penalty is B(t)=∣t∣\mathcal B(t)=|t|B(t)=∣t∣ for ∣t∣≤1|t|\le1∣t∣≤1 and (t2+1)/2(t^2+1)/2(t2+1)/2 for ∣t∣≥1|t|\ge1∣t∣≥1. The penalty ψ(b)\psi(b)ψ(b) equals ψ1(b)=2λ0B(bλ2/λ0)\psi_1(b)=2\lambda_0\mathcal B(b\sqrt{\lambda_2/\lambda_0})ψ1​(b)=2λ0​B(bλ2​/λ0​​) if λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M and ψ2(b)=(λ0/M+λ2M)∣b∣\psi_2(b)=(\lambda_0/M+\lambda_2M)|b|ψ2​(b)=(λ0​/M+λ2​M)∣b∣ otherwise. The reduced relaxation (5) is

min⁡β∈Rp F(β)=12∥y−Xβ∥22+∑iψ(βi)s.t.∥β∥∞≤M.\min_{\beta\in\mathbb R^p}\ F(\beta)=\tfrac12\|y-X\beta\|_2^2+\sum_{i}\psi(\beta_i)\quad\text{s.t.}\quad \|\beta\|_\infty\le M .β∈Rpmin​ F(β)=21​∥y−Xβ∥22​+i∑​ψ(βi​)s.t.∥β∥∞​≤M.

Throughout, the columns of XXX and yyy have unit ℓ2\ell_2ℓ2​ norm (the standing assumption of Section 3 of the paper).

Algorithm 2 (active-set coordinate descent) returns a point β^\hat\betaβ^​ in the box such that the set

V={i∉Supp⁡(β^): 0≠arg min⁡∣t∣≤MF(β^1,…,t,…,β^p)}V=\{i\notin\operatorname{Supp}(\hat\beta):\ 0\ne\operatorname*{arg\,min}_{|t|\le M}F(\hat\beta_1,\dots,t,\dots,\hat\beta_p)\}V={i∈/Supp(β^​): 0=∣t∣≤Margmin​F(β^​1​,…,t,…,β^​p​)}

is empty: no coordinate outside the support wants to move. Write r^=y−Xβ^\hat r=y-X\hat\betar^=y−Xβ^​, k=∥β^∥0k=\|\hat\beta\|_0k=∥β^​∥0​, and let β∗\beta^*β∗ be an optimal solution of (5) with r∗=y−Xβ∗r^*=y-X\beta^*r∗=y−Xβ∗. The primal gap is ϵ=∥X(β∗−β^)∥2\epsilon=\|X(\beta^*-\hat\beta)\|_2ϵ=∥X(β∗−β^​)∥2​.

The two duals of (5) (Theorem 2 of the paper) are, with v(α,γi)=[(α⊤Xi−γi)2/(4λ2)−λ0]++M∣γi∣v(\alpha,\gamma_i)=[(\alpha^\top X_i-\gamma_i)^2/(4\lambda_2)-\lambda_0]_++M|\gamma_i|v(α,γi​)=[(α⊤Xi​−γi​)2/(4λ2​)−λ0​]+​+M∣γi​∣,

h1(α,γ)=−12∥α∥22−α⊤y−∑iv(α,γi),h2(ρ,μ)=−12∥ρ∥22−ρ⊤y−M∥μ∥1,h_1(\alpha,\gamma)=-\tfrac12\|\alpha\|_2^2-\alpha^\top y-\textstyle\sum_i v(\alpha,\gamma_i),\qquad h_2(\rho,\mu)=-\tfrac12\|\rho\|_2^2-\rho^\top y-M\|\mu\|_1,h1​(α,γ)=−21​∥α∥22​−α⊤y−∑i​v(α,γi​),h2​(ρ,μ)=−21​∥ρ∥22​−ρ⊤y−M∥μ∥1​,

the latter under ∣ρ⊤Xi∣−μi≤λ0/M+λ2M|\rho^\top X_i|-\mu_i\le\lambda_0/M+\lambda_2M∣ρ⊤Xi​∣−μi​≤λ0​/M+λ2​M. The dual variables built from β∗\beta^*β∗ are α∗=ρ∗=−r∗\alpha^*=\rho^*=-r^*α∗=ρ∗=−r∗, γi∗=1[∣βi∗∣=M](α∗⊤Xi−2Mλ2sign⁡(α∗⊤Xi))\gamma^*_i=\mathbb 1_{[|\beta^*_i|=M]}(\alpha^{*\top}X_i-2M\lambda_2\operatorname{sign}(\alpha^{*\top}X_i))γi∗​=1[∣βi∗​∣=M]​(α∗⊤Xi​−2Mλ2​sign(α∗⊤Xi​)) and μi∗=1[∣βi∗∣=M](∣ρ∗⊤Xi∣−λ0/M−λ2M)\mu^*_i=\mathbb 1_{[|\beta^*_i|=M]}(|\rho^{*\top}X_i|-\lambda_0/M-\lambda_2M)μi∗​=1[∣βi∗​∣=M]​(∣ρ∗⊤Xi​∣−λ0​/M−λ2​M). The dual points built from β^\hat\betaβ^​ are α^=ρ^=−r^\hat\alpha=\hat\rho=-\hat rα^=ρ^​=−r^, with γ^\hat\gammaγ^​ a maximizer of h1(α^,⋅)h_1(\hat\alpha,\cdot)h1​(α^,⋅) (25) and μ^\hat\muμ^​ a maximizer of h2(ρ^,⋅)h_2(\hat\rho,\cdot)h2​(ρ^​,⋅) under the constraints (27).

Formalization targets

Goal: Theorem 3 with the proof's constants

If λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M, with ci=(2λ2)−1c_i=(2\lambda_2)^{-1}ci​=(2λ2​)−1 when ∣βi∗∣<M|\beta^*_i|<M∣βi∗​∣<M and ci=Mc_i=Mci​=M when ∣βi∗∣=M|\beta^*_i|=M∣βi∗​∣=M,

h1(α^,γ^) ≥ h1(α∗,γ∗)−2ϵ−12ϵ2−∑i∈Supp⁡(β^)(ciϵ+(4λ2)−1ϵ2).(55)h_1(\hat\alpha,\hat\gamma)\ \ge\ h_1(\alpha^*,\gamma^*)-2\epsilon-\tfrac12\epsilon^2-\sum_{i\in\operatorname{Supp}(\hat\beta)}\big(c_i\epsilon+(4\lambda_2)^{-1}\epsilon^2\big).\qquad(55)h1​(α^,γ^​) ≥ h1​(α∗,γ∗)−2ϵ−21​ϵ2−i∈Supp(β^​)∑​(ci​ϵ+(4λ2​)−1ϵ2).(55)

If λ0/λ2>M\sqrt{\lambda_0/\lambda_2}>Mλ0​/λ2​​>M,

h2(ρ^,μ^) ≥ h2(ρ∗,μ∗)−ϵ(2+Mk)−12ϵ2.(59)h_2(\hat\rho,\hat\mu)\ \ge\ h_2(\rho^*,\mu^*)-\epsilon(2+Mk)-\tfrac12\epsilon^2.\qquad(59)h2​(ρ^​,μ^​) ≥ h2​(ρ∗,μ∗)−ϵ(2+Mk)−21​ϵ2.(59)

The paper states these as −kO(ϵ)−kO(ϵ2)-kO(\epsilon)-kO(\epsilon^2)−kO(ϵ)−kO(ϵ2) (29) and −kO(ϵ)−O(ϵ2)-kO(\epsilon)-O(\epsilon^2)−kO(ϵ)−O(ϵ2) (30); the goal states the expressions its proof establishes.

Milestones

In the order the proof uses them: the closed-form coordinate updates (14) and (15); Proposition 3, V={i∉Supp⁡(β^):∣⟨r^,Xi⟩∣>c(λ0,λ2,M)}V=\{i\notin\operatorname{Supp}(\hat\beta): |\langle\hat r,X_i\rangle|>c(\lambda_0,\lambda_2,M)\}V={i∈/Supp(β^​):∣⟨r^,Xi​⟩∣>c(λ0​,λ2​,M)}; the bound ∥α∗∥2≤1\|\alpha^*\|_2\le1∥α∗∥2​≤1; Lemma 2, which bounds v(α^,γ^i)v(\hat\alpha,\hat\gamma_i)v(α^,γ^​i​) coordinate by coordinate and makes it vanish off the support; inequality (53); the closed form (28) of μ^\hat\muμ^​; the optimality conditions (58); the bound (57) ∣μ^i∣≤ϵ+∣μi∗∣|\hat\mu_i|\le\epsilon+|\mu^*_i|∣μ^​i​∣≤ϵ+∣μi∗​∣ on the support; and inequality (56).

Significance

The result. In both regimes the loss of the dual bound is controlled by the primal gap times the sparsity kkk of the iterate, with constants depending only on MMM and λ2\lambda_2λ2​; the number of features ppp does not enter. Since L0BnB seeks solutions with k≪pk\ll pk≪p, the cheap dual bound obtained from an inexact primal solution is nearly as good as the exact one, which is what allows pruning without an interior-point solve at every node. The paper notes that with plain coordinate descent in place of Algorithm 2 the same argument gives ppp in place of kkk.

Formalizing it. The result is proved in the paper; it has no machine-checked proof. The mission produces a checked version of the main theorem with explicit constants, a formal model of what "output of an active-set method" means for the analysis, and reusable closed forms for the boxed soft-thresholding updates of an ℓ1\ell_1ℓ1​- or reverse-Huber-penalized box-constrained least squares problem.

Difficulty

The bound is not a consequence of weak duality alone: weak duality says only that each dual value is below the primal optimum, and says nothing about how far the constructed dual point is from the dual optimum. The obvious estimate, a Lipschitz bound on h1h_1h1​ or h2h_2h2​ summed over all coordinates, gives a loss proportional to ppp. Getting kkk instead requires showing that the dual contribution of every coordinate outside Supp⁡(β^)\operatorname{Supp}(\hat\beta)Supp(β^​) vanishes exactly, which uses the emptiness of VVV through Proposition 3 and the closed forms (14)–(15) of one-dimensional nonsmooth box-constrained problems. On the support, the loss must be bounded using the structure of γ∗\gamma^*γ∗ and μ∗\mu^*μ∗ at coordinates where β∗\beta^*β∗ hits the box, which is where ci=Mc_i=Mci​=M and (58) enter.

Formalization scope

Indices are Fin p; norms are explicit sums; sign⁡\operatorname{sign}sign is Real.sign with sign⁡(0)=0\operatorname{sign}(0)=0sign(0)=0; [a]+[a]_+[a]+​ is max a 0. The unit norms of the columns of XXX and of yyy are hypotheses, never built into the definitions, and each theorem assumes only the ones it uses. β∗\beta^*β∗ is any point of the box minimizing FFF over the box. The output of Algorithm 2 is modelled by its two properties used in the paper: ∥β^∥∞≤M\|\hat\beta\|_\infty\le M∥β^​∥∞​≤M and V=∅V=\emptysetV=∅ ("0≠arg⁡min⁡0\ne\arg\min0=argmin" encoded as "000 is not a minimizer"); the iterations are not formalized. γ^\hat\gammaγ^​ and μ^\hat\muμ^​ are arbitrary maximizers satisfying (25) and (27). The dual variables (23)–(24) are defined by their formulas; their optimality (Theorem 2, a separate mission) is neither assumed nor needed, and the goal is an inequality between explicit numbers.

Instantiations of O(⋅)O(\cdot)O(⋅). (29) is stated as (55): kO(ϵ)+kO(ϵ2)kO(\epsilon)+kO(\epsilon^2)kO(ϵ)+kO(ϵ2) becomes 2ϵ+12ϵ2+∑i∈Supp⁡(β^)(ciϵ+(4λ2)−1ϵ2)2\epsilon+\tfrac12\epsilon^2+\sum_{i\in\operatorname{Supp}(\hat\beta)}(c_i\epsilon+(4\lambda_2)^{-1}\epsilon^2)2ϵ+21​ϵ2+∑i∈Supp(β^​)​(ci​ϵ+(4λ2​)−1ϵ2) with ci∈{(2λ2)−1,M}c_i\in\{(2\lambda_2)^{-1},M\}ci​∈{(2λ2​)−1,M} decided by β∗\beta^*β∗. (30) is stated as (59): kO(ϵ)+O(ϵ2)kO(\epsilon)+O(\epsilon^2)kO(ϵ)+O(ϵ2) becomes ϵ(2+Mk)+12ϵ2\epsilon(2+Mk)+\tfrac12\epsilon^2ϵ(2+Mk)+21​ϵ2. The proof's final rearrangement of (29), which counts ∣β^i∣|\hat\beta_i|∣β^​i​∣ instead of ∣βi∗∣|\beta^*_i|∣βi∗​∣, is not used.

A formalization that takes β^=β∗\hat\beta=\beta^*β^​=β∗, γ^=γ∗\hat\gamma=\gamma^*γ^​=γ∗ or μ^=μ∗\hat\mu=\mu^*μ^​=μ∗, that drops the hypothesis V=∅V=\emptysetV=∅, or that replaces the constants by an existential "∃C\exists C∃C" would be trivial or a different statement; the goal quantifies over every optimal β∗\beta^*β∗, every box-feasible β^\hat\betaβ^​ with V=∅V=\emptysetV=∅ and every maximizer γ^\hat\gammaγ^​, μ^\hat\muμ^​, with the explicit constants above.

Needed infrastructure: one-dimensional convex minimization on an interval with piecewise penalties, Cauchy–Schwarz for finite sums, and first-order optimality conditions for box-constrained composite problems. Proofs of any milestone are welcome independently.

Selected references

  • H. Hazimeh, R. Mazumder, A. Saab, Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization, arXiv:2004.06152v2, 2021; Mathematical Programming 196 (2022). https://arxiv.org/abs/2004.06152
  • P. Tseng, Convergence of a block coordinate descent method for nondifferentiable minimization, J. Optim. Theory Appl. 109 (2001). https://doi.org/10.1023/A:1017501703105
  • J. Friedman, T. Hastie, R. Tibshirani, Regularization paths for generalized linear models via coordinate descent, J. Stat. Softw. 33 (2010). https://doi.org/10.18637/jss.v033.i01
18 thms1 active userReviewed
Information TheoryMachine LearningProbability·Captain: mikedeng1

Information-Theoretic Analysis of Generalization Capability of Learning Algorithms II: n ≥ (8σ²/α²)(ε/β + log(2/β)) Samples Give |L_μ(W) − L_S(W)| ≤ α with Probability at Least 1 − β (Theorem 3)Research Paper

Motivation

A learning algorithm picks a hypothesis WWW from a dataset SSS; its generalization error Lμ(W)−LS(W)L_\mu(W) - L_S(W)Lμ​(W)−LS​(W) measures how far the empirical risk the algorithm sees is from the population risk it is judged by. Classical bounds control this error through the complexity of the hypothesis space (VC dimension, Rademacher complexity) or through the algorithm's stability. An information-theoretic approach instead controls it through how much the output reveals about the data. Russo and Zou (arXiv:1511.05219) introduced this view for adaptive data analysis, and Xu and Raginsky (arXiv:1705.07809) turned it into a general framework for learning algorithms; the framework underlies a large later literature on mutual-information and conditional-mutual-information generalization bounds.

Expected-value bounds of the form ∣E[Lμ(W)−LS(W)]∣≤2σ2I/n|\mathbb E[L_\mu(W) - L_S(W)]| \le \sqrt{2\sigma^2 I/n}∣E[Lμ​(W)−LS​(W)]∣≤2σ2I/n​ say nothing about a single run of the algorithm. A learner usually needs the error to be small with high probability. This mission formalizes Xu and Raginsky's high-probability result, Theorem 3, which gives a sample size sufficient for ∣Lμ(W)−LS(W)∣≤α|L_\mu(W) - L_S(W)| \le \alpha∣Lμ​(W)−LS​(W)∣≤α with probability at least 1−β1-\beta1−β under an information budget.

Timeline. 2016: Russo and Zou bound the expected bias of adaptively selected statistics by mutual information, for finite hypothesis classes. 2016: Bassily, Nissim, Smith, Steinke, Stemmer and Ullman (arXiv:1511.02513) introduce the "monitor technique" to convert expected bounds into high-probability bounds for differentially private and stable algorithms. 2017: Xu and Raginsky adapt the monitor technique to mutual information, obtaining Theorem 3 and its byproduct Theorem 4.

Setting

There is an instance space Z\mathsf ZZ with an unknown probability measure μ\muμ, a hypothesis space W\mathsf WW, and a nonnegative loss ℓ:W×Z→R+\ell:\mathsf W\times\mathsf Z\to\mathbb R_+ℓ:W×Z→R+​. A learning algorithm is a Markov kernel PW∣SP_{W|S}PW∣S​: it receives a dataset S=(Z1,…,Zn)S = (Z_1,\dots,Z_n)S=(Z1​,…,Zn​) of nnn i.i.d. draws from μ\muμ and outputs a random W∈WW\in\mathsf WW∈W. The joint law of data and output is PS,W=μ⊗n⊗PW∣SP_{S,W} = \mu^{\otimes n}\otimes P_{W|S}PS,W​=μ⊗n⊗PW∣S​.

The population risk and empirical risk of www are

Lμ(w)=∫Zℓ(w,z) μ(dz),LS(w)=1n∑i=1nℓ(w,Zi).L_\mu(w) = \int_{\mathsf Z}\ell(w,z)\,\mu(dz),\qquad L_S(w) = \frac1n\sum_{i=1}^n \ell(w,Z_i).Lμ​(w)=∫Z​ℓ(w,z)μ(dz),LS​(w)=n1​i=1∑n​ℓ(w,Zi​).

The empirical-risk vector is ΛW(S)=(LS(w))w∈W\Lambda_{\mathsf W}(S) = (L_S(w))_{w\in\mathsf W}ΛW​(S)=(LS​(w))w∈W​. For random variables X,YX, YX,Y with joint law PX,YP_{X,Y}PX,Y​, the mutual information is I(X;Y)=D(PX,Y ∥ PX⊗PY)∈[0,∞]I(X;Y) = D(P_{X,Y}\,\|\,P_X\otimes P_Y)\in[0,\infty]I(X;Y)=D(PX,Y​∥PX​⊗PY​)∈[0,∞], the Kullback–Leibler divergence from the joint law to the product of the marginals. The algorithm's information budget is I(ΛW(S);W)≤εI(\Lambda_{\mathsf W}(S);W)\le\varepsilonI(ΛW​(S);W)≤ε.

A real random variable UUU is σ\sigmaσ-subgaussian if log⁡E[eλ(U−EU)]≤λ2σ2/2\log\mathbb E[e^{\lambda(U - \mathbb EU)}]\le\lambda^2\sigma^2/2logE[eλ(U−EU)]≤λ2σ2/2 for all λ∈R\lambda\in\mathbb Rλ∈R. The standing assumption is that ℓ(w,Z)\ell(w,Z)ℓ(w,Z), Z∼μZ\sim\muZ∼μ, is σ\sigmaσ-subgaussian for every www; a loss with values in [a,b][a,b][a,b] qualifies with σ=(b−a)/2\sigma = (b-a)/2σ=(b−a)/2.

Formalization targets

Goal: Theorem 3

If I(ΛW(S);W)≤εI(\Lambda_{\mathsf W}(S);W)\le\varepsilonI(ΛW​(S);W)≤ε, then for any α>0\alpha>0α>0 and 0<β≤10<\beta\le10<β≤1, every sample size

n ≥ 8σ2α2(εβ+log⁡2β)guaranteesP[∣Lμ(W)−LS(W)∣>α]≤β,n\ \ge\ \frac{8\sigma^2}{\alpha^2}\Big(\frac{\varepsilon}{\beta}+\log\frac2\beta\Big)\quad\text{guarantees}\quad \mathbb P\big[|L_\mu(W)-L_S(W)|>\alpha\big]\le\beta,n ≥ α28σ2​(βε​+logβ2​)guaranteesP[∣Lμ​(W)−LS​(W)∣>α]≤β,

the probability being under PS,WP_{S,W}PS,W​.

Milestones

  1. Lemma B.1 — mmm independent parallel runs: I(ΛW(S1),…,ΛW(Sm);Wm)≤mεI(\Lambda_{\mathsf W}(S_1),\dots,\Lambda_{\mathsf W}(S_m);W^m)\le m\varepsilonI(ΛW​(S1​),…,ΛW​(Sm​);Wm)≤mε.
  2. Lemma B.2 — for any algorithm outputting (W,T,R)∈W×[m]×{±1}(W,T,R)\in\mathsf W\times[m]\times\{\pm1\}(W,T,R)∈W×[m]×{±1} from mmm datasets with information at most ε\varepsilonε: E[R(LST(W)−Lμ(W))]≤2σ2ε/n\mathbb E[R(L_{S_T}(W)-L_\mu(W))]\le\sqrt{2\sigma^2\varepsilon/n}E[R(LST​​(W)−Lμ​(W))]≤2σ2ε/n​.
  3. The monitor's information (p. 12): the arg max selector (W∗,T∗,R∗)(W^*,T^*,R^*)(W∗,T∗,R∗) of one of the mmm runs satisfies I(ΛW(S1),…,ΛW(Sm);W∗,T∗,R∗)≤mε+log⁡(2m)I(\Lambda_{\mathsf W}(S_1),\dots,\Lambda_{\mathsf W}(S_m);W^*,T^*,R^*)\le m\varepsilon+\log(2m)I(ΛW​(S1​),…,ΛW​(Sm​);W∗,T∗,R∗)≤mε+log(2m).
  4. (B.7) — E[max⁡t∈[m]∣LSt(Wt)−Lμ(Wt)∣]≤2σ2n(mε+log⁡(2m))\mathbb E\big[\max_{t\in[m]}|L_{S_t}(W_t)-L_\mu(W_t)|\big]\le\sqrt{\tfrac{2\sigma^2}{n}(m\varepsilon+\log(2m))}E[maxt∈[m]​∣LSt​​(Wt​)−Lμ​(Wt​)∣]≤n2σ2​(mε+log(2m))​.
  5. Theorem 4 — the case m=1m=1m=1: E∣Lμ(W)−LS(W)∣≤2σ2n(ε+log⁡2)\mathbb E|L_\mu(W)-L_S(W)|\le\sqrt{\tfrac{2\sigma^2}{n}(\varepsilon+\log 2)}E∣Lμ​(W)−LS​(W)∣≤n2σ2​(ε+log2)​.

Significance

The result. Theorem 3 shows that a sample complexity polynomial in 1/α1/\alpha1/α and logarithmic in 1/β1/\beta1/β, the same order as for a data-independent hypothesis (where Chernoff–Hoeffding gives 2σ2α2log⁡2β\frac{2\sigma^2}{\alpha^2}\log\frac2\betaα22σ2​logβ2​), still suffices for a data-dependent one, provided the information budget ε\varepsilonε is small relative to β\betaβ. It requires only subgaussian losses, whereas the earlier high-probability bounds of differential privacy apply to bounded losses or bounded-difference functions. Since I(ΛW(S);W)≤I(S;W)I(\Lambda_{\mathsf W}(S);W)\le I(S;W)I(ΛW​(S);W)≤I(S;W), any algorithm with small input-output mutual information (the Gibbs algorithm, noisy empirical risk minimization, adaptive compositions of such) inherits the guarantee. Theorem 4 improves Russo and Zou's bound on the expected absolute error.

Formalizing it. The result is proved in the paper; to the best of current knowledge no machine-checked version exists. The mission produces a Lean statement of the theorem with the correct domain of validity (see the scope section), and its proof will require a reusable layer of measure-theoretic information theory: mutual information of joint laws, its additivity over independent pairs, the data-processing inequality, a bound by the logarithm of the number of values of a discrete variable, and the Donsker–Varadhan route from mutual information to expectations of subgaussian functions.

Difficulty

The obvious argument fails at the step from an expectation to a probability. Markov's inequality applied to Theorem 4 gives a sample size of order σ2(ε+log⁡2)/(α2β2)\sigma^2(\varepsilon+\log 2)/(\alpha^2\beta^2)σ2(ε+log2)/(α2β2), quadratic in 1/β1/\beta1/β. A union-bound or Chernoff argument per hypothesis does not apply, because WWW depends on SSS and the deviation at the selected hypothesis is not a sum of independent terms. The paper's route runs m≈1/βm\approx 1/\betam≈1/β independent copies and selects the worst one; the delicate part is bounding the information the selection itself adds, which needs the chain rule and data processing for mutual information on general (non-discrete) spaces, and an expectation bound that holds uniformly over every selection rule.

Formalization scope

Lean conventions:

  • Z\mathsf ZZ, W\mathsf WW are measurable spaces; datasets are Fin n → Z with law Measure.pi, taken from the published LearnStability.Characterization.Setting (sampleLaw, risk, empRisk); the algorithm is a Markov kernel; the joint law is sampleLaw μ n ⊗ₘ κ.
  • W\mathsf WW is countable with measurable singletons in the deviation bounds (Lemma B.2, (B.7), Theorems 3 and 4). The paper claims its results hold "even when W\mathsf WW is uncountably infinite" (p. 4). Under the product σ-algebra on RW\mathbb R^{\mathsf W}RW this fails: with Z=[0,1]\mathsf Z=[0,1]Z=[0,1], μ\muμ uniform, W=[0,1]n\mathsf W=[0,1]^nW=[0,1]n, ℓ(w,z)=1{z∈{w1,…,wn}}\ell(w,z)=\mathbf 1\{z\in\{w_1,\dots,w_n\}\}ℓ(w,z)=1{z∈{w1​,…,wn​}} and the algorithm W=SW=SW=S, one has I(ΛW(S);W)=0I(\Lambda_{\mathsf W}(S);W)=0I(ΛW​(S);W)=0 but ∣Lμ(W)−LS(W)∣=1|L_\mu(W)-L_S(W)|=1∣Lμ​(W)−LS​(W)∣=1 always. Lemma B.1 and the monitor's information bound hold for arbitrary measurable W\mathsf WW.
  • The loss is jointly measurable; n≥1n\ge1n≥1; ε≥0\varepsilon\ge0ε≥0; σ\sigmaσ-subgaussianity is Mathlib's HasSubgaussianMGF of the centred loss with variance proxy σ2\sigma^2σ2.
  • Mutual information is valued in [0,∞][0,\infty][0,∞]; the budget is I ≤ ENNReal.ofReal ε. Expectations of nonnegative quantities (∣⋅∣|\cdot|∣⋅∣, max⁡t\max_tmaxt​) are lower Lebesgue integrals; Lemma B.2's signed expectation is a Bochner integral whose integrand is integrable under the hypotheses.
  • [m][m][m] is Fin m; the sign r∈{±1}r\in\{\pm1\}r∈{±1} is a Bool read through sgn.
  • "A sample complexity of n=…n = \dotsn=…" is read as n≥…n\ge\dotsn≥…, as the proof requires.
  • The monitor of milestone 3 is a Markov kernel selecting (T∗,R∗)(T^*,R^*)(T∗,R∗) from all runs and choosing an arg max as in (B.3) almost surely; ties may be resolved randomly.

Two printed slips are corrected in the Lean and disclosed in the item notes: the proof of Lemma B.2 claims rLst(w)rL_{s_t}(w)rLst​​(w) is σ/n\sigma/\sqrt nσ/n​-subgaussian under the product of marginals (false; the centred version is), and (B.6) bounds the negative of the quantity in (B.4) ((B.7) is still correct).

The hypothesis is I(ΛW(S);W)≤εI(\Lambda_{\mathsf W}(S);W)\le\varepsilonI(ΛW​(S);W)≤ε, not the stronger I(S;W)≤εI(S;W)\le\varepsilonI(S;W)≤ε, and the goal mentions neither the parallel copies nor the monitor; a formalization that strengthened the hypothesis, dropped the measurability of the loss (so that the law of (ΛW(S),W)(\Lambda_{\mathsf W}(S),W)(ΛW​(S),W) collapses to the zero measure and every mutual information is 000), or allowed ε<0\varepsilon<0ε<0 would be a weaker, vacuous or false statement.

Welcome contributions: chain rule and data processing for klDiv-based mutual information, additivity over independent products, the log⁡k\log klogk bound for finitely-valued outputs, and the Donsker–Varadhan decoupling lemma; these are reusable across the series and beyond.

Selected references

  • A. Xu and M. Raginsky, Information-theoretic analysis of generalization capability of learning algorithms, NIPS 2017. arXiv:1705.07809v2
  • D. Russo and J. Zou, Controlling bias in adaptive data analysis using information theory, AISTATS 2016. arXiv:1511.05219
  • R. Bassily, K. Nissim, A. Smith, T. Steinke, U. Stemmer and J. Ullman, Algorithmic stability for adaptive data analysis, STOC 2016. arXiv:1511.02513
  • S. Shalev-Shwartz, O. Shamir, N. Srebro and K. Sridharan, Learnability, stability and uniform convergence, JMLR 11, 2010. jmlr.org
9 thms1 active userReviewed
Optimal TransportProbability·Captain: mikedeng1

On the Rate of Convergence in Wasserstein Distance of the Empirical Measure II: Concentration Inequalities for T_p(μ_N, μ) under Exponential or Polynomial Moments (Theorem 2)Research Paper

Motivation

Approximating an unknown probability measure μ\muμ by the empirical measure μN=1N∑k=1NδXk\mu_N=\frac1N\sum_{k=1}^N\delta_{X_k}μN​=N1​∑k=1N​δXk​​ of an i.i.d. sample is the basic operation of statistics, Monte Carlo integration, quantization and particle approximations of nonlinear PDEs. The natural way to compare μN\mu_NμN​ with μ\muμ on Rd\mathbb R^dRd is an optimal-transport cost, because it metrizes weak convergence together with convergence of moments. For many applications the mean of this cost is not enough: one needs to know how unlikely a large deviation is, for a fixed sample size NNN.

The main consumer in operations research is data-driven distributionally robust optimization. Mohajerin Esfahani and Kuhn (Math. Program. 171, 2018) build Wasserstein balls around μN\mu_NμN​ whose radius is calibrated so that the true distribution lies inside with probability 1−β1-\beta1−β; their finite-sample guarantee (their inequality (7), quoted from this paper for p=1p=1p=1) is exactly a concentration inequality of the kind proved here. On Prove2Me that inequality appears as the hypothesis Concentration7 of WassDDRO.Consistency.Setting; Theorem 2 of this mission is the statement that discharges it.

Timeline. Bolley, Guillin and Villani (PTRF 137, 2007) proved concentration inequalities for Tp(μN,μ)\mathcal T_p(\mu_N,\mu)Tp​(μN​,μ) on non-compact spaces, under assumptions that often included functional inequalities for μ\muμ, and for rather large deviations. Boissard (Electron. J. Probab. 16, 2011) gave bounds in T1\mathcal T_1T1​ for empirical and occupation measures. Boissard and Le Gouic (arXiv:1105.5263) and Dereich, Scheutzow and Schottstedt (Ann. IHP 49, 2013) studied the mean speed of convergence; the latter introduced the multiscale bound used here and obtained sharp moment estimates for a limited range of parameters. Fournier and Guillin (arXiv:1312.2128, 2013; PTRF 162, 2015) gave moment bounds for all p>0p>0p>0 and d≥1d\ge1d≥1 under a qqq-th moment (their Theorem 1, mission I of this series) and the concentration inequalities of their Theorem 2, the subject of this mission, under integrability conditions only.

Setting

Fix d≥1d\ge1d≥1 and give Rd\mathbb R^dRd the Euclidean norm ∣x∣|x|∣x∣. Let μ\muμ be a Borel probability measure on Rd\mathbb R^dRd and X1,…,XNX_1,\dots,X_NX1​,…,XN​ i.i.d. with law μ\muμ. For p>0p>0p>0 the transport cost between probability measures μ,ν\mu,\nuμ,ν is

Tp(μ,ν)=inf⁡{∫∣x−y∣p ξ(dx,dy): ξ∈H(μ,ν)},\mathcal T_p(\mu,\nu)=\inf\Big\{\int|x-y|^p\,\xi(dx,dy):\ \xi\in\mathcal H(\mu,\nu)\Big\},Tp​(μ,ν)=inf{∫∣x−y∣pξ(dx,dy): ξ∈H(μ,ν)},

where H(μ,ν)\mathcal H(\mu,\nu)H(μ,ν) is the set of couplings, measures on Rd×Rd\mathbb R^d\times\mathbb R^dRd×Rd with marginals μ\muμ and ν\nuν (no 1/p1/p1/p root is taken). The moment conditions use

Mq(μ)=∫∣x∣q μ(dx),Eα,γ(μ)=∫eγ∣x∣α μ(dx).M_q(\mu)=\int|x|^q\,\mu(dx),\qquad \mathcal E_{\alpha,\gamma}(\mu)=\int e^{\gamma|x|^\alpha}\,\mu(dx).Mq​(μ)=∫∣x∣qμ(dx),Eα,γ​(μ)=∫eγ∣x∣αμ(dx).

The proof works with a multiscale distance Dp\mathcal D_pDp​. For ℓ≥0\ell\ge0ℓ≥0 let Pℓ\mathcal P_\ellPℓ​ be the partition of (−1,1]d(-1,1]^d(−1,1]d into 2dℓ2^{d\ell}2dℓ dyadic cubes of side 21−ℓ2^{1-\ell}21−ℓ. For measures on (−1,1]d(-1,1]^d(−1,1]d,

Dp(μ,ν)=2p−12∑ℓ≥12−pℓ∑F∈Pℓ∣μ(F)−ν(F)∣.\mathcal D_p(\mu,\nu)=\frac{2^p-1}{2}\sum_{\ell\ge1}2^{-p\ell}\sum_{F\in\mathcal P_\ell}|\mu(F)-\nu(F)|.Dp​(μ,ν)=22p−1​ℓ≥1∑​2−pℓF∈Pℓ​∑​∣μ(F)−ν(F)∣.

For measures on Rd\mathbb R^dRd one cuts space into the shells B0=(−1,1]dB_0=(-1,1]^dB0​=(−1,1]d, Bn=(−2n,2n]d∖(−2n−1,2n−1]dB_n=(-2^n,2^n]^d\setminus(-2^{n-1},2^{n-1}]^dBn​=(−2n,2n]d∖(−2n−1,2n−1]d, rescales each to (−1,1]d(-1,1]^d(−1,1]d (the measure RBnμ\mathcal R_{B_n}\muRBn​​μ), and sums the compact distances with weights 2pn2^{pn}2pn. Lemma 5 bounds Tp\mathcal T_pTp​ by κp,dDp\kappa_{p,d}\mathcal D_pκp,d​Dp​. The splitting Dp(μN,μ)≤ZNp+VNp\mathcal D_p(\mu_N,\mu)\le Z^p_N+V^p_NDp​(μN​,μ)≤ZNp​+VNp​ separates the fluctuation of the shell masses, ZNp=∑n2pn∣μN(Bn)−μ(Bn)∣Z^p_N=\sum_n2^{pn}|\mu_N(B_n)-\mu(B_n)|ZNp​=∑n​2pn∣μN​(Bn​)−μ(Bn​)∣, from the fluctuation inside the shells, VNp=∑n2pnμ(Bn)Dp(RBnμN,RBnμ)V^p_N=\sum_n2^{pn}\mu(B_n)\mathcal D_p(\mathcal R_{B_n}\mu_N,\mathcal R_{B_n}\mu)VNp​=∑n​2pnμ(Bn​)Dp​(RBn​​μN​,RBn​​μ). A Poisson measure ΠN\Pi_NΠN​ with intensity NμN\muNμ (a Poisson(NNN) number of i.i.d. μ\muμ points) and f(x)=(1+x)log⁡(1+x)−xf(x)=(1+x)\log(1+x)-xf(x)=(1+x)log(1+x)−x enter the compact case.

Formalization targets

Goal: Theorem 2 (p. 3)

Assume p≥d/2p\ge d/2p≥d/2 or p≥1p\ge1p≥1, and one of (1) Eα,γ(μ)<∞\mathcal E_{\alpha,\gamma}(\mu)<\inftyEα,γ​(μ)<∞ with α>p\alpha>pα>p; (2) Eα,γ(μ)<∞\mathcal E_{\alpha,\gamma}(\mu)<\inftyEα,γ​(μ)<∞ with α∈(0,p)\alpha\in(0,p)α∈(0,p); (3) Mq(μ)<∞M_q(\mu)<\inftyMq​(μ)<∞ with q>2pq>2pq>2p. Then for all N≥1N\ge1N≥1, x>0x>0x>0,

P(Tp(μN,μ)≥x)≤a(N,x)1{x≤1}+b(N,x),\mathbb P\big(\mathcal T_p(\mu_N,\mu)\ge x\big)\le a(N,x)\mathbf 1_{\{x\le1\}}+b(N,x),P(Tp​(μN​,μ)≥x)≤a(N,x)1{x≤1}​+b(N,x),

with a(N,x)=Ce−cNx2a(N,x)=Ce^{-cNx^2}a(N,x)=Ce−cNx2, Ce−cN(x/log⁡(2+1/x))2Ce^{-cN(x/\log(2+1/x))^2}Ce−cN(x/log(2+1/x))2 or Ce−cNxd/pCe^{-cNx^{d/p}}Ce−cNxd/p according as p>d/2p>d/2p>d/2, p=d/2p=d/2p=d/2, p∈[1,d/2)p\in[1,d/2)p∈[1,d/2), and b(N,x)=Ce−cNxα/p1{x>1}b(N,x)=Ce^{-cNx^{\alpha/p}}\mathbf 1_{\{x>1\}}b(N,x)=Ce−cNxα/p1{x>1}​ under (1), Ce−c(Nx)(α−ε)/p1{x≤1}+Ce−c(Nx)α/p1{x>1}C e^{-c(Nx)^{(\alpha-\varepsilon)/p}}\mathbf 1_{\{x\le1\}}+Ce^{-c(Nx)^{\alpha/p}}\mathbf 1_{\{x>1\}}Ce−c(Nx)(α−ε)/p1{x≤1}​+Ce−c(Nx)α/p1{x>1}​ under (2), CN(Nx)−(q−ε)/pCN(Nx)^{-(q-\varepsilon)/p}CN(Nx)−(q−ε)/p under (3). The constants C,c>0C,c>0C,c>0 depend only on p,dp,dp,d, the parameters of the condition, the value of the moment and ε\varepsilonε.

Milestones

In attack order: Lemma 5 (the coupling bound Tp≤κp,dDp\mathcal T_p\le\kappa_{p,d}\mathcal D_pTp​≤κp,d​Dp​); Lemma 9 (Poisson moment generating function and tails); Proposition 8 (concentration for ΠN(Rd)Dp(ΨN,μ)\Pi_N(\mathbb R^d)\mathcal D_p(\Psi_N,\mu)ΠN​(Rd)Dp​(ΨN​,μ) in the Poissonized compact case); Lemma 11 (P[Poisson(N)=N+k]≥e−2N−1/2/2\mathbb P[\mathrm{Poisson}(N)=N+k]\ge e^{-2}N^{-1/2}/\sqrt2P[Poisson(N)=N+k]≥e−2N−1/2/2​ for k≤⌊N⌋k\le\lfloor\sqrt N\rfloork≤⌊N​⌋); Proposition 10 (the compact case of Theorem 2, P[Dp(μN,μ)≥x]≤1{x≤1}a(N,x)\mathbb P[\mathcal D_p(\mu_N,\mu)\ge x]\le\mathbf 1_{\{x\le1\}}a(N,x)P[Dp​(μN​,μ)≥x]≤1{x≤1}​a(N,x)); Lemma 12 (binomial deviations); Lemma 13 (the tail of ZNpZ^p_NZNp​); display (6) (P[VNp≥x/(2κp,d)]≤a(N,x)1{x≤A}\mathbb P[V^p_N\ge x/(2\kappa_{p,d})]\le a(N,x)\mathbf 1_{\{x\le A\}}P[VNp​≥x/(2κp,d​)]≤a(N,x)1{x≤A}​).

Significance

The result. Theorem 2 gives, for every dimension and every ppp in its range, a deviation inequality whose small-xxx part a(N,x)a(N,x)a(N,x) has the same dimension-dependent exponent as the mean rate of Theorem 1, and whose large-xxx part b(N,x)b(N,x)b(N,x) is governed only by the tail of μ\muμ. Under exponential moments the tail is again exponential; under a polynomial moment it is polynomial, which is the correct order. It is the input for finite-sample confidence radii in Wasserstein DRO, for non-asymptotic guarantees in quantization and for propagation-of-chaos estimates.

Formalizing it. The theorem is proved (2013, published 2015) and widely cited; no machine-checked proof of it, or of any rate for the empirical measure in transport cost, exists in Mathlib or on Prove2Me. The work is formalizing the known proof: Poisson and binomial concentration (Lemmas 9, 12), the local Poisson bound (Lemma 11), Poissonization and depoissonization (Propositions 8, 10), and the shell decomposition (Lemma 13, display (6)). Lemmas 9, 11 and 12 are general probability facts useful well beyond this paper.

Difficulty

The obvious route is a bounded-differences (McDiarmid) inequality for ω↦Tp(μN,μ)\omega\mapsto\mathcal T_p(\mu_N,\mu)ω↦Tp​(μN​,μ). On Rd\mathbb R^dRd it is not available: moving a single sample point changes the cost by an amount that is unbounded, and the measures allowed here have only exponential or polynomial moments. Even on a compact set it bounds the deviation from the mean rather than from 000, so it gives nothing below the mean rate, and it does not see the dimension-dependent exponent xd/px^{d/p}xd/p of a(N,x)a(N,x)a(N,x). The bound must hold at all scales of the dyadic decomposition simultaneously, while the cell counts of a multinomial sample are dependent, and in the non-compact case the masses of far-away shells, which are rare events, must be controlled with a tail that degrades exactly as the moment condition allows.

Formalization scope

Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d) with d≥1d\ge1d≥1; the Euclidean norm matters, since κp,d\kappa_{p,d}κp,d​ involves the diameter of (−1,1]d(-1,1]^d(−1,1]d. The sample is ω:Fin N→Rd\omega:\mathrm{Fin}\,N\to\mathbb R^dω:FinN→Rd under the product measure μ⊗N\mu^{\otimes N}μ⊗N, and μN\mu_NμN​ is the published WassersteinDRO.Duality.empiricalDistribution; couplings are the published WassersteinLinOpt.Ball.couplings. Costs, moments, Dp\mathcal D_pDp​, ZNpZ^p_NZNp​, VNpV^p_NVNp​ and expectations are valued in [0,∞][0,\infty][0,∞] (lower Lebesgue integrals and [0,∞][0,\infty][0,∞]-valued series), so no bound can hold through a junk value of a divergent integral. Probabilities are the product measure applied to the event. ΠN\Pi_NΠN​ is represented by its law, a Poisson(NNN) mixture of i.i.d. samples, as on p. 13. Poisson and binomial laws are Mathlib's poissonMeasure and binomial.

Constants: in each of the three parts, the condition's parameters, the moment value Eα,γ(μ)=E0\mathcal E_{\alpha,\gamma}(\mu)=E_0Eα,γ​(μ)=E0​ (resp. Mq(μ)=M0M_q(\mu)=M_0Mq​(μ)=M0​) and ε\varepsilonε are fixed before ∃ C,c\exists\,C,c∃C,c, and μ,N,x\mu,N,xμ,N,x come after. A formalization with μ\muμ fixed before the constants would be trivial (the constants could absorb μ\muμ), and one stating the goal as the sum of the bounds for ZNpZ^p_NZNp​ and VNpV^p_NVNp​ would assume the proof; the goal mentions neither Dp\mathcal D_pDp​, ΠN\Pi_NΠN​, ZNpZ^p_NZNp​ nor VNpV^p_NVNp​.

Departures from the print, each disclosed in the statements: the page writes Tp(μN,μ)\mathcal T_p(\mu^N,\mu)Tp​(μN,μ) for Tp(μN,μ)\mathcal T_p(\mu_N,\mu)Tp​(μN​,μ); Theorem 2 opens with "p>0p>0p>0" but prints a(N,x)a(N,x)a(N,x) only for p>d/2p>d/2p>d/2, p=d/2p=d/2p=d/2, p∈[1,d/2)p\in[1,d/2)p∈[1,d/2), so it is posed for p≥d/2p\ge d/2p≥d/2 or p≥1p\ge1p≥1; Proposition 8's "p≥1p\ge1p≥1" is relaxed to that range (its proof does not use p≥1p\ge1p≥1, and Theorem 2 needs it for every p>d/2p>d/2p>d/2) (Proposition 10 is posed, as printed, for every p>0p>0p>0); Lemma 12 assumes N≥1N\ge1N≥1 and a positive success probability, without which (a) and (b) are false. "Supported in (−1,1]d(-1,1]^d(−1,1]d" is μ\muμ-null complement of B0B_0B0​.

The definitions of Tp\mathcal T_pTp​, MqM_qMq​, Notation 4 and Lemma 5 duplicate those of mission I of the series and are to be merged later. Contributions on Poisson and binomial concentration, and on transport costs between discrete measures, are reusable and welcome.

Selected references

  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, arXiv:1312.2128v1, 2013; Probab. Theory Relat. Fields 162 (2015) 707–738. https://arxiv.org/abs/1312.2128
  • S. Dereich, M. Scheutzow, R. Schottstedt, Constructive quantization: approximation by empirical measures, Ann. Inst. H. Poincaré Probab. Statist. 49 (2013) 1183–1203. https://doi.org/10.1214/12-AIHP489
  • F. Bolley, A. Guillin, C. Villani, Quantitative concentration inequalities for empirical measures on non-compact spaces, Probab. Theory Relat. Fields 137 (2007) 541–593. https://doi.org/10.1007/s00440-006-0004-7
  • E. Boissard, T. Le Gouic, On the mean speed of convergence of empirical and occupation measures in Wasserstein distance, preprint, 2011. https://arxiv.org/abs/1105.5263
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Math. Program. 171 (2018) 115–166. https://doi.org/10.1007/s10107-017-1172-1
13 thms1 active userReviewed
Optimal TransportProbability·Captain: mikedeng1

On the Rate of Convergence in Wasserstein Distance of the Empirical Measure I: Non-Asymptotic Moment Bounds on E T_p(μ_N, μ) under a q-th Moment Condition (Theorem 1)Research Paper

Motivation

How fast does the empirical measure of an i.i.d. sample approach the law it is drawn from? When distance is measured by optimal transport, the answer enters the analysis of statistical estimators built from empirical distributions, quantization of probability measures, Monte Carlo and particle approximations of nonlinear PDEs (McKean–Vlasov systems), and the radius calibration of Wasserstein ambiguity sets in data-driven distributionally robust optimization.

The question has a long history. Ajtai, Komlós and Tusnády (1984) found the (log⁡N/N)1/2(\log N/N)^{1/2}(logN/N)1/2 rate for uniform samples in the unit square. Horowitz–Karandikar (1994), Rachev–Rüschendorf and Mischler–Mouhot gave bounds that were far from optimal outside the compactly supported case. Boissard and Le Gouic (2014) and Dereich, Scheutzow and Schottstedt (2013) introduced multiscale couplings; the latter obtained sharp moment bounds for p∈[1,d/2)p\in[1,d/2)p∈[1,d/2), d≥3d\ge3d≥3, under a moment condition q>dp/(d−p)q>dp/(d-p)q>dp/(d−p). Fournier and Guillin (arXiv:1312.2128, Probab. Theory Relat. Fields 162, 2015) extended these bounds to every p>0p>0p>0, every dimension d≥1d\ge1d≥1 and every moment order q>pq>pq>p, with explicit dependence on the moment.

Setting

Fix d≥1d\ge1d≥1 and write ∣⋅∣|\cdot|∣⋅∣ for the Euclidean norm on Rd\mathbb R^dRd. For probability measures μ,ν\mu,\nuμ,ν on Rd\mathbb R^dRd and p>0p>0p>0, the transport cost is

Tp(μ,ν)=inf⁡{∫∣x−y∣p ξ(dx,dy): ξ∈H(μ,ν)}∈[0,∞],\mathcal T_p(\mu,\nu)=\inf\Big\{\int|x-y|^p\,\xi(dx,dy):\ \xi\in\mathcal H(\mu,\nu)\Big\}\in[0,\infty],Tp​(μ,ν)=inf{∫∣x−y∣pξ(dx,dy): ξ∈H(μ,ν)}∈[0,∞],

where H(μ,ν)\mathcal H(\mu,\nu)H(μ,ν) is the set of couplings, measures on Rd×Rd\mathbb R^d\times\mathbb R^dRd×Rd with marginals μ\muμ and ν\nuν. The Wasserstein distance is Tp1/p\mathcal T_p^{1/p}Tp1/p​ for p>1p>1p>1 and Tp\mathcal T_pTp​ for p≤1p\le1p≤1; the statements here are about Tp\mathcal T_pTp​ itself. The moment of order q>0q>0q>0 is Mq(μ)=∫∣x∣q μ(dx)M_q(\mu)=\int|x|^q\,\mu(dx)Mq​(μ)=∫∣x∣qμ(dx).

Let X1,X2,…X_1,X_2,\dotsX1​,X2​,… be i.i.d. with law μ\muμ and let μN=1N∑k=1NδXk\mu_N=\frac1N\sum_{k=1}^N\delta_{X_k}μN​=N1​∑k=1N​δXk​​. The quantity of interest is E Tp(μN,μ)\mathbb E\,\mathcal T_p(\mu_N,\mu)ETp​(μN​,μ).

The proof works through a multiscale distance. For ℓ≥0\ell\ge0ℓ≥0, Pℓ\mathcal P_\ellPℓ​ is the partition of (−1,1]d(-1,1]^d(−1,1]d into 2dℓ2^{d\ell}2dℓ dyadic cubes of side 21−ℓ2^{1-\ell}21−ℓ. The dyadic shells are B0=(−1,1]dB_0=(-1,1]^dB0​=(−1,1]d and Bn=(−2n,2n]d∖(−2n−1,2n−1]dB_n=(-2^n,2^n]^d\setminus(-2^{n-1},2^{n-1}]^dBn​=(−2n,2n]d∖(−2n−1,2n−1]d. For measures on (−1,1]d(-1,1]^d(−1,1]d, Dp(μ,ν)=2p−12∑ℓ≥12−pℓ∑F∈Pℓ∣μ(F)−ν(F)∣\mathcal D_p(\mu,\nu)=\frac{2^p-1}{2}\sum_{\ell\ge1}2^{-p\ell}\sum_{F\in\mathcal P_\ell}|\mu(F)-\nu(F)|Dp​(μ,ν)=22p−1​∑ℓ≥1​2−pℓ∑F∈Pℓ​​∣μ(F)−ν(F)∣, and for measures on Rd\mathbb R^dRd,

Dp(μ,ν)=∑n≥02pn(∣μ(Bn)−ν(Bn)∣+(μ(Bn)∧ν(Bn))Dp(RBnμ,RBnν)),\mathcal D_p(\mu,\nu)=\sum_{n\ge0}2^{pn}\Big(|\mu(B_n)-\nu(B_n)|+\big(\mu(B_n)\wedge\nu(B_n)\big)\mathcal D_p(\mathcal R_{B_n}\mu,\mathcal R_{B_n}\nu)\Big),Dp​(μ,ν)=n≥0∑​2pn(∣μ(Bn​)−ν(Bn​)∣+(μ(Bn​)∧ν(Bn​))Dp​(RBn​​μ,RBn​​ν)),

where RBnμ\mathcal R_{B_n}\muRBn​​μ is μ\muμ conditioned on BnB_nBn​ and rescaled by 2−n2^{-n}2−n.

In Lean, Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d); Tp\mathcal T_pTp​, MqM_qMq​, Dp\mathcal D_pDp​ are transportCost, moment, Dp (compact case Dcube) in FournierGuillin.Moment, valued in ℝ≥0∞. μN\mu_NμN​ is the published WassersteinDRO.Duality.empiricalDistribution, and H(μ,ν)\mathcal H(\mu,\nu)H(μ,ν) the published WassersteinLinOpt.Ball.couplings.

Formalization targets

Goal: Theorem 1 (p. 2)

For p>0p>0p>0 and q>pq>pq>p there is C=C(p,d,q)C=C(p,d,q)C=C(p,d,q) such that for every μ\muμ with Mq(μ)<∞M_q(\mu)<\inftyMq​(μ)<∞ and every N≥1N\ge1N≥1,

E Tp(μN,μ)≤C Mqp/q(μ)×{N−1/2+N−(q−p)/qp>d/2, q≠2p,N−1/2log⁡(1+N)+N−(q−p)/qp=d/2, q≠2p,N−p/d+N−(q−p)/qp∈(0,d/2), q≠dp/(d−p).\mathbb E\,\mathcal T_p(\mu_N,\mu)\le C\,M_q^{p/q}(\mu)\times\begin{cases}N^{-1/2}+N^{-(q-p)/q}&p>d/2,\ q\ne2p,\\ N^{-1/2}\log(1+N)+N^{-(q-p)/q}&p=d/2,\ q\ne2p,\\ N^{-p/d}+N^{-(q-p)/q}&p\in(0,d/2),\ q\ne dp/(d-p).\end{cases}ETp​(μN​,μ)≤CMqp/q​(μ)×⎩⎨⎧​N−1/2+N−(q−p)/qN−1/2log(1+N)+N−(q−p)/qN−p/d+N−(q−p)/q​p>d/2, q=2p,p=d/2, q=2p,p∈(0,d/2), q=dp/(d−p).​

The constant is left unspecified, as in the paper.

Milestones

  1. Lemma 5 (p. 6): Tp(μ,ν)≤κp,d Dp(μ,ν)\mathcal T_p(\mu,\nu)\le\kappa_{p,d}\,\mathcal D_p(\mu,\nu)Tp​(μ,ν)≤κp,d​Dp​(μ,ν) with κp,d=2p(1+d/2)(2p+1)/(2p−1)\kappa_{p,d}=2^{p(1+d/2)}(2^p+1)/(2^p-1)κp,d​=2p(1+d/2)(2p+1)/(2p−1), for all probability measures.
  2. Lemma 6 (p. 7): Dp(μ,ν)≤C∑n≥02pn∑ℓ≥02−pℓ∑F∈Pℓ∣μ(2nF∩Bn)−ν(2nF∩Bn)∣\mathcal D_p(\mu,\nu)\le C\sum_{n\ge0}2^{pn}\sum_{\ell\ge0}2^{-p\ell}\sum_{F\in\mathcal P_\ell}|\mu(2^nF\cap B_n)-\nu(2^nF\cap B_n)|Dp​(μ,ν)≤C∑n≥0​2pn∑ℓ≥0​2−pℓ∑F∈Pℓ​​∣μ(2nF∩Bn​)−ν(2nF∩Bn​)∣.
  3. Shell tails (p. 8): Mq(μ)=1M_q(\mu)=1Mq​(μ)=1 implies μ(Bn)≤2−q(n−1)\mu(B_n)\le2^{-q(n-1)}μ(Bn​)≤2−q(n−1).
  4. Binomial mean deviation (p. 8): E∣μN(A)−μ(A)∣≤min⁡{2μ(A),μ(A)/N}\mathbb E|\mu_N(A)-\mu(A)|\le\min\{2\mu(A),\sqrt{\mu(A)/N}\}E∣μN​(A)−μ(A)∣≤min{2μ(A),μ(A)/N​}.
  5. Level bound (p. 8): ∑F∈PℓE∣μN(2nF∩Bn)−μ(2nF∩Bn)∣≤min⁡{2μ(Bn),2dℓ/2(μ(Bn)/N)1/2}\sum_{F\in\mathcal P_\ell}\mathbb E|\mu_N(2^nF\cap B_n)-\mu(2^nF\cap B_n)|\le\min\{2\mu(B_n),2^{d\ell/2}(\mu(B_n)/N)^{1/2}\}∑F∈Pℓ​​E∣μN​(2nF∩Bn​)−μ(2nF∩Bn​)∣≤min{2μ(Bn​),2dℓ/2(μ(Bn​)/N)1/2}.
  6. Display (4) (p. 8): E Dp(μN,μ)≤C∑n2pn∑ℓ2−pℓmin⁡{2−qn,2dℓ/2(2−qn/N)1/2}\mathbb E\,\mathcal D_p(\mu_N,\mu)\le C\sum_{n}2^{pn}\sum_{\ell}2^{-p\ell}\min\{2^{-qn},2^{d\ell/2}(2^{-qn}/N)^{1/2}\}EDp​(μN​,μ)≤C∑n​2pn∑ℓ​2−pℓmin{2−qn,2dℓ/2(2−qn/N)1/2} when Mq(μ)=1M_q(\mu)=1Mq​(μ)=1.
  7. Step 1 (p. 8): the scale series ∑ℓ≥02−pℓmin⁡{ε,2dℓ/2(ε/N)1/2}\sum_{\ell\ge0}2^{-p\ell}\min\{\varepsilon,2^{d\ell/2}(\varepsilon/N)^{1/2}\}∑ℓ≥0​2−pℓmin{ε,2dℓ/2(ε/N)1/2} in the three regimes.

Significance

Theorem 1 is the standard non-asymptotic rate for empirical measures in Wasserstein distance under moment assumptions alone. The three regimes are sharp for general laws: N−1/2N^{-1/2}N−1/2 is attained by two-point laws, N−p/dN^{-p/d}N−p/d by the uniform law on a cube, and the term N−(q−p)/qN^{-(q-p)/q}N−(q−p)/q by heavy-tailed laws (examples on pp. 2–3 of the paper). It is the input to finite-sample guarantees for Wasserstein distributionally robust optimization, to propagation-of-chaos rates for particle systems, and to quantization error bounds.

The paper result is proved; it has, to our knowledge, no machine-checked proof. A formalization adds the multiscale coupling bound (Lemma 5), a reusable comparison between transport costs and dyadic mass differences, and binomial mean-deviation estimates for empirical measures, all of which serve other rates of convergence (the concentration bounds of Theorem 2 of the same paper rest on Lemma 5).

Difficulty

The obvious route bounds Tp\mathcal T_pTp​ by a coupling on a single partition of fixed mesh and optimizes the mesh. This loses a logarithm or a power in every regime and cannot reach N−p/dN^{-p/d}N−p/d for p<d/2p<d/2p<d/2 or N−1/2N^{-1/2}N−1/2 for p>d/2p>d/2p>d/2: the error at all scales must be controlled simultaneously, which is what Dp\mathcal D_pDp​ does. The step that requires work in Lean is Lemma 5: it builds an explicit coupling scale by scale inside (−1,1]d(-1,1]^d(−1,1]d and glues the shells BnB_nBn​ together, and it must hold for arbitrary probability measures with possibly infinite cost. The remaining steps are careful summations of geometric series in nnn and ℓ\ellℓ whose regimes depend on ppp versus d/2d/2d/2 and on qqq versus 2p2p2p or dp/(d−p)dp/(d-p)dp/(d−p).

Formalization scope

Conventions: Rd\mathbb R^dRd with the Euclidean norm (the paper's constant κp,d\kappa_{p,d}κp,d​ uses the diameter bound 21+d/22^{1+d/2}21+d/2 of (−1,1]d(-1,1]^d(−1,1]d, which holds for that norm); d≥1d\ge1d≥1, N≥1N\ge1N≥1, p>0p>0p>0, μ\muμ a probability measure. The sample X1,…,XNX_1,\dots,X_NX1​,…,XN​ is a point of (Rd)N(\mathbb R^d)^N(Rd)N under the product measure μ⊗N\mu^{\otimes N}μ⊗N, i.e. the first NNN terms of the i.i.d. sequence. Expectations are lower Lebesgue integrals of [0,∞][0,\infty][0,∞]-valued functions and all series of nonnegative terms are summed in [0,∞][0,\infty][0,∞], so no bound holds by a junk value of a non-integrable integrand or a non-summable series. Constants "depending only on p,d,qp,d,qp,d,q" are quantified after p,d,qp,d,qp,d,q and before μ\muμ and NNN; a statement with the constant chosen after μ\muμ would only assert finiteness and is ruled out.

Corrections of the print, disclosed in the items: the third case of Theorem 1 is printed with q≠d/(d−p)q\ne d/(d-p)q=d/(d−p); the remark below the theorem and Step 4 of the proof show the excluded value is q=dp/(d−p)q=dp/(d-p)q=dp/(d−p) (the two agree only for p=1p=1p=1), and the goal excludes q=dp/(d−p)q=dp/(d-p)q=dp/(d−p). Step 1 is printed for ε∈(0,1)\varepsilon\in(0,1)ε∈(0,1) but applied at ε=1\varepsilon=1ε=1; it is stated for ε∈(0,1]\varepsilon\in(0,1]ε∈(0,1]. The display defining Tp\mathcal T_pTp​ says p≥1p\ge1p≥1, but the paper uses it for all p>0p>0p>0, and so does the definition.

Needed infrastructure: couplings and gluing of measures on products, dyadic partitions of boxes and their counting, binomial variance, and summation of geometric series with case analysis. Lemma 5 and the binomial estimates are reusable beyond this mission. Proofs of any milestone are welcome, as are alternative proofs of the goal.

Selected references

  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probab. Theory Relat. Fields 162 (2015) 707–738; arXiv:1312.2128v1. https://arxiv.org/abs/1312.2128 · https://doi.org/10.1007/s00440-014-0583-7
  • S. Dereich, M. Scheutzow, R. Schottstedt, Constructive quantization: approximation by empirical measures, Ann. Inst. Henri Poincaré Probab. Stat. 49 (2013) 1183–1203. https://arxiv.org/abs/1108.5346
  • M. Ajtai, J. Komlós, G. Tusnády, On optimal matchings, Combinatorica 4 (1984) 259–264. https://doi.org/10.1007/BF02579135
  • E. Boissard, T. Le Gouic, On the mean speed of convergence of empirical and occupation measures in Wasserstein distance, Ann. Inst. Henri Poincaré Probab. Stat. 50 (2014) 539–563. https://arxiv.org/abs/1105.5263
  • J. Horowitz, R. L. Karandikar, Mean rates of convergence of empirical measures in the Wasserstein metric, J. Comput. Appl. Math. 55 (1994) 261–273. https://doi.org/10.1016/0377-0427(94)90033-7
11 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization 4: Lagrangian Duals of the Reduced Relaxation and Their Closed-Form Optimal Dual VariablesResearch Paper

Motivation

Best subset selection with ridge shrinkage, the ℓ0ℓ2\ell_0\ell_2ℓ0​ℓ2​-regularized least squares problem

min⁡β∈Rp 12∥y−Xβ∥22+λ0∥β∥0+λ2∥β∥22,\min_{\beta\in\mathbb R^p}\ \tfrac12\|y-X\beta\|_2^2+\lambda_0\|\beta\|_0+\lambda_2\|\beta\|_2^2,β∈Rpmin​ 21​∥y−Xβ∥22​+λ0​∥β∥0​+λ2​∥β∥22​,

is a mixed integer program. Exact solvers for it rely on branch-and-bound: at every node of the search tree a convex relaxation is solved, and the node is discarded if a lower bound on that relaxation already exceeds the best objective value found so far. Hazimeh, Mazumder and Saab (arXiv:2004.06152v2, Mathematical Programming 2022) build such a solver, L0BnB, for instances with ppp in the millions. Its relaxations are solved only approximately, by first-order methods, and an approximate primal solution does not by itself certify a lower bound. The bound has to come from a dual feasible point. Theorem 2 of the paper supplies the duals of the node relaxation in closed form, together with explicit formulas for the optimal dual variables as functions of the primal optimum. Everything the paper later proves about the quality of its dual bounds (Section 3.2, Theorem 3) starts from these formulas.

Setting

Data are a matrix X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p with columns X1,…,XpX_1,\dots,X_pX1​,…,Xp​, a response y∈Rny\in\mathbb R^ny∈Rn, and parameters λ0,λ2,M>0\lambda_0,\lambda_2,M>0λ0​,λ2​,M>0, where MMM bounds the coefficients. Write [p]={1,…,p}[p]=\{1,\dots,p\}[p]={1,…,p} and [a]+=max⁡{a,0}[a]_+=\max\{a,0\}[a]+​=max{a,0}. The reverse Huber penalty is B(t)=∣t∣\mathcal B(t)=|t|B(t)=∣t∣ for ∣t∣≤1|t|\le1∣t∣≤1 and B(t)=(t2+1)/2\mathcal B(t)=(t^2+1)/2B(t)=(t2+1)/2 for ∣t∣≥1|t|\ge1∣t∣≥1. Define

ψ1(b)=2λ0 B(bλ2/λ0),ψ2(b)=(λ0M+λ2M)∣b∣,\psi_1(b)=2\lambda_0\,\mathcal B\big(b\sqrt{\lambda_2/\lambda_0}\big),\qquad \psi_2(b)=\Big(\frac{\lambda_0}{M}+\lambda_2M\Big)|b|,ψ1​(b)=2λ0​B(bλ2​/λ0​​),ψ2​(b)=(Mλ0​​+λ2​M)∣b∣,

and let ψ=ψ1\psi=\psi_1ψ=ψ1​ if λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M and ψ=ψ2\psi=\psi_2ψ=ψ2​ if λ0/λ2>M\sqrt{\lambda_0/\lambda_2}>Mλ0​/λ2​​>M. The reduced relaxation (5) is

min⁡β∈Rp F(β)=12∥y−Xβ∥22+∑i∈[p]ψ(βi)s.t.∥β∥∞≤M.\min_{\beta\in\mathbb R^p}\ F(\beta)=\tfrac12\|y-X\beta\|_2^2+\sum_{i\in[p]}\psi(\beta_i)\quad\text{s.t.}\quad\|\beta\|_\infty\le M.β∈Rpmin​ F(β)=21​∥y−Xβ∥22​+i∈[p]∑​ψ(βi​)s.t.∥β∥∞​≤M.

By Theorem 1 of the paper it is the interval relaxation of the perspective formulation, projected onto β\betaβ.

The two dual objectives of Theorem 2 are, for α,ρ∈Rn\alpha,\rho\in\mathbb R^nα,ρ∈Rn and γ,μ∈Rp\gamma,\mu\in\mathbb R^pγ,μ∈Rp,

h1(α,γ)=−12∥α∥22−αTy−∑i∈[p]v(α,γi),v(α,γi)=[(αTXi−γi)24λ2−λ0]++M∣γi∣,h_1(\alpha,\gamma)=-\tfrac12\|\alpha\|_2^2-\alpha^Ty-\sum_{i\in[p]}v(\alpha,\gamma_i),\qquad v(\alpha,\gamma_i)=\Big[\frac{(\alpha^TX_i-\gamma_i)^2}{4\lambda_2}-\lambda_0\Big]_++M|\gamma_i|,h1​(α,γ)=−21​∥α∥22​−αTy−i∈[p]∑​v(α,γi​),v(α,γi​)=[4λ2​(αTXi​−γi​)2​−λ0​]+​+M∣γi​∣, h2(ρ,μ)=−12∥ρ∥22−ρTy−M∥μ∥1,h_2(\rho,\mu)=-\tfrac12\|\rho\|_2^2-\rho^Ty-M\|\mu\|_1,h2​(ρ,μ)=−21​∥ρ∥22​−ρTy−M∥μ∥1​,

where h1h_1h1​ is maximized over all of Rn×Rp\mathbb R^n\times\mathbb R^pRn×Rp (problem (20)) and h2h_2h2​ subject to ∣ρTXi∣−μi≤λ0/M+λ2M|\rho^TX_i|-\mu_i\le\lambda_0/M+\lambda_2M∣ρTXi​∣−μi​≤λ0​/M+λ2​M for i∈[p]i\in[p]i∈[p] (problem (22)). For an optimal β∗\beta^*β∗ of (5), with residual r∗=y−Xβ∗r^*=y-X\beta^*r∗=y−Xβ∗, the candidate dual variables are

α∗=ρ∗=−r∗,γi∗=1[∣βi∗∣=M](α∗TXi−2Mλ2 sign(α∗TXi)),μi∗=1[∣βi∗∣=M](∣ρ∗TXi∣−λ0/M−λ2M).\alpha^*=\rho^*=-r^*,\qquad \gamma^*_i=\mathbb 1_{[|\beta^*_i|=M]}\big(\alpha^{*T}X_i-2M\lambda_2\,\mathrm{sign}(\alpha^{*T}X_i)\big),\qquad \mu^*_i=\mathbb 1_{[|\beta^*_i|=M]}\big(|\rho^{*T}X_i|-\lambda_0/M-\lambda_2M\big).α∗=ρ∗=−r∗,γi∗​=1[∣βi∗​∣=M]​(α∗TXi​−2Mλ2​sign(α∗TXi​)),μi∗​=1[∣βi∗​∣=M]​(∣ρ∗TXi​∣−λ0​/M−λ2​M).

In the Lean development these objects are F, box, h1, v, h2, Feas22, alphaStar, gammaStar, rhoStar, muStar in the namespace L0BnB.Duality.

Formalization targets

Goal: Theorem 2 (pp. 13–14)

Let β∗\beta^*β∗ minimize FFF over ∥β∥∞≤M\|\beta\|_\infty\le M∥β∥∞​≤M.

  • If λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M:  h1(α,γ)≤F(β)\ h_1(\alpha,\gamma)\le F(\beta) h1​(α,γ)≤F(β) for all α,γ\alpha,\gammaα,γ and all feasible β\betaβ, and h1(α∗,γ∗)=F(β∗)h_1(\alpha^*,\gamma^*)=F(\beta^*)h1​(α∗,γ∗)=F(β∗).
  • If λ0/λ2>M\sqrt{\lambda_0/\lambda_2}>Mλ0​/λ2​​>M:  h2(ρ,μ)≤F(β)\ h_2(\rho,\mu)\le F(\beta) h2​(ρ,μ)≤F(β) for all (ρ,μ)(\rho,\mu)(ρ,μ) feasible for (22) and all feasible β\betaβ; (ρ∗,μ∗)(\rho^*,\mu^*)(ρ∗,μ∗) is feasible for (22) and h2(ρ∗,μ∗)=F(β∗)h_2(\rho^*,\mu^*)=F(\beta^*)h2​(ρ∗,μ∗)=F(β∗).

This is "(20), respectively (22), is a dual of (5), and (23), respectively (24), are optimal dual variables", with the paper's remark that strong duality holds.

Milestones

  1. (45) For a∈Ra\in\mathbb Ra∈R, η≥0\eta\ge0η≥0 and D(b)=ψ1(b)+ab+η∣b∣D(b)=\psi_1(b)+ab+\eta|b|D(b)=ψ1​(b)+ab+η∣b∣, the point 000 (if 2λ0λ2+η−∣a∣≥02\sqrt{\lambda_0\lambda_2}+\eta-|a|\ge02λ0​λ2​​+η−∣a∣≥0) or −λ0/λ2 sign(a)-\sqrt{\lambda_0/\lambda_2}\,\mathrm{sign}(a)−λ0​/λ2​​sign(a) (otherwise) minimizes DDD on ∣b∣≤λ0/λ2|b|\le\sqrt{\lambda_0/\lambda_2}∣b∣≤λ0​/λ2​​.
  2. (47) If ∣a∣−η≥2λ0λ2|a|-\eta\ge2\sqrt{\lambda_0\lambda_2}∣a∣−η≥2λ0​λ2​​, then min⁡b∈RD(b)=−14λ2(∣a∣−η)2+λ0\min_{b\in\mathbb R}D(b)=-\frac{1}{4\lambda_2}(|a|-\eta)^2+\lambda_0minb∈R​D(b)=−4λ2​1​(∣a∣−η)2+λ0​.
  3. Weak duality, the first halves of both bullets of the goal.
  4. (23) h1(α∗,γ∗)=F(β∗)h_1(\alpha^*,\gamma^*)=F(\beta^*)h1​(α∗,γ∗)=F(β∗) when λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M.
  5. (24) (ρ∗,μ∗)(\rho^*,\mu^*)(ρ∗,μ∗) feasible for (22) and h2(ρ∗,μ∗)=F(β∗)h_2(\rho^*,\mu^*)=F(\beta^*)h2​(ρ∗,μ∗)=F(β∗) when λ0/λ2>M\sqrt{\lambda_0/\lambda_2}>Mλ0​/λ2​​>M.

Significance

The result. Theorem 2 turns the node relaxation of L0BnB into a pair of explicit concave maximization problems, one per regime of λ0/λ2\sqrt{\lambda_0/\lambda_2}λ0​/λ2​​ versus MMM. The dual (20) is unconstrained, so any (α,γ)(\alpha,\gamma)(α,γ) gives a valid lower bound; the paper's dual bounds (25)–(28) evaluate h1h_1h1​ or h2h_2h2​ at α^=−r^\hat\alpha=-\hat rα^=−r^ built from an inexact primal solution β^\hat\betaβ^​, with the remaining variable chosen in closed form. The formulas (23)–(24) explain why this choice is right: at the exact optimum it recovers the primal value. Theorem 3 of the paper, which bounds the loss of this dual bound by a quantity depending on the support size rather than on ppp, compares v(α^,γ^i)v(\hat\alpha,\hat\gamma_i)v(α^,γ^​i​) to v(α∗,γi∗)v(\alpha^*,\gamma^*_i)v(α∗,γi∗​) term by term and therefore depends on (23).

Formalizing it. The paper proves the case λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M in Appendix A and omits the proof of the case λ0/λ2>M\sqrt{\lambda_0/\lambda_2}>Mλ0​/λ2​​>M ("follows along the lines similar to what was shown above"). The appendix also contains an intermediate formula for the coordinate minimum, −[(∣αTXi∣−ηi)2/(4λ2)−λ0]+-[(|\alpha^TX_i|-\eta_i)^2/(4\lambda_2)-\lambda_0]_+−[(∣αTXi​∣−ηi​)2/(4λ2​)−λ0​]+​, that is incorrect when ηi\eta_iηi​ is large; the final dual (49) = (20) is nevertheless correct. A machine-checked proof supplies the omitted case and settles the correct statement. To our knowledge neither half has been formalized.

Difficulty

The dual objective (20) hides the box constraint inside the term M∣γi∣M|\gamma_i|M∣γi​∣ and the penalty inside [ ⋅ ]+[\,\cdot\,]_+[⋅]+​, and the reverse Huber penalty is piecewise, so even the weak-duality half has to handle both pieces of ψ1\psi_1ψ1​ and the junction ∣b∣=λ0/λ2|b|=\sqrt{\lambda_0/\lambda_2}∣b∣=λ0​/λ2​​. The attainment half is where the work lies: it needs the optimality conditions of a nonsmooth convex problem over a box, at coordinates where βi∗=0\beta^*_i=0βi∗​=0 (where ψ\psiψ is not differentiable), where ∣βi∗∣=M|\beta^*_i|=M∣βi∗​∣=M (where the box is active), and where both may interact with the regime boundary λ0/λ2=M\sqrt{\lambda_0/\lambda_2}=Mλ0​/λ2​​=M. The natural first idea, to read (23) off the Lagrangian derivation in the paper, does not yield a proof: that derivation assumes a dual optimum (α∗,η∗)(\alpha^*,\eta^*)(α∗,η∗) exists and relates it to β∗\beta^*β∗ by complementary slackness, whereas the theorem asserts an identity for the explicit (α∗,γ∗)(\alpha^*,\gamma^*)(α∗,γ∗) built from β∗\beta^*β∗ alone.

Formalization scope

Data are X : Matrix (Fin n) (Fin p) ℝ, y : Fin n → ℝ and reals lam0 lam2 M with 0 < lam0, 0 < lam2, 0 < M as hypotheses; [p][p][p] is Fin p. Norms and inner products are explicit sums: αTXi=∑rαrXri\alpha^TX_i=\sum_r\alpha_rX_{ri}αTXi​=∑r​αr​Xri​, ∥α∥22=∑rαr2\|\alpha\|_2^2=\sum_r\alpha_r^2∥α∥22​=∑r​αr2​, ∥μ∥1=∑i∣μi∣\|\mu\|_1=\sum_i|\mu_i|∥μ∥1​=∑i​∣μi​∣, [a]+=max⁡{a,0}[a]_+=\max\{a,0\}[a]+​=max{a,0}, and ∥β∥∞≤M\|\beta\|_\infty\le M∥β∥∞​≤M is ∣βi∣≤M|\beta_i|\le M∣βi​∣≤M for every iii. The regime split is written λ0/λ2≤M\sqrt{\lambda_0/\lambda_2}\le Mλ0​/λ2​​≤M versus M<λ0/λ2M<\sqrt{\lambda_0/\lambda_2}M<λ0​/λ2​​. sign is Real.sign, with sign(0)=0\mathrm{sign}(0)=0sign(0)=0; where it is evaluated in (23) the argument is nonzero at an optimum. The optimal solution β∗\beta^*β∗ is a hypothesis (feasible and minimizing FFF over the box); its existence is not part of the statements. The coordinate milestones (45) and (47) are stated for a scalar aaa standing for αTXi\alpha^TX_iαTXi​ and a multiplier η≥0\eta\ge0η≥0. No normalization of XXX or yyy is assumed: the unit-norm convention that opens Section 3 is not used by Theorem 2. The paper writes no O(⋅)O(\cdot)O(⋅) in these results, so no constants are instantiated.

"A dual is given by" is formalized as weak duality over all dual-feasible points together with equality at the explicit dual variables. Weak duality alone would not be Theorem 2, and neither would the equality alone; the goal requires both in both regimes. Uniqueness of the dual optimum is not claimed.

A complete development needs elementary convex analysis of the scalar penalty ψ1\psi_1ψ1​ (its conjugate and subdifferential), first-order optimality conditions for a convex function over a box in Rp\mathbb R^pRp, and finite-sum bookkeeping. The scalar facts about the reverse Huber penalty are reusable in the companion missions on the reduced relaxation and on dual-bound quality. Contributions to any milestone, or a direct proof of the goal, are welcome.

Selected references

  • H. Hazimeh, R. Mazumder, A. Saab, Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization, arXiv:2004.06152v2 (2021); Mathematical Programming (2022). https://arxiv.org/abs/2004.06152v2
  • S. Boyd, L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004. https://web.stanford.edu/~boyd/cvxbook/
  • A. B. Owen, A robust hybrid of lasso and ridge regression, Contemporary Mathematics 443, 59–72, 2007. https://doi.org/10.1090/conm/443/08555
  • D. Bertsimas, A. King, R. Mazumder, Best subset selection via a modern optimization lens, Annals of Statistics 44(2), 813–852, 2016. https://doi.org/10.1214/15-AOS1388
  • H. Hazimeh, R. Mazumder, Fast best subset selection: coordinate descent and local combinatorial optimization algorithms, Operations Research 68(5), 1517–1537, 2020. https://arxiv.org/abs/1803.01454
9 thms1 active userReviewed
Control TheoryOptimal TransportOptimization·Captain: mikedeng1

Wasserstein Distributionally Robust Kalman Filtering 1: Minimax MMSE Estimation over a Gaussian Wasserstein Ball Is a Finite Convex SDP with an Affine Robust EstimatorResearch Paper

Motivation

The Kalman filter estimates the hidden state of a linear system from noisy observations. At every step it solves a minimum mean square error (MMSE) estimation problem: given a joint normal distribution of a signal xxx and an observation yyy, find the estimator ψ(y)\psi(y)ψ(y) minimizing E[∥x−ψ(y)∥2]\mathbb E[\|x-\psi(y)\|^2]E[∥x−ψ(y)∥2]. The answer, the conditional mean, is optimal only if the model distribution is correct, and in practice the system matrices and noise covariances are estimated and misspecified.

Shafieezadeh-Abadeh, Nguyen, Kuhn and Mohajerin Esfahani (arXiv:1809.08830, NeurIPS 2018) replace the single model by a set of plausible models: all normal distributions within type-2 Wasserstein distance ρ\rhoρ of a nominal normal distribution. The estimator is then chosen to minimize the worst-case mean square error over this set. Their Theorem 2.5 shows that this robust estimation problem, although posed over an infinite-dimensional space of estimators and a nonconvex set of distributions, has the same value as a finite convex program over covariance matrices, and that the robust estimator is affine. Applied at every time step, this yields the Wasserstein distributionally robust Kalman filter of the paper's §4.

This mission formalizes Theorem 2.5 together with the minimax theorem (Theorem 2.3) and the lemmas of its proof.

Setting

Let n,m≥0n, m \ge 0n,m≥0 and d=n+md = n+md=n+m. A point of Rd\mathbb R^dRd is z=[x;y]z = [x; y]z=[x;y] with signal x∈Rnx\in\mathbb R^nx∈Rn and observation y∈Rmy\in\mathbb R^my∈Rm. A symmetric matrix S∈Rd×dS \in \mathbb R^{d\times d}S∈Rd×d is partitioned as S=[SxxSxySyxSyy]S = \begin{bmatrix} S_{xx} & S_{xy}\\ S_{yx} & S_{yy}\end{bmatrix}S=[Sxx​Syx​​Sxy​Syy​​]. S+d\mathbb S^d_+S+d​ (S++d\mathbb S^d_{++}S++d​) denotes the positive semidefinite (definite) matrices, A⪰BA \succeq BA⪰B means A−B∈S+dA-B\in\mathbb S^d_+A−B∈S+d​, ⟨A,B⟩=Tr⁡[A⊤B]\langle A,B\rangle = \operatorname{Tr}[A^\top B]⟨A,B⟩=Tr[A⊤B], and A1/2A^{1/2}A1/2 is the positive semidefinite square root of A⪰0A\succeq 0A⪰0.

Normal distributions. Nd(c,S)\mathcal N_d(c,S)Nd​(c,S) is the normal distribution on Rd\mathbb R^dRd with mean ccc and covariance S∈S+dS\in\mathbb S^d_+S∈S+d​; singular SSS is allowed. Nd\mathcal N_dNd​ is the set of all of them.

Wasserstein distance. For distributions Q1,Q2\mathbb Q_1,\mathbb Q_2Q1​,Q2​ on Rd\mathbb R^dRd,

W2(Q1,Q2)=inf⁡π(∫∥z1−z2∥2 π(dz1,dz2))1/2,W_2(\mathbb Q_1,\mathbb Q_2) = \inf_{\pi} \Bigl(\int \|z_1-z_2\|^2\,\pi(dz_1,dz_2)\Bigr)^{1/2},W2​(Q1​,Q2​)=πinf​(∫∥z1​−z2​∥2π(dz1​,dz2​))1/2,

the infimum ranging over all distributions π\piπ on Rd×Rd\mathbb R^d\times\mathbb R^dRd×Rd with marginals Q1\mathbb Q_1Q1​ and Q2\mathbb Q_2Q2​.

Ambiguity set. Fix μ=[μx;μy]∈Rd\mu = [\mu_x;\mu_y]\in\mathbb R^dμ=[μx​;μy​]∈Rd, Σ∈S++d\Sigma\in\mathbb S^d_{++}Σ∈S++d​, the nominal distribution P=Nd(μ,Σ)\mathbb P=\mathcal N_d(\mu,\Sigma)P=Nd​(μ,Σ) and a radius ρ≥0\rho\ge 0ρ≥0. The Wasserstein ambiguity set is

P={Q∈Nd:W2(Q,P)≤ρ}.\mathcal P = \{\mathbb Q\in\mathcal N_d : W_2(\mathbb Q,\mathbb P)\le\rho\}.P={Q∈Nd​:W2​(Q,P)≤ρ}.

Robust estimation. Let L\mathcal LL be the set of all measurable functions ψ:Rm→Rn\psi:\mathbb R^m\to\mathbb R^nψ:Rm→Rn. The distributionally robust MMSE problem is

inf⁡ψ∈L sup⁡Q∈P EQ[∥x−ψ(y)∥2],(2)\inf_{\psi\in\mathcal L}\ \sup_{\mathbb Q\in\mathcal P}\ \mathbb E^{\mathbb Q}\bigl[\|x-\psi(y)\|^2\bigr], \tag{2}ψ∈Linf​ Q∈Psup​ EQ[∥x−ψ(y)∥2],(2)

and a distributionally robust MMSE estimator is a ψ\psiψ attaining the outer infimum. Nature's problem exchanges the two optimizations; a Q⋆∈P\mathbb Q^\star\in\mathcal PQ⋆∈P attaining its outer supremum is a least favorable prior.

The finite program. With σ‾=λmin⁡(Σ)\underline\sigma = \lambda_{\min}(\Sigma)σ​=λmin​(Σ), program (5) maximizes f(S)=Tr⁡[Sxx−SxySyy−1Syx]f(S)=\operatorname{Tr}[S_{xx}-S_{xy}S_{yy}^{-1}S_{yx}]f(S)=Tr[Sxx​−Sxy​Syy−1​Syx​] over S∈S+dS\in\mathbb S^d_+S∈S+d​ (with Sxx∈S+nS_{xx}\in\mathbb S^n_+Sxx​∈S+n​, Syy∈S+mS_{yy}\in\mathbb S^m_+Syy​∈S+m​) subject to

Tr⁡[S+Σ−2(Σ1/2SΣ1/2)1/2]≤ρ2,S⪰σ‾Id.\operatorname{Tr}\bigl[S+\Sigma-2(\Sigma^{1/2}S\Sigma^{1/2})^{1/2}\bigr]\le\rho^2,\qquad S\succeq\underline\sigma I_d .Tr[S+Σ−2(Σ1/2SΣ1/2)1/2]≤ρ2,S⪰σ​Id​.

Formalization targets

Goal: Theorem 2.5 (p. 3)

  1. The optimal value of (2) equals the optimal value of (5).
  2. If S⋆S^\starS⋆ is optimal in (5), then
ψ⋆(y)=Sxy⋆(Syy⋆)−1(y−μy)+μx\psi^\star(y) = S^\star_{xy}(S^\star_{yy})^{-1}(y-\mu_y)+\mu_xψ⋆(y)=Sxy⋆​(Syy⋆​)−1(y−μy​)+μx​

is a distributionally robust MMSE estimator. 3. For the same S⋆S^\starS⋆, Q⋆=Nd(μ,S⋆)\mathbb Q^\star=\mathcal N_d(\mu,S^\star)Q⋆=Nd​(μ,S⋆) lies in P\mathcal PP and is a least favorable prior.

Existence and uniqueness of an optimal S⋆S^\starS⋆ are not part of the statement.

Milestones, in the order of the proof

  • Proposition 2.2 (Gelbrich formula): for Σ1,Σ2⪰0\Sigma_1,\Sigma_2\succeq 0Σ1​,Σ2​⪰0,
W2(Nd(μ1,Σ1),Nd(μ2,Σ2))=∥μ1−μ2∥2+Tr⁡[Σ1+Σ2−2(Σ21/2Σ1Σ21/2)1/2].W_2\bigl(\mathcal N_d(\mu_1,\Sigma_1),\mathcal N_d(\mu_2,\Sigma_2)\bigr)=\sqrt{\|\mu_1-\mu_2\|^2+\operatorname{Tr}\bigl[\Sigma_1+\Sigma_2-2(\Sigma_2^{1/2}\Sigma_1\Sigma_2^{1/2})^{1/2}\bigr]}.W2​(Nd​(μ1​,Σ1​),Nd​(μ2​,Σ2​))=∥μ1​−μ2​∥2+Tr[Σ1​+Σ2​−2(Σ21/2​Σ1​Σ21/2​)1/2]​.
  • Lemma A.1: the closed form of sup⁡S⪰0⟨D,S⟩−γTr⁡[S−2(Σ1/2SΣ1/2)1/2]\sup_{S\succeq0}\langle D,S\rangle-\gamma\operatorname{Tr}[S-2(\Sigma^{1/2}S\Sigma^{1/2})^{1/2}]supS⪰0​⟨D,S⟩−γTr[S−2(Σ1/2SΣ1/2)1/2] and its unique maximizer.
  • (A.1b): under a fixed normal distribution, affine estimators y↦Gy+gy\mapsto Gy+gy↦Gy+g achieve the minimum mean square error over L\mathcal LL.
  • Theorem 2.3 (minimax theorem): inf⁡ψ∈Lsup⁡Q∈PEQ[∥x−ψ(y)∥2]=sup⁡Q∈Pinf⁡ψ∈LEQ[∥x−ψ(y)∥2]\inf_{\psi\in\mathcal L}\sup_{\mathbb Q\in\mathcal P}\mathbb E^{\mathbb Q}[\|x-\psi(y)\|^2] = \sup_{\mathbb Q\in\mathcal P}\inf_{\psi\in\mathcal L}\mathbb E^{\mathbb Q}[\|x-\psi(y)\|^2]infψ∈L​supQ∈P​EQ[∥x−ψ(y)∥2]=supQ∈P​infψ∈L​EQ[∥x−ψ(y)∥2].
  • Lemma A.2: the maximizer of ⟨S,D⟩\langle S,D\rangle⟨S,D⟩ under the Wasserstein-type trace constraint, and S⋆⪰σ‾IdS^\star\succeq\underline\sigma I_dS⋆⪰σ​Id​.
  • (A.6): for S≻0S\succ0S≻0, min⁡G⟨[In−G−G⊤G⊤G],S⟩=f(S)\min_G\bigl\langle\begin{bmatrix}I_n&-G\\-G^\top&G^\top G\end{bmatrix},S\bigr\rangle=f(S)minG​⟨[In​−G⊤​−GG⊤G​],S⟩=f(S), uniquely at G⋆=SxySyy−1G^\star=S_{xy}S_{yy}^{-1}G⋆=Sxy​Syy−1​.

Significance

The result. Theorem 2.5 gives the robust estimator in closed form from one optimal covariance matrix, and identifies the least favorable distribution as a normal distribution with the nominal mean. Together with Theorem 2.3 it shows that the pair (ψ⋆,Q⋆)(\psi^\star,\mathbb Q^\star)(ψ⋆,Q⋆) is a saddle point: the robust estimator is the Bayesian estimator for the least favorable prior. For ρ=0\rho=0ρ=0 the program has the single feasible point Σ\SigmaΣ and the estimator reduces to the classical conditional mean, so the theorem contains the Kalman update as a special case. The finite program is what makes the robust filter of §4 computable; the paper's §3 (formalized in the companion mission of this series) solves it with a Frank–Wolfe method.

Formalizing it. The result is proved in the paper; nothing here is open. No part of it is machine-checked yet. The Gelbrich formula for normal distributions (Proposition 2.2) is cited from the literature and has no formal proof in Mathlib; neither does Lemma A.1, cited from earlier work of the same authors. A closely related statement for a Wasserstein ball over all distributions around an elliptical nominal (Kuhn et al. 2019, Theorem 25) is posed on the platform as WassersteinDRO.Shrinkage.distributionally_robust_mmse_estimator; it is a different theorem, since the ambiguity set there is convex and contains non-normal distributions.

Difficulty

The ambiguity set P\mathcal PP is not convex, because a mixture of normal distributions is generally not normal. The standard route to a minimax equality, Sion's theorem, needs convexity on nature's side and therefore does not apply to (2) directly; the obvious attempt to interchange the infimum and the supremum fails at this step. The space L\mathcal LL of measurable estimators is infinite-dimensional, and the Wasserstein constraint is an infimum over couplings, so a proof must pass to finite-dimensional descriptions on both sides (means and covariances for Q\mathbb QQ, affine maps for ψ\psiψ) and justify each passage. The matrix-analytic parts involve the nonlinear map S↦(Σ1/2SΣ1/2)1/2S\mapsto(\Sigma^{1/2}S\Sigma^{1/2})^{1/2}S↦(Σ1/2SΣ1/2)1/2, for which Mathlib has square roots but little calculus.

Formalization scope

  • Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin n ⊕ Fin m); the Sum.inl coordinates are xxx, the Sum.inr coordinates are yyy, and the blocks of a matrix are toBlocks₁₁, toBlocks₁₂, toBlocks₂₁, toBlocks₂₂.
  • Nd(c,S)\mathcal N_d(c,S)Nd​(c,S) is Mathlib's multivariateGaussian c S with S.PosSemidef; only the nominal Σ\SigmaΣ is required to be positive definite.
  • W2W_2W2​ is the published coupling-based WassersteinDRO.Shrinkage.wassersteinDistance 2 in [0,∞][0,\infty][0,∞]. The ambiguity set is defined through it, not through the Gelbrich formula; the formula is Proposition 2.2, a milestone.
  • Expectations are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], with no integrability guard. A non-integrable estimator therefore has infinite risk and cannot lower the infimum through a junk value.
  • The values of (2) and of nature's problem are in [0,∞][0,\infty][0,∞]; the value of (5) is the published sdpValue in EReal, and the two are compared through the coercion.
  • σ‾\underline\sigmaσ​ is passed as a real number that is the least eigenvalue of Σ\SigmaΣ.
  • "Equivalent" in Theorem 2.5 is read as the three claims above. A version that asserts only equality of values, or optimality of ψ⋆\psi^\starψ⋆ among affine estimators only, is weaker than the theorem and is not the goal.
  • Lemma A.2 carries the added hypothesis ρ>0\rho>0ρ>0, without which its algebraic equation has no admissible root.

A complete development needs the Gelbrich formula for (possibly degenerate) normal distributions, conditional means of jointly normal vectors, a minimax theorem for convex–concave functions on compact sets, Lagrangian duality for a convex semidefinite program, and calculus of the positive semidefinite square root. The first three are reusable well beyond this mission, and contributions of any of them as separate results are welcome.

Selected references

  • S. Shafieezadeh-Abadeh, V. A. Nguyen, D. Kuhn, P. Mohajerin Esfahani, Wasserstein Distributionally Robust Kalman Filtering, NeurIPS 2018; arXiv:1809.08830v3. https://arxiv.org/abs/1809.08830
  • M. Gelbrich, On a formula for the L² Wasserstein metric between measures on Euclidean and Hilbert spaces, Mathematische Nachrichten 147, 1990. https://doi.org/10.1002/mana.19901470121
  • V. A. Nguyen, D. Kuhn, P. Mohajerin Esfahani, Distributionally robust inverse covariance estimation, arXiv:1802.01981, 2018. https://arxiv.org/abs/1802.01981
  • D. Kuhn, P. Mohajerin Esfahani, V. A. Nguyen, S. Shafieezadeh-Abadeh, Wasserstein distributionally robust optimization: theory and applications in machine learning, INFORMS TutORials, 2019; arXiv:1908.08729. https://arxiv.org/abs/1908.08729
  • D. P. Bertsekas, Convex Optimization Theory, Athena Scientific, 2009.
18 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

From Data to Decisions: Distributionally Robust Optimization Is Optimal 2: The Relative-Entropy Robust Predictor–Prescriptor Pair Is Strongly Optimal among Data-Driven PairsResearch Paper

Motivation

A decision maker wants to choose xxx in a compact set X⊆RnX\subseteq\mathbb R^nX⊆Rn to minimize an expected cost c(x,P⋆)=EP⋆[γ(x,ξ)]c(x,\mathbb P^\star)=\mathbb E_{\mathbb P^\star}[\gamma(x,\xi)]c(x,P⋆)=EP⋆​[γ(x,ξ)], but the distribution P⋆\mathbb P^\starP⋆ of ξ\xiξ is unknown; only independent samples ξ1,…,ξT\xi_1,\dots,\xi_Tξ1​,…,ξT​ are available. The standard remedy, minimizing the cost under the empirical distribution, is known to produce decisions whose realized cost exceeds the in-sample estimate: the "optimizer's curse" of decision analysis (Smith and Winkler, 2006) and overfitting in statistics. Distributionally robust optimization (DRO) replaces the empirical distribution by a worst case over a set of nearby distributions. Many such sets have been proposed, and the question of which one is best has no answer unless "best" is made precise.

Van Parys, Mohajerin Esfahani and Kuhn (arXiv:1704.04118v3, published in Management Science 67(6), 2021) give such a precise meaning. They ask for the least conservative data-driven decision rule whose out-of-sample disappointment decays exponentially at a prescribed rate rrr under every possible data-generating distribution, and they prove that DRO over a relative-entropy ball of radius rrr is that rule. This mission formalizes the prescription half of the result (Theorem 7 of the paper), in which decisions, not only cost estimates, are optimized. The prediction half (Theorem 4) is the subject of mission 1 of this series, and the extension to continuous state spaces (Theorem 10) is mission 3. All page and result numbers below refer to the arXiv version v3 (22 Dec 2019).

Setting

The random parameter takes values in a finite set Ξ={1,…,d}\Xi=\{1,\dots,d\}Ξ={1,…,d}. The model class is the probability simplex P={P∈R+d:∑iP(i)=1}\mathcal P=\{\mathbb P\in\mathbb R^d_+:\sum_i\mathbb P(i)=1\}P={P∈R+d​:∑i​P(i)=1} with the topology inherited from Rd\mathbb R^dRd. The cost γ(x,i)\gamma(x,i)γ(x,i) is continuous in xxx for each iii, and c(x,P)=∑iP(i)γ(x,i)c(x,\mathbb P)=\sum_i\mathbb P(i)\gamma(x,i)c(x,P)=∑i​P(i)γ(x,i). From a sample path the decision maker forms the empirical distribution P^T(i)=1T∑t=1T1ξt=i\hat{\mathbb P}_T(i)=\frac1T\sum_{t=1}^T\mathbb 1_{\xi_t=i}P^T​(i)=T1​∑t=1T​1ξt​=i​. When the samples are drawn independently from P\mathbb PP, the probability of an event about P^T\hat{\mathbb P}_TP^T​ is written P∞(⋅)\mathbb P^\infty(\cdot)P∞(⋅).

A data-driven predictor is a continuous function c^:X×P→R\hat c:X\times\mathcal P\to\mathbb Rc^:X×P→R; c^(x,P^T)\hat c(x,\hat{\mathbb P}_T)c^(x,P^T​) estimates c(x,P⋆)c(x,\mathbb P^\star)c(x,P⋆). A function f:P→Xf:\mathcal P\to Xf:P→X is quasi-continuous if for every P\mathbb PP, every ϵ>0\epsilon>0ϵ>0 and every neighbourhood UUU of P\mathbb PP there is a non-empty open V⊆UV\subseteq UV⊆U on which ∥f(P)−f(Q)∥≤ϵ\|f(\mathbb P)-f(\mathbb Q)\|\le\epsilon∥f(P)−f(Q)∥≤ϵ (the set VVV need not contain P\mathbb PP). A data-driven prescriptor induced by c^\hat cc^ is a quasi-continuous x^:P→X\hat x:\mathcal P\to Xx^:P→X with x^(P′)∈arg⁡min⁡x∈Xc^(x,P′)\hat x(\mathbb P')\in\arg\min_{x\in X}\hat c(x,\mathbb P')x^(P′)∈argminx∈X​c^(x,P′) for every P′\mathbb P'P′. The family X\mathcal XX consists of all such pairs (c^,x^)(\hat c,\hat x)(c^,x^).

The prescription disappointment of a pair under a model P\mathbb PP is

P∞(c(x^(P^T),P)>c^(x^(P^T),P^T)),\mathbb P^\infty\big(c(\hat x(\hat{\mathbb P}_T),\mathbb P)>\hat c(\hat x(\hat{\mathbb P}_T),\hat{\mathbb P}_T)\big),P∞(c(x^(P^T​),P)>c^(x^(P^T​),P^T​)),

the probability that the true cost of the prescribed decision exceeds its in-sample estimate. Pairs are ordered by their in-sample optimal values: (c^1,x^1)⪯X(c^2,x^2)(\hat c_1,\hat x_1)\preceq_{\mathcal X}(\hat c_2,\hat x_2)(c^1​,x^1​)⪯X​(c^2​,x^2​) iff c^1(x^1(P′),P′)≤c^2(x^2(P′),P′)\hat c_1(\hat x_1(\mathbb P'),\mathbb P')\le\hat c_2(\hat x_2(\mathbb P'),\mathbb P')c^1​(x^1​(P′),P′)≤c^2​(x^2​(P′),P′) for all P′\mathbb P'P′. Problem (6) of the paper is the vector optimization problem

min⁡(c^,x^)∈X⪯X (c^,x^)s.t.lim sup⁡T→∞1Tlog⁡P∞(c(x^(P^T),P)>c^(x^(P^T),P^T))≤−r∀ P∈P,\min_{(\hat c,\hat x)\in\mathcal X}{}^{\preceq_{\mathcal X}}\ (\hat c,\hat x)\quad\text{s.t.}\quad\limsup_{T\to\infty}\frac1T\log\mathbb P^\infty\big(c(\hat x(\hat{\mathbb P}_T),\mathbb P)>\hat c(\hat x(\hat{\mathbb P}_T),\hat{\mathbb P}_T)\big)\le-r\quad\forall\,\mathbb P\in\mathcal P,(c^,x^)∈Xmin​⪯X​ (c^,x^)s.t.T→∞limsup​T1​logP∞(c(x^(P^T​),P)>c^(x^(P^T​),P^T​))≤−r∀P∈P,

and a pair is strongly optimal if it is feasible and ⪯X\preceq_{\mathcal X}⪯X​ every feasible pair.

The relative entropy is I(P′,P)=∑iP′(i)log⁡(P′(i)/P(i))I(\mathbb P',\mathbb P)=\sum_i\mathbb P'(i)\log(\mathbb P'(i)/\mathbb P(i))I(P′,P)=∑i​P′(i)log(P′(i)/P(i)), with 0log⁡(0/p)=00\log(0/p)=00log(0/p)=0 and p′log⁡(p′/0)=+∞p'\log(p'/0)=+\inftyp′log(p′/0)=+∞. The distributionally robust predictor and prescriptor are

c^r(x,P′)=sup⁡P∈P{c(x,P):I(P′,P)≤r},x^r(P′)∈arg⁡min⁡x∈Xc^r(x,P′),\hat c_r(x,\mathbb P')=\sup_{\mathbb P\in\mathcal P}\{c(x,\mathbb P):I(\mathbb P',\mathbb P)\le r\},\qquad \hat x_r(\mathbb P')\in\arg\min_{x\in X}\hat c_r(x,\mathbb P'),c^r​(x,P′)=P∈Psup​{c(x,P):I(P′,P)≤r},x^r​(P′)∈argx∈Xmin​c^r​(x,P′),

with x^r\hat x_rx^r​ quasi-continuous (Definition 7). The estimator realization P′\mathbb P'P′ is the first argument of III, the reverse of the usual Kullback–Leibler ball.

Formalization targets

Goal: Theorem 7 (p. 20)

r>0 ⟹ (c^r,x^r) is strongly optimal in (6), for every quasi-continuous selector x^r.r>0\ \Longrightarrow\ (\hat c_r,\hat x_r)\ \text{is strongly optimal in (6), for every quasi-continuous selector }\hat x_r .r>0 ⟹ (c^r​,x^r​) is strongly optimal in (6), for every quasi-continuous selector x^r​.

Milestones

  1. Proof of Theorem 7, p. 21 (Bledsoe 1952): a quasi-continuous x^:P→X\hat x:\mathcal P\to Xx^:P→X is continuous on a dense subset of P\mathcal PP.
  2. Proof of Theorem 7, p. 21 (Berge 1963): for XXX compact and c^\hat cc^ continuous, P′↦c^(x^(P′),P′)\mathbb P'\mapsto\hat c(\hat x(\mathbb P'),\mathbb P')P′↦c^(x^(P′),P′) is continuous for every arg-min selector x^\hat xx^.
  3. Proposition 4, p. 20: for r≥0r\ge0r≥0 a quasi-continuous selector x^r\hat x_rx^r​ exists.
  4. Theorem 6, p. 20: for r≥0r\ge0r≥0, (c^r,x^r)(\hat c_r,\hat x_r)(c^r​,x^r​) is feasible in (6).
  5. Theorem 8, (21), p. 22: P∞(c(x^r(P^T),P)>c^r(x^r(P^T),P^T))≤(T+1)de−rT\mathbb P^\infty\big(c(\hat x_r(\hat{\mathbb P}_T),\mathbb P)>\hat c_r(\hat x_r(\hat{\mathbb P}_T),\hat{\mathbb P}_T)\big)\le(T+1)^de^{-rT}P∞(c(x^r​(P^T​),P)>c^r​(x^r​(P^T​),P^T​))≤(T+1)de−rT for every T≥1T\ge1T≥1.

Context from mission 1

The proof of Theorem 7 also uses results posed as milestones of mission 1 of this series: the large deviation bounds of Theorem 1, (7a) and (7b) (p. 12); the continuity of c^r\hat c_rc^r​ (Proposition 3, p. 16); the inclusion of the disappointment set in {I(⋅,P)>r}\{I(\cdot,\mathbb P)>r\}{I(⋅,P)>r} from the proof of Theorem 3 (pp. 16–17); and the construction of a perturbed model P2>0\mathbb P_2>0P2​>0 with I(P0′,P2)<rI(\mathbb P'_0,\mathbb P_2)<rI(P0′​,P2​)<r from the proof of Theorem 4 ((14)–(16), pp. 17–18). They are not posed again here.

Significance

Theorem 7 says that no decision rule whose prescriptions disappoint with probability decaying at rate rrr can report a smaller in-sample optimal value than relative-entropy DRO, at any realization of the data. It turns a modelling choice (which ambiguity set to use) into a consequence of a statistical requirement, and it identifies the radius rrr of the ball with the decay rate of the out-of-sample disappointment. Theorem 8 complements this with a finite-sample bound that holds before any data are observed.

The theorem is proved in the paper, and its proof is short given the earlier results; there is no machine-checked version. A complete formalization adds a finite-alphabet Sanov theorem with the infinity convention of the relative entropy, an elementary theory of quasi-continuous functions on the simplex (density of continuity points, selection of quasi-continuous minimizers from an upper semicontinuous arg-min map), and Berge's maximum theorem in the form used here. The paper itself only sketches several steps (the construction of P1,P2\mathbb P_1,\mathbb P_2P1​,P2​ "exactly as in the proof of Theorem 4", and the proof of Theorem 8 is omitted).

Difficulty

Theorem 7 does not follow from the predictor result (Theorem 4). The order ⪯X\preceq_{\mathcal X}⪯X​ compares only the in-sample optimal values, so a competing pair may use a predictor that lies below c^r\hat c_rc^r​ away from its own minimizers, and the pointwise comparison of predictors that settles Theorem 4 says nothing about such a pair. What the data can detect is governed by the large deviations of P^T\hat{\mathbb P}_TP^T​, which only see sets with non-empty interior in P\mathcal PP, while the competitor's prescriptor need not be continuous. Without quasi-continuity of x^\hat xx^ the argument breaks: a selector that jumps to a cheaper decision only on a set with empty interior is invisible to the data, and the theorem is not claimed for such selectors. The existence half (Proposition 4) rests on a selection theorem for upper semicontinuous set-valued maps on Baire spaces (Matejdes 1987, Corollary 4), for which there is no Mathlib counterpart.

Formalization scope

Lean conventions:

  • Ξ\XiΞ is Fin d, and P\mathcal PP is the subtype of stdSimplex ℝ (Fin d) with its subspace topology.
  • XXX is a compact subset of EuclideanSpace ℝ (Fin n), with decisions in the subtype ↥X and the Euclidean distance; γ\gammaγ is continuous in xxx for each iii. These are the standing assumptions of §2 (p. 5).
  • The relative entropy is valued in EReal, equal to +∞+\infty+∞ unless P(i)=0⇒P′(i)=0\mathbb P(i)=0\Rightarrow\mathbb P'(i)=0P(i)=0⇒P′(i)=0.
  • P∞(P^T∈D)\mathbb P^\infty(\hat{\mathbb P}_T\in\mathcal D)P∞(P^T​∈D) is the finite sum over sample paths in ΞT\Xi^TΞT of ∏tP(ξt)\prod_t\mathbb P(\xi_t)∏t​P(ξt​). For T=0T=0T=0 every such event has probability 000, and Theorem 8 is posed for T≥1T\ge1T≥1.
  • The decay rate lim sup⁡1Tlog⁡pT≤−r\limsup\frac1T\log p_T\le-rlimsupT1​logpT​≤−r is encoded without logarithms: for every r′<rr'<rr′<r, eventually pT≤e−r′Tp_T\le e^{-r'T}pT​≤e−r′T.
  • x^r\hat x_rx^r​ is a hypothesis-bound function, quasi-continuous and an arg-min selector of c^r\hat c_rc^r​, never a chosen one.
  • Proposition 4 additionally assumes X≠∅X\ne\emptysetX=∅.

Ruled out:

  • A rate written with Real.log would treat a probability that vanishes as having rate 000.
  • A real-valued relative entropy would give finite values where the paper has +∞+\infty+∞.
  • Competing pairs without continuity of c^\hat cc^ or quasi-continuity of x^\hat xx^ make the theorem false.

Each of these makes the statement different from the paper's, and none is used.

Reusable infrastructure includes quasi-continuity (with the Bledsoe density theorem), Berge's maximum theorem for the minimum value, and finite-alphabet large deviations for empirical distributions. Contributions of any of these, or of the mission 1 milestones, are welcome.

Selected references

  • B. P. G. Van Parys, P. Mohajerin Esfahani, D. Kuhn, From Data to Decisions: Distributionally Robust Optimization is Optimal, Management Science 67(6), 2021; preprint arXiv:1704.04118v3, 2019. https://arxiv.org/abs/1704.04118v3
  • W. Bledsoe, Neighborly functions, Proceedings of the American Mathematical Society 3:114–115, 1952.
  • C. Berge, Topological Spaces: Including a Treatment of Multi-Valued Functions, Vector Spaces, and Convexity, 1963, pp. 115–116.
  • M. Matejdes, Sur les sélecteurs des multifonctions, Mathematica Slovaca 37(1):111–124, 1987.
  • J. E. Smith, R. L. Winkler, The optimizer's curse: Skepticism and postdecision surprise in decision analysis, Management Science 52(3):311–322, 2006. https://doi.org/10.1287/mnsc.1050.0451
8 thms1 active userReviewed
Machine LearningOptimal TransportProbability·Captain: mikedeng1

Minimax Statistical Learning with Wasserstein Distances III: Excess Local Minimax Risk of Wasserstein ERM When One Hypothesis Is SmoothResearch Paper

Motivation

In ordinary statistical learning, a hypothesis is chosen from training data drawn from a distribution PPP and judged by its risk under that same PPP. In practice the test distribution often differs from the training one: covariate shift, domain drift, adversarial perturbation of inputs. Distributionally robust learning replaces the risk at PPP by the worst risk over a neighbourhood of PPP. When the neighbourhood is a ball in a Wasserstein distance, the perturbed distributions may move mass to nearby points of the instance space rather than only reweight the observed ones, which makes the model a natural description of small domain drifts and adversarial perturbations (Esfahani–Kuhn 2018, Gao–Kleywegt 2016, Sinha–Namkoong–Duchi 2018).

Lee and Raginsky (NeurIPS 2018) asked whether minimising the empirical version of this worst-case risk learns: does the empirical minimiser come close, in worst-case risk, to the best hypothesis of the class, at the usual 1/n1/\sqrt n1/n​ rate? Their §3.2 answers yes when every hypothesis is uniformly Lipschitz. Their §3.3, the subject of this mission, removes that assumption: one hypothesis with controlled growth is enough.

Setting

The instance space Z\mathcal ZZ is a Polish metric space with metric dZd_{\mathcal Z}dZ​ and Borel σ\sigmaσ-algebra; fix p≥1p\ge1p≥1. For Borel probability measures P,QP,QP,Q on Z\mathcal ZZ, the ppp-Wasserstein distance is

Wp(P,Q)=(inf⁡M EM[dZp(Z,Z′)])1/p,W_p(P,Q)=\Bigl(\inf_{M}\ \mathbf E_M[d^p_{\mathcal Z}(Z,Z')]\Bigr)^{1/p},Wp​(P,Q)=(Minf​ EM​[dZp​(Z,Z′)])1/p,

the infimum over couplings MMM of PPP and QQQ. For a radius ϱ>0\varrho>0ϱ>0, Bϱ,pW(P)={Q:Wp(P,Q)≤ϱ}B^W_{\varrho,p}(P)=\{Q:W_p(P,Q)\le\varrho\}Bϱ,pW​(P)={Q:Wp​(P,Q)≤ϱ} is the Wasserstein ball around PPP.

A hypothesis is a function f:Z→Rf:\mathcal Z\to\mathbb Rf:Z→R, read as a loss; a hypothesis class is a set F\mathcal FF of them. The risk of fff under QQQ is R(Q,f)=∫f dQR(Q,f)=\int f\,dQR(Q,f)=∫fdQ. The local worst-case risk and the local minimax risk are

Rϱ,p(P,f)=sup⁡Q∈Bϱ,pW(P)R(Q,f),Rϱ,p∗(P,F)=inf⁡f∈FRϱ,p(P,f).R_{\varrho,p}(P,f)=\sup_{Q\in B^W_{\varrho,p}(P)}R(Q,f),\qquad R^*_{\varrho,p}(P,\mathcal F)=\inf_{f\in\mathcal F}R_{\varrho,p}(P,f).Rϱ,p​(P,f)=Q∈Bϱ,pW​(P)sup​R(Q,f),Rϱ,p∗​(P,F)=f∈Finf​Rϱ,p​(P,f).

Given i.i.d. samples Z1,…,Zn∼PZ_1,\dots,Z_n\sim PZ1​,…,Zn​∼P with empirical distribution Pn=1n∑iδZiP_n=\frac1n\sum_i\delta_{Z_i}Pn​=n1​∑i​δZi​​, the local minimax ERM is

f^∈arg⁡min⁡f∈FRϱ,p(Pn,f).\hat f\in\arg\min_{f\in\mathcal F}R_{\varrho,p}(P_n,f).f^​∈argf∈Fmin​Rϱ,p​(Pn​,f).

The standing assumptions are:

  • Assumption 1. Z\mathcal ZZ is bounded: diam(Z)=sup⁡z,z′dZ(z,z′)<∞\mathrm{diam}(\mathcal Z)=\sup_{z,z'}d_{\mathcal Z}(z,z')<\inftydiam(Z)=supz,z′​dZ​(z,z′)<∞.
  • Assumption 2. Every f∈Ff\in\mathcal Ff∈F is upper semicontinuous with 0≤f(z)≤M0\le f(z)\le M0≤f(z)≤M.
  • Assumption 4. Some f0∈Ff_0\in\mathcal Ff0​∈F satisfies f0(z)≤C0 dZp(z,z0)f_0(z)\le C_0\,d^p_{\mathcal Z}(z,z_0)f0​(z)≤C0​dZp​(z,z0​) for all zzz, for some C0≥0C_0\ge0C0​≥0 and z0∈Zz_0\in\mathcal Zz0​∈Z.

The complexity of F\mathcal FF is measured by the entropy integral C(F)=∫0∞log⁡N(F,∥⋅∥∞,u) du\mathfrak C(\mathcal F)=\int_0^\infty\sqrt{\log\mathcal N(\mathcal F,\|\cdot\|_\infty,u)}\,duC(F)=∫0∞​logN(F,∥⋅∥∞​,u)​du, where N\mathcal NN is the covering number of F\mathcal FF in the uniform norm.

Formalization targets

Goal: Theorem 3, display (11)

Under Assumptions 1, 2 and 4, for every δ∈(0,1)\delta\in(0,1)δ∈(0,1), with probability at least 1−δ1-\delta1−δ,

Rϱ,p(P,f^)−Rϱ,p∗(P,F)≤48 C(F)n+24 C0(2 diam(Z))pn(1+(diam(Z)ϱ)p)+3Mlog⁡(2/δ)2n.R_{\varrho,p}(P,\hat f)-R^*_{\varrho,p}(P,\mathcal F)\le\frac{48\,\mathfrak C(\mathcal F)}{\sqrt n}+\frac{24\,C_0(2\,\mathrm{diam}(\mathcal Z))^p}{\sqrt n}\Bigl(1+\Bigl(\frac{\mathrm{diam}(\mathcal Z)}{\varrho}\Bigr)^p\Bigr)+3M\sqrt{\frac{\log(2/\delta)}{2n}}.Rϱ,p​(P,f^​)−Rϱ,p∗​(P,F)≤n​48C(F)​+n​24C0​(2diam(Z))p​(1+(ϱdiam(Z)​)p)+3M2nlog(2/δ)​​.

Milestones

  1. Proposition 4 (Gao–Kleywegt strong duality): Rϱ,p(Q,f)=min⁡λ≥0{λϱp+EQ[φλ,f(Z)]}R_{\varrho,p}(Q,f)=\min_{\lambda\ge0}\{\lambda\varrho^p+\mathbf E_Q[\varphi_{\lambda,f}(Z)]\}Rϱ,p​(Q,f)=minλ≥0​{λϱp+EQ​[φλ,f​(Z)]} with φλ,f(z)=sup⁡z′{f(z′)−λdZp(z,z′)}\varphi_{\lambda,f}(z)=\sup_{z'}\{f(z')-\lambda d^p_{\mathcal Z}(z,z')\}φλ,f​(z)=supz′​{f(z′)−λdZp​(z,z′)}, in the bounded setting.
  2. Lemma 2: the optimal dual multiplier of a minimiser of Rϱ,p(Q,⋅)R_{\varrho,p}(Q,\cdot)Rϱ,p​(Q,⋅) lies in Λ=[0, C02p−1(1+(diam(Z)/ϱ)p)]\Lambda=[0,\,C_0 2^{p-1}(1+(\mathrm{diam}(\mathcal Z)/\varrho)^p)]Λ=[0,C0​2p−1(1+(diam(Z)/ϱ)p)].
  3. (C.2): for an achiever f∗f^*f∗ of Rϱ,p∗(P,F)R^*_{\varrho,p}(P,\mathcal F)Rϱ,p∗​(P,F), Rϱ,p(Pn,f∗)−Rϱ,p(P,f∗)≤∫φλ∗,f∗ d(Pn−P)R_{\varrho,p}(P_n,f^*)-R_{\varrho,p}(P,f^*)\le\int\varphi_{\lambda^*,f^*}\,d(P_n-P)Rϱ,p​(Pn​,f∗)−Rϱ,p​(P,f∗)≤∫φλ∗,f∗​d(Pn​−P).
  4. (C.3): Rϱ,p(P,f^)−Rϱ,p(Pn,f^)≤sup⁡φ∈Φ∫φ d(P−Pn)R_{\varrho,p}(P,\hat f)-R_{\varrho,p}(P_n,\hat f)\le\sup_{\varphi\in\Phi}\int\varphi\,d(P-P_n)Rϱ,p​(P,f^​)−Rϱ,p​(Pn​,f^​)≤supφ∈Φ​∫φd(P−Pn​), with Φ={φλ,f:λ∈Λ,f∈F}\Phi=\{\varphi_{\lambda,f}:\lambda\in\Lambda,f\in\mathcal F\}Φ={φλ,f​:λ∈Λ,f∈F}.
  5. (C.4): with probability at least 1−δ/21-\delta/21−δ/2, the left side of (C.3) is at most 2Rn(Φ)+M2log⁡(2/δ)/n2\mathfrak R_n(\Phi)+M\sqrt{2\log(2/\delta)/n}2Rn​(Φ)+M2log(2/δ)/n​, where Rn\mathfrak R_nRn​ is the expected Rademacher average.
  6. (C.5): with probability at least 1−δ/21-\delta/21−δ/2, Rϱ,p(Pn,f∗)−Rϱ,p(P,f∗)≤Mlog⁡(2/δ)/(2n)R_{\varrho,p}(P_n,f^*)-R_{\varrho,p}(P,f^*)\le M\sqrt{\log(2/\delta)/(2n)}Rϱ,p​(Pn​,f∗)−Rϱ,p​(P,f∗)≤Mlog(2/δ)/(2n)​.
  7. Lemma 5: Rn(Φ)≤24nC(F)+12C0(2 diam(Z))pn(1+(diam(Z)/ϱ)p)\mathfrak R_n(\Phi)\le\frac{24}{\sqrt n}\mathfrak C(\mathcal F)+\frac{12C_0(2\,\mathrm{diam}(\mathcal Z))^p}{\sqrt n}(1+(\mathrm{diam}(\mathcal Z)/\varrho)^p)Rn​(Φ)≤n​24​C(F)+n​12C0​(2diam(Z))p​(1+(diam(Z)/ϱ)p).

The goal carries the paper's constants. The mission does not ask for sharper constants; a proof of the stated bound closes it.

Significance

The result. Theorem 3 is a generalisation guarantee for Wasserstein distributionally robust ERM that needs no uniform smoothness of the class. The uniformly Lipschitz assumption of the companion Theorem 2 fails for most classes of interest when p>1p>1p>1: a function with sup⁡z,z′(f(z′)−f(z))/dZp(z,z′)<∞\sup_{z,z'}(f(z')-f(z))/d^p_{\mathcal Z}(z,z')<\inftysupz,z′​(f(z′)−f(z))/dZp​(z,z′)<∞ is constant (p. 6). Assumption 4 holds, for example, for regression with quadratic loss whenever the predictor class contains the zero predictor (p. 6). The second term of (11) decreases as ϱ\varrhoϱ grows, which quantifies how a larger ambiguity set screens out non-smooth hypotheses (Remark 4).

Formalizing it. The theorem has a published pen-and-paper proof (Appendix C.5 of the arXiv version); it has no machine-checked proof. A formalization produces machine-checked statements of the dual characterisation of Wasserstein worst-case risk on a bounded Polish space, of a symmetrization-plus-McDiarmid uniform deviation bound for a parametrised class, and of a Dudley-entropy bound on a product class. The proof (C.5) on p. 16 starts from an achiever f∗f^*f∗ of Rϱ,p∗(P,F)R^*_{\varrho,p}(P,\mathcal F)Rϱ,p∗​(P,F), which need not exist; the goal is stated without that assumption, so a complete proof also handles the infimum.

Difficulty

The obvious argument decomposes the excess risk through f∗f^*f∗ and bounds Rϱ,p(P,f^)−Rϱ,p(Pn,f^)R_{\varrho,p}(P,\hat f)-R_{\varrho,p}(P_n,\hat f)Rϱ,p​(P,f^​)−Rϱ,p​(Pn​,f^​) by a uniform deviation over F\mathcal FF. That step fails: Rϱ,p(⋅,f)R_{\varrho,p}(\cdot,f)Rϱ,p​(⋅,f) is a supremum over a ball of measures, not an expectation, so it is not an empirical process in fff. Passing to the dual makes it one, but the dual multiplier λ^\hat\lambdaλ^ depends on the sample and has no a priori bound, so the class {φλ,f}\{\varphi_{\lambda,f}\}{φλ,f​} over all λ≥0\lambda\ge0λ≥0 is too large. Without uniform smoothness of F\mathcal FF there is no obvious a priori bound on λ^\hat\lambdaλ^, and the entropy of the resulting two-parameter class must still be controlled at rate 1/n1/\sqrt n1/n​. Strong duality itself (Proposition 4) needs the existence of optimal couplings and a measurable-selection argument on a Polish space; it is not in Mathlib.

Formalization scope

  • Z\mathcal ZZ is a MetricSpace with BorelSpace and PolishSpace instances; Assumption 1 is Bornology.IsBounded (Set.univ : Set 𝒵), and diam(Z)\mathrm{diam}(\mathcal Z)diam(Z) is Metric.diam Set.univ. Throughout, p≥1p\ge1p≥1 and ϱ>0\varrho>0ϱ>0 (the paper's standing choice, p. 3).
  • The Wasserstein distance and ball are the published definitions WassersteinLinOpt.Ball.wassersteinDist and wassersteinBall, which range over all Borel probability measures; on a bounded space this equals the paper's Pp(Z)\mathcal P_p(\mathcal Z)Pp​(Z) ball.
  • Local risks, φλ,f\varphi_{\lambda,f}φλ,f​, Λ\LambdaΛ, Φ\PhiΦ and Rn\mathfrak R_nRn​ are real-valued suprema and infima, used only for classes bounded in [0,M][0,M][0,M], where they are finite.
  • The sample is a point of Zn\mathcal Z^nZn under P⊗nP^{\otimes n}P⊗n. "With probability at least 1−δ1-\delta1−δ" means the outer measure of the failure set is at most δ\deltaδ; this equals the probability when the set is measurable and is stronger otherwise.
  • The ERM is a sample-indexed function f^\hat ff^​ with hypotheses f^(ω)∈F\hat f(\omega)\in\mathcal Ff^​(ω)∈F and minimality of Rϱ,p(Pn,⋅)R_{\varrho,p}(P_n,\cdot)Rϱ,p​(Pn​,⋅). These hypotheses presuppose that an empirical minimiser exists, as (7) does. No measurability of f^\hat ff^​ is assumed.
  • The covering number is internal (centres in F\mathcal FF). C(F)\mathfrak C(\mathcal F)C(F) is valued in [0,∞][0,\infty][0,∞], and every bound containing it assumes C(F)<∞\mathfrak C(\mathcal F)<\inftyC(F)<∞: otherwise the paper's bound is +∞+\infty+∞, while its conversion to a real number would be 000.
  • Proposition 4 is stated for bounded upper semicontinuous fff on bounded Z\mathcal ZZ, the only case the paper uses. The printed statement covers every usc fff and every Q∈Pp(Z)Q\in\mathcal P_p(\mathcal Z)Q∈Pp​(Z).
  • (C.2) and (C.5) assume an achiever f∗f^*f∗, as printed; the goal does not.

The following formalizations would trivialize the goal and are ruled out: a bound for each fixed f∈Ff\in\mathcal Ff∈F in place of Rϱ,p∗(P,F)R^*_{\varrho,p}(P,\mathcal F)Rϱ,p∗​(P,F); an f^\hat ff^​ defined by Classical.choose of an unproved existence; a supremum over all measures instead of over the ball; and the real conversion of an infinite C(F)\mathfrak C(\mathcal F)C(F).

The infrastructure is reusable beyond this mission: Wasserstein strong duality on Polish spaces (Proposition 4 specialises the general optimal-transport duality of Blanchet–Murthy 2019, whose transport-plan form is a proved theorem on the platform as ModelRiskOT.Duality.theorem_1); Dudley's entropy bound for sub-Gaussian processes indexed by infinite classes; and McDiarmid's inequality for suprema of empirical processes. Contributions of these general tools, as separate theorems, are welcome. Source: the arXiv v2 preprint, which is the NeurIPS 2018 camera-ready text followed by the supplementary appendices.

Selected references

  • J. Lee, M. Raginsky, Minimax statistical learning with Wasserstein distances, NeurIPS 2018; arXiv:1705.07815v2. https://arxiv.org/abs/1705.07815
  • R. Gao, A. J. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, arXiv:1604.02199, 2016. https://arxiv.org/abs/1604.02199
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44(2), 2019. https://doi.org/10.1287/moor.2018.0936
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • A. Sinha, H. Namkoong, J. Duchi, Certifying some distributional robustness with principled adversarial training, ICLR 2018; arXiv:1710.10571. https://arxiv.org/abs/1710.10571
  • R. M. Dudley, The sizes of compact subsets of Hilbert space and continuity of Gaussian processes, Journal of Functional Analysis 1, 1967. https://doi.org/10.1016/0022-1236(67)90017-1
13 thms1 active userReviewed
Information TheoryOperations ResearchProbability·Captain: mikedeng1

Bootstrap Robust Prescriptive Analytics 3: Any Distance Exceeding the Bootstrap Distance Near Some D Loses the Disappointment Rate −rResearch Paper

Motivation

Data-driven decision making estimates the cost of a decision from training data and then optimizes that estimate. The optimized estimate is biased downwards: the decision that looks best on the training data tends to disappoint on fresh data. Distributionally robust optimization counters this by optimizing the worst case of the estimate over all distributions within a radius rrr of the empirical distribution, measured by a chosen distance function RRR. Many distance functions are in use (φ-divergences, Wasserstein distances, moment sets), and the choice is usually justified by tractability.

Bertsimas and Van Parys, Bootstrap robust prescriptive analytics (arXiv:1711.09974v2), measure disappointment on bootstrap data: resamples drawn with replacement from the training data. Their Theorem 6 shows that with the entropic bootstrap distance BBB the bootstrap disappointment decays exponentially in the sample size at rate at least rrr. Proposition 1, the subject of this mission, is the converse: BBB is the smallest distance function with this guarantee. Any distance that is strictly larger than BBB near some distribution admits a nominal formulation whose disappointment decays strictly slower than e−nre^{-nr}e−nr. The result is in the spirit of Van Parys, Esfahani and Kuhn (arXiv:1704.04118), where the relative entropy is shown to be the optimal ambiguity set for i.i.d. data.

Setting

The distinct training points form a finite set Ωn\Omega_nΩn​, written ι\iotaι in Lean. A distribution on it is a vector D∈RιD\in\mathbb R^\iotaD∈Rι with nonnegative entries summing to one; the simplex of all such vectors is Dn\mathcal D_nDn​. The training data have the empirical distribution Dtr∈DnD_{\rm tr}\in\mathcal D_nDtr​∈Dn​, which gives positive weight to every point of Ωn\Omega_nΩn​.

The bootstrap distance (Definition 6, Eq. (27)) is the relative entropy

B(D,D′)=∑i∈ιDilog⁡DiDi′,B(D,D')=\sum_{i\in\iota}D_i\log\frac{D_i}{D'_i},B(D,D′)=i∈ι∑​Di​logDi′​Di​​,

with 0log⁡0=00\log0=00log0=0 and B(D,D′)=+∞B(D,D')=+\inftyB(D,D′)=+∞ if some Di>0=Di′D_i>0=D'_iDi​>0=Di′​.

A distribution distance function (Definition 4) is a map R:Dn×Dn→(−∞,+∞]R:\mathcal D_n\times\mathcal D_n\to(-\infty,+\infty]R:Dn​×Dn​→(−∞,+∞] that is nonnegative, vanishes exactly on the diagonal (R(D′,D)=0R(D',D)=0R(D′,D)=0 iff D′=DD'=DD′=D), and is convex in its first argument. BBB is one.

A bootstrap sample of size nnn is nnn independent draws from DtrD_{\rm tr}Dtr​ (Eq. (14)); its law is the product DtrnD_{\rm tr}^nDtrn​, and its empirical distribution is Dbs[n]D_{{\rm bs}[n]}Dbs[n]​, the frequency of each point of ι\iotaι among the nnn draws.

A nominal formulation here is a loss G:ι→R+G:\iota\to\mathbb R_+G:ι→R+​ with cost estimator ED[G]=∑iDiGi\mathbb E_D[G]=\sum_iD_iG_iED​[G]=∑i​Di​Gi​. Its robust counterpart (Eq. (24)) replaces the estimate by sup⁡{ED′[G]:D′∈Dn, R(D′,Dtr)≤r}\sup\{\mathbb E_{D'}[G]: D'\in\mathcal D_n,\ R(D',D_{\rm tr})\le r\}sup{ED′​[G]:D′∈Dn​, R(D′,Dtr​)≤r}, and its disappointment set is

R={D∈Dn: ED[G]>sup⁡D′∈Dn, R(D′,Dtr)≤rED′[G]},\mathcal R=\Big\{D\in\mathcal D_n:\ \mathbb E_D[G]>\sup_{D'\in\mathcal D_n,\ R(D',D_{\rm tr})\le r}\mathbb E_{D'}[G]\Big\},R={D∈Dn​: ED​[G]>D′∈Dn​, R(D′,Dtr​)≤rsup​ED′​[G]},

the bootstrap distributions on which the realized cost exceeds the robust budget.

Formalization targets

Goal: Proposition 1 (p. 16)

Let RRR be a distribution distance function, D∈DnD\in\mathcal D_nD∈Dn​ with B(D,Dtr)=rB(D,D_{\rm tr})=rB(D,Dtr​)=r, and N⊆Dn\mathcal N\subseteq\mathcal D_nN⊆Dn​ a neighbourhood of DDD, open in Dn\mathcal D_nDn​, on which R(⋅,Dtr)>rR(\cdot,D_{\rm tr})>rR(⋅,Dtr​)>r. Then there is a loss G≥0G\ge0G≥0 whose disappointment set satisfies

−r<lim inf⁡n→∞1nlog⁡Dtr∞[Dbs[n]∈R],-r<\liminf_{n\to\infty}\frac1n\log D^\infty_{\rm tr}\big[D_{{\rm bs}[n]}\in\mathcal R\big],−r<n→∞liminf​n1​logDtr∞​[Dbs[n]​∈R],

stated in Lean in the equivalent form: for some ε>0\varepsilon>0ε>0, eventually Dtrn[Dbs[n]∈R]≥e−n(r−ε)D^n_{\rm tr}[D_{{\rm bs}[n]}\in\mathcal R]\ge e^{-n(r-\varepsilon)}Dtrn​[Dbs[n]​∈R]≥e−n(r−ε).

Milestones (Appendix B.2, p. 27, and Eq. (31), p. 16)

  1. Separation. The RRR-ball {R(⋅,Dtr)≤r}\{R(\cdot,D_{\rm tr})\le r\}{R(⋅,Dtr​)≤r} and a convex open N\mathcal NN on which R>rR>rR>r are separated by a linear functional: ED[G]≤a<ED′[G]\mathbb E_D[G]\le a<\mathbb E_{D'}[G]ED​[G]≤a<ED′​[G].
  2. Inclusion. For such GGG and aaa, int N=N⊆R{\rm int}\,\mathcal N=\mathcal N\subseteq\mathcal RintN=N⊆R.
  3. Sanov's lower bound (31). −inf⁡D∈int CB(D,Dtr)≤lim inf⁡n1nlog⁡Dtr∞[Dbs[n]∈C]-\inf_{D\in{\rm int}\,\mathcal C}B(D,D_{\rm tr})\le\liminf_n\frac1n\log D^\infty_{\rm tr}[D_{{\rm bs}[n]}\in\mathcal C]−infD∈intC​B(D,Dtr​)≤liminfn​n1​logDtr∞​[Dbs[n]​∈C] for every set C\mathcal CC.
  4. Convexity step. B(λD+(1−λ)Dtr,Dtr)≤λB(D,Dtr)+(1−λ)B(Dtr,Dtr)<rB(\lambda D+(1-\lambda)D_{\rm tr},D_{\rm tr})\le\lambda B(D,D_{\rm tr})+(1-\lambda)B(D_{\rm tr},D_{\rm tr})<rB(λD+(1−λ)Dtr​,Dtr​)≤λB(D,Dtr​)+(1−λ)B(Dtr​,Dtr​)<r for λ∈(0,1)\lambda\in(0,1)λ∈(0,1).
  5. Infimum below rrr. inf⁡D′∈NB(D′,Dtr)<r\inf_{D'\in\mathcal N}B(D',D_{\rm tr})<rinfD′∈N​B(D′,Dtr​)<r.

Significance

Proposition 1 turns Theorem 6 from a sufficient condition into a characterization. Theorem 6 says the bootstrap distance guarantees disappointment rate rrr; Proposition 1 says no distance function that is larger than BBB on an open set does, for some nominal formulation. A practitioner who wants the bootstrap guarantee with the least conservative ambiguity set therefore has no better choice than BBB in this sense. The result is one instance of a pattern in data-driven optimization, where large-deviation rate functions appear as the optimal ambiguity sets.

The paper's proof is a short combination of three standard facts: strict separation of convex sets, Sanov's theorem, and convexity of relative entropy. None of the three is available on the platform in the form needed. Sanov's theorem for empirical distributions on a finite alphabet has no machine-checked proof in Mathlib or on the platform; the lower bound (31) is a self-contained, reusable result of independent interest. The separation step needs strict separation inside the affine hull of the simplex, which Mathlib provides only in the ambient vector space. The result is proved on paper; none of it is formalized.

Difficulty

The separation and convexity steps are routine once the relative topology of the simplex is handled. The central difficulty is the lower bound (31), a large-deviation lower bound for the empirical distribution of i.i.d. draws. The bootstrap probability of an event is a sum of multinomial probabilities over the empirical distributions with denominator nnn that fall in the event, and the bound must hold for every point of the relative interior, including points on the boundary of the simplex, where some coordinates vanish and the distance BBB is not differentiable. An argument that only treats distributions of full support, or only open sets of Rι\mathbb R^\iotaRι, does not cover these points.

A second difficulty is bookkeeping between the three topologies in play: the ambient space Rι\mathbb R^\iotaRι, the simplex Dn\mathcal D_nDn​, and the affine hull in which separation takes place.

Formalization scope

  • Ωn\Omega_nΩn​ is a finite type ι\iotaι with decidable equality; distributions are stdSimplex ℝ ι. Covariates, responses, neighbourhood weights and the decision zzz are abstracted away: the nominal formulation is the estimator D↦∑iDiGiD\mapsto\sum_iD_iG_iD↦∑i​Di​Gi​ (the estimator (18) with k=nk=nk=n and unit weights), so the robust prescription ztrr(x0)z^r_{\rm tr}(x_0)ztrr​(x0​) plays no role.
  • DtrD_{\rm tr}Dtr​ has all coordinates positive (the support convention of the paper).
  • BBB and RRR are EReal-valued; convexity of RRR is written out in EReal. The supremum defining R\mathcal RR is an EReal supremum. It is never empty, because DtrD_{\rm tr}Dtr​ lies in the RRR-ball, so R\mathcal RR cannot collapse to all of Dn\mathcal D_nDn​.
  • The bootstrap law is the nnn-fold product Measure.pi of ∑iDtr,i δi\sum_iD_{{\rm tr},i}\,\delta_i∑i​Dtr,i​δi​, with DtrD_{\rm tr}Dtr​ fixed while n→∞n\to\inftyn→∞.
  • "Open" and "int" are relative to Dn\mathcal D_nDn​. With the ambient topology, no nonempty subset of the simplex is open and every interior is empty, which would make Proposition 1 and (31) vacuous; this formalization rules that out, as it rules out a junk real logarithm (log⁡0=0\log0=0log0=0) by using the explicit-ε\varepsilonε form of every rate statement.
  • Disclosed additions: the separation milestone assumes N\mathcal NN is convex, nonempty and inside the relative interior of the simplex; the infimum milestone assumes r>0r>0r>0, which holds in Proposition 1.

A complete development needs the method of types on a finite alphabet, strict separation in an affine subspace, and the convexity of relative entropy. The method-of-types lower bound is reusable well beyond this mission (hypothesis testing, large deviations of empirical measures). Proofs of any milestone, and alternative proofs of (31), are welcome.

Selected references

  • D. Bertsimas, B. Van Parys, Bootstrap robust prescriptive analytics, arXiv:1711.09974v2, 2021; Mathematical Programming, 2021. https://arxiv.org/abs/1711.09974
  • A. Dembo, O. Zeitouni, Large Deviations Techniques and Applications, 2nd ed., Springer, 2009 (Theorem 6.2.10, Sanov's theorem). https://doi.org/10.1007/978-3-642-03311-7
  • B. Van Parys, P. Mohajerin Esfahani, D. Kuhn, From data to decisions: distributionally robust optimization is optimal, Management Science 67(6), 2021. https://arxiv.org/abs/1704.04118
  • I. Csiszár, The method of types, IEEE Transactions on Information Theory 44(6), 1998. https://doi.org/10.1109/18.720546
  • B. Efron, The Jackknife, the Bootstrap and Other Resampling Plans, SIAM, 1982. https://doi.org/10.1137/1.9781611970319
8 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

From Data to Decisions: Distributionally Robust Optimization Is Optimal 1: The Relative-Entropy Robust Predictor Is the Least Conservative Predictor Whose Disappointment Decays at Rate rResearch Paper

Motivation

A decision maker who must choose xxx before observing an uncertain outcome ξ\xiξ usually does not know the distribution of ξ\xiξ; only past observations ξ1,…,ξT\xi_1,\dots,\xi_Tξ1​,…,ξT​ are available. Data-driven optimization replaces the unknown expected cost by an estimate computed from the data. The simplest estimate, the sample average, is optimistically biased: the cost realized out of sample is, with probability close to one half, higher than predicted. Many corrections have been proposed: robust optimization over moment, ϕ\phiϕ-divergence or Wasserstein ambiguity sets (Delage & Ye 2010; Ben-Tal et al. 2013; Bertsimas, Gupta & Kallus 2018), and empirical-likelihood methods (Lam 2019; Duchi, Glynn & Namkoong 2021). Each is justified by a guarantee it satisfies. Van Parys, Mohajerin Esfahani and Kuhn (arXiv:1704.04118; Management Science 67(6), 2021) ask a different question: among all estimates that satisfy a given guarantee, which one is the least conservative? Their answer singles out one distributionally robust predictor, built on the relative entropy, as the best possible one in a precise sense. This mission formalizes that answer for the prediction problem with finitely many outcomes.

Setting

The outcome ξ\xiξ takes values in Ξ={1,…,d}\Xi=\{1,\dots,d\}Ξ={1,…,d}. Decisions range over a compact set X⊆RnX\subseteq\mathbb R^nX⊆Rn, and the cost γ(x,i)\gamma(x,i)γ(x,i) is continuous in xxx for each iii. These are the standing assumptions of §2 (p. 5).

A model is a point P\mathbb PP of the probability simplex P={P∈R+d:∑iP(i)=1}\mathcal P=\{\mathbb P\in\mathbb R^d_+:\sum_i\mathbb P(i)=1\}P={P∈R+d​:∑i​P(i)=1}, with the topology inherited from Rd\mathbb R^dRd. Under a model the expected cost is c(x,P)=∑iP(i)γ(x,i)c(x,\mathbb P)=\sum_i\mathbb P(i)\gamma(x,i)c(x,P)=∑i​P(i)γ(x,i).

The data are TTT independent draws from an unknown model. They enter only through the empirical distribution P^T(i)=1T#{t≤T:ξt=i}\hat{\mathbb P}_T(i)=\frac1T\#\{t\le T:\xi_t=i\}P^T​(i)=T1​#{t≤T:ξt​=i}. Write P∞(⋅)\mathbb P^\infty(\cdot)P∞(⋅) for probabilities when the samples are drawn from P\mathbb PP.

A data-driven predictor is a continuous function c^:X×P→R\hat c:X\times\mathcal P\to\mathbb Rc^:X×P→R; the number c^(x,P^T)\hat c(x,\hat{\mathbb P}_T)c^(x,P^T​) estimates c(x,P)c(x,\mathbb P)c(x,P). The set of all of them is C\mathcal CC. Its out-of-sample disappointment is the probability P∞(c(x,P)>c^(x,P^T))\mathbb P^\infty\big(c(x,\mathbb P)>\hat c(x,\hat{\mathbb P}_T)\big)P∞(c(x,P)>c^(x,P^T​)) that the true cost exceeds the prediction.

The relative entropy of P′\mathbb P'P′ with respect to P\mathbb PP is

I(P′,P)=∑iP′(i)log⁡P′(i)P(i)∈[0,∞],I(\mathbb P',\mathbb P)=\sum_{i}\mathbb P'(i)\log\frac{\mathbb P'(i)}{\mathbb P(i)}\in[0,\infty],I(P′,P)=i∑​P′(i)logP(i)P′(i)​∈[0,∞],

with 0log⁡(0/p)=00\log(0/p)=00log(0/p)=0 and p′log⁡(p′/0)=+∞p'\log(p'/0)=+\inftyp′log(p′/0)=+∞ for p′>0p'>0p′>0.

For a threshold r≥0r\ge0r≥0, the distributionally robust predictor is

c^r(x,P′)=sup⁡P∈P{c(x,P):I(P′,P)≤r}.(10)\hat c_r(x,\mathbb P')=\sup_{\mathbb P\in\mathcal P}\{c(x,\mathbb P):I(\mathbb P',\mathbb P)\le r\}.\tag{10}c^r​(x,P′)=P∈Psup​{c(x,P):I(P′,P)≤r}.(10)

It is the worst expected cost over all models under which the observed frequencies P′\mathbb P'P′ are not exponentially unlikely at rate more than rrr. The observed frequencies are the first argument of III.

Formalization targets

Goal: Theorem 4 (strong optimality)

The paper's meta-optimization problem (5) is

min⁡c^∈C⪯C c^s.t.lim sup⁡T→∞1Tlog⁡P∞(c(x,P)>c^(x,P^T))≤−r∀x∈X, P∈P,\min_{\hat c\in\mathcal C}{}^{\preceq_{\mathcal C}}\ \hat c\quad\text{s.t.}\quad\limsup_{T\to\infty}\frac1T\log\mathbb P^\infty\big(c(x,\mathbb P)>\hat c(x,\hat{\mathbb P}_T)\big)\le-r\quad\forall x\in X,\ \mathbb P\in\mathcal P,c^∈Cmin​⪯C​ c^s.t.T→∞limsup​T1​logP∞(c(x,P)>c^(x,P^T​))≤−r∀x∈X, P∈P,

where c^1⪯Cc^2\hat c_1\preceq_{\mathcal C}\hat c_2c^1​⪯C​c^2​ means c^1≤c^2\hat c_1\le\hat c_2c^1​≤c^2​ pointwise on X×PX\times\mathcal PX×P. A feasible c^⋆\hat c^\starc^⋆ is strongly optimal if c^⋆⪯Cc^\hat c^\star\preceq_{\mathcal C}\hat cc^⋆⪯C​c^ for every feasible c^\hat cc^. The goal is:

If r>0, then c^r is strongly optimal in (5).\text{If } r>0,\ \text{then } \hat c_r \text{ is strongly optimal in (5).}If r>0, then c^r​ is strongly optimal in (5).

This statement contains feasibility (continuity and the decay rate) and pointwise domination of every feasible competitor.

Milestones

  1. Proposition 1(ii) and (iii): III is jointly convex and lower semicontinuous on P×P\mathcal P\times\mathcal PP×P.
  2. The supremum in (10) is attained.
  3. Theorem 2: the strong LDP P∞(P^T∈D)≤(T+1)de−Tinf⁡DI(⋅,P)\mathbb P^\infty(\hat{\mathbb P}_T\in\mathcal D)\le(T+1)^de^{-T\inf_{\mathcal D}I(\cdot,\mathbb P)}P∞(P^T​∈D)≤(T+1)de−TinfD​I(⋅,P).
  4. Theorem 1: the weak LDP, upper bound (7a) and, for P>0\mathbb P>0P>0, lower bound (7b) with the interior of D\mathcal DD.
  5. Proposition 2: the dual representation c^r(x,P′)=min⁡α≥γˉ(x)α−e−r∏i(α−γ(x,i))P′(i)\hat c_r(x,\mathbb P')=\min_{\alpha\ge\bar\gamma(x)}\alpha-e^{-r}\prod_i(\alpha-\gamma(x,i))^{\mathbb P'(i)}c^r​(x,P′)=minα≥γˉ​(x)​α−e−r∏i​(α−γ(x,i))P′(i), with a minimizer in an explicit interval.
  6. Proposition 3 and Theorem 3: c^r\hat c_rc^r​ is continuous, and is feasible in (5) for every r≥0r\ge0r≥0.
  7. Display (15): a maximizer in the closed relative entropy ball can be approximated in cost by a strictly positive model in the open ball.

Two further statements are included without milestones: Proposition 1(i), the information inequality, and Theorem 5, the finite-sample bound (T+1)de−rT(T+1)^de^{-rT}(T+1)de−rT on the disappointment of c^r\hat c_rc^r​.

Significance

The theorem turns a choice among robust estimators into a uniqueness statement. If a decision maker asks only for a disappointment probability that decays exponentially at rate rrr under every possible model, then c^r\hat c_rc^r​ is the unique least conservative continuous predictor. Any predictor that is smaller anywhere fails the guarantee for some model. The reverse predictor (12) and the restricted predictor (13), which fix the other argument of III or hedge only against models absolutely continuous with respect to the observed frequencies and are common in the literature, differ from c^r\hat c_rc^r​ (Remark 3, pp. 15–16), so the theorem does not single them out. The companion missions of this series extend the result to predictor–prescriptor pairs (mission 2) and to compact continuous outcome spaces (mission 3).

The result is proved in the paper; nothing here is open. To our knowledge none of it has been machine-checked. A formal development would also give Mathlib-level statements of the method of types: Sanov's theorem for finite alphabets in both its finite-sample and asymptotic forms, together with the convexity and semicontinuity of the relative entropy with the +∞+\infty+∞ convention. These are reusable far beyond this paper.

Difficulty

Feasibility (Theorem 3) is a direct consequence of the LDP upper bound, once the disappointment set is seen to lie outside the relative entropy ball. The difficulty is the optimality half. Showing that a competitor c^\hat cc^ with c^(x,P0′)<c^r(x,P0′)\hat c(x,\mathbb P_0')<\hat c_r(x,\mathbb P_0')c^(x,P0′​)<c^r​(x,P0′​) at a single point must be infeasible requires a lower bound on a disappointment probability. The obvious approach evaluates the LDP lower bound at a maximizer P0\mathbb P_0P0​ of (10). That fails: the lower bound (7b) needs a strictly positive model, the maximizer usually lies on the boundary of the simplex and on the boundary of the ball I(P0′,⋅)≤rI(\mathbb P_0',\cdot)\le rI(P0′​,⋅)≤r, and the bound is only in terms of the interior of the disappointment set. The argument has to move to a nearby model, and this uses the continuity of c^\hat cc^, the convexity of III, and the +∞+\infty+∞ convention of III in its second argument. The asymptotic statements also require care with the logarithm of a vanishing probability.

Formalization scope

  • Outcomes and models. Ξ\XiΞ is Fin d. P\mathcal PP is the subtype of stdSimplex ℝ (Fin d), so interiors and continuity are relative to P\mathcal PP, as footnote 1 (p. 12) requires.
  • Decisions and cost. XXX is a compact subset of EuclideanSpace ℝ (Fin n), and γ:X→Rd\gamma : X\to\mathbb R^dγ:X→Rd is continuous in xxx for each outcome.
  • Relative entropy. III is EReal-valued and is +∞+\infty+∞ whenever P(i)=0<P′(i)\mathbb P(i)=0<\mathbb P'(i)P(i)=0<P′(i). A real-valued sum would give a finite value there under Lean's log 0 = 0, and so change c^r\hat c_rc^r​.
  • Probabilities. Sampling probabilities are finite sums over sample paths ΞT\Xi^TΞT. The empirical distribution is defined for T≥1T\ge1T≥1; finite-sample statements assume T≥1T\ge1T≥1.
  • Decay rates. Rates are stated without logarithms: lim sup⁡1Tlog⁡pT≤−r\limsup\frac1T\log p_T\le-rlimsupT1​logpT​≤−r is written "for every r′<rr'<rr′<r, eventually pT≤e−r′Tp_T\le e^{-r'T}pT​≤e−r′T". The form through Real.log would give a never-disappointed predictor rate 000, which makes Theorem 3 false.
  • Infima. Infima of III are taken in the extended reals.
  • Competitors. They range over all jointly continuous functions on X×PX\times\mathcal PX×P. Dropping continuity makes Theorem 4 false.
  • Sets D\mathcal DD. The LDP statements require Borel D⊆P\mathcal D\subseteq\mathcal PD⊆P, represented by MeasurableSet D in the simplex subtype.
  • Display (15). The clause 0<r20<r_20<r2​ is dropped: it is unused, and it fails for d=1d=1d=1.

Welcome contributions: the method of types on Fin d (type classes, their cardinality bounds and probabilities); joint convexity and lower semicontinuity of the finite relative entropy with the +∞+\infty+∞ convention; and Berge's maximum theorem in the form used for Proposition 3. These are reusable beyond this mission. The definitions duplicate those of mission 2 of this series and are meant to be merged once published.

The source is the arXiv preprint arXiv:1704.04118v3 (22 Dec 2019); all theorem, display and page numbers refer to it.

Selected references

  • B. P. G. Van Parys, P. Mohajerin Esfahani, D. Kuhn, From Data to Decisions: Distributionally Robust Optimization is Optimal, Management Science 67(6), 2021. Preprint arXiv:1704.04118v3. https://arxiv.org/abs/1704.04118v3 — https://doi.org/10.1287/mnsc.2020.3678
  • T. M. Cover, J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley, 2006 (Theorems 2.6.3, 2.7.2, 11.4.1). https://doi.org/10.1002/047174882X
  • A. Dembo, O. Zeitouni, Large Deviations Techniques and Applications, 2nd ed., Springer, 1998. https://doi.org/10.1007/978-1-4612-5320-4
  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg, G. Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Science 59(2), 2013. https://doi.org/10.1287/mnsc.1120.1641
  • E. Delage, Y. Ye, Distributionally Robust Optimization Under Moment Uncertainty with Application to Data-Driven Problems, Operations Research 58(3), 2010. https://doi.org/10.1287/opre.1090.0741
  • C. Berge, Topological Spaces, Oliver & Boyd, 1963 (pp. 115–116, maximum theorem).
13 thms1 active userReviewed
Machine LearningOptimal TransportProbability·Captain: mikedeng1

Minimax Statistical Learning with Wasserstein Distances II: Excess Local Minimax Risk of Wasserstein ERM for a Uniformly Lipschitz ClassResearch Paper

Motivation

In statistical learning a hypothesis fff is chosen from a class F\mathcal FF using nnn samples drawn from an unknown distribution PPP, and its quality is measured by the risk R(P,f)=EP[f(Z)]R(P,f) = \mathbf E_P[f(Z)]R(P,f)=EP​[f(Z)]. When the distribution at deployment time may differ from the one that generated the data (domain drift, adversarial perturbation, model misspecification), a natural replacement is the worst-case risk over a neighbourhood of PPP. Distributionally robust optimization with Wasserstein neighbourhoods takes these neighbourhoods to be balls in an optimal-transport distance, which compare distributions through the geometry of the instance space instead of through likelihood ratios. Wasserstein balls also contain distributions with support different from that of PPP, which divergence balls do not.

J. Lee and M. Raginsky, Minimax statistical learning with Wasserstein distances (NeurIPS 2018, arXiv:1705.07815), give generalization guarantees for the empirical version of this procedure, the local minimax ERM. Their analysis rests on the strong duality theorem of Gao and Kleywegt (arXiv:1604.02199), which turns the supremum over a Wasserstein ball into a minimization over one real multiplier λ≥0\lambda \ge 0λ≥0. This mission formalizes their Theorem 2, the excess-risk bound for a class of uniformly Lipschitz hypotheses, together with the steps of its proof. The source is the arXiv v2 preprint, which contains the NeurIPS camera-ready text and the supplementary appendices.

Setting

The instance space Z\mathcal ZZ is a Polish space (complete separable metric space) with metric dZd_{\mathcal Z}dZ​, and it is bounded: diam⁡(Z)=sup⁡z,z′dZ(z,z′)<∞\operatorname{diam}(\mathcal Z) = \sup_{z,z'} d_{\mathcal Z}(z,z') < \inftydiam(Z)=supz,z′​dZ​(z,z′)<∞ (Assumption 1). Fix p≥1p \ge 1p≥1. The ppp-Wasserstein distance between Borel probability measures is

Wp(P,Q)=(inf⁡MEM[dZp(Z,Z′)])1/p,W_p(P,Q) = \Big(\inf_{M} \mathbf E_M\big[d^p_{\mathcal Z}(Z,Z')\big]\Big)^{1/p},Wp​(P,Q)=(Minf​EM​[dZp​(Z,Z′)])1/p,

the infimum over couplings MMM of PPP and QQQ. For a radius ϱ>0\varrho > 0ϱ>0 the ball is Bϱ,pW(P)={Q:Wp(P,Q)≤ϱ}B^W_{\varrho,p}(P) = \{Q : W_p(P,Q) \le \varrho\}Bϱ,pW​(P)={Q:Wp​(P,Q)≤ϱ}.

The hypothesis class F\mathcal FF consists of upper semicontinuous functions f:Z→Rf : \mathcal Z \to \mathbb Rf:Z→R with 0≤f≤M0 \le f \le M0≤f≤M (Assumption 2). The local worst-case risk and the local minimax risk are

Rϱ,p(P,f)=sup⁡Q∈Bϱ,pW(P)R(Q,f),Rϱ,p∗(P,F)=inf⁡f∈FRϱ,p(P,f).R_{\varrho,p}(P,f) = \sup_{Q \in B^W_{\varrho,p}(P)} R(Q,f), \qquad R^*_{\varrho,p}(P,\mathcal F) = \inf_{f \in \mathcal F} R_{\varrho,p}(P,f).Rϱ,p​(P,f)=Q∈Bϱ,pW​(P)sup​R(Q,f),Rϱ,p∗​(P,F)=f∈Finf​Rϱ,p​(P,f).

Given i.i.d. samples Z1,…,ZnZ_1,\dots,Z_nZ1​,…,Zn​ from PPP with empirical distribution Pn=1n∑iδZiP_n = \frac1n\sum_i \delta_{Z_i}Pn​=n1​∑i​δZi​​, the local minimax ERM is f^∈arg⁡min⁡f∈FRϱ,p(Pn,f)\hat f \in \arg\min_{f \in \mathcal F} R_{\varrho,p}(P_n,f)f^​∈argminf∈F​Rϱ,p​(Pn​,f).

Assumption 3 asks that every f∈Ff \in \mathcal Ff∈F be LLL-Lipschitz with one constant LLL: f(z′)−f(z)≤L dZ(z′,z)f(z') - f(z) \le L\,d_{\mathcal Z}(z',z)f(z′)−f(z)≤LdZ​(z′,z). The complexity of F\mathcal FF is measured by the entropy integral

C(F)=∫0∞log⁡N(F,∥⋅∥∞,u) du,\mathfrak C(\mathcal F) = \int_0^\infty \sqrt{\log \mathcal N(\mathcal F,\|\cdot\|_\infty,u)}\,du,C(F)=∫0∞​logN(F,∥⋅∥∞​,u)​du,

where N(F,∥⋅∥∞,u)\mathcal N(\mathcal F,\|\cdot\|_\infty,u)N(F,∥⋅∥∞​,u) is the covering number of F\mathcal FF in the uniform metric. The dual integrand of Gao–Kleywegt duality is φλ,f(z)=sup⁡z′{f(z′)−λdZp(z,z′)}\varphi_{\lambda,f}(z) = \sup_{z'}\{f(z') - \lambda d^p_{\mathcal Z}(z,z')\}φλ,f​(z)=supz′​{f(z′)−λdZp​(z,z′)}.

Formalization targets

Goal: Theorem 2 (10)

Under Assumptions 1–3, for every δ∈(0,1)\delta \in (0,1)δ∈(0,1), with probability at least 1−δ1-\delta1−δ,

Rϱ,p(P,f^)−Rϱ,p∗(P,F)≤48 C(F)n+48L⋅diam⁡(Z)pn⋅ϱp−1+3Mlog⁡(2/δ)2n.R_{\varrho,p}(P,\hat f) - R^*_{\varrho,p}(P,\mathcal F) \le \frac{48\,\mathfrak C(\mathcal F)}{\sqrt n} + \frac{48 L\cdot\operatorname{diam}(\mathcal Z)^p}{\sqrt n\cdot\varrho^{p-1}} + 3M\sqrt{\frac{\log(2/\delta)}{2n}}.Rϱ,p​(P,f^​)−Rϱ,p∗​(P,F)≤n​48C(F)​+n​⋅ϱp−148L⋅diam(Z)p​+3M2nlog(2/δ)​​.

Milestones, in the order the proof uses them

  1. Proposition 4 (8): Rϱ,p(Q,f)=min⁡λ≥0{λϱp+EQ[φλ,f(Z)]}R_{\varrho,p}(Q,f) = \min_{\lambda\ge0}\{\lambda\varrho^p + \mathbf E_Q[\varphi_{\lambda,f}(Z)]\}Rϱ,p​(Q,f)=minλ≥0​{λϱp+EQ​[φλ,f​(Z)]}.
  2. Lemma 1: the optimal dual multiplier satisfies λ~≤Lϱ−(p−1)\tilde\lambda \le L\varrho^{-(p-1)}λ~≤Lϱ−(p−1).
  3. (C.2): Rϱ,p(Pn,f∗)−Rϱ,p(P,f∗)≤∫φλ∗,f∗ d(Pn−P)R_{\varrho,p}(P_n,f^*) - R_{\varrho,p}(P,f^*) \le \int \varphi_{\lambda^*,f^*}\,d(P_n - P)Rϱ,p​(Pn​,f∗)−Rϱ,p​(P,f∗)≤∫φλ∗,f∗​d(Pn​−P) for an achiever f∗f^*f∗.
  4. (C.3) with Λ=[0,Lϱ−(p−1)]\Lambda = [0, L\varrho^{-(p-1)}]Λ=[0,Lϱ−(p−1)] and Φ={φλ,f:λ∈Λ,f∈F}\Phi = \{\varphi_{\lambda,f} : \lambda \in \Lambda, f \in \mathcal F\}Φ={φλ,f​:λ∈Λ,f∈F}: Rϱ,p(P,f^)−Rϱ,p(Pn,f^)≤sup⁡φ∈Φ∫φ d(P−Pn)R_{\varrho,p}(P,\hat f) - R_{\varrho,p}(P_n,\hat f) \le \sup_{\varphi\in\Phi}\int\varphi\,d(P - P_n)Rϱ,p​(P,f^​)−Rϱ,p​(Pn​,f^​)≤supφ∈Φ​∫φd(P−Pn​).
  5. (C.4): with probability at least 1−δ/21-\delta/21−δ/2, Rϱ,p(P,f^)−Rϱ,p(Pn,f^)≤2Rn(Φ)+M2log⁡(2/δ)/nR_{\varrho,p}(P,\hat f) - R_{\varrho,p}(P_n,\hat f) \le 2\mathfrak R_n(\Phi) + M\sqrt{2\log(2/\delta)/n}Rϱ,p​(P,f^​)−Rϱ,p​(Pn​,f^​)≤2Rn​(Φ)+M2log(2/δ)/n​.
  6. (C.5): with probability at least 1−δ/21-\delta/21−δ/2, Rϱ,p(Pn,f∗)−Rϱ,p(P,f∗)≤Mlog⁡(2/δ)/(2n)R_{\varrho,p}(P_n,f^*) - R_{\varrho,p}(P,f^*) \le M\sqrt{\log(2/\delta)/(2n)}Rϱ,p​(Pn​,f∗)−Rϱ,p​(P,f∗)≤Mlog(2/δ)/(2n)​.
  7. The Rademacher bound of Appendix C.3: Rn(Φ)≤24nC(F)+24Ldiam⁡(Z)pn ϱp−1\mathfrak R_n(\Phi) \le \frac{24}{\sqrt n}\mathfrak C(\mathcal F) + \frac{24L\operatorname{diam}(\mathcal Z)^p}{\sqrt n\,\varrho^{p-1}}Rn​(Φ)≤n​24​C(F)+n​ϱp−124Ldiam(Z)p​.

Significance

Theorem 2 says that robust ERM over a uniformly Lipschitz class is nearly optimal for the robust risk at the unknown distribution, with excess of order 1/n1/\sqrt n1/n​ and explicit constants. The dependence on ϱ\varrhoϱ enters only through ϱ−(p−1)\varrho^{-(p-1)}ϱ−(p−1); at p=1p = 1p=1 the bound does not depend on ϱ\varrhoϱ and recovers the usual rate of ordinary ERM. The paper derives Corollaries 1 and 2 (regression with a Lipschitz link, and Gaussian-kernel classes) and the domain-adaptation bound of Theorem 4 from it. Lemma 1, which confines the dual multiplier to a fixed interval, is also used outside the theorem: Remark 3 proposes it as the search range for the fixed-λ\lambdaλ adversarial training of Sinha et al.

The result is proved in the paper; to our knowledge none of it has been machine-checked. What this mission adds is a verified version of a complete distributionally robust generalization argument: Gao–Kleywegt strong duality on a bounded Polish space, the multiplier bound, symmetrization and bounded differences for a class indexed by a function and a real parameter, and a Dudley entropy bound for that joint class. The paper's appendix states the Rademacher bound with a stray constant C0C_0C0​ that belongs to a different assumption (Assumption 4); the milestone states the bound without it, which is what the proof gives and what the constant 48L48L48L of (10) needs.

Difficulty

The obvious route bounds sup⁡f∣Rϱ,p(P,f)−Rϱ,p(Pn,f)∣\sup_{f}|R_{\varrho,p}(P,f) - R_{\varrho,p}(P_n,f)|supf​∣Rϱ,p​(P,f)−Rϱ,p​(Pn​,f)∣ uniformly over F\mathcal FF. That needs uniform control of the dual multiplier for every fff and every empirical distribution, and without it the class {φλ,f}\{\varphi_{\lambda,f}\}{φλ,f​} is indexed by an unbounded λ\lambdaλ, so its complexity is infinite. Lemma 1 resolves this only for the minimizers, which is why the argument is organized around f^\hat ff^​ and an achiever f∗f^*f∗ rather than a uniform bound.

The formal difficulties are separate. Strong duality with attainment of the minimum is a measure-theoretic theorem about couplings on a Polish space (existence of optimal couplings, measurable selection of near-maximizers), none of which is in Mathlib for Wasserstein balls. The supremum over Φ\PhiΦ must be shown measurable before its expectation means anything. Dudley's chaining bound over a separable, infinite index set is also missing from Mathlib in the form needed here. Finally, the theorem does not assume that Rϱ,p∗(P,F)R^*_{\varrho,p}(P,\mathcal F)Rϱ,p∗​(P,F) is attained, while the paper's proof uses an achiever f∗f^*f∗, so a complete proof needs an approximation argument that the paper does not write out.

Formalization scope

  • Z\mathcal ZZ is a MetricSpace with BorelSpace and PolishSpace instances, and Assumption 1 is Bornology.IsBounded (Set.univ : Set 𝒵). diam⁡(Z)\operatorname{diam}(\mathcal Z)diam(Z) is Metric.diam univ.
  • WpW_pWp​ and the ball are the published definitions WassersteinLinOpt.Ball.wassersteinDist and wassersteinBall. Membership in Pp(Z)\mathcal P_p(\mathcal Z)Pp​(Z) is automatic on a bounded space.
  • The standing assumptions p≥1p \ge 1p≥1 and ϱ>0\varrho > 0ϱ>0 are binders of every item.
  • Risks, the dual integrand φλ,f\varphi_{\lambda,f}φλ,f​ and the Rademacher average are real suprema, infima and Bochner integrals. Under the binders each is over a nonempty set that is bounded on the relevant side, and each integrand is bounded and measurable.
  • The covering number is the internal one (centres in F\mathcal FF), valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, and C(F)\mathfrak C(\mathcal F)C(F) is valued in [0,∞][0,\infty][0,∞]. Every item whose bound contains C(F)\mathfrak C(\mathcal F)C(F) assumes C(F)<∞\mathfrak C(\mathcal F) < \inftyC(F)<∞ and uses its real value. This is a disclosed pin: otherwise the bound is +∞+\infty+∞.
  • Assumption 3 is ∀ f ∈ ℱ, ∀ z z', f z' - f z ≤ L * dist z' z, with one LLL quantified before F\mathcal FF, and 0≤L0 \le L0≤L is a disclosed pin.
  • The sample is ω : Fin n → 𝒵 with law Measure.pi (fun _ => P), and n≥1n \ge 1n≥1. "With probability at least 1−δ1-\delta1−δ" means the outer measure of the failure set is at most δ\deltaδ, for 0<δ<10 < \delta < 10<δ<1.
  • The ERM is a sample-indexed selection f^\hat ff^​ with membership and minimality hypotheses, never Classical.choose. Such a selection exists exactly when empirical minimizers exist, which display (7) presupposes.
  • "min" over λ\lambdaλ in Proposition 4 includes attainment, and the argmins of Lemma 1 and (C.2) are minimality hypotheses.

Trivializing formalizations are ruled out:

  • Assumption 3 is not written with LLL chosen after fff, and L≥0L \ge 0L≥0 is not omitted.
  • The stray C0C_0C0​ is not in the Lean.
  • The goal is about Rϱ,p∗(P,F)R^*_{\varrho,p}(P,\mathcal F)Rϱ,p∗​(P,F), not about a fixed competitor fff.
  • No probability is converted with toReal, and an infinite C(F)\mathfrak C(\mathcal F)C(F) is never converted to 000.

A complete development needs:

  • Gao–Kleywegt duality for bounded upper semicontinuous losses;
  • McDiarmid's and Hoeffding's inequalities on product measures;
  • symmetrization;
  • Dudley's entropy integral bound for sub-Gaussian processes indexed by a separable pseudometric space.

The last three are reusable well beyond this mission. Contributions of any of these as stand-alone results are welcome, as are proofs of the milestones.

Selected references

  • J. Lee and M. Raginsky, Minimax statistical learning with Wasserstein distances, Advances in Neural Information Processing Systems 31 (NeurIPS 2018); arXiv:1705.07815v2. https://arxiv.org/abs/1705.07815
  • R. Gao and A. J. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, Mathematics of Operations Research 48(2), 2023; arXiv:1604.02199. https://arxiv.org/abs/1604.02199
  • A. Sinha, H. Namkoong and J. Duchi, Certifying some distributional robustness with principled adversarial training, ICLR 2018; arXiv:1710.10571. https://arxiv.org/abs/1710.10571
  • M. Talagrand, Upper and Lower Bounds for Stochastic Processes, Springer, 2014. https://doi.org/10.1007/978-3-642-54075-2
12 thms1 active userReviewed
PreviousPage 15 of 18Next

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