Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Statistics

419 missions · 203 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

Open216Completed203All419
Linear OptimizationProbability·Captain: mikedeng1

Optimal Estimation of Executive Compensation by Linear Programming II: LP Estimates Are Consistent When the True Optimum Is Unique and NondegenerateResearch Paper

Motivation

In 1955 Charnes, Cooper and Ferguson proposed to estimate the weights of an executive compensation scheme by linear programming instead of least squares: the weights minimise a sum of absolute deviations subject to ranking, ceiling and floor constraints, which is a linear program. The coefficients of that program are not known exactly. They are averages of ratings collected from a sample of job holders, so the program actually solved is a random perturbation of a "true" program built from population means. The Appendix of the paper (§8, Consistency of Estimates) asks the basic statistical question about such an estimator: as the sample grows, does the optimal solution of the sample program converge to the optimal solution of the true program?

The question is not specific to compensation. Whenever the constraint matrix of a linear program is estimated from data, the computed optimum is an estimator, and its consistency is the first property one wants. The Appendix is one of the earliest statements of this kind for linear programming, written at a time when the simplex method itself was only a few years old (Dantzig 1951).

Setting

Fix integers mmm (the number of constraints, indexed by iii) and nnn (the number of variables, indexed by jjj), a right-hand side b∈Rmb\in\mathbb R^mb∈Rm and a cost vector c∈Rnc\in\mathbb R^nc∈Rn. For a real m×nm\times nm×n matrix X=(xij)X=(x_{ij})X=(xij​) consider the linear program (8)

min⁡ ∑jcjajsubject to∑jxijaj≥bi  (i=1,…,m),aj≥0  (j=1,…,n).\min\ \sum_j c_ja_j\quad\text{subject to}\quad \sum_j x_{ij}a_j\ge b_i\ \ (i=1,\dots,m),\qquad a_j\ge0\ \ (j=1,\dots,n).min j∑​cj​aj​subject toj∑​xij​aj​≥bi​  (i=1,…,m),aj​≥0  (j=1,…,n).

Its feasible set F(X,b)F(X,b)F(X,b) is a polyhedron in Rn\mathbb R^nRn, and a minimizing solution is a feasible point at which the objective is no larger than at any other feasible point.

The true matrix ξ=(ξij)\xi=(\xi_{ij})ξ=(ξij​) collects population means. For each sample size NNN the observed matrix is

xij=ξij+ηij(9)x_{ij}=\xi_{ij}+\eta_{ij}\qquad(9)xij​=ξij​+ηij​(9)

where the sampling errors ηij=ηij(N)\eta_{ij}=\eta^{(N)}_{ij}ηij​=ηij(N)​ are random variables on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with ηij→0\eta_{ij}\to0ηij​→0 in probability as N→∞N\to\inftyN→∞.

The paper makes two assumptions about the true program:

  • (I) the program (8) with matrix ξ\xiξ has a unique solution vector α^\hat\alphaα^;
  • (II) every set of mmm columns of ξ\xiξ is linearly independent.

A feasible point aaa is nondegenerate if the number of strictly positive variables aja_jaj​ plus the number of constraints with strictly positive surplus ∑jxijaj−bi\sum_jx_{ij}a_j-b_i∑j​xij​aj​−bi​ equals mmm. At an extreme point this means that the basis of the point, after adding one surplus variable per constraint, consists of mmm strictly positive basic variables.

Formalization targets

Goal: consistency of the LP estimate

Under (I), (II) and nondegeneracy of α^\hat\alphaα^, for every ε>0\varepsilon>0ε>0,

P((8) with matrix ξ+η(N) has a unique minimizing solution a^ and ∣a^−α^∣<ε)⟶1(N→∞).P\bigl(\text{(8) with matrix }\xi+\eta^{(N)}\text{ has a unique minimizing solution }\hat a\text{ and }|\hat a-\hat\alpha|<\varepsilon\bigr)\longrightarrow1\qquad(N\to\infty).P((8) with matrix ξ+η(N) has a unique minimizing solution a^ and ∣a^−α^∣<ε)⟶1(N→∞).

The event asserts that the sample minimiser exists and is unique, as the paper's phrase "the minimizing solution of (8), a^(η)\hat a(\eta)a^(η)" presupposes, and that it is close to α^\hat\alphaα^.

Milestones

  1. Claim A (p. 150): linear independence of a set of columns is preserved under sufficiently small entrywise perturbation.
  2. Claim B (p. 150): the extreme points of F(X,b)F(X,b)F(X,b) are exactly the feasible points whose positive variables and positive surpluses index linearly independent columns of [X,−I][X,-I][X,−I].
  3. Corresponding extreme points (p. 150): a nondegenerate extreme point of the true set has, for every nearby matrix, an extreme point of the sample set with the same positive support, arbitrarily close to it.
  4. The Lipschitz bound (p. 151): ∣c′(α−a)∣≤B∣α−a∣|c'(\alpha-a)|\le B|\alpha-a|∣c′(α−a)∣≤B∣α−a∣ for a positive constant BBB.
  5. The gap argument (p. 151), deterministic form: under (I) and nondegeneracy of α^\hat\alphaα^, every matrix close enough to ξ\xiξ gives a program with a unique minimiser, close to α^\hat\alphaα^.

A companion item records that the claim as printed, under (I) and (II) alone, is false.

Significance

The theorem says that the linear programming estimator of the paper is consistent: with enough data, the computed weights are, with high probability, the unique optimum of the sample program and close to the true weights. More generally it is a stability statement for linear programs with a unique nondegenerate optimum under perturbation of the constraint matrix, which is the setting of sensitivity analysis and of sample-average approximation for linear programs.

The paper gives a sketch, not a complete proof. Its argument transfers extreme points of the true polyhedron to the sample polyhedron and compares objective values. That transfer is valid at nondegenerate extreme points only, and the claim as printed fails without such a condition: for ξ=(11−1−2)\xi=\begin{pmatrix}1&1\\-1&-2\end{pmatrix}ξ=(1−1​1−2​) and b=(1,−1)b=(1,-1)b=(1,−1) the true feasible set is the single point (1,0)(1,0)(1,0), so (I) holds, the two columns are independent, so (II) holds, yet replacing ξ11\xi_{11}ξ11​ by any value in (12,1)(\tfrac12,1)(21​,1) makes the program infeasible. The mission therefore adds one disclosed hypothesis, nondegeneracy of the true optimum α^\hat\alphaα^, and keeps everything else as on the page. To the best of the curators' knowledge, neither the paper's statement nor the repaired one has been machine-checked; this mission formalizes the repaired theorem, the steps of the paper's argument, and the counterexample to the printed statement.

Difficulty

The natural first idea is that the feasible set and the optimum move continuously with the data. That is false in general: a polyhedron defined by perturbed inequalities can lose extreme points, gain new ones, or become empty, and the optimum of a linear program is not a continuous function of the constraint matrix. The paper's claim that the sample polyhedron has "precisely the same number of extreme points as the true convex set" and that the parenthetical of claim B is preserved under small modifications both fail at degenerate extreme points. The difficulty is to control, near a unique nondegenerate optimum α^\hat\alphaα^, both the feasibility of the sample program and the identity of its optimal extreme point, and to turn this into a probability statement without any measurability assumption on the estimator.

Formalization scope

All objects live in the namespace ExecCompLP.Consistency. Matrices are Matrix (Fin m) (Fin n) ℝ with X i j the entry xijx_{ij}xij​; column jjj is fun i => X i j. Indices are 0-based. Vectors are Fin n → ℝ, and distances between them use the maximum norm (dist on Fin n → ℝ); closeness of matrices is entrywise. Every norm gives the same statements.

  • The optimal value of (8) is never defined as an infimum; a minimizer is a feasible point no worse than every feasible point. Assumption (I) includes existence.
  • Assumption (II) is about mmm-element sets of columns, with mmm the number of rows; it is vacuous when n<mn<mn<m, as on the page. It is a hypothesis of the goal, as printed, although the repaired argument does not need it; milestone 5 drops it.
  • Nondegeneracy of α^\hat\alphaα^ is the only added hypothesis. It is not replaced by anything stronger (nondegeneracy of all extreme points, a Slater point, boundedness).
  • Randomness enters only through ηij(N)→0\eta^{(N)}_{ij}\to0ηij(N)​→0 in probability (TendstoInMeasure), which is the conclusion of (9) on p. 149 taken as a hypothesis; sample means and variances are not modelled. The probability of the goal's event is an outer measure, so no measurability of η\etaη or of the estimator is assumed.
  • Ruled out as trivializations: a conclusion that only bounds every minimizer "if any" (vacuous on infeasible samples), and a conclusion conditioned on feasibility. The goal's event asserts existence and uniqueness of the sample minimizer.

A complete development needs: openness of linear independence, the inequality-form characterization of extreme points by linearly independent positive columns, continuity of basic solutions in the data, and positivity of reduced costs at a unique nondegenerate optimum. The first three are reusable for any perturbation analysis of linear programs. Proofs of any item, and alternative arguments for the goal, are welcome.

Selected references

  • A. Charnes, W. W. Cooper and R. O. Ferguson, Optimal estimation of executive compensation by linear programming, Management Science 1(2):138–151, 1955. https://doi.org/10.1287/mnsc.1.2.138
  • G. B. Dantzig, Maximization of a linear function of variables subject to linear inequalities, in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951.
  • L. S. Pontryagin, Foundations of Combinatorial Topology, Graylock Press, 1952 (cited for claim A).
  • W. Feller, An Introduction to Probability Theory and Its Applications, Wiley, 1950 (cited for (9)).
7 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach 2: Empirical Likelihood Intervals for the Optimal Value inf_x E[ℓ(x;ξ)] Have Exact Coverage P(χ²₁ ≤ ρ)Research Paper

Why coverage of an optimal value matters

Many stochastic optimization problems choose a decision by minimizing an expected loss. The optimum depends on an unknown distribution, so a data-based optimum alone gives no measure of uncertainty about the best achievable expected loss. This mission concerns a confidence set for that optimal value, rather than a confidence set for the decision itself. The result of Duchi, Glynn, and Namkoong shows that a broad class of divergence neighborhoods of the empirical distribution yields a calibrated limit for this set. The same construction covers nonsmooth losses and constrained decisions when the regularity assumptions below hold.

The paper develops generalized empirical likelihood for smooth functionals of a distribution and then applies it to optimization. Its Theorem 3 states the exact asymptotic coverage result for the optimal value; Appendix C identifies the functional derivative, while Appendix B gives the uniform linearization and expansion on which calibration rests. The statistical result is proved in the paper. The mission asks for a machine-checked development of its statements and proof under an explicit nondegeneracy condition required by the paper's general coverage theorem.

Decisions, losses, and divergence neighborhoods

Let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd be a nonempty compact decision set. An observation ξ\xiξ has population law P0P_0P0​, and ℓ(x;ξ)∈R\ell(x;\xi)\in\mathbb Rℓ(x;ξ)∈R is the loss at decision xxx. The quantity of interest is the optimal-value functional

Topt(P)=inf⁡x∈XEP[ℓ(x;ξ)].T_{\rm opt}(P)=\inf_{x\in\mathcal X}\mathbb E_P[\ell(x;\xi)].Topt​(P)=x∈Xinf​EP​[ℓ(x;ξ)].

The observations ξ1,…,ξn\xi_1,\ldots,\xi_nξ1​,…,ξn​ are independent and identically distributed with law P0P_0P0​. Write P^n\widehat P_nPn​ for their empirical distribution. A candidate distribution supported on the indexed observations is represented by nonnegative weights pip_ipi​ with ∑ipi=1\sum_i p_i=1∑i​pi​=1. Indexed weights also cover samples with repeated observations. For a convex divergence generator fff normalized by f(1)=f′(1)=0f(1)=f'(1)=0f(1)=f′(1)=0 and f′′(1)=2f''(1)=2f′′(1)=2, its divergence from the empirical law is Df(p∥P^n)=n−1∑if(npi)D_f(p\|\widehat P_n)=n^{-1}\sum_i f(np_i)Df​(p∥Pn​)=n−1∑i​f(npi​). Assumption A further requires fff to be three times continuously differentiable near 111; it permits f(0)=+∞f(0)=+\inftyf(0)=+∞.

At radius ρ/n\rho/nρ/n, the divergence ball consists of the weights with ∑if(npi)≤ρ\sum_i f(np_i)\le\rho∑i​f(npi​)≤ρ. The confidence set is its image under ToptT_{\rm opt}Topt​:

Cn,ρ={Topt(p):Df(p∥P^n)≤ρ/n}.C_{n,\rho}=\{T_{\rm opt}(p):D_f(p\|\widehat P_n)\le\rho/n\}.Cn,ρ​={Topt​(p):Df​(p∥Pn​)≤ρ/n}.

Assumption B makes X\mathcal XX compact and requires ℓ(⋅;ξ)\ell(\cdot;\xi)ℓ(⋅;ξ) to be Lipschitz on it with a measurable random coefficient M(ξ)M(\xi)M(ξ). The theorem adds finite second moments for MMM and for the loss at one feasible decision. These conditions control losses at every feasible decision. They also make the population and weighted empirical infima finite on the cases used in the limit.

Formalization targets

The goal is the exact asymptotic coverage of the population optimal value, with x⋆x^\starx⋆ the unique optimizer and Var⁡P0(ℓ(x⋆;ξ))>0\operatorname{Var}_{P_0}(\ell(x^\star;\xi))>0VarP0​​(ℓ(x⋆;ξ))>0:

P∗ ⁣(Topt(P0)∈Cn,ρ)⟶P(χ12≤ρ),ρ≥0.P^*\!\left(T_{\rm opt}(P_0)\in C_{n,\rho}\right)\longrightarrow P(\chi_1^2\le\rho),\qquad \rho\ge0.P∗(Topt​(P0​)∈Cn,ρ​)⟶P(χ12​≤ρ),ρ≥0.

Here P∗P^*P∗ denotes outer probability, and χ12\chi_1^2χ12​ is the square of a standard normal variable. The milestone statements follow the paper's path to this theorem. Lemma 17 gives the directional derivative of an optimal-value functional. Lemma 13 bounds feasible empirical weights relative to uniform weights. Lemma 16 makes the nonlinear remainder uniformly negligible on the divergence ball. The display after (37) then gives a first-order expansion of the upper endpoint of Cn,ρC_{n,\rho}Cn,ρ​; the next display gives its one-sided Gaussian coverage limit. The goal concerns membership in the image set Cn,ρC_{n,\rho}Cn,ρ​, including both sides of that interval.

What the result provides

The limit specifies a radius through a one degree of freedom chi square quantile. It applies to the value of a constrained stochastic optimization problem without requiring the optimizer or the loss to be differentiable. The positive variance condition ensures that the influence function supplies a genuine Gaussian scale. Without such a condition, a deterministic optimal loss can make coverage identically one, so the stated chi square limit would fail. The general theorem in the paper explicitly requires positive influence variance; this mission makes the condition visible in the specialized optimal-value statement.

A complete formalization would connect finite-sample divergence geometry to an asymptotic confidence claim about an optimization functional. The empirical mean and variance definitions, divergence ball, and normalized generator already exist as reusable declarations. This mission adds the optimal-value functional, its influence function, the nonlinear remainder, and the statistical limits. Those definitions can also support later confidence statements for other stochastic optimization models. The result is proved in the source paper; the Lean statements here are open targets awaiting proofs.

The mathematical obstacle

Pointwise control of each loss ℓ(x;ξ)\ell(x;\xi)ℓ(x;ξ) is insufficient for the optimal value: the decision minimizing an empirical weighted objective can move with the weights. A pointwise mean expansion therefore does not by itself control the infimum over xxx. The required limit combines uniform control over the loss class with sensitivity of the infimum functional near its population minimizer. The uniform remainder in Lemma 16 is stronger than a statement for the ordinary empirical distribution because it covers every distribution in the shrinking divergence ball. The final event is membership in the image of that ball; bounds on its upper endpoint alone do not establish two-sided coverage.

Formalization scope

Lean represents decisions by EuclideanSpace ℝ (Fin d) and assumes a nonempty compact feasible set. Assumption B uses its Euclidean norm. The paper allows any norm in finite dimension; norm equivalence permits this choice after rescaling the Lipschitz coefficient. The population law is the pushforward of the first measurable observation from a probability space. Samples are indexed from zero, so the first nnn observations are indices 0,…,n−10,\ldots,n-10,…,n−1. Independence and identical distribution are explicit hypotheses. Loss measurability is explicit so the population integrals have their intended values. Square integrability and compact Lipschitz control keep the real infima meaningful.

The generator takes values in EReal so a divergence infinite at zero is representable. The ball uses the published probability uncertainty set with radius ρ/n\rho/nρ/n and includes nonnegativity and unit mass. Its weights represent distributions absolutely continuous with respect to the empirical law. With tied observations, equal splitting across copies preserves the induced distribution and does not increase a convex divergence. The upper endpoint is sup⁡pinf⁡x\sup_p\inf_xsupp​infx​; the different minimax expression inf⁡xsup⁡p\inf_x\sup_pinfx​supp​ is not substituted. The chi square target uses the standard Gaussian measure of {z:z2≤ρ}\{z:z^2\le\rho\}{z:z2≤ρ}.

Mathlib measures are outer measures on arbitrary sets, so the probability of a possibly nonmeasurable membership or supremum event is the paper's outer probability. The Lemma 17 milestone expresses a signed measure through its action H(x)H(x)H(x) on the losses, as Appendix C.2 does, and uses positive directional steps. Real suprema and infima are used only where the hypotheses provide nonempty bounded values. The variance hypothesis rules out the trivial deterministic-loss counterexample. Useful contributions include the compactness and continuity facts needed for those extrema, the action-level derivative, empirical process limits, and the final two-sided event argument.

Selected references

  • John C. Duchi, Peter W. Glynn, and Hongseok Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3, 2018; published in Mathematics of Operations Research 46(3), 2021. arXiv preprint
21 thms1 active userReviewed
OptimizationProbability·Captain: mikedeng1

Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach 1: The f-Divergence Robust Mean Is the Sample Mean plus √(ρ·s_n²/n) up to o(n^(−1/2)) Almost SurelyResearch Paper

Motivation

Distributionally robust optimization replaces the average of a loss over a sample by its worst-case average over all distributions close to the sample. When closeness is measured by an fff-divergence, the worst case over a ball of radius ρ/n\rho/nρ/n around the empirical distribution is also the upper endpoint of a generalized empirical likelihood confidence interval. Empirical likelihood (Owen, 1988–2001) is the case f(t)=−2log⁡t+2t−2f(t)=-2\log t+2t-2f(t)=−2logt+2t−2; the χ2\chi^2χ2, Cressie–Read and other divergences give the rest of the family.

Duchi, Glynn and Namkoong (arXiv:1610.03425, Mathematics of Operations Research 46(3), 2021) show that these robust objects behave, to first order, like the sample mean plus a variance penalty. Their Lemma 1 is the scalar version of that statement and, in the authors' words (p. 7), an expansion "that essentially gives all of the major distributional convergence results in this paper": with the central limit theorem it yields the asymptotically exact χ12\chi^2_1χ12​ coverage of empirical likelihood intervals for a mean, and its uniform extension yields the coverage results for optimal values of stochastic programs.

Timeline. Owen (1988, 1990) proved the χ2\chi^2χ2 calibration of empirical likelihood for means of i.i.d. data. Its extension to smooth fff-divergences is, as the paper notes (p. 6), essentially due to Baggerly (1998), Corcoran (1998) and Bertail, Gautherat and Harari-Kermadec (2014). Lam (arXiv:1605.09349) proved an in-probability version of the expansion below for f(t)=−2log⁡tf(t)=-2\log tf(t)=−2logt. Namkoong and Duchi (2017, arXiv:1610.02581) proved a finite-sample, high-probability version for the χ2\chi^2χ2 divergence and bounded variables. Duchi, Glynn and Namkoong proved the almost-sure version for every smooth fff and for stationary ergodic data.

Setting

Let f:[0,∞)→(−∞,+∞]f:[0,\infty)\to(-\infty,+\infty]f:[0,∞)→(−∞,+∞] be convex and lower semicontinuous, as every divergence generator in the paper is. Assumption A asks that fff be finite on (0,∞)(0,\infty)(0,∞), three times differentiable near 111, with f(1)=f′(1)=0f(1)=f'(1)=0f(1)=f′(1)=0 and f′′(1)=2f''(1)=2f′′(1)=2; the value f(0)f(0)f(0) may be +∞+\infty+∞.

Let z=(z1,…,zn)z=(z_1,\dots,z_n)z=(z1​,…,zn​) be a sample with empirical distribution P^n\widehat P_nPn​. A distribution P≪P^nP\ll\widehat P_nP≪Pn​ is a weight vector p≥0p\ge0p≥0 with ∑ipi=1\sum_ip_i=1∑i​pi​=1, and Df(P∥P^n)=∑i=1n1nf(npi)D_f(P\|\widehat P_n)=\sum_{i=1}^n\frac1nf(np_i)Df​(P∥Pn​)=∑i=1n​n1​f(npi​). The robust mean is

sup⁡P: Df(P∥P^n)≤ρ/nEP[Z]=sup⁡{∑ipizi:p≥0, ∑ipi=1, ∑i1nf(npi)≤ρn}.\sup_{P:\,D_f(P\|\widehat P_n)\le\rho/n}E_P[Z]=\sup\Big\{\sum_ip_iz_i : p\ge0,\ \sum_ip_i=1,\ \sum_i\tfrac1nf(np_i)\le\tfrac\rho n\Big\}.P:Df​(P∥Pn​)≤ρ/nsup​EP​[Z]=sup{i∑​pi​zi​:p≥0, i∑​pi​=1, i∑​n1​f(npi​)≤nρ​}.

The sample mean is EP^n[Z]=1n∑iziE_{\widehat P_n}[Z]=\frac1n\sum_iz_iEPn​​[Z]=n1​∑i​zi​ and the sample variance is sn2=EP^n[Z2]−EP^n[Z]2s_n^2=E_{\widehat P_n}[Z^2]-E_{\widehat P_n}[Z]^2sn2​=EPn​​[Z2]−EPn​​[Z]2 (normalised by 1/n1/n1/n).

A sequence Z1,Z2,…Z_1,Z_2,\dotsZ1​,Z2​,… of real random variables is strictly stationary and ergodic if the law μZ\mu_ZμZ​ of the path (Z1,Z2,… )(Z_1,Z_2,\dots)(Z1​,Z2​,…) on RN\mathbb R^{\mathbb N}RN is invariant under the left shift θ\thetaθ and every θ\thetaθ-invariant measurable set of paths has μZ\mu_ZμZ​-measure 000 or 111. Every i.i.d. sequence qualifies (Kolmogorov's 000–111 law), as do stationary Markov chains started in a unique invariant law and stationary mixing sequences.

Formalization targets

Goal: Lemma 1, the almost-sure variance expansion (p. 7)

Let Z1,Z2,…Z_1,Z_2,\dotsZ1​,Z2​,… be strictly stationary and ergodic with E[Z12]<∞E[Z_1^2]<\inftyE[Z12​]<∞, let fff satisfy Assumption A and ρ≥0\rho\ge0ρ≥0. Then almost surely

n  ∣sup⁡P: Df(P∥P^n)≤ρ/nEP[Z]−EP^n[Z]−ρn sn2∣  ⟶  0.\sqrt n\;\Big|\sup_{P:\,D_f(P\|\widehat P_n)\le\rho/n}E_P[Z]-E_{\widehat P_n}[Z]-\sqrt{\frac\rho n\,s_n^2}\Big|\;\longrightarrow\;0 .n​​P:Df​(P∥Pn​)≤ρ/nsup​EP​[Z]−EPn​​[Z]−nρ​sn2​​​⟶0.

This is the paper's (8), "≤ϵn/n\le\epsilon_n/\sqrt n≤ϵn​/n​ with ϵn→0\epsilon_n\to0ϵn​→0 a.s.", with ϵn\epsilon_nϵn​ taken to be the left-hand side. No rate is asserted, so the goal is not tied to any constant.

Milestones (Appendix A, pp. 31–33)

  1. (30): there are 0<c,C<∞0<c,C<\infty0<c,C<∞ depending only on fff with 2(1−Cϵ)hϵ(t)≤f(t+1)2(1-C\epsilon)h_\epsilon(t)\le f(t+1)2(1−Cϵ)hϵ​(t)≤f(t+1) for t≥−1t\ge-1t≥−1 and f(t+1)≤(1+Cϵ)t2f(t+1)\le(1+C\epsilon)t^2f(t+1)≤(1+Cϵ)t2 for ∣t∣≤ϵ|t|\le\epsilon∣t∣≤ϵ, whenever 0<ϵ≤c0<\epsilon\le c0<ϵ≤c. Here hϵh_\epsilonhϵ​ is the Huber function, t2/2t^2/2t2/2 for ∣t∣≤ϵ|t|\le\epsilon∣t∣≤ϵ and ϵ∣t∣−ϵ2/2\epsilon|t|-\epsilon^2/2ϵ∣t∣−ϵ2/2 otherwise.
  2. (32): with the sets Usm⊂U⊂Ubig\mathcal U_{\rm sm}\subset\mathcal U\subset\mathcal U_{\rm big}Usm​⊂U⊂Ubig​ of (31), sup⁡UsmuTz≤(robust mean)−EP^n[Z]=sup⁡UuTz≤sup⁡UbiguTz\sup_{\mathcal U_{\rm sm}}u^Tz\le(\text{robust mean})-E_{\widehat P_n}[Z]=\sup_{\mathcal U}u^Tz\le\sup_{\mathcal U_{\rm big}}u^TzsupUsm​​uTz≤(robust mean)−EPn​​[Z]=supU​uTz≤supUbig​​uTz.
  3. Lemma 8: sup⁡u∈UsmuTz=ρsn(z)2/n /1+Cϵ\sup_{u\in\mathcal U_{\rm sm}}u^Tz=\sqrt{\rho s_n(z)^2/n}\,/\sqrt{1+C\epsilon}supu∈Usm​​uTz=ρsn​(z)2/n​/1+Cϵ​ when ∥z−zˉn∥∞/n≤ϵsn(z)(1+Cϵ)/ρ\|z-\bar z_n\|_\infty/\sqrt n\le\epsilon s_n(z)\sqrt{(1+C\epsilon)/\rho}∥z−zˉn​∥∞​/n​≤ϵsn​(z)(1+Cϵ)/ρ​.
  4. Lemma 9: sup⁡u∈UbiguTz≤ρsn(z)2/n /1−Cϵ\sup_{u\in\mathcal U_{\rm big}}u^Tz\le\sqrt{\rho s_n(z)^2/n}\,/\sqrt{1-C\epsilon}supu∈Ubig​​uTz≤ρsn​(z)2/n​/1−Cϵ​ under the same condition with 1−Cϵ1-C\epsilon1−Cϵ.
  5. Lemma 6: on the event max⁡i≤n∣zi−zˉn∣/n≤ϵsn(1−Cϵ)/ρ\max_{i\le n}|z_i-\bar z_n|/\sqrt n\le\epsilon s_n\sqrt{(1-C\epsilon)/\rho}maxi≤n​∣zi​−zˉn​∣/n​≤ϵsn​(1−Cϵ)/ρ​, the robust mean lies between EP^n[Z]+ρsn2/n/1+CϵE_{\widehat P_n}[Z]+\sqrt{\rho s_n^2/n}/\sqrt{1+C\epsilon}EPn​​[Z]+ρsn2​/n​/1+Cϵ​ and EP^n[Z]+ρsn2/n/1−CϵE_{\widehat P_n}[Z]+\sqrt{\rho s_n^2/n}/\sqrt{1-C\epsilon}EPn​​[Z]+ρsn2​/n​/1−Cϵ​.
  6. Lemma 7: for identically distributed (possibly dependent) ZiZ_iZi​ with E∣Z1∣k<∞E|Z_1|^k<\inftyE∣Z1​∣k<∞, P(∣Zn∣≥ϵn1/k i.o.)=0P(|Z_n|\ge\epsilon n^{1/k}\text{ i.o.})=0P(∣Zn​∣≥ϵn1/k i.o.)=0 for every ϵ>0\epsilon>0ϵ>0 and max⁡i≤n∣Zi∣/n1/k→0\max_{i\le n}|Z_i|/n^{1/k}\to0maxi≤n​∣Zi​∣/n1/k→0 almost surely.

Significance

The result. The expansion says the robust mean is a variance-regularised mean, EP^n[Z]+ρ sn2/nE_{\widehat P_n}[Z]+\sqrt{\rho\,s_n^2/n}EPn​​[Z]+ρsn2​/n​, up to o(n−1/2)o(n^{-1/2})o(n−1/2), for every smooth divergence at once. Combined with the central limit theorem and Slutsky's lemma, it gives P(E[Z]∈{EP[Z]:Df(P∥P^n)≤ρ/n})→P(χ12≤ρ)P\big(E[Z]\in\{E_P[Z]:D_f(P\|\widehat P_n)\le\rho/n\}\big)\to P(\chi^2_1\le\rho)P(E[Z]∈{EP​[Z]:Df​(P∥Pn​)≤ρ/n})→P(χ12​≤ρ), the exact asymptotic coverage of generalized empirical likelihood intervals (the paper's Proposition 1 for d=1d=1d=1). The paper's uniform expansion (Theorem 2) and its coverage theorem for optimal values (Theorem 3) rest on the same mechanism. Because the statement is almost sure and allows stationary ergodic data, it also covers time series and simulation output.

Formalizing it. The lemma is proved in the paper; no machine-checked version of it, of (30), or of Lemmas 6–9 exists. A complete development would give the first formal link between fff-divergence balls and variance regularisation for general fff, and a formal almost-sure theory for empirical likelihood beyond the i.i.d. case. The χ2\chi^2χ2-only finite-sample expansion of Namkoong and Duchi (2017) is posed, not proved, on the platform.

Difficulty

The obvious route is a second-order Taylor expansion of fff around 111 inside the supremum. It fails because the optimal weights npinp_inpi​ are close to 111 only if no single observation is large compared with n sn\sqrt n\,s_nn​sn​; a heavy observation drives a weight to 000, where fff may be infinite and is not approximated by its Taylor polynomial. The argument has to sandwich the divergence ball between a quadratic ball and a Huber ball valid on all of [0,∞)[0,\infty)[0,∞), then show that the event "no observation of order n\sqrt nn​" holds eventually almost surely, which under only a second moment and no independence needs a Borel–Cantelli argument for identically distributed variables (Lemma 7). The sample variance limit needs Birkhoff's pointwise ergodic theorem, which Mathlib does not yet contain.

Formalization scope

  • Samples. Z:N→Ω→RZ:\mathbb N\to\Omega\to\mathbb RZ:N→Ω→R on a probability space; Lean's Z 0 is the paper's Z1Z_1Z1​ and the nnn-th sample vector is fun i : Fin n => Z i ω. Stationary ergodicity is IsStationaryErgodic: each Z i measurable and Mathlib's Ergodic for the left shift on the path law (which includes shift invariance). The mixing display on p. 7 implies this; the Lean hypothesis is the weaker standard notion named in the lemma.
  • Divergence. f:R→f:\mathbb R\tof:R→ EReal, using the published IsPhiDivergenceFunction (convex on [0,∞)[0,\infty)[0,∞), finite on (0,∞)(0,\infty)(0,∞), f(1)=0f(1)=0f(1)=0, f(0)=+∞f(0)=+\inftyf(0)=+∞ allowed); AssumptionA adds lower semicontinuity on [0,∞)[0,\infty)[0,∞) (the paper's standing condition on divergence generators), three-times differentiability on an interval (a,b)∋1(a,b)\ni1(a,b)∋1, f′(1)=0f'(1)=0f′(1)=0, f′′(1)=2f''(1)=2f′′(1)=2. The reading "finite on (0,∞)(0,\infty)(0,∞)" follows the paper's remark that only the behaviour at 000 is unrestricted.
  • Robust mean. Distributions are weight vectors on the sample (P≪P^nP\ll\widehat P_nP≪Pn​), the ball is the published probUncertaintySet, and the supremum is a real sSup of a non-empty bounded set. Mean and variance are the published empMean, empVar.
  • Constants. In (32) and Lemmas 6, 8, 9 the constant CCC is a parameter, and the two inequalities of (30) at the given ϵ\epsilonϵ and CCC are hypotheses; (30) itself asserts that such c,Cc,Cc,C exist. ϵ>0\epsilon>0ϵ>0 throughout, ϵ<1\epsilon<1ϵ<1 where the sets (31) are used, and Cϵ<1C\epsilon<1Cϵ<1 wherever 1−Cϵ\sqrt{1-C\epsilon}1−Cϵ​ appears.
  • Ruling out trivialisations. The ball always contains the uniform weights, so the robust mean is never the junk value of an empty supremum; the goal's limit statement makes n=0n=0n=0 irrelevant. A formalization that assumes i.i.d. data, a finite moment of order above two, or a specific fff proves a different, weaker statement.
  • Infrastructure. Needed: Birkhoff's pointwise ergodic theorem for the shift (not in Mathlib; posed but unproved on the platform as PalmQueueing.Ergodic.discrete_pointwise, for bijective flows), Borel–Cantelli (in Mathlib), and elementary convex analysis of the Huber function. The pointwise ergodic theorem and Lemma 7 are reusable well beyond this mission. Proofs of any milestone, and of the ergodic theorem for one-sided shifts, are welcome.

Selected references

  • J. C. Duchi, P. W. Glynn, H. Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3 (2018); Mathematics of Operations Research 46(3), 2021. https://arxiv.org/abs/1610.03425
  • A. B. Owen, Empirical likelihood ratio confidence regions, Annals of Statistics 18(1), 1990. https://doi.org/10.1214/aos/1176347494
  • K. A. Baggerly, Empirical likelihood as a goodness-of-fit measure, Biometrika 85(3), 1998. https://doi.org/10.1093/biomet/85.3.535
  • H. Lam, Recovering best statistical guarantees via the empirical divergence-based distributionally robust optimization, Operations Research, 2019. https://arxiv.org/abs/1605.09349
  • S. A. Corcoran, Bartlett adjustment of empirical discrepancy statistics, Biometrika 85(4), 1998. https://doi.org/10.1093/biomet/85.4.967
  • H. Namkoong, J. C. Duchi, Variance-based regularization with convex objectives, NeurIPS 2017. https://arxiv.org/abs/1610.02581
  • 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
17 thms1 active userReviewed
Machine LearningOperations ResearchOptimization+1·Captain: mikedeng1

From Predictive to Prescriptive Analytics 1: The k-Nearest-Neighbor Predictive Prescription Is Asymptotically Optimal and ConsistentResearch Paper

Motivation

Operations research has long studied the stochastic problem min⁡z∈ZE[c(z;Y)]\min_{z\in\mathcal Z}\mathbb E[c(z;Y)]minz∈Z​E[c(z;Y)]: choose a decision zzz before an uncertain quantity YYY (demand, prices, returns) is revealed. In practice the decision maker also observes covariates XXX before deciding (web-search volume before stocking a product, weather before routing a shipment) and should solve the conditional problem instead. Bertsimas and Kallus (arXiv:1402.5481v4; Management Science 66(3), 2020) proposed predictive prescriptions: reweight historical observations (xi,yi)(x^i,y^i)(xi,yi) by how relevant they are to the current xxx, using weights borrowed from a nonparametric regression method, and minimize the reweighted sample cost. Their asymptotic theorems guarantee that this procedure converges to the decision that full knowledge of the conditional distribution would give.

The unconditional special case, sample average approximation (SAA) with i.i.d. draws of YYY and no covariate, has a classical consistency theory (Dupačová–Wets 1988; Shapiro 2003). This mission conditions that theory on XXX, with kkk-nearest-neighbour weights.

Setting

Decisions zzz lie in a set Z⊆Rdz\mathcal Z\subseteq\mathbb R^{d_z}Z⊆Rdz​, covariates XXX in X⊆Rdx\mathcal X\subseteq\mathbb R^{d_x}X⊆Rdx​, uncertainty YYY in Y⊆Rdy\mathcal Y\subseteq\mathbb R^{d_y}Y⊆Rdy​; all three spaces carry the Euclidean norm. A cost c(z;y)∈Rc(z;y)\in\mathbb Rc(z;y)∈R is given. Let μ\muμ be the joint law of (X,Y)(X,Y)(X,Y), μX\mu_XμX​ the law of XXX and μY∣x\mu_{Y|x}μY∣x​ the conditional law of YYY given X=xX=xX=x. The conditional cost and the full-information problem (2) are

C(z∣x)=E[c(z;Y)∣X=x],v∗(x)=min⁡z∈ZC(z∣x),Z∗(x)=arg⁡min⁡z∈ZC(z∣x).C(z\mid x)=\mathbb E\big[c(z;Y)\mid X=x\big],\qquad v^*(x)=\min_{z\in\mathcal Z}C(z\mid x),\qquad \mathcal Z^*(x)=\arg\min_{z\in\mathcal Z}C(z\mid x).C(z∣x)=E[c(z;Y)∣X=x],v∗(x)=z∈Zmin​C(z∣x),Z∗(x)=argz∈Zmin​C(z∣x).

The data are SN={(x1,y1),…,(xN,yN)}S_N=\{(x^1,y^1),\dots,(x^N,y^N)\}SN​={(x1,y1),…,(xN,yN)}, the first NNN terms of an i.i.d. sequence with law μ\muμ. The kNN weights (12) are wN,i(x)=1kI[xiw_{N,i}(x)=\frac1k\mathbb I[x^iwN,i​(x)=k1​I[xi is one of the kkk nearest neighbours of xxx among x1,…,xN]x^1,\dots,x^N]x1,…,xN], with ties among equidistant points broken by lower index first. The predictive prescription (3) is any

z^N(x)∈arg⁡min⁡z∈Z C^N(z∣x),C^N(z∣x)=∑i=1NwN,i(x) c(z;yi).\hat z_N(x)\in\arg\min_{z\in\mathcal Z}\ \widehat C_N(z\mid x),\qquad \widehat C_N(z\mid x)=\sum_{i=1}^N w_{N,i}(x)\,c(z;y^i).z^N​(x)∈argz∈Zmin​ CN​(z∣x),CN​(z∣x)=i=1∑N​wN,i​(x)c(z;yi).

The paper's standing assumptions: Assumption 3 (E∣c(z;Y)∣<∞\mathbb E|c(z;Y)|<\inftyE∣c(z;Y)∣<∞ for every z∈Zz\in\mathcal Zz∈Z, and Z∗(x)≠∅\mathcal Z^*(x)\ne\emptysetZ∗(x)=∅ for a.e. xxx); Assumption 4 (c(z;y)c(z;y)c(z;y) is equicontinuous in zzz, uniformly over y∈Yy\in\mathcal Yy∈Y); Assumption 5 (Z\mathcal ZZ closed and nonempty, and either bounded, or ccc is bounded below for large ∥z∥\|z\|∥z∥ and for each xxx there is a set DxD_xDx​ of positive conditional probability on which c(z;y)→∞c(z;y)\to\inftyc(z;y)→∞ uniformly as ∥z∥→∞\|z\|\to\infty∥z∥→∞).

Definition 1. z^N\hat z_Nz^N​ is asymptotically optimal if, with probability 1, for μX\mu_XμX​-a.e. xxx, C(z^N(x)∣x)→v∗(x)C(\hat z_N(x)\mid x)\to v^*(x)C(z^N​(x)∣x)→v∗(x); it is consistent if, with probability 1, for μX\mu_XμX​-a.e. xxx, inf⁡z∈Z∗(x)∥z^N(x)−z∥→0\inf_{z\in\mathcal Z^*(x)}\|\hat z_N(x)-z\|\to0infz∈Z∗(x)​∥z^N​(x)−z∥→0.

Formalization targets

Goal: Theorem 5 (kNN), p. 19 (= Theorem 15, p. 43)

Under Assumptions 3, 4, 5 and i.i.d. sampling, with k=min⁡{⌈CNδ⌉,N−1}k=\min\{\lceil CN^\delta\rceil,N-1\}k=min{⌈CNδ⌉,N−1}, C>0C>0C>0, 0<δ<10<\delta<10<δ<1: with probability 1, for μX\mu_XμX​-a.e. xxx, Z∗(x)\mathcal Z^*(x)Z∗(x) is nonempty, the argmin is eventually nonempty, and every selection z^N(x)\hat z_N(x)z^N​(x) from it satisfies

lim⁡N→∞C(z^N(x)∣x)=v∗(x)andlim⁡N→∞inf⁡z∈Z∗(x)∥z^N(x)−z∥=0.\lim_{N\to\infty}C(\hat z_N(x)\mid x)=v^*(x)\qquad\text{and}\qquad\lim_{N\to\infty}\inf_{z\in\mathcal Z^*(x)}\|\hat z_N(x)-z\|=0 .N→∞lim​C(z^N​(x)∣x)=v∗(x)andN→∞lim​z∈Z∗(x)inf​∥z^N​(x)−z∥=0.

The goal covers both cases of Assumption 5, including unbounded Z\mathcal ZZ such as the newsvendor's [0,∞)[0,\infty)[0,∞).

Milestones, in the order the proof uses them

  1. Walk step (proof of Theorem 15, p. 47). For any measurable hhh with E∣h(Y)∣<∞\mathbb E|h(Y)|<\inftyE∣h(Y)∣<∞, ∑iwN,i(x)h(yi)→E[h(Y)∣X=x]\sum_i w_{N,i}(x)h(y^i)\to\mathbb E[h(Y)\mid X=x]∑i​wN,i​(x)h(yi)→E[h(Y)∣X=x] a.s., for μX\mu_XμX​-a.e. xxx.
  2. Lemma 7 (p. 47). Fixed-zzz and fixed-DDD almost-sure convergence upgrade to convergence for all z∈Zz\in\mathcal Zz∈Z simultaneously and weak convergence μ^Y∣x,N→μY∣x\hat\mu_{Y|x,N}\to\mu_{Y|x}μ^​Y∣x,N​→μY∣x​, off one null set.
  3. Lemma 5 (p. 45). Along one sample path, pointwise convergence C^N(⋅∣x)→C(⋅∣x)\widehat C_N(\cdot\mid x)\to C(\cdot\mid x)CN​(⋅∣x)→C(⋅∣x) is uniform on compact subsets of Z\mathcal ZZ.
  4. Lemma 6, case 1 (pp. 45–47). For bounded Z\mathcal ZZ, the minima and minimizers of C^N(⋅∣x)\widehat C_N(\cdot\mid x)CN​(⋅∣x) converge to v∗(x)v^*(x)v∗(x) and to Z∗(x)\mathcal Z^*(x)Z∗(x).

Significance

Theorem 5 says that a decision computed from data alone, with no model of the conditional distribution, performs asymptotically as well as the decision a decision maker with full knowledge of μY∣x\mu_{Y|x}μY∣x​ would take, for almost every covariate value and under mild conditions on the cost. It justifies the kNN prescription in the paper's newsvendor and shipment-planning experiments, and its proof skeleton (a pointwise strong law for the weights, then Lemmas 5–7) is reused for kernel, local-linear and recursive-kernel weights (Theorems 6–9), which could follow as missions of the same shape.

The result is proved in the paper; it has not been machine-checked anywhere. Formalizing it requires a strong law for nearest-neighbour regression with integrable responses (Walk 2010, building on Devroye, Györfi, Krzyżak and Lugosi 1994), which Mathlib does not have, and a careful treatment of conditional laws at a point. One of the paper's lemmas (Lemma 6) is false as printed for unbounded Z\mathcal ZZ; the formalization isolates the correct statement.

Difficulty

The deterministic optimization part (Lemmas 5 and 6 for bounded Z\mathcal ZZ) is a compactness argument. The central difficulty is the probabilistic input. A natural first idea, applying the strong law of large numbers to C^N(z∣x)\widehat C_N(z\mid x)CN​(z∣x), fails: the kNN weights depend on all of x1,…,xNx^1,\dots,x^Nx1,…,xN and on xxx, the effective sample size kNk_NkN​ grows sublinearly, and convergence is required for almost every xxx simultaneously, including xxx that are atoms of μX\mu_XμX​ where ties are the rule. A second difficulty is the exchange of quantifiers: the strong law gives a null set depending on zzz and on the set DDD, and the conclusion needs one null set for all z∈Zz\in\mathcal Zz∈Z. Finally, for unbounded Z\mathcal ZZ the minimizers of C^N(⋅∣x)\widehat C_N(\cdot\mid x)CN​(⋅∣x) must be kept bounded, and weak convergence of μ^Y∣x,N\hat\mu_{Y|x,N}μ^​Y∣x,N​ alone does not do so.

Formalization scope

All spaces are EuclideanSpace ℝ (Fin d), so kNN distances and ∥z−z′∥\|z-z'\|∥z−z′∥ are Euclidean. The data are a measurable, mutually independent sequence S i : Ω → ℝ^{d_x} × ℝ^{d_y} with each term of law μ\muμ; samples are indexed from 000. The following readings are explicit in the Lean:

  • μY∣x\mu_{Y|x}μY∣x​ is the fixed version μ.condKernel x of the conditional law, and C(z∣x)C(z\mid x)C(z∣x) is its Bochner integral; Assumption 5's "for every x∈Xx\in\mathcal Xx∈X" refers to this version, and DxD_xDx​ is measurable.
  • Quantifier order is "with probability 1, for μX\mu_XμX​-a.e. xxx" (Definition 1), and the selection z^N\hat z_Nz^N​ is quantified inside both a.e. quantifiers: Z∗(x)\mathcal Z^*(x)Z∗(x) is nonempty, the argmin is nonempty for all large NNN, and every sequence lying in it for all large NNN is covered.
  • v∗(x)v^*(x)v∗(x) is never a real infimum; it is read as C(z⋆∣x)C(z^\star\mid x)C(z⋆∣x) for z⋆∈Z∗(x)z^\star\in\mathcal Z^*(x)z⋆∈Z∗(x), nonempty a.e. by Assumption 3.
  • Ties are broken lower-index-first, so the weights sum to 111 for N≥2N\ge2N≥2; at N≤1N\le1N≤1 the formula gives k=0k=0k=0 and all weights 000.
  • Lemmas 5–7 assume weights that are eventually nonnegative and sum to 111, the reading of the paper's Eμ^Y∣x,N\mathbb E_{\hat\mu_{Y|x,N}}Eμ^​Y∣x,N​​ notation; weak convergence is tested against bounded continuous functions.
  • Lemma 6 is posed for bounded Z\mathcal ZZ only, without its unused weak-convergence hypothesis; the goal is posed for both cases.

A formalization that replaces the conditional law by an arbitrary kernel unrelated to μ\muμ, takes z^N\hat z_Nz^N​ to be a fixed measurable selection chosen outside the almost-sure quantifier, or reads inf⁡z∈Z∗(x)\inf_{z\in\mathcal Z^*(x)}infz∈Z∗(x)​ on an empty set as 000 without Assumption 3 would trivialize or weaken the result and is ruled out by the statements above.

Needed infrastructure: nearest-neighbour ranks and their combinatorics (Stone's lemma: a point is among the kkk nearest neighbours of at most a bounded number of others), a strong law for kNN regression, portmanteau-type characterizations of weak convergence for weighted empirical measures, and stability of minimizers under locally uniform convergence. The kNN strong law and the stability lemmas are reusable well beyond this mission. Related platform items, credited but not reused (they concern unconditional SAA): SolutionQuality.SRP.prop1_i, SolutionQuality.SRP.prop1_ii, SolutionQuality.SRP.fbar_tendstoUniformlyOn (Bayraksan–Morton 2006) and DupacovaWets.Consistency.consistency_of_measurable_estimates (Dupačová–Wets 1988). Proofs of any milestone, and alternative routes to the goal, are welcome.

Selected references

  • D. Bertsimas, N. Kallus, From Predictive to Prescriptive Analytics, arXiv:1402.5481v4, 2018; Management Science 66(3), 2020. https://arxiv.org/abs/1402.5481v4 , https://doi.org/10.1287/mnsc.2018.3253
  • H. Walk, Strong laws of large numbers and nonparametric estimation, in Recent Developments in Applied Probability and Statistics, Physica-Verlag, 2010. https://doi.org/10.1007/978-3-7908-2598-5_8
  • L. Devroye, L. Györfi, A. Krzyżak, G. Lugosi, On the strong universal consistency of nearest neighbor regression function estimates, Annals of Statistics 22(3), 1994. https://doi.org/10.1214/aos/1176325633
  • J. Dupačová, R. Wets, Asymptotic behavior of statistical estimators and of optimal solutions of stochastic optimization problems, Annals of Statistics 16(4), 1988. https://doi.org/10.1214/aos/1176351052
  • A. Shapiro, Monte Carlo sampling methods, in Handbooks in OR & MS 10, 2003. https://doi.org/10.1016/S0927-0507(03)10006-0
6 thms1 active userReviewed
Machine LearningOperations ResearchProbability·Captain: mikedeng1

From Predictive to Prescriptive Analytics 2: For Costs in [0, c̄] That Are L-Lipschitz, w.p. ≥ 1 − δ Every Decision Rule in F Costs ≤ Its Empirical Cost + c̄√(log(1/δ)/2N) + L·ℜ_N(F)Research Paper

Motivation

Many operations decisions are made after observing side information: an inventory manager sees weather, search trends and calendar effects before ordering; a supply-chain planner sees market signals before shipping. Bertsimas and Kallus, in From Predictive to Prescriptive Analytics (arXiv:1402.5481v4, Management Science 2020), study how to turn such data into decisions. Besides their local, weight-based prescriptions (the subject of mission 1 of this series), their §8 analyses a second approach: choose a decision rule z(⋅)z(\cdot)z(⋅) from a structured class, such as norm-bounded linear rules, by empirical risk minimization — minimizing the average historical cost of the rule.

The question this mission formalizes is the one any practitioner of that approach must answer: how far can the true expected cost of the chosen rule exceed its in-sample cost? Classical statistical learning answers it with Rademacher complexity (Bartlett and Mendelson, JMLR 2002), but only for real-valued predictors. Operations decisions are vectors (order quantities for several products, shipments to several locations), so the paper extends the theory to multivariate decision rules.

Setting

Covariates xxx take values in a measurable space X\mathcal XX, the uncertain quantity yyy in a measurable space Y\mathcal YY, and decisions zzz in Rd\mathbb R^{d}Rd, unconstrained. Data are an i.i.d. sample SN=((x1,y1),…,(xN,yN))S_N=((x^1,y^1),\dots,(x^N,y^N))SN​=((x1,y1),…,(xN,yN)) from a probability measure μ\muμ on X×Y\mathcal X\times\mathcal YX×Y, and SNx=(x1,…,xN)S_N^x=(x^1,\dots,x^N)SNx​=(x1,…,xN) is its covariate part. A cost c(z;y)c(z;y)c(z;y) is incurred when decision zzz meets outcome yyy. A decision rule is a measurable map z(⋅):X→Rdz(\cdot):\mathcal X\to\mathbb R^dz(⋅):X→Rd; F\mathcal FF is a class of decision rules. Its expected cost is E[c(z(X);Y)]\mathbb E[c(z(X);Y)]E[c(z(X);Y)], and its empirical cost is 1N∑i=1Nc(z(xi);yi)\frac1N\sum_{i=1}^N c(z(x^i);y^i)N1​∑i=1N​c(z(xi);yi), the objective of problem (4).

The empirical multivariate Rademacher complexity of F\mathcal FF (Definition 3) on a sample s1,…,sNs_1,\dots,s_Ns1​,…,sN​ is

R^N(F;SN)=Eσ[2Nsup⁡g∈F∑i=1N∑k=1dσik gk(si)],\widehat{\mathfrak R}_N(\mathcal F;S_N)=\mathbb E_\sigma\Big[\frac2N\sup_{g\in\mathcal F}\sum_{i=1}^N\sum_{k=1}^d\sigma_{ik}\,g_k(s_i)\Big],RN​(F;SN​)=Eσ​[N2​g∈Fsup​i=1∑N​k=1∑d​σik​gk​(si​)],

with σik\sigma_{ik}σik​ independent uniform signs, and the marginal complexity RN(F)\mathfrak R_N(\mathcal F)RN​(F) is its expectation over the sample. For real-valued classes (d=1d=1d=1) these are the usual Rademacher complexities with factor 2/N2/N2/N and no absolute value. Lean notation: empRademacher, margRademacher, expCost, empCost, costClass in PrescAnalytics.ERM.

Formalization targets

Goal: Theorem 13 (out-of-sample guarantees)

If 0≤c(z;y)≤cˉ0\le c(z;y)\le\bar c0≤c(z;y)≤cˉ and ∣c(z;y)−c(z′;y)∣≤L∥z−z′∥∞|c(z;y)-c(z';y)|\le L\|z-z'\|_\infty∣c(z;y)−c(z′;y)∣≤L∥z−z′∥∞​, then for any δ>0\delta>0δ>0 each of the following holds with probability at least 1−δ1-\delta1−δ:

E[c(z(X);Y)]≤1N∑i=1Nc(z(xi);yi)+cˉlog⁡(1/δ)2N+L RN(F)∀z∈F,(26)\mathbb E[c(z(X);Y)]\le\frac1N\sum_{i=1}^N c(z(x^i);y^i)+\bar c\sqrt{\frac{\log(1/\delta)}{2N}}+L\,\mathfrak R_N(\mathcal F)\quad\forall z\in\mathcal F,\tag{26}E[c(z(X);Y)]≤N1​i=1∑N​c(z(xi);yi)+cˉ2Nlog(1/δ)​​+LRN​(F)∀z∈F,(26) E[c(z(X);Y)]≤1N∑i=1Nc(z(xi);yi)+3cˉlog⁡(2/δ)2N+L R^N(F;SNx)∀z∈F.(27)\mathbb E[c(z(X);Y)]\le\frac1N\sum_{i=1}^N c(z(x^i);y^i)+3\bar c\sqrt{\frac{\log(2/\delta)}{2N}}+L\,\widehat{\mathfrak R}_N(\mathcal F;S_N^x)\quad\forall z\in\mathcal F.\tag{27}E[c(z(X);Y)]≤N1​i=1∑N​c(z(xi);yi)+3cˉ2Nlog(2/δ)​​+LRN​(F;SNx​)∀z∈F.(27)

In particular they hold for the empirical risk minimizer. The goal is stated for a general class F\mathcal FF, not only the linear rules (25).

Milestones

  1. Lemma 1 (comparison): for G={(x,y)↦c(f(x);y):f∈F}\mathcal G=\{(x,y)\mapsto c(f(x);y):f\in\mathcal F\}G={(x,y)↦c(f(x);y):f∈F}, R^N(G;SN)≤L R^N(F;SNx)\widehat{\mathfrak R}_N(\mathcal G;S_N)\le L\,\widehat{\mathfrak R}_N(\mathcal F;S_N^x)RN​(G;SN​)≤LRN​(F;SNx​) and RN(G)≤L RN(F)\mathfrak R_N(\mathcal G)\le L\,\mathfrak R_N(\mathcal F)RN​(G)≤LRN​(F).
  2. Theorem 14 (29): for a class G\mathcal GG of functions with values in [0,gˉ][0,\bar g][0,gˉ​], with probability at least 1−δ1-\delta1−δ, Eg≤1N∑ig(ui)+gˉlog⁡(1/δ)/(2N)+RN(G)\mathbb E g\le\frac1N\sum_i g(u^i)+\bar g\sqrt{\log(1/\delta)/(2N)}+\mathfrak R_N(\mathcal G)Eg≤N1​∑i​g(ui)+gˉ​log(1/δ)/(2N)​+RN​(G) for all g∈Gg\in\mathcal Gg∈G.
  3. Theorem 14 (30): the data-dependent version with 3gˉlog⁡(2/δ)/(2N)+R^N(G;SN)3\bar g\sqrt{\log(2/\delta)/(2N)}+\widehat{\mathfrak R}_N(\mathcal G;S_N)3gˉ​log(2/δ)/(2N)​+RN​(G;SN​).

Significance

Theorem 13 says that the quantity empirical risk minimization optimizes is, up to confidence terms that do not depend on the rule, an upper bound on the true expected cost of every rule in the class, uniformly. Bound (27) is computable from data, so it certifies a learned policy without a holdout set. Combined with complexity bounds for norm-restricted linear rules (the paper's Lemmas 2 and 3, not part of this mission), it shows the confidence terms vanish as N→∞N\to\inftyN→∞.

The results are known: (29) and (30) for [0,gˉ][0,\bar g][0,gˉ​]-valued classes are the standard Rademacher bounds (Mohri, Rostamizadeh and Talwalkar, Foundations of Machine Learning, Thm 3.3, after rescaling). What is new in the paper is the ∞\infty∞-norm vector comparison inequality of Lemma 1 with constant 111. None of these statements has a machine-checked proof on the platform. A formal development would supply a reusable symmetrization-plus-McDiarmid pipeline and a vector contraction lemma. Related items posed in this repository are Bartlett–Mendelson's Theorem 8 (RadGauss.RiskBound.theorem_8, with an absolute value in the complexity and constant 8ln⁡(2/δ)/n\sqrt{8\ln(2/\delta)/n}8ln(2/δ)/n​), Maurer's Euclidean vector contraction with constant 2\sqrt22​ (SPOBounds.Margin.maurer_vector_contraction), and the open uniform law HighDimStat.UniformLaws.uniform_law_rademacher_complexity; none is the same statement as a target here.

Difficulty

The uniform bound needs three ingredients: a concentration inequality for the supremum of the deviation over the class (bounded differences), a symmetrization step relating the expected supremum to the Rademacher complexity, and a comparison inequality to pass from the cost class to the decision rules. The scalar contraction principle of Ledoux and Talagrand does not apply directly, since each cost depends on a ddd-dimensional output; applying it coordinatewise loses a factor of ddd, and Euclidean vector contraction loses 2\sqrt22​ and uses the wrong norm. Lemma 1 needs an argument specific to the ∞\infty∞-norm. Measure theory adds its own difficulty: the supremum over an uncountable class must be shown measurable before its expectation or probability means anything.

Formalization scope

Decisions are Fin d → ℝ, whose Lean norm is the ∞\infty∞-norm; X\mathcal XX, Y\mathcal YY are general measurable spaces. Samples are drawn from the product measure Measure.pi (fun _ : Fin N => μ), with N≥1N\ge1N≥1. The following readings are explicit:

  • Each "with probability at least 1−δ1-\delta1−δ, … for all z∈Fz\in\mathcal Fz∈F" is a bound ≤δ\le\delta≤δ on the outer measure of the set of samples where the inequality fails for some zzz; the quantifier over the class is inside the event.
  • Empirical complexities are in EReal (an unbounded class gives +∞+\infty+∞), marginal ones are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]; 0⋅∞=00\cdot\infty=00⋅∞=0.
  • The paper assumes only sup⁡c≤cˉ\sup c\le\bar csupc≤cˉ (resp. ∣g∣≤gˉ|g|\le\bar g∣g∣≤gˉ​). With that alone (26) and (29) are false — a two-point outcome with a constant rule violates them with probability 1/21/21/2 — so the costs are assumed to take values in [0,cˉ][0,\bar c][0,cˉ], keeping every printed constant.
  • The undefined δ′,δ′′\delta',\delta''δ′,δ′′ are δ\deltaδ (the i.i.d. case of the paper's Theorem 21); the Lipschitz denominator printed as ∥zk−zk′∥∞\|z_k-z'_k\|_\infty∥zk​−zk′​∥∞​ is ∥z−z′∥∞\|z-z'\|_\infty∥z−z′∥∞​.
  • Decision rules and the cost are measurable and the class is pointwise separable (a countable subclass approximates every member pointwise). The paper takes probabilities and expectations of suprema over the class without comment; without such a convention the statement fails for pathological classes.

A trivializing formalization is ruled out: the quantifier over the class sits inside the probability, the complexity has no absolute value and is never a junk 000 for unbounded classes, and the hypotheses are satisfied by a clipped newsvendor cost. Solvers will need McDiarmid's inequality, symmetrization with a ghost sample, and the comparison lemma; each is reusable for any Rademacher-based generalization bound. Formalizations of these tools as separate lemmas are welcome.

Selected references

  • D. Bertsimas, N. Kallus, From Predictive to Prescriptive Analytics, arXiv:1402.5481v4, 2018; Management Science 66(3), 2020. https://arxiv.org/abs/1402.5481 , https://doi.org/10.1287/mnsc.2018.3253
  • P. L. Bartlett, S. Mendelson, Rademacher and Gaussian Complexities: Risk Bounds and Structural Results, JMLR 3, 2002. https://www.jmlr.org/papers/v3/bartlett02a.html
  • M. Ledoux, M. Talagrand, Probability in Banach Spaces, Springer, 1991. https://doi.org/10.1007/978-3-642-20212-4
  • M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., MIT Press, 2018. https://mitpress.mit.edu/9780262039406/
  • A. Maurer, A Vector-Contraction Inequality for Rademacher Complexities, ALT 2016. https://arxiv.org/abs/1605.00251
5 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

Optimal Rates for the Regularized Least-Squares Algorithm III: Against Every Algorithm, a Single Distribution in P(b, c) Keeps the Expected Excess Risk above ℓ^(−cB/(cB+1)) for B > b (Theorem 3)Research Paper

Why individual lower rates

Regularized least squares (RLS) in a reproducing kernel Hilbert space is a basic estimator of nonparametric regression and of kernel-based learning. Its learning rate is the speed at which the expected excess risk goes to zero as the sample size ℓ\ellℓ grows. A rate is useful only if it is known to be optimal, and optimality is a lower-bound statement about all learning algorithms.

Caponnetto and De Vito (Found. Comput. Math. 7 (2007)) prove two kinds of lower bound. The first is a minimax lower rate (their Theorem 2): for every algorithm and every ℓ\ellℓ, some distribution in the prior is hard. Their Section 2 (p. 6) points out a weakness of this notion: the bad distribution may change with ℓ\ellℓ. A practitioner, however, faces one fixed unknown distribution and asks how the error decreases as data accumulate. The individual lower rate answers that question. It asks for a single distribution, chosen against the algorithm but not depending on ℓ\ellℓ, on which the expected excess risk stays above aℓa_\ellaℓ​ along infinitely many ℓ\ellℓ.

The notion comes from nonparametric regression. Györfi, Kohler, Krzyżak and Walk (A Distribution-Free Theory of Nonparametric Regression, Springer 2002, §3, Theorem 3.3) proved individual lower rates for classes of smooth regression functions. Theorem 3 of Caponnetto–De Vito carries the result to vector-valued RKHS with the spectral priors P(b,c)\mathcal P(b, c)P(b,c). Theorem 1 of the same paper shows that these priors are learned by RLS at rate ℓ−bc/(bc+1)\ell^{-bc/(bc+1)}ℓ−bc/(bc+1).

Setting

The input space XXX is Polish. The output space YYY is a real Hilbert space of finite dimension ddd. The hypothesis space H\mathcal HH is a separable real Hilbert space of functions f:X→Yf : X \to Yf:X→Y in which evaluation is continuous, so that f(x)=Kx∗ff(x) = K_x^* ff(x)=Kx∗​f for bounded operators Kx:Y→HK_x : Y \to \mathcal HKx​:Y→H. Hypothesis 1 asks that (x,t)↦⟨Ktv,Kxw⟩H(x, t) \mapsto \langle K_t v, K_x w\rangle_{\mathcal H}(x,t)↦⟨Kt​v,Kx​w⟩H​ be measurable and that Tr⁡(Kx∗Kx)≤κ\operatorname{Tr}(K_x^*K_x) \le \kappaTr(Kx∗​Kx​)≤κ for every xxx.

A distribution ρ\rhoρ on Z=X×YZ = X \times YZ=X×Y has marginal ρX\rho_XρX​ and conditional distributions ρ(⋅∣x)\rho(\cdot \mid x)ρ(⋅∣x). The risk of f∈Hf \in \mathcal Hf∈H is

E[f]=∫Z∥f(x)−y∥Y2 dρ(x,y).\mathcal E[f] = \int_Z \|f(x) - y\|_Y^2 \, d\rho(x, y).E[f]=∫Z​∥f(x)−y∥Y2​dρ(x,y).

Hypothesis 2 asks for square-integrable outputs, a minimizer fHf_{\mathcal H}fH​ of E\mathcal EE over H\mathcal HH, and a Bernstein-type moment bound on the noise y−fH(x)y - f_{\mathcal H}(x)y−fH​(x) with constants M,ΣM, \SigmaM,Σ.

The operator T=∫XKxKx∗ dρX(x)T = \int_X K_x K_x^*\, d\rho_X(x)T=∫X​Kx​Kx∗​dρX​(x) on H\mathcal HH satisfies ⟨Tf,g⟩=∫X⟨f(x),g(x)⟩Y dρX\langle Tf, g\rangle = \int_X \langle f(x), g(x)\rangle_Y \, d\rho_X⟨Tf,g⟩=∫X​⟨f(x),g(x)⟩Y​dρX​. Its nonzero eigenvalues are t1≥t2≥…t_1 \ge t_2 \ge \dotst1​≥t2​≥…, with orthonormal eigenvectors ene_nen​.

For positive constants M,Σ,R,α,βM, \Sigma, R, \alpha, \betaM,Σ,R,α,β and parameters 1<b<∞1 < b < \infty1<b<∞, 1≤c≤21 \le c \le 21≤c≤2, the prior P(b,c)\mathcal P(b, c)P(b,c) (Definition 1) is the set of probability measures ρ\rhoρ satisfying three conditions:

  • Hypothesis 2 holds for the minimal-norm minimizer fHf_{\mathcal H}fH​;
  • fH=T(c−1)/2gf_{\mathcal H} = T^{(c-1)/2} gfH​=T(c−1)/2g with ∥g∥H2≤R\|g\|_{\mathcal H}^2 \le R∥g∥H2​≤R (a source condition);
  • the eigenvalues satisfy α≤nbtn≤β\alpha \le n^b t_n \le \betaα≤nbtn​≤β for all n≥1n \ge 1n≥1.

A learning algorithm is a sequence of maps fℓ:Zℓ→Hf_\ell : Z^\ell \to \mathcal Hfℓ​:Zℓ→H, and fzℓf^\ell_{\mathbf z}fzℓ​ is its output on a sample z\mathbf zz of size ℓ\ellℓ drawn from ρℓ\rho^\ellρℓ.

Formalization targets

Goal: Theorem 3 (p. 11)

For every B>bB > bB>b,

inf⁡{fℓ} sup⁡ρ∈P(b,c) lim sup⁡ℓ→∞Ez∼ρℓ(E[fzℓ]−E[fH])ℓ−cB/(cB+1)>0.\inf_{\{f_\ell\}}\ \sup_{\rho \in \mathcal P(b, c)}\ \limsup_{\ell \to \infty} \frac{\mathbb E_{\mathbf z \sim \rho^\ell}\big(\mathcal E[f^\ell_{\mathbf z}] - \mathcal E[f_{\mathcal H}]\big)}{\ell^{-cB/(cB+1)}} > 0 .{fℓ​}inf​ ρ∈P(b,c)sup​ ℓ→∞limsup​ℓ−cB/(cB+1)Ez∼ρℓ​(E[fzℓ​]−E[fH​])​>0.

Equivalently, there is C>0C > 0C>0 such that every algorithm admits one ρ∈P(b,c)\rho \in \mathcal P(b, c)ρ∈P(b,c) with expected excess risk at least Cℓ−cB/(cB+1)C\ell^{-cB/(cB+1)}Cℓ−cB/(cB+1) for infinitely many ℓ\ellℓ. The constant may depend on the prior and on BBB, but not on the algorithm.

Milestones

  1. Proposition 7 (pp. 25–26). A fair sign sss observed as y=sg+ny = sg + ny=sg+n with i.i.d. N(0,σ2)\mathcal N(0, \sigma^2)N(0,σ2) noise has Bayes error Φ(−∥g∥/σ)\Phi(-\|g\|/\sigma)Φ(−∥g∥/σ).
  2. P′⊂P(b,c)\mathcal P' \subset \mathcal P(b, c)P′⊂P(b,c) (pp. 26–27). This concerns distributions with marginal ν\nuν and conditional distribution N(m(s)(x),σ2Id)\mathcal N(m^{(s)}(x), \sigma^2\mathrm{Id})N(m(s)(x),σ2Id), where
m(s)=∑nsnγn/tn en,γn=n−(Bc+1)ϵϵ+1αcR,m^{(s)} = \sum_n s_n\sqrt{\gamma_n/t_n}\,e_n, \qquad \gamma_n = n^{-(Bc+1)}\tfrac{\epsilon}{\epsilon+1}\alpha^c R,m(s)=n∑​sn​γn​/tn​​en​,γn​=n−(Bc+1)ϵ+1ϵ​αcR,

with ϵ=(B−b)c\epsilon = (B - b)cϵ=(B−b)c and s∈{±1}∞s \in \{\pm1\}^\inftys∈{±1}∞. Every such distribution belongs to the prior. 3. (63) (p. 27). Under these distributions, E[f]−E[m(s)]=∑n(cn−sn)2γn\mathcal E[f] - \mathcal E[m^{(s)}] = \sum_n (c_n - s_n)^2\gamma_nE[f]−E[m(s)]=∑n​(cn​−sn​)2γn​ with cn=tn/γn⟨f,en⟩c_n = \sqrt{t_n/\gamma_n}\langle f, e_n\ranglecn​=tn​/γn​​⟨f,en​⟩. 4. (68) (p. 28, corrected). ∑ℓγn≤1γn≥u1/(Bc+1)2Bc ℓ−Bc/(Bc+1)\sum_{\ell\gamma_n \le 1} \gamma_n \ge \tfrac{u^{1/(Bc+1)}}{2Bc}\,\ell^{-Bc/(Bc+1)}∑ℓγn​≤1​γn​≥2Bcu1/(Bc+1)​ℓ−Bc/(Bc+1) for ℓ≥(2Bc)Bc+1/u\ell \ge (2Bc)^{Bc+1}/uℓ≥(2Bc)Bc+1/u, where u=ϵϵ+1αcRu = \tfrac{\epsilon}{\epsilon+1}\alpha^c Ru=ϵ+1ϵ​αcR. 5. (67) (pp. 28–30). Averaged over independent fair signs SSS, the expected number of sign errors over {n:ℓγn≤1}\{n : \ell\gamma_n \le 1\}{n:ℓγn​≤1}, weighted by γn\gamma_nγn​, is at least Φ(−1/σ)∑ℓγn≤1γn\Phi(-1/\sigma)\sum_{\ell\gamma_n \le 1}\gamma_nΦ(−1/σ)∑ℓγn​≤1​γn​.

Significance

Theorem 3 shows that no algorithm, RLS included, converges on every fixed distribution of P(b,c)\mathcal P(b, c)P(b,c) faster than ℓ−cB/(cB+1)\ell^{-cB/(cB+1)}ℓ−cB/(cB+1), for any B>bB > bB>b. For c>1c > 1c>1 this exponent is arbitrarily close to the exponent bc/(bc+1)bc/(bc+1)bc/(bc+1) of the upper rate of Theorem 1, so RLS with the regularization parameter of Theorem 1 is near-optimal even in the individual sense. The paper notes (p. 6) that full individual optimality would still need an upper rate in expectation or an individual lower rate in probability; that question is outside this mission.

The theorem is proved on paper and has been cited widely. To our knowledge no part of it has been machine-checked. A formalization would produce:

  • a checked reduction from a learning lower bound to Gaussian sign testing;
  • a Lean model of Gaussian-noise regression with vector outputs;
  • an explicit, checked version of the corrected computation (68).

Difficulty

A minimax argument picks a hard distribution for each ℓ\ellℓ, and that is not allowed here: the distribution must be fixed before ℓ\ellℓ varies. The obvious repair, taking the worst distribution for one ℓ\ellℓ and keeping it, fails, because a distribution that is hard at sample size ℓ\ellℓ can be easy at sample size 10ℓ10\ell10ℓ.

What has to be shown is a lower bound that holds for one distribution simultaneously along infinitely many sample sizes. Bounds that hold separately at each ℓ\ellℓ, with a distribution that may depend on ℓ\ellℓ, do not combine into such a bound.

A second difficulty arises in any reduction to a coordinatewise testing problem: each observation yiy_iyi​ depends on all spectral coordinates of the regression function at once, so testing one coordinate is not literally the problem of Proposition 7.

Formalization scope

H\mathcal HH is Mathlib's RKHS ℝ H X Y, with KxK_xKx​ = RKHS.kerFun H x and YYY finite-dimensional. The paper's Σ\SigmaΣ is written Sig.

  • The operator TTT. It is never formed as an operator-valued integral. It enters through its quadratic form and through an eigen-system (en,tn)(e_n, t_n)(en​,tn​) with summable weights.
  • Indexing. Indices start at 000, so the paper's tnt_ntn​ is t (n-1).
  • The prior. InPrior encodes ρ∈P(b,c)\rho \in \mathcal P(b, c)ρ∈P(b,c), including "probability measure".
  • Expectations. Expectations are lintegrals of nonnegative quantities, and samples are Fin ℓ → X × Y under the product measure.
  • Algorithms. A learning algorithm is a family of maps from samples to H\mathcal HH, and it must be measurable.
  • Added hypothesis. P(b,c)\mathcal P(b, c)P(b,c) is assumed nonempty. The proof starts from "an arbitrary ρ0∈P(b,c)\rho_0 \in \mathcal P(b, c)ρ0​∈P(b,c)", and with an empty prior the supremum is over the empty set and the statement fails.
  • The noise. Gaussian noise with covariance σ2Id\sigma^2\mathrm{Id}σ2Id is σξ\sigma\xiσξ with ξ∼\xi \simξ∼ stdGaussian Y.
  • SdS^dSd. It is read as the surface area of the unit sphere of Rd\mathbb R^dRd.

Two parts of the print are corrected, and both corrections are stated in the items.

  • (68). The printed constant v=u−Bc/(Bc+1)/(2Bc)v = u^{-Bc/(Bc+1)}/(2Bc)v=u−Bc/(Bc+1)/(2Bc) and threshold 2Bc(2Bcu)Bc2Bc(2Bcu)^{Bc}2Bc(2Bcu)Bc come from dropping the factor uuu in an integral, and the printed inequality fails for u<1/2u < 1/2u<1/2. The corrected constant is u1/(Bc+1)/(2Bc)u^{1/(Bc+1)}/(2Bc)u1/(Bc+1)/(2Bc), with threshold (2Bc)Bc+1/u(2Bc)^{Bc+1}/u(2Bc)Bc+1/u.
  • (67). It is stated with the explicit constant C=Φ(−1/σ)C = \Phi(-1/\sigma)C=Φ(−1/σ) that the proof obtains.

The goal mentions none of P′\mathcal P'P′, m(s)m^{(s)}m(s), γn\gamma_nγn​ or Φ\PhiΦ. It is the lower rate (3) for the full prior P(b,c)\mathcal P(b, c)P(b,c) with aℓ=ℓ−cB/(cB+1)a_\ell = \ell^{-cB/(cB+1)}aℓ​=ℓ−cB/(cB+1). A formalization that fixed the algorithm, let the distribution depend on ℓ\ellℓ, or let the constant depend on the algorithm would prove a different, weaker statement.

A complete development needs:

  • Gaussian measures on finite-dimensional inner product spaces, and the distribution function of the standard normal;
  • conditional distributions on Polish products;
  • infinite products of fair coins;
  • series in Hilbert spaces with orthogonal terms.

Reusable pieces include Proposition 7, the Bayes-error monotonicity argument on p. 29, and the identification of the risk minimizer of a Gaussian-noise model. Contributions on any milestone are welcome, as are proofs of the measurability facts (elements of H\mathcal HH are measurable under Hypothesis 1).

Selected references

  • A. Caponnetto and E. De Vito, Optimal rates for the regularized least-squares algorithm, Found. Comput. Math. 7 (2007) 331–368. https://doi.org/10.1007/s10208-006-0196-8
  • L. Györfi, M. Kohler, A. Krzyżak and H. Walk, A Distribution-Free Theory of Nonparametric Regression, Springer Series in Statistics, 2002 (§3, Theorem 3.3; Lemma 3.2).
  • R. DeVore, G. Kerkyacharian, D. Picard and V. Temlyakov, Approximation methods for supervised learning, Found. Comput. Math. 6 (2006) 3–58.
8 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

Optimal Rates for the Regularized Least-Squares Algorithm II: No Learning Algorithm Converges Faster than ℓ^(−bc/(bc+1)) Uniformly over P(b, c) — the Minimax Lower Rate (Theorem 2)Research Paper

Why lower bounds for kernel regression matter

Regularized least squares (RLS), also called kernel ridge regression, is one of the standard estimators of statistical learning: given a sample of input–output pairs, it fits a function from a reproducing kernel Hilbert space by minimizing the empirical squared error plus a multiple of the squared norm. Caponnetto and De Vito (FoCM 2007) proved that, over a class of distributions described by two parameters — the decay of the eigenvalues of the kernel's covariance operator and the smoothness of the regression function relative to it — RLS with a well-chosen regularization parameter converges at the rate ℓ−bc/(bc+1)\ell^{-bc/(bc+1)}ℓ−bc/(bc+1) in the sample size ℓ\ellℓ (their Theorem 1). An upper rate on its own does not say whether another method could do better. This mission formalizes the matching minimax lower rate (their Theorem 2): when the output space is finite dimensional, no learning algorithm whatsoever converges faster than ℓ−bc/(bc+1)\ell^{-bc/(bc+1)}ℓ−bc/(bc+1) uniformly over the class. Together the two theorems say that RLS is rate-optimal, and they are the reference point for later work on spectral regularization, early stopping and distributed kernel methods.

The paper's lower bound adapts the minimax analysis of DeVore, Kerkyacharian, Picard and Temlyakov (FoCM 2006) to the vector-valued RKHS setting.

Setting

Inputs xxx lie in a Polish space XXX and outputs yyy in a real Hilbert space YYY of finite dimension ddd. The hypothesis space H\mathcal HH is a separable Hilbert space of functions f:X→Yf : X \to Yf:X→Y in which evaluation is continuous; Kx:Y→HK_x : Y \to \mathcal HKx​:Y→H is the adjoint of evaluation at xxx, so f(x)=Kx∗ff(x) = K_x^* ff(x)=Kx∗​f. Hypothesis 1 asks that (x,t)↦⟨Ktv,Kxw⟩H(x,t) \mapsto \langle K_t v, K_x w\rangle_{\mathcal H}(x,t)↦⟨Kt​v,Kx​w⟩H​ be measurable and that Tr⁡(Kx∗Kx)≤κ\operatorname{Tr}(K_x^*K_x) \le \kappaTr(Kx∗​Kx​)≤κ for every xxx.

A distribution ρ\rhoρ on Z=X×YZ = X \times YZ=X×Y has risk E[f]=∫∥f(x)−y∥2 dρ\mathcal E[f] = \int \|f(x) - y\|^2\, d\rhoE[f]=∫∥f(x)−y∥2dρ. Hypothesis 2 asks that ∫∥y∥2dρ<∞\int\|y\|^2 d\rho < \infty∫∥y∥2dρ<∞, that the risk has a minimizer fH∈Hf_{\mathcal H} \in \mathcal HfH​∈H (taken of minimal norm), and that the noise y−fH(x)y - f_{\mathcal H}(x)y−fH​(x) satisfies a Bernstein moment condition with constants M,ΣM, \SigmaM,Σ. With ρX\rho_XρX​ the marginal of ρ\rhoρ, the operator T=∫KxKx∗ dρX(x)T = \int K_x K_x^*\, d\rho_X(x)T=∫Kx​Kx∗​dρX​(x) on H\mathcal HH has the quadratic form ⟨Tf,g⟩=∫⟨f(x),g(x)⟩ dρX\langle Tf, g\rangle = \int \langle f(x), g(x)\rangle\, d\rho_X⟨Tf,g⟩=∫⟨f(x),g(x)⟩dρX​ and a spectral decomposition T=∑ntn⟨⋅,en⟩enT = \sum_n t_n \langle\cdot, e_n\rangle e_nT=∑n​tn​⟨⋅,en​⟩en​.

The prior P(b,c)\mathcal P(b,c)P(b,c) (Definition 1, with fixed positive M,Σ,R,α,βM, \Sigma, R, \alpha, \betaM,Σ,R,α,β, 1<b<∞1 < b < \infty1<b<∞ and 1≤c≤21 \le c \le 21≤c≤2) is the set of probability measures ρ\rhoρ satisfying Hypothesis 2 with M,ΣM, \SigmaM,Σ such that

  • TTT has infinitely many positive eigenvalues t1≥t2≥…t_1 \ge t_2 \ge \dotst1​≥t2​≥… with α≤nbtn≤β\alpha \le n^b t_n \le \betaα≤nbtn​≤β (a capacity condition);
  • fH=T(c−1)/2gf_{\mathcal H} = T^{(c-1)/2} gfH​=T(c−1)/2g for some ggg with ∥g∥2≤R\|g\|^2 \le R∥g∥2≤R (a source condition).

Formalization targets

Goal: Theorem 2 (p. 11)

lim⁡τ→0 lim inf⁡ℓ→∞ inf⁡fℓ sup⁡ρ∈P(b,c) Pz∼ρℓ[E[fzℓ]−E[fH]>τ ℓ−bcbc+1]=1,\lim_{\tau \to 0}\ \liminf_{\ell \to \infty}\ \inf_{f_\ell}\ \sup_{\rho \in \mathcal P(b,c)}\ \mathbb P_{\mathbf z \sim \rho^\ell}\Big[\mathcal E[f^\ell_{\mathbf z}] - \mathcal E[f_{\mathcal H}] > \tau\, \ell^{-\frac{bc}{bc+1}}\Big] = 1,τ→0lim​ ℓ→∞liminf​ fℓ​inf​ ρ∈P(b,c)sup​ Pz∼ρℓ​[E[fzℓ​]−E[fH​]>τℓ−bc+1bc​]=1,

the infimum over all learning algorithms fℓ:Zℓ→Hf_\ell : Z^\ell \to \mathcal Hfℓ​:Zℓ→H. The constant in front of the rate is left free, so the goal asserts only the exponent.

Milestones

  1. Proposition 4 (p. 21): for f=T(c−1)/2gf = T^{(c-1)/2}gf=T(c−1)/2g, ∥g∥2≤R\|g\|^2 \le R∥g∥2≤R, the explicit distribution ρf\rho_fρf​ with marginal ν\nuν (the marginal of some ρ0∈P(b,c)\rho_0 \in \mathcal P(b,c)ρ0​∈P(b,c)) and 2d2d2d-point conditional law is a probability measure with regression function fff, and lies in P(b,c)\mathcal P(b,c)P(b,c) when min⁡(M,Σ)≥2(4d+1)κcR\min(M,\Sigma) \ge 2(4d+1)\sqrt{\kappa^c R}min(M,Σ)≥2(4d+1)κcR​.
  2. Proposition 4, (54): K(ρf,ρf′)≤1615dL2∥T(f−f′)∥2\mathcal K(\rho_f, \rho_{f'}) \le \frac{16}{15 d L^2}\|\sqrt T(f - f')\|^2K(ρf​,ρf′​)≤15dL216​∥T​(f−f′)∥2 with L=4κcRL = 4\sqrt{\kappa^c R}L=4κcR​.
  3. Proposition 6 (p. 24): for m>16m > 16m>16 there are N≥em/24N \ge e^{m/24}N≥em/24 sign vectors in {−1,+1}m\{-1,+1\}^m{−1,+1}m with pairwise ∑n(σin−σjn)2≥m\sum_n(\sigma_i^n - \sigma_j^n)^2 \ge m∑n​(σin​−σjn​)2≥m.
  4. Proposition 5 (pp. 22–23): for small ϵ\epsilonϵ there are Nϵ≥eγϵ−1/(bc)N_\epsilon \ge e^{\gamma\epsilon^{-1/(bc)}}Nϵ​≥eγϵ−1/(bc) functions in the source class with ϵ≤∥T(fi−fj)∥2≤4ϵ\epsilon \le \|\sqrt T(f_i - f_j)\|^2 \le 4\epsilonϵ≤∥T​(fi​−fj​)∥2≤4ϵ.
  5. Theorem 5 (p. 24): for every algorithm some ρ∗∈P(b,c)\rho_* \in \mathcal P(b,c)ρ∗​∈P(b,c) has P[excess risk>ϵ/4]≥min⁡{N∗/(N∗+1), e−3/eN∗ e−4ℓϵ/(15dκcR)}\mathbb P[\text{excess risk} > \epsilon/4] \ge \min\{N^*/(N^*+1),\ e^{-3/e}\sqrt{N^*}\, e^{-4\ell\epsilon/(15 d\kappa^c R)}\}P[excess risk>ϵ/4]≥min{N∗/(N∗+1), e−3/eN∗​e−4ℓϵ/(15dκcR)}, N∗=eγϵ−1/(bc)N^* = e^{\gamma\epsilon^{-1/(bc)}}N∗=eγϵ−1/(bc).

Significance

The result. Theorem 2 shows that the exponent bc/(bc+1)bc/(bc+1)bc/(bc+1) attained by RLS cannot be improved by any estimator over P(b,c)\mathcal P(b,c)P(b,c) when dim⁡Y<∞\dim Y < \inftydimY<∞; for c=1c = 1c=1 RLS is optimal up to a logarithmic factor. It separates what is a property of the problem class from what is a property of the algorithm: improvements to kernel methods must change the class (stronger assumptions) rather than the rate. The construction — a packing of the source class measured in the T\sqrt TT​-norm, combined with a KL bound for an explicit noise model — is the template reused in many later lower bounds for kernel and inverse-problem estimators.

Formalizing it. The result has been proved since 2007; no machine-checked version exists. A formal proof needs the information-theoretic lower-bound machinery (a Fano-type inequality for many hypotheses), a Varshamov–Gilbert-type packing of the Hamming cube, KL divergence between explicit mixtures, and the spectral description of the covariance operator of a vector-valued RKHS. Each of these is reusable well beyond this paper. The mission also makes precise the paper's implicit conventions (see below), which a pen-and-paper reader fills in silently.

Difficulty

The upper half of the argument is not the hard part; the hard part is that the lower bound is uniform over all measurable algorithms, which no direct computation reaches. The step that does not follow from the paper alone is Theorem 5: its proof invokes Lemma 3.3 and Eq. 3.12 of DeVore et al., a Fano-type inequality bounding the probability of correct identification among NNN hypotheses with pairwise KL divergence at most a given level. That lemma is not stated in the paper and is not in Mathlib; it must be formalized. A second obstacle is the packing (Proposition 6), whose proof is a probabilistic union bound with Hoeffding's inequality. A naive attempt to prove Theorem 2 by exhibiting a single bad distribution fails: for any fixed ρ\rhoρ some algorithm (the constant one returning fρf_{\rho}fρ​) has zero excess risk, so the bad distribution must depend on the algorithm, and the order of quantifiers is essential.

Formalization scope

Mathlib's RKHS ℝ H X Y provides the function space with continuous evaluation, RKHS.kerFun is KxK_xKx​, and InformationTheory.klDiv is the Kullback–Leibler information. The operator TTT is never built as an operator-valued Bochner integral: it is recorded through its quadratic form ∫⟨f(x),g(x)⟩dρX\int\langle f(x), g(x)\rangle d\rho_X∫⟨f(x),g(x)⟩dρX​ and an eigen-system indexed by N\mathbb NN from 000 (the paper's tnt_ntn​ is t (n-1)). The trace in Hypothesis 1 is a series over a Hilbert basis of YYY; the conditional law in Hypothesis 2 is Measure.condKernel, and the moment integral there is a lintegral. E[fH]\mathcal E[f_{\mathcal H}]E[fH​] in the goal is inf⁡f∈HE[f]\inf_{f \in \mathcal H}\mathcal E[f]inff∈H​E[f].

Conventions and added hypotheses, each implicit on the page:

  • P(b,c)\mathcal P(b,c)P(b,c) is assumed nonempty; the proof fixes ρ0∈P(b,c)\rho_0 \in \mathcal P(b,c)ρ0​∈P(b,c), and over an empty prior the supremum is over the empty set and the statement is false.
  • Algorithms are measurable maps Zℓ→HZ^\ell \to \mathcal HZℓ→H; this is the reading under which the probability in the goal is defined, and it restricts the infimum relative to "all mappings".
  • The constants M,Σ,R,α,β,κM, \Sigma, R, \alpha, \beta, \kappaM,Σ,R,α,β,κ are positive; the basis (vj)(v_j)(vj​) of YYY in Proposition 4 is orthonormal.
  • Proposition 4's "∥g∥2≤R\|g\|^2 \le R∥g∥2≤R" for f′f'f′ is read as ∥g′∥2≤R\|g'\|^2 \le R∥g′∥2≤R; Proposition 6's "i≠,ji \ne, ji=,j" as i≠ji \ne ji=j; (56) is required for i≠ji \ne ji=j. The proof's variance display on p. 22 is wrong for d≥2d \ge 2d≥2, but the conclusion of Proposition 4 holds.

The goal is the ε\varepsilonε–τ\tauτ–LLL unfolding of the limit and mentions neither ρf\rho_fρf​, the KL bound nor the packing, so it cannot be discharged by any of the milestones' constructions in isolation; the distribution ρ\rhoρ is chosen after the algorithm, never before it.

Contributions welcome: a general Fano/DeVore-type lemma for finitely many hypotheses, the Varshamov–Gilbert bound, KL ≤ χ² for finite mixtures, and lemmas relating covForm to the excess risk.

Selected references

  • A. Caponnetto, E. De Vito, Optimal rates for the regularized least-squares algorithm, Found. Comput. Math. 7 (2007) 331–368. https://doi.org/10.1007/s10208-006-0196-8
  • R. DeVore, G. Kerkyacharian, D. Picard, V. Temlyakov, Approximation methods for supervised learning, Found. Comput. Math. 6 (2006) 3–58. https://doi.org/10.1007/s10208-004-0158-6
  • L. Györfi, M. Kohler, A. Krzyżak, H. Walk, A Distribution-Free Theory of Nonparametric Regression, Springer, 2002. https://doi.org/10.1007/b97848
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009. https://doi.org/10.1007/b13794
7 thms1 active userReviewed
Functional AnalysisMachine LearningProbability·Captain: mikedeng1

Optimal Rates for the Regularized Least-Squares Algorithm I: With λ Tuned to the Effective Dimension, Regularized Least Squares Attains the Rate ℓ^(−bc/(bc+1)) Uniformly over P(b, c) (Theorem 1)Research Paper

Motivation

Regularized least squares (RLS, also called kernel ridge regression or Tikhonov regularization) is the simplest learning algorithm built on a reproducing kernel Hilbert space. Given ℓ\ellℓ examples (xi,yi)(x_i,y_i)(xi​,yi​) drawn independently from an unknown distribution ρ\rhoρ, it returns the function in a hypothesis space H\mathcal HH that minimizes the empirical squared error plus λ\lambdaλ times the squared norm. It is used in regression, in multi-task learning with vector-valued outputs, and as the reference case for spectral regularization methods.

The basic statistical question is how fast the excess risk of the RLS estimator goes to zero as ℓ\ellℓ grows, and how to choose λ=λℓ\lambda=\lambda_\ellλ=λℓ​ to get that speed. Caponnetto and De Vito (FoCM 2007) answered it for a family of priors P(b,c)\mathcal P(b,c)P(b,c) described by two numbers: the decay rate bbb of the eigenvalues of the covariance operator of the input distribution and the regularity ccc of the target function. Their Theorem 1 gives the upper rate ℓ−bc/(bc+1)\ell^{-bc/(bc+1)}ℓ−bc/(bc+1); Theorems 2 and 3 show that no algorithm does better when the output space is finite dimensional. This mission formalizes the upper rate.

Timeline. Cucker and Smale (2002) and De Vito, Caponnetto and Rosasco (2005) gave rates for RLS that did not depend on the eigenvalue decay of ρX\rho_XρX​. Zhang (2005) introduced the effective dimension N(λ)\mathcal N(\lambda)N(λ) as the complexity measure. Caponnetto and De Vito (authors' copy dated 2006, published 2007) combined it with a source condition to obtain rates that are optimal over P(b,c)\mathcal P(b,c)P(b,c), for vector-valued outputs. Steinwart, Hush and Scovel (2009) and Fischer and Steinwart (2020) later extended the analysis to other norms and to c<1c<1c<1.

Setting

The input space XXX is a Polish space and the output space YYY is a real separable Hilbert space. The hypothesis space H\mathcal HH is a real separable Hilbert space of functions f:X→Yf:X\to Yf:X→Y in which evaluation at each point is continuous. For x∈Xx\in Xx∈X, Kx:Y→HK_x:Y\to\mathcal HKx​:Y→H is the adjoint of evaluation at xxx, so f(x)=Kx∗ff(x)=K_x^*ff(x)=Kx∗​f. Hypothesis 1 adds a measurability condition and a uniform trace bound Tr⁡(Kx∗Kx)≤κ\operatorname{Tr}(K_x^*K_x)\le\kappaTr(Kx∗​Kx​)≤κ.

A distribution ρ\rhoρ on Z=X×YZ=X\times YZ=X×Y has marginal ρX\rho_XρX​ and conditional laws ρ(⋅∣x)\rho(\cdot\mid x)ρ(⋅∣x). The expected risk of f∈Hf\in\mathcal Hf∈H is E[f]=∫∥f(x)−y∥Y2 dρ\mathcal E[f]=\int\|f(x)-y\|_Y^2\,d\rhoE[f]=∫∥f(x)−y∥Y2​dρ. Hypothesis 2 asks that E∥y∥2<∞\mathbb E\|y\|^2<\inftyE∥y∥2<∞, that E\mathcal EE attains its infimum over H\mathcal HH at some fHf_{\mathcal H}fH​ (the minimizer of minimal norm is used), and that the noise y−fH(x)y-f_{\mathcal H}(x)y−fH​(x) satisfies a Bernstein moment condition with constants M,ΣM,\SigmaM,Σ.

The covariance operator T=∫XKxKx∗ dρXT=\int_XK_xK_x^*\,d\rho_XT=∫X​Kx​Kx∗​dρX​ is positive and trace class, with ⟨Tf,f⟩H=∫X∥f(x)∥Y2 dρX\langle Tf,f\rangle_{\mathcal H}=\int_X\|f(x)\|_Y^2\,d\rho_X⟨Tf,f⟩H​=∫X​∥f(x)∥Y2​dρX​ and eigen-decomposition T=∑ntn⟨⋅,en⟩enT=\sum_nt_n\langle\cdot,e_n\rangle e_nT=∑n​tn​⟨⋅,en​⟩en​, t1≥t2≥⋯>0t_1\ge t_2\ge\dots>0t1​≥t2​≥⋯>0. The prior P(b,c)\mathcal P(b,c)P(b,c), for 1<b<∞1<b<\infty1<b<∞ and 1≤c≤21\le c\le21≤c≤2, consists of the ρ\rhoρ satisfying Hypothesis 2, with fH=T(c−1)/2gf_{\mathcal H}=T^{(c-1)/2}gfH​=T(c−1)/2g for some ∥g∥2≤R\|g\|^2\le R∥g∥2≤R (source condition), and with α≤nbtn≤β\alpha\le n^bt_n\le\betaα≤nbtn​≤β for all nnn (eigenvalue decay).

The RLS estimator fzλf_{\mathbf z}^\lambdafzλ​ minimizes 1ℓ∑i∥f(xi)−yi∥Y2+λ∥f∥H2\frac1\ell\sum_i\|f(x_i)-y_i\|_Y^2+\lambda\|f\|_{\mathcal H}^2ℓ1​∑i​∥f(xi​)−yi​∥Y2​+λ∥f∥H2​ over H\mathcal HH.

Formalization targets

Goal: Theorem 1, 1<b<+∞1<b<+\infty1<b<+∞

With λℓ=ℓ−b/(bc+1)\lambda_\ell=\ell^{-b/(bc+1)}λℓ​=ℓ−b/(bc+1) and aℓ=ℓ−bc/(bc+1)a_\ell=\ell^{-bc/(bc+1)}aℓ​=ℓ−bc/(bc+1) for c>1c>1c>1, and λℓ=aℓ=(log⁡ℓ/ℓ)b/(b+1)\lambda_\ell=a_\ell=(\log\ell/\ell)^{b/(b+1)}λℓ​=aℓ​=(logℓ/ℓ)b/(b+1) for c=1c=1c=1,

lim⁡τ→∞lim sup⁡ℓ→∞sup⁡ρ∈P(b,c)Pz∼ρℓ[E[fzλℓ]−E[fH]>τaℓ]=0.\lim_{\tau\to\infty}\limsup_{\ell\to\infty}\sup_{\rho\in\mathcal P(b,c)}\mathbb P_{\mathbf z\sim\rho^\ell}\Big[\mathcal E[f_{\mathbf z}^{\lambda_\ell}]-\mathcal E[f_{\mathcal H}]>\tau a_\ell\Big]=0.τ→∞lim​ℓ→∞limsup​ρ∈P(b,c)sup​Pz∼ρℓ​[E[fzλℓ​​]−E[fH​]>τaℓ​]=0.

The statement fixes the rate, not the constants: the threshold τ\tauτ absorbs every constant of the prior.

Milestones

  1. Proposition 1 iii)–v): the excess risk is ∥T(f−fH)∥2\|\sqrt T(f-f_{\mathcal H})\|^2∥T​(f−fH​)∥2; the regularized expected and empirical risks have unique minimizers fλ=(T+λ)−1TfHf^\lambda=(T+\lambda)^{-1}Tf_{\mathcal H}fλ=(T+λ)−1TfH​ and fzλ=(Tx+λ)−1gzf_{\mathbf z}^\lambda=(T_{\mathbf x}+\lambda)^{-1}g_{\mathbf z}fzλ​=(Tx​+λ)−1gz​.
  2. Proposition 2: a Bernstein inequality for means of i.i.d. Hilbert-space-valued variables.
  3. Theorem 4: with probability ≥1−η\ge1-\eta≥1−η,
E[fzλ]−E[fH]≤3Cη(A(λ)+κ2B(λ)ℓ2λ+κA(λ)ℓλ+κM2ℓ2λ+Σ2N(λ)ℓ),\mathcal E[f_{\mathbf z}^\lambda]-\mathcal E[f_{\mathcal H}]\le3C_\eta\Big(\mathcal A(\lambda)+\frac{\kappa^2\mathcal B(\lambda)}{\ell^2\lambda}+\frac{\kappa\mathcal A(\lambda)}{\ell\lambda}+\frac{\kappa M^2}{\ell^2\lambda}+\frac{\Sigma^2\mathcal N(\lambda)}{\ell}\Big),E[fzλ​]−E[fH​]≤3Cη​(A(λ)+ℓ2λκ2B(λ)​+ℓλκA(λ)​+ℓ2λκM2​+ℓΣ2N(λ)​),

provided ℓ≥2CηκN(λ)/λ\ell\ge2C_\eta\kappa\mathcal N(\lambda)/\lambdaℓ≥2Cη​κN(λ)/λ and λ≤∥T∥\lambda\le\|T\|λ≤∥T∥, where Cη=32log⁡2(6/η)C_\eta=32\log^2(6/\eta)Cη​=32log2(6/η), A(λ)=E[fλ]−E[fH]\mathcal A(\lambda)=\mathcal E[f^\lambda]-\mathcal E[f_{\mathcal H}]A(λ)=E[fλ]−E[fH​], B(λ)=∥fλ−fH∥2\mathcal B(\lambda)=\|f^\lambda-f_{\mathcal H}\|^2B(λ)=∥fλ−fH​∥2 and N(λ)=Tr⁡[(T+λ)−1T]\mathcal N(\lambda)=\operatorname{Tr}[(T+\lambda)^{-1}T]N(λ)=Tr[(T+λ)−1T]. 4. Proposition 3: on P(b,c)\mathcal P(b,c)P(b,c), A(λ)≤λc∥T(1−c)/2fH∥2\mathcal A(\lambda)\le\lambda^c\|T^{(1-c)/2}f_{\mathcal H}\|^2A(λ)≤λc∥T(1−c)/2fH​∥2, B(λ)≤λc−1∥T(1−c)/2fH∥2\mathcal B(\lambda)\le\lambda^{c-1}\|T^{(1-c)/2}f_{\mathcal H}\|^2B(λ)≤λc−1∥T(1−c)/2fH​∥2 and N(λ)≤bb−1β1/bλ−1/b\mathcal N(\lambda)\le\frac b{b-1}\beta^{1/b}\lambda^{-1/b}N(λ)≤b−1b​β1/bλ−1/b.

Significance

The result. Theorem 1 says that RLS with λℓ\lambda_\ellλℓ​ chosen from (b,c)(b,c)(b,c) achieves the rate ℓ−bc/(bc+1)\ell^{-bc/(bc+1)}ℓ−bc/(bc+1) uniformly over the prior, and the companion lower bounds show this is the minimax rate for 1<c≤21<c\le21<c≤2 and finite-dimensional YYY. The rate interpolates between the parametric rate 1/ℓ1/\ell1/ℓ (fast eigenvalue decay, smooth target) and slower nonparametric rates, and it identifies the effective dimension, rather than the dimension of H\mathcal HH, as the quantity that governs complexity. Theorem 4 is a non-asymptotic bound of independent use; it is the template for later analyses of spectral regularization, gradient descent with early stopping, and random-feature approximations of kernel methods.

The formalization. The result is proved on paper; no machine-checked proof of a kernel ridge regression rate is known to exist. A formal development requires a Bernstein inequality in Hilbert spaces, spectral calculus for a trace-class operator defined from a measure, and the operator-perturbation argument of Theorem 4. Two printed constants are corrected here: Theorem 4's proof yields 3Cη3C_\eta3Cη​, not CηC_\etaCη​, and Proposition 3's bound on N(λ)\mathcal N(\lambda)N(λ) has β1/b\beta^{1/b}β1/b in place of β\betaβ. The paper also states Theorem 1 for b=+∞b=+\inftyb=+∞; that branch fails for 1≤c<21\le c<21≤c<2 and is not posed.

Difficulty

The obvious argument bounds ∥fzλ−fλ∥H\|f_{\mathbf z}^\lambda-f^\lambda\|_{\mathcal H}∥fzλ​−fλ∥H​ by uniform concentration of TxT_{\mathbf x}Tx​ around TTT and multiplies by ∥T∥\|\sqrt T\|∥T​∥. That gives a variance term that ignores the eigenvalue decay of TTT, and hence a rate that does not improve with bbb. The optimal rate needs the variance measured through N(λ)\mathcal N(\lambda)N(λ), which requires controlling T(Tx+λ)−1\sqrt T(T_{\mathbf x}+\lambda)^{-1}T​(Tx​+λ)−1 in operator norm with high probability. This in turn needs concentration of (T+λ)−1/2(T−Tx)(T+\lambda)^{-1/2}(T-T_{\mathbf x})(T+λ)−1/2(T−Tx​) in Hilbert–Schmidt norm, and the condition ℓ≳N(λ)/λ\ell\gtrsim\mathcal N(\lambda)/\lambdaℓ≳N(λ)/λ under which the empirical operator is close enough to TTT. The noise is unbounded, so only the moment condition (9) is available, and the concentration step must use moment bounds rather than boundedness.

Formalization scope

H\mathcal HH is Mathlib's RKHS ℝ H X Y, and KxK_xKx​ is RKHS.kerFun H x. The trace in Hypothesis 1 is computed in a fixed Hilbert basis of YYY. ρX\rho_XρX​ is the first marginal and ρ(⋅∣x)\rho(\cdot\mid x)ρ(⋅∣x) is condKernel. The operator TTT is not built as an operator-valued integral. It enters through its quadratic form ∫⟨f(x),g(x)⟩ dρX\int\langle f(x),g(x)\rangle\,d\rho_X∫⟨f(x),g(x)⟩dρX​ and through an eigen-system (en,tn)(e_n,t_n)(en​,tn​), indexed from 000, so (17) reads α≤(n+1)btn≤β\alpha\le(n+1)^bt_n\le\betaα≤(n+1)btn​≤β. The effective dimension is ∑ntn/(tn+λ)\sum_nt_n/(t_n+\lambda)∑n​tn​/(tn​+λ). Samples are Fin ℓ → X × Y under the product measure, and probabilities of events are outer measures. "With probability at least 1−η1-\eta1−η" is stated as "the bad event has measure at most η\etaη". The noise condition and the moments of Proposition 2 are integrals of nonnegative functions with values in [0,∞][0,\infty][0,∞].

The hypotheses the paper uses but does not display are added: positivity of M,Σ,R,α,β,κM,\Sigma,R,\alpha,\beta,\kappaM,Σ,R,α,β,κ, and integrability of the random variable in Proposition 2. The RLS estimator of the goal is any family of minimizers of (18) for ℓ≥2\ell\ge2ℓ≥2; at ℓ=1\ell=1ℓ=1 and c=1c=1c=1 the parameter λ1=0\lambda_1=0λ1​=0 is degenerate. The goal quantifies uniformly: LLL is chosen before ρ\rhoρ, and the estimator is fixed before ρ\rhoρ. The goal must not be replaced by a statement about A,B,N\mathcal A,\mathcal B,\mathcal NA,B,N or by Theorem 4's event: it is the uniform rate for the estimator itself.

Reusable infrastructure: Hilbert-space Bernstein inequalities (Proposition 2 alone is a valuable target), spectral calculus for compact positive operators given by a quadratic form, and the representer/normal equation for vector-valued RLS. Contributions of proofs for any milestone, and of supporting lemmas about trace-class operators and effective dimension, are welcome.

Selected references

  • A. Caponnetto, E. De Vito, Optimal rates for the regularized least-squares algorithm, Found. Comput. Math. 7 (2007) 331–368. https://doi.org/10.1007/s10208-006-0196-8
  • F. Cucker, S. Smale, On the mathematical foundations of learning, Bull. Amer. Math. Soc. 39 (2002) 1–49. https://doi.org/10.1090/S0273-0979-01-00923-5
  • E. De Vito, A. Caponnetto, L. Rosasco, Model selection for regularized least-squares algorithm in learning theory, Found. Comput. Math. 5 (2005) 59–85. https://doi.org/10.1007/s10208-004-0134-1
  • T. Zhang, Learning bounds for kernel regression using effective data dimensionality, Neural Comput. 17 (2005) 2077–2098. https://doi.org/10.1162/0899766054323008
  • I. Pinelis, Optimum bounds for the distributions of martingales in Banach spaces, Ann. Probab. 22 (1994) 1679–1706. https://doi.org/10.1214/aop/1176988477
  • I. Steinwart, D. Hush, C. Scovel, Optimal rates for regularized least squares regression, COLT 2009. https://www.cs.mcgill.ca/~colt2009/papers/038.pdf
  • S. Fischer, I. Steinwart, Sobolev norm learning rates for regularized least-squares algorithms, J. Mach. Learn. Res. 21 (2020) 1–38. https://jmlr.org/papers/v21/19-734.html
9 thms1 active userReviewed
Machine LearningOptimal TransportProbability·Captain: mikedeng1

Robust Wasserstein Profile Inference and Applications to Machine Learning 3: The Scaled Robust Wasserstein Profile n^(ρ/2)·R_n(θ*) Is Asymptotically Stochastically Bounded by R̄(ρ)Research Paper

Motivation

Many statistical parameters are defined implicitly, as the root θ∗\theta_*θ∗​ of an estimating equation E[h(W,θ∗)]=0\mathbb E[h(W, \theta_*)] = \mathbf 0E[h(W,θ∗​)]=0: a mean, a quantile, a regression coefficient, the minimizer of an expected loss. Owen's empirical likelihood builds confidence regions for such parameters by asking how far the empirical distribution of the data must be reweighted before the equation holds, and the profile of that distance has a chi-squared limit (Owen, Empirical Likelihood, 2001).

Blanchet, Kang and Murthy replace reweighting by transport: they measure how much the data must be moved, in the sense of optimal transport, before the equation holds. The resulting Robust Wasserstein Profile (RWP) function plays the role of the empirical-likelihood profile, and its value at the true parameter is exactly the smallest radius of a Wasserstein ball around the data that contains a distribution satisfying the estimating equation. Its asymptotic law is therefore what is needed to choose the radius of Wasserstein distributionally robust estimators, such as the square-root LASSO and regularized logistic regression, in a data-driven way (arXiv:1610.05627, §§1, 3, 4). This mission formalizes the paper's main limit theorem, Theorem 3.

Setting

Let c:Rm×Rm→[0,∞]c : \mathbb R^m \times \mathbb R^m \to [0, \infty]c:Rm×Rm→[0,∞] be a cost. The optimal transport cost between probability laws PPP and QQQ on Rm\mathbb R^mRm is

Dc(P,Q)=inf⁡{Eπ[c(U,W)]:πU=P, πW=Q},D_c(P, Q) = \inf\{ \mathbb E_\pi[c(U, W)] : \pi_U = P,\ \pi_W = Q \},Dc​(P,Q)=inf{Eπ​[c(U,W)]:πU​=P, πW​=Q},

the infimum over all joint laws π\piπ of a pair (U,W)(U, W)(U,W) with the given marginals (Eq. (7)). In this mission c(u,w)=∥w−u∥qρc(u, w) = \|w - u\|_q^\rhoc(u,w)=∥w−u∥qρ​ with ρ≥1\rho \ge 1ρ≥1 and q∈(1,∞]q \in (1, \infty]q∈(1,∞], and ppp denotes the conjugate exponent, 1/p+1/q=11/p + 1/q = 11/p+1/q=1.

Let h:Rm×Rl→Rrh : \mathbb R^m \times \mathbb R^l \to \mathbb R^rh:Rm×Rl→Rr be an estimating function, and let W,W1,W2,…W, W_1, W_2, \dotsW,W1​,W2​,… be i.i.d. random vectors in Rm\mathbb R^mRm with E[h(W,θ∗)]=0\mathbb E[h(W, \theta_*)] = \mathbf 0E[h(W,θ∗​)]=0. With Pn\mathbb P_nPn​ the empirical distribution of W1,…,WnW_1, \dots, W_nW1​,…,Wn​, the RWP function is

Rn(θ)=inf⁡{Dc(P,Pn):EP[h(W,θ)]=0}.(16)R_n(\theta) = \inf\{ D_c(P, \mathbb P_n) : \mathbb E_P[h(W, \theta)] = \mathbf 0 \}. \qquad (16)Rn​(θ)=inf{Dc​(P,Pn​):EP​[h(W,θ)]=0}.(16)

Write Dwh(w,θ∗)D_w h(w, \theta_*)Dw​h(w,θ∗​) for the r×mr \times mr×m Jacobian of w↦h(w,θ∗)w \mapsto h(w, \theta_*)w↦h(w,θ∗​), and ∥ζTDwh(w,θ∗)∥p\|\zeta^T D_w h(w, \theta_*)\|_p∥ζTDw​h(w,θ∗​)∥p​ for the ℓp\ell_pℓp​ norm of the row vector ζTDwh(w,θ∗)∈Rm\zeta^T D_w h(w, \theta_*) \in \mathbb R^mζTDw​h(w,θ∗​)∈Rm, ζ∈Rr\zeta \in \mathbb R^rζ∈Rr. The assumptions are:

  • A1) c(u,w)=∥u−w∥qρc(u, w) = \|u - w\|_q^\rhoc(u,w)=∥u−w∥qρ​, ρ≥1\rho \ge 1ρ≥1;
  • A2) E[h(W,θ∗)]=0\mathbb E[h(W, \theta_*)] = \mathbf 0E[h(W,θ∗​)]=0 and E∥h(W,θ∗)∥22<∞\mathbb E\|h(W, \theta_*)\|_2^2 < \inftyE∥h(W,θ∗​)∥22​<∞;
  • A3) h(⋅,θ∗)h(\cdot, \theta_*)h(⋅,θ∗​) is continuously differentiable;
  • A4) for every ζ≠0\zeta \ne 0ζ=0, P(∥ζTDwh(W,θ∗)∥p>0)>0\mathbb P(\|\zeta^T D_w h(W, \theta_*)\|_p > 0) > 0P(∥ζTDw​h(W,θ∗​)∥p​>0)>0.

A sequence XnX_nXn​ is asymptotically stochastically bounded by XXX, written Xn≲DXX_n \lesssim_D XXn​≲D​X, if lim sup⁡nE[f(Xn)]≤E[f(X)]\limsup_n \mathbb E[f(X_n)] \le \mathbb E[f(X)]limsupn​E[f(Xn​)]≤E[f(X)] for every continuous, bounded, non-decreasing fff.

Formalization targets

Goal: Theorem 3 (p. 15)

Let H∼N(0,E[h(W,θ∗)h(W,θ∗)T])H \sim \mathcal N(\mathbf 0, \mathbb E[h(W, \theta_*) h(W, \theta_*)^T])H∼N(0,E[h(W,θ∗​)h(W,θ∗​)T]). Under A1)–A4),

nρ/2Rn(θ∗;ρ)≲DRˉ(ρ),n^{\rho/2} R_n(\theta_*; \rho) \lesssim_D \bar R(\rho),nρ/2Rn​(θ∗​;ρ)≲D​Rˉ(ρ),

where for ρ>1\rho > 1ρ>1

Rˉ(ρ)=max⁡ζ∈Rr{ρζTH−(ρ−1) E∥ζTDwh(W,θ∗)∥pρ/(ρ−1)},\bar R(\rho) = \max_{\zeta \in \mathbb R^r} \Big\{ \rho \zeta^T H - (\rho - 1)\, \mathbb E\|\zeta^T D_w h(W, \theta_*)\|_p^{\rho/(\rho - 1)} \Big\},Rˉ(ρ)=ζ∈Rrmax​{ρζTH−(ρ−1)E∥ζTDw​h(W,θ∗​)∥pρ/(ρ−1)​},

and for ρ=1\rho = 1ρ=1

Rˉ(1)=max⁡ζ: P(∥ζTDwh(W,θ∗)∥p>1)=0ζTH.\bar R(1) = \max_{\zeta :\ \mathbb P(\|\zeta^T D_w h(W, \theta_*)\|_p > 1) = 0} \zeta^T H.Rˉ(1)=ζ: P(∥ζTDw​h(W,θ∗​)∥p​>1)=0max​ζTH.

The formal goal also asserts that Rn(θ∗)R_n(\theta_*)Rn​(θ∗​) is finite and measurable and that both maxima are attained; these are facts the paper's statement presupposes.

Milestones (proof of Theorem 3, App. A.3)

  1. Proposition 3 (p. 13): strong duality, Rn(θ)=sup⁡λ{−1n∑isup⁡u{λTh(u,θ)−c(u,Wi)}}R_n(\theta) = \sup_\lambda \{ -\frac1n \sum_i \sup_u \{\lambda^T h(u, \theta) - c(u, W_i)\} \}Rn​(θ)=supλ​{−n1​∑i​supu​{λTh(u,θ)−c(u,Wi​)}} when 0∈int⁡conv⁡h(Rm,θ)\mathbf 0 \in \operatorname{int} \operatorname{conv} h(\mathbb R^m, \theta)0∈intconvh(Rm,θ).
  2. (31)–(32) (p. 32): nρ/2Rn(θ∗)=sup⁡ζ{−ζTHn−Mn(ζ)}n^{\rho/2} R_n(\theta_*) = \sup_\zeta \{ -\zeta^T H_n - M_n(\zeta) \}nρ/2Rn​(θ∗​)=supζ​{−ζTHn​−Mn​(ζ)}, with Hn=n−1/2∑ih(Wi,θ∗)H_n = n^{-1/2} \sum_i h(W_i, \theta_*)Hn​=n−1/2∑i​h(Wi​,θ∗​) and the random penalty MnM_nMn​.
  3. Lemma 2 (p. 32): the supremum in (31) localizes to a compact set of ζ\zetaζ with high probability.
  4. (42) (p. 36): max⁡Δ{vTΔ−∥Δ∥qρ}=∥v∥pρ/(ρ−1)(1/ρ)1/(ρ−1)(1−1/ρ)\max_\Delta \{ v^T \Delta - \|\Delta\|_q^\rho \} = \|v\|_p^{\rho/(\rho-1)} (1/\rho)^{1/(\rho-1)} (1 - 1/\rho)maxΔ​{vTΔ−∥Δ∥qρ​}=∥v∥pρ/(ρ−1)​(1/ρ)1/(ρ−1)(1−1/ρ).
  5. Lemma 3 (p. 34): a uniform law of large numbers for the localized penalty.

Significance

Theorem 3 gives the rate n−ρ/2n^{-\rho/2}n−ρ/2 at which the RWP function at the true parameter vanishes and an explicit random variable bounding its rescaled limit. The (1−α)(1-\alpha)(1−α)-quantile ηα\eta_\alphaηα​ of Rˉ(ρ)\bar R(\rho)Rˉ(ρ) yields a radius δ=n−ρ/2ηα\delta = n^{-\rho/2}\eta_\alphaδ=n−ρ/2ηα​ for which the Wasserstein ball around Pn\mathbb P_nPn​ contains, with asymptotic probability at least 1−α1 - \alpha1−α, a law satisfying the estimating equation at θ∗\theta_*θ∗​ (§3.1, (19)); this is the paper's prescription for the regularization parameter of square-root LASSO and of regularized logistic regression (§4). Example 3 (p. 14) shows the bound is sharp for the mean: nρ/2Rn(θ∗)⇒σWρ∣N(0,1)∣ρn^{\rho/2} R_n(\theta_*) \Rightarrow \sigma_W^\rho |N(0, 1)|^\rhonρ/2Rn​(θ∗​)⇒σWρ​∣N(0,1)∣ρ. Matching lower bounds (Propositions 4 and 5) need further assumptions and are not part of this mission.

The result is proved in the paper; no machine-checked version of it, or of any RWP or empirical-likelihood limit theorem, is known to exist. A formalization would check the duality argument for the problem of moments, the passage from the dual representation to a localized maximization, and the continuous-mapping step, and would produce reusable statements: strong duality for transport-cost moment problems, the closed form of the conjugate of ∥⋅∥qρ\|\cdot\|_q^\rho∥⋅∥qρ​, and a uniform law of large numbers over a compact parameter set.

Difficulty

The obvious route is to apply the central limit theorem to HnH_nHn​ and pass to the limit inside the dual representation (31). This fails as stated, for two reasons. First, the supremum in (31) is over all of Rr\mathbb R^rRr, and convergence of the objective on compact sets does not control the supremum; Lemma 2 is needed, and it uses A4) through a lower bound on E∥ζˉTDh(W)∥pp\mathbb E\|\bar\zeta^T Dh(W)\|_p^pE∥ζˉ​TDh(W)∥pp​ that is uniform over the unit sphere. Second, the penalty MnM_nMn​ involves the derivative of hhh at points Wi+n−1/2ΔuW_i + n^{-1/2}\Delta uWi​+n−1/2Δu that are not localized, with no moment assumption on DhDhDh; the proof must truncate to ∥Wi∥p≤c0\|W_i\|_p \le c_0∥Wi​∥p​≤c0​ and to a specific near-optimal Δ\DeltaΔ, and then remove the truncation. The case ρ=1\rho = 1ρ=1 differs: the inner supremum is 000 or +∞+\infty+∞, and the limit becomes a maximization over a constraint set.

Formalization scope

Vectors are Fin k → ℝ; ℓq\ell_qℓq​ and ℓp\ell_pℓp​ norms are Mathlib's PiLp norms, so q=∞q = \inftyq=∞ is allowed, with q∈(1,∞]q \in (1, \infty]q∈(1,∞] and p.HolderConjugate q. The samples are a sequence W : ℕ → Ω → (Fin m → ℝ), mutually independent (iIndepFun) and identically distributed with W 0, which plays the role of WWW; RnR_nRn​ uses W0,…,Wn−1W_0, \dots, W_{n-1}W0​,…,Wn−1​ through the published empiricalDistribution. Distinct samples are not assumed in Theorem 3; Proposition 3 and (31) keep the §3.1 assumption of distinct samples. Transport costs and RnR_nRn​ are [0,∞][0, \infty][0,∞]-valued lower Lebesgue integrals and infima; Rˉ(ρ)\bar R(\rho)Rˉ(ρ) is computed in the extended reals with the moment E∥⋅∥pρ/(ρ−1)\mathbb E\|\cdot\|_p^{\rho/(\rho-1)}E∥⋅∥pρ/(ρ−1)​ in [0,∞][0, \infty][0,∞]. HHH's law is multivariateGaussian 0 Cov on EuclideanSpace ℝ (Fin r).

The goal is a conjunction: finiteness of Rn(θ∗)R_n(\theta_*)Rn​(θ∗​) for n≥1n \ge 1n≥1, its a.e.-measurability, attainment of the maxima in Rˉ(ρ)\bar R(\rho)Rˉ(ρ), and the limsup bound. Without the first three, a real-valued formalization could hold for the wrong reason (an infinite RnR_nRn​ converted to 000, a non-measurable integrand integrated to 000, or an unbounded supremum replaced by 000); the conjunction rules this out.

Readings of the page recorded in the items: A1) says q≥1q \ge 1q≥1 while (17) and the proof of Lemma 2 use q>1q > 1q>1, and q∈(1,∞]q \in (1,\infty]q∈(1,∞] is used; Proposition 3 is stated for a cost that is finite everywhere, the setting of §3, because for a cost that is infinite on part of the space the interior condition on h(Rm,θ)h(\mathbb R^m, \theta)h(Rm,θ) does not imply the Slater condition used in App. B; Lemmas 2 and 3 state the standing assumptions A1), A3) and i.i.d. sampling that their statements leave implicit. The localized weak limit (45) is not a milestone: its penalty Mn′M'_nMn′​ depends on a ζ\zetaζ-dependent near-optimal direction that is not stated precisely enough on the page.

Needed infrastructure: the multivariate central limit theorem (Mathlib has the real-valued one), Hölder duality for PiLp norms, a strong-duality theorem for moment problems (Proposition 7, quoted from Isii and Karlin–Studden), and a uniform law of large numbers. The duality results and the conjugate formula (42) are reusable beyond this mission. Proofs of any milestone, and lemmas that serve them, are welcome.

Selected references

  • J. Blanchet, Y. Kang, K. Murthy, Robust Wasserstein Profile Inference and Applications to Machine Learning, J. Appl. Probab. 56(3), 2019; arXiv:1610.05627v4. https://arxiv.org/abs/1610.05627
  • A. B. Owen, Empirical Likelihood, Chapman & Hall/CRC, 2001. https://doi.org/10.1201/9781420036152
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Math. Oper. Res. 44(2), 2019. https://arxiv.org/abs/1604.01446
  • K. Isii, On sharpness of Tchebycheff-type inequalities, Ann. Inst. Statist. Math. 14, 1962. https://doi.org/10.1007/BF02868641
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
12 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Assessing Solution Quality in Stochastic Programs: The Single-Replication Confidence Interval on the Optimality Gap Is Asymptotically ValidResearch Paper

Motivation

Most stochastic programs of practical size, such as two-stage recourse models in energy, finance or supply-chain planning, cannot be solved exactly: the expectation in the objective is a high-dimensional integral. The standard remedy is sample average approximation (SAA): replace the expectation by an average over a Monte Carlo sample and solve the resulting deterministic problem. This produces a candidate solution x^\hat xx^ but says nothing about how good it is. A decision maker needs a statistical certificate: an interval that contains the candidate's optimality gap with a prescribed probability.

Mak, Morton and Wood (Oper. Res. Lett. 24, 1999) built such a certificate from ng≥30n_g\ge 30ng​≥30 independent SAA replications, which requires solving at least 30 optimization problems. Bayraksan and Morton (preprint January 2005, published in Math. Program. 108, 2006) showed that a single replication suffices asymptotically, and gave two variants that use two replications. This mission formalizes their validity theorems.

Setting

Let ξ~\tilde\xiξ~​ be a random vector with distribution μ\muμ on a measurable space Ξ\XiΞ, let X⊆RdX\subseteq\mathbb R^dX⊆Rd be a set of decisions, and let f:Rd×Ξ→Rf:\mathbb R^d\times\Xi\to\mathbb Rf:Rd×Ξ→R be a cost. The stochastic program is

z∗=min⁡x∈XEf(x,ξ~).(SP)z^*=\min_{x\in X} Ef(x,\tilde\xi). \qquad\text{(SP)}z∗=x∈Xmin​Ef(x,ξ~​).(SP)

Its optimal set is X∗X^*X∗, and the optimality gap of a candidate x^∈X\hat x\in Xx^∈X is μx^=Ef(x^,ξ~)−z∗≥0\mu_{\hat x}=Ef(\hat x,\tilde\xi)-z^*\ge 0μx^​=Ef(x^,ξ~​)−z∗≥0. The paper assumes throughout:

  • (A1) f(⋅,ξ~)f(\cdot,\tilde\xi)f(⋅,ξ~​) is continuous on XXX, with probability one;
  • (A2) Esup⁡x∈Xf2(x,ξ~)<∞E\sup_{x\in X} f^2(x,\tilde\xi)<\inftyEsupx∈X​f2(x,ξ~​)<∞;
  • (A3) XXX is nonempty and compact.

Let ξ~1,ξ~2,…\tilde\xi^1,\tilde\xi^2,\dotsξ~​1,ξ~​2,… be i.i.d. copies of ξ~\tilde\xiξ~​, and write fˉn(x)=1n∑i=1nf(x,ξ~i)\bar f_n(x)=\frac1n\sum_{i=1}^n f(x,\tilde\xi^i)fˉ​n​(x)=n1​∑i=1n​f(x,ξ~​i). The SAA problem is zn∗=min⁡x∈Xfˉn(x)z_n^*=\min_{x\in X}\bar f_n(x)zn∗​=minx∈X​fˉ​n​(x) (SPn_nn​), with an optimal solution xn∗x_n^*xn∗​. The gap estimator is Gn(x^)=fˉn(x^)−zn∗G_n(\hat x)=\bar f_n(\hat x)-z_n^*Gn​(x^)=fˉ​n​(x^)−zn∗​ (display (2)), and the sample variance of the differences f(x^,ξ~i)−f(x,ξ~i)f(\hat x,\tilde\xi^i)-f(x,\tilde\xi^i)f(x^,ξ~​i)−f(x,ξ~​i) is

sn2(x)=1n−1∑i=1n[(f(x^,ξ~i)−f(x,ξ~i))−(fˉn(x^)−fˉn(x))]2,s_n^2(x)=\frac1{n-1}\sum_{i=1}^n\Big[\big(f(\hat x,\tilde\xi^i)-f(x,\tilde\xi^i)\big)-\big(\bar f_n(\hat x)-\bar f_n(x)\big)\Big]^2,sn2​(x)=n−11​i=1∑n​[(f(x^,ξ~​i)−f(x,ξ~​i))−(fˉ​n​(x^)−fˉ​n​(x))]2,

with population counterpart σx^2(x)=var⁡[f(x^,ξ~)−f(x,ξ~)]\sigma^2_{\hat x}(x)=\operatorname{var}[f(\hat x,\tilde\xi)-f(x,\tilde\xi)]σx^2​(x)=var[f(x^,ξ~​)−f(x,ξ~​)]. Finally zαz_\alphazα​ is defined by P(N(0,1)≤zα)=1−αP(N(0,1)\le z_\alpha)=1-\alphaP(N(0,1)≤zα​)=1−α.

The single replication procedure (SRP) solves (SPn_nn​) once and reports the one-sided interval [0, Gn(x^)+zαsn(xn∗)/n]\big[0,\ G_n(\hat x)+z_\alpha s_n(x_n^*)/\sqrt n\big][0, Gn​(x^)+zα​sn​(xn∗​)/n​] (display (5)). The I2RP takes the variance from a second, independent sample ξ~n+1,…,ξ~2n\tilde\xi^{n+1},\dots,\tilde\xi^{2n}ξ~​n+1,…,ξ~​2n and its own minimizer xn2∗x_n^{2*}xn2∗​. The A2RP runs the SRP on both halves of a sample of size 2n2n2n, averages the gaps and the variances as in (10), and scales by 2n\sqrt{2n}2n​.

Formalization targets

Goal: Theorem 2 (p. 7)

Under (A1)–(A3), for x^∈X\hat x\in Xx^∈X and 0<α<10<\alpha<10<α<1, provided α≤1/2\alpha\le1/2α≤1/2 or σx^2(xmax⁡∗)>0\sigma^2_{\hat x}(x^*_{\max})>0σx^2​(xmax∗​)>0 (see Formalization scope),

lim inf⁡n→∞P(μx^≤Gn(x^)+zαsn(xn∗)n)≥1−α.(6)\liminf_{n\to\infty}P\left(\mu_{\hat x}\le G_n(\hat x)+\frac{z_\alpha s_n(x_n^*)}{\sqrt n}\right)\ge 1-\alpha. \qquad(6)n→∞liminf​P(μx^​≤Gn​(x^)+n​zα​sn​(xn∗​)​)≥1−α.(6)

Consistency (Proposition 1, p. 6)

The milestones follow the paper's own proof:

  1. the uniform strong law sup⁡x∈X∣fˉn(x)−Ef(x,ξ~)∣→0\sup_{x\in X}|\bar f_n(x)-Ef(x,\tilde\xi)|\to 0supx∈X​∣fˉ​n​(x)−Ef(x,ξ~​)∣→0 w.p.1;
  2. (i) zn∗→z∗z_n^*\to z^*zn∗​→z∗ w.p.1;
  3. (ii) every limit point of {xn∗}\{x_n^*\}{xn∗​} lies in X∗X^*X∗ w.p.1;
  4. the uniform convergence sn2→σx^2s_n^2\to\sigma^2_{\hat x}sn2​→σx^2​ on XXX w.p.1;
  5. (iii) σx^2(xmin⁡∗)≤lim inf⁡nsn2(xn∗)≤lim sup⁡nsn2(xn∗)≤σx^2(xmax⁡∗)\sigma^2_{\hat x}(x^*_{\min})\le\liminf_n s_n^2(x_n^*)\le\limsup_n s_n^2(x_n^*)\le\sigma^2_{\hat x}(x^*_{\max})σx^2​(xmin∗​)≤liminfn​sn2​(xn∗​)≤limsupn​sn2​(xn∗​)≤σx^2​(xmax∗​) w.p.1, where xmin⁡∗x^*_{\min}xmin∗​ and xmax⁡∗x^*_{\max}xmax∗​ minimize and maximize σx^2\sigma^2_{\hat x}σx^2​ over X∗X^*X∗;
  6. the ε\varepsilonε-bound of the proof of Theorem 2: if α≤1/2\alpha\le 1/2α≤1/2 and σx^2(xmin⁡∗)>0\sigma^2_{\hat x}(x^*_{\min})>0σx^2​(xmin∗​)>0, then for 0<ε<10<\varepsilon<10<ε<1 the liminf in (6) is at least Φ((1−ε)zα)\Phi((1-\varepsilon)z_\alpha)Φ((1−ε)zα​).

Companions

Theorem 3 (p. 9) and Theorem 4 (p. 10) are the same coverage statement for the I2RP and the A2RP. Three further statements are included: the negative bias Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗ of display (1), the pathwise bound Gn(x^)≥fˉn(x^)−fˉn(x)G_n(\hat x)\ge\bar f_n(\hat x)-\bar f_n(x)Gn​(x^)≥fˉ​n​(x^)−fˉ​n​(x) for x∈Xx\in Xx∈X, and the consistency lim inf⁡nsn′2≥σx^2(xmin⁡∗)\liminf_n s_n'^2\ge\sigma^2_{\hat x}(x^*_{\min})liminfn​sn′2​≥σx^2​(xmin∗​) of the pooled variance.

Significance

Theorem 2 makes a single SAA solve enough for an asymptotically valid upper confidence bound on the optimality gap. It cuts the computational cost of the multiple-replication procedure by a factor of about thirty, and it needs no asymptotic normality of Gn(x^)G_n(\hat x)Gn​(x^), which typically fails when (SP) has several optimal solutions. The two-replication variants lessen the small-sample under-coverage of the SRP. The single- and two-replication estimators were later reused in sequential sampling procedures for SAA.

As far as is known, none of these results has been machine-checked. A complete formalization needs a uniform strong law of large numbers over a compact parameter set, which is a reusable result in its own right, together with the SAA consistency theory and a central-limit argument for a statistic that is not itself asymptotically normal.

Difficulty

The obvious route would be to show that Gn(x^)G_n(\hat x)Gn​(x^) is asymptotically normal and apply a standard confidence-interval argument. That fails: zn∗z_n^*zn∗​ is a minimum of sample averages, and when X∗X^*X∗ is not a singleton its limit law is the law of a minimum of correlated Gaussians, not a Gaussian. The paper's argument has to bound the coverage from below without that limit law. It also needs to control the sample variance at a random, non-convergent minimizer xn∗x_n^*xn∗​, which only accumulates on X∗X^*X∗. The uniform strong law (Rubinstein–Shapiro, Lemma A1) on which both consistency statements rest is not in Mathlib.

Formalization scope

The Lean development uses these conventions:

  • Decisions live in EuclideanSpace ℝ (Fin d). The paper's Rn\mathbb R^nRn is renamed Rd\mathbb R^dRd because nnn is the sample size.
  • μ\muμ is a probability measure on Ξ\XiΞ (the law of ξ~\tilde\xiξ~​), and Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​) is the Bochner integral ∫f(x,⋅) dμ\int f(x,\cdot)\,d\mu∫f(x,⋅)dμ.
  • The sample is one infinite i.i.d. sequence ξ : ℕ → Ω → Ξ on a probability space (Ω,P)(\Omega,P)(Ω,P), 0-based: ξ~i\tilde\xi^iξ~​i is ξ (i-1). The second sample of Theorems 3–4 is ξ n, …, ξ (2n-1), exactly as printed, and the A2RP's "random" partition is this fixed one, which has the same joint law.
  • Estimators are functions of a sample path. z∗z^*z∗ and zn∗z_n^*zn∗​ are infima of images of XXX, and X∗X^*X∗ is an argmin set.
  • Probabilities are ℝ≥0∞-valued, so the liminf in (6) is genuine. Proposition 1 (iii) is stated in its equivalent ε\varepsilonε-form, which avoids real liminf/limsup junk values.
  • zαz_\alphazα​ is any real with cdf (gaussianReal 0 1) zα = 1 - α.

Standing assumptions and pins. Every goal-level statement carries (A1)–(A3) and the i.i.d. hypothesis. Three hypotheses are made explicit that the paper leaves implicit:

  1. f(x,⋅)f(x,\cdot)f(x,⋅) is measurable for each xxx ("f(x,ξ~)f(x,\tilde\xi)f(x,ξ~​) is a random variable");
  2. xn∗x_n^*xn∗​ is a measurable map that, almost surely, lies in XXX and minimizes fˉn\bar f_nfˉ​n​ over XXX on the same sample;
  3. (A2) is read as "sup⁡x∈Xf2(x,⋅)\sup_{x\in X}f^2(x,\cdot)supx∈X​f2(x,⋅) has an integrable majorant", which avoids proving that the supremum is measurable.

At n≤1n\le 1n≤1 the factors 1/n1/n1/n, 1/(n−1)1/(n-1)1/(n−1) and 1/n1/\sqrt n1/n​ evaluate to Lean's 000; every coverage statement is a liminf and ignores them.

Several encodings would trivialize the statement, and all are ruled out. The minimizer xn∗x_n^*xn∗​ must minimize the SAA problem of its own sample: a free xn∗x_n^*xn∗​, or one fitted to the other sample, would change the theorem. The second sample must not be replaced by an independent sequence. The quantile must not be pinned through an sInf. Positivity of σx^2(xmin⁡∗)\sigma^2_{\hat x}(x^*_{\min})σx^2​(xmin∗​) is a hypothesis only of the ε\varepsilonε-bound, as on p. 8.

One correction of the paper. Theorems 2 and 4 are stated for every 0<α<10<\alpha<10<α<1, but for α>1/2\alpha>1/2α>1/2 the paper's argument (replace xmin⁡∗x^*_{\min}xmin∗​ by xmax⁡∗x^*_{\max}xmax∗​) needs σx^2(xmax⁡∗)>0\sigma^2_{\hat x}(x^*_{\max})>0σx^2​(xmax∗​)>0, and without it both statements are false: for X=[−1,1]X=[-1,1]X=[−1,1], f(x,ξ)=x2−2xξf(x,\xi)=x^2-2x\xif(x,ξ)=x2−2xξ, ξ~∼N(0,1)\tilde\xi\sim N(0,1)ξ~​∼N(0,1), x^=0\hat x=0x^=0 and α=0.9\alpha=0.9α=0.9, the SRP coverage tends to about 0.0100.0100.010 and the A2RP coverage to e−2zα2≈0.037e^{-2z_\alpha^2}\approx0.037e−2zα2​≈0.037, both below 0.10.10.1. The Lean goal and Theorem 4 therefore carry the hypothesis "α≤1/2\alpha\le1/2α≤1/2, or σx^2(x)>0\sigma^2_{\hat x}(x)>0σx^2​(x)>0 for some x∈X∗x\in X^*x∈X∗". Theorem 3 is stated as printed.

Contributions are welcome at every level. The most reusable one is the uniform strong law of large numbers for Carathéodory integrands on a compact set with an integrable envelope, which also serves other SAA consistency results.

Selected references

  • G. Bayraksan, D. P. Morton, Assessing Solution Quality in Stochastic Programs, preprint (January 26, 2005); published in Math. Program. 108 (2006). https://doi.org/10.1007/s10107-006-0720-x
  • W. K. Mak, D. P. Morton, R. K. Wood, Monte Carlo bounding techniques for determining solution quality in stochastic programs, Oper. Res. Lett. 24 (1999) 47–56. https://doi.org/10.1016/S0167-6377(98)00054-6
  • R. Y. Rubinstein, A. Shapiro, Discrete Event Systems: Sensitivity Analysis and Stochastic Optimization by the Score Function Method, Wiley, 1993 (Lemma A1, p. 67; Theorem A1, p. 69).
  • A. Shapiro, Monte Carlo sampling methods, in: Handbooks in OR & MS 10, Stochastic Programming, Elsevier, 2003, 353–425. https://doi.org/10.1016/S0927-0507(03)10006-0
8 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Asymptotic Behavior of Statistical Estimators and of Optimal Solutions of Stochastic Optimization Problems: Optimal Solutions Under Estimated Distributions Are Strongly ConsistentResearch Paper

Motivation

Many estimation procedures in statistics, and most stochastic optimization models in operations research, have the same shape: a decision or parameter x∈Rnx\in\mathbb R^nx∈Rn is chosen to minimize an expected loss Ef(x)=∫f(x,ξ) P(dξ)Ef(x)=\int f(x,\xi)\,P(d\xi)Ef(x)=∫f(x,ξ)P(dξ) under a distribution PPP that is not known. In practice PPP is replaced by an estimate PνP^\nuPν built from the information available at stage ν\nuν (an empirical measure, a smoothed or parametric fit, a Bayesian posterior), and the minimizer of the estimated problem is used in place of the true one. The basic question is whether this is justified: do the estimated solutions converge to a true solution, and the estimated optimal values to the true optimal value, as information accumulates?

For maximum likelihood this is Wald's consistency theorem (Wald 1949); Huber extended it to M-estimators under non-standard conditions (Huber 1967). Both settings are unconstrained, or constrained to an open set, and assume finite-valued criteria. Constrained least squares, L1L^1L1 and Huber regression with inequality constraints, variance-component models with Heywood cases, and two-stage stochastic programs with recourse all lead instead to criteria that take the value +∞+\infty+∞ off a closed feasible set and are only lower semicontinuous in xxx.

J. Dupačová and R. Wets (IIASA WP-86-41, 1986; journal version Ann. Statist. 16 (1988)) proved consistency in this generality by combining epi-convergence of functions with the theory of measurable multifunctions and normal integrands. This mission formalizes their §3.

Setting

Ξ\XiΞ is a Polish space with its Borel σ\sigmaσ-field and PPP is a probability measure on it. The integrand is f:Rn×Ξ→(−∞,∞]f:\mathbb R^n\times\Xi\to(-\infty,\infty]f:Rn×Ξ→(−∞,∞], and the true problem is to minimize

Ef(x)=∫Ξf(x,ξ) P(dξ),Ef(x)=\int_\Xi f(x,\xi)\,P(d\xi),Ef(x)=∫Ξ​f(x,ξ)P(dξ),

with the convention that Ef(x)=+∞Ef(x)=+\inftyEf(x)=+∞ whenever ξ↦f(x,ξ)\xi\mapsto f(x,\xi)ξ↦f(x,ξ) is not bounded above by a summable function. The effective domain of a function h:Rn→[−∞,∞]h:\mathbb R^n\to[-\infty,\infty]h:Rn→[−∞,∞] is dom⁡h={x:h(x)<∞}\operatorname{dom}h=\{x: h(x)<\infty\}domh={x:h(x)<∞}, and argmin⁡h={x:h(x)=inf⁡h}\operatorname{argmin}h=\{x: h(x)=\inf h\}argminh={x:h(x)=infh}.

Information arrives on a probability space (Z,F,μ)(Z,\mathcal F,\mu)(Z,F,μ) with an increasing sequence of σ\sigmaσ-fields F1⊆F2⊆⋯⊆F\mathcal F^1\subseteq\mathcal F^2\subseteq\dots\subseteq\mathcal FF1⊆F2⊆⋯⊆F. Each sample ζ∈Z\zeta\in Zζ∈Z yields probability measures Pν(⋅,ζ)P^\nu(\cdot,\zeta)Pν(⋅,ζ) on Ξ\XiΞ, and ζ↦Pν(A,ζ)\zeta\mapsto P^\nu(A,\zeta)ζ↦Pν(A,ζ) is Fν\mathcal F^\nuFν-measurable for every Borel AAA: the estimate at stage ν\nuν uses only stage-ν\nuν information. The estimated problem minimizes

Eνf(x,ζ)=∫Ξf(x,ξ) Pν(dξ,ζ).E^\nu f(x,\zeta)=\int_\Xi f(x,\xi)\,P^\nu(d\xi,\zeta).Eνf(x,ζ)=∫Ξ​f(x,ξ)Pν(dξ,ζ).

A sequence gνg^\nugν epi-converges to ggg if, at every xxx, lim inf⁡gν(xν)≥g(x)\liminf g^\nu(x^\nu)\ge g(x)liminfgν(xν)≥g(x) along every sequence xν→xx^\nu\to xxν→x, and lim sup⁡gν(xν)≤g(x)\limsup g^\nu(x^\nu)\le g(x)limsupgν(xν)≤g(x) along some sequence xν→xx^\nu\to xxν→x.

The standing hypotheses are Assumption 3.4: dom⁡f=S×Ξ\operatorname{dom}f=S\times\Xidomf=S×Ξ with SSS closed and nonempty; f(x,⋅)f(x,\cdot)f(x,⋅) is continuous for x∈Sx\in Sx∈S; f(⋅,ξ)f(\cdot,\xi)f(⋅,ξ) is lower semicontinuous; and fff is locally lower Lipschitz on SSS with a bounded continuous modulus β(ξ)\beta(\xi)β(ξ). Assumption 3.5 asks that, for μ\muμ-almost every ζ\zetaζ, Pν(⋅,ζ)P^\nu(\cdot,\zeta)Pν(⋅,ζ) converge in distribution to PPP, that ∣f(x,⋅)∣|f(x,\cdot)|∣f(x,⋅)∣ be uniformly tight along P=P0,P1,…P=P^0,P^1,\dotsP=P0,P1,… for each x∈Sx\in Sx∈S, and that ∫inf⁡xf(x,ξ) Pν(dξ,ζ)>−∞\int\inf_x f(x,\xi)\,P^\nu(d\xi,\zeta)>-\infty∫infx​f(x,ξ)Pν(dξ,ζ)>−∞ for all ν\nuν.

Formalization targets

Goal: Theorem 3.9, "In particular" (pp. 21–22)

Let D⊆RnD\subseteq\mathbb R^nD⊆Rn be compact, suppose (argmin⁡Eνf)∩D≠∅(\operatorname{argmin}E^\nu f)\cap D\neq\emptyset(argminEνf)∩D=∅ μ\muμ-a.s. for every ν\nuν, and suppose {x∗}=argmin⁡Ef∩D\{x^*\}=\operatorname{argmin}Ef\cap D{x∗}=argminEf∩D. Then there are Fν\mathcal F^\nuFν-measurable selections xνx^\nuxν of argmin⁡Eνf\operatorname{argmin}E^\nu fargminEνf with

xν(ζ)→x∗andinf⁡Eνf(⋅,ζ)→inf⁡Effor μ-almost every ζ.x^\nu(\zeta)\to x^*\quad\text{and}\quad \inf E^\nu f(\cdot,\zeta)\to\inf Ef\qquad\text{for }\mu\text{-almost every }\zeta .xν(ζ)→x∗andinfEνf(⋅,ζ)→infEffor μ-almost every ζ.

The goal does not assume that EfEfEf has a unique global minimizer, and it does not assume convexity.

Milestones

In attack order:

  • Proposition 3.3: epi-convergence gives lim sup⁡(inf⁡gν)≤inf⁡g\limsup(\inf g^\nu)\le\inf glimsup(infgν)≤infg, limits of minimizers are minimizers, and the minimum is attained in the closure of a bounded DDD.
  • Lemma 3.6: almost surely, EfEfEf and every EνfE^\nu fEνf are proper and l.s.c., with domain SSS.
  • Theorem 3.7: almost surely, EνfE^\nu fEνf epi-converges and converges pointwise to EfEfEf.
  • Theorem 3.8: almost surely, the epigraphs of EνfE^\nu fEνf are closed, and they depend Fν\mathcal F^\nuFν-measurably on ζ\zetaζ.
  • Theorem 3.9:
    • (3.14) lim sup⁡(inf⁡Eνf)≤inf⁡Ef\limsup(\inf E^\nu f)\le\inf Eflimsup(infEνf)≤infEf a.s.;
    • (i) cluster points of estimated minimizers minimize EfEfEf;
    • (ii) ζ↦argmin⁡Eνf(⋅,ζ)\zeta\mapsto\operatorname{argmin}E^\nu f(\cdot,\zeta)ζ↦argminEνf(⋅,ζ) is closed-valued and Fν\mathcal F^\nuFν-measurable.
  • Proposition 3.1: the measurable selection theorem.

Significance

The result separates two things: the statistical input, which is only convergence in distribution of PνP^\nuPν plus a tightness condition, and the variational output, which is convergence of optimal values and solutions. It therefore applies to any estimator PνP^\nuPν that converges weakly almost surely: empirical measures, kernel estimates, parametric fits. It also covers constrained and nonsmooth problems: the feasible set enters through f=+∞f=+\inftyf=+∞ off SSS, and only lower semicontinuity in xxx is required. Asymptotic distribution results for constrained estimators, such as the second part of the same paper and the subsequent literature on sample average approximation, start from this consistency.

The theorem is proved on paper. To the best of current knowledge none of it is machine-checked. Mathlib has weak convergence of probability measures, lower semicontinuity and extended-real integrals. It does not have epi-convergence, Effros-measurable multifunctions, normal integrands or the Kuratowski–Ryll-Nardzewski selection theorem. A formal proof produces these as reusable components. It also has to supply the details that the paper's proof of Theorem 3.8 leaves as a sketch.

Difficulty

Pointwise convergence Eνf(x)→Ef(x)E^\nu f(x)\to Ef(x)Eνf(x)→Ef(x) is not enough to move minimizers to the limit, and uniform convergence fails because fff is +∞+\infty+∞ off SSS and need not be bounded. Epi-convergence is the right notion. Proving it needs a liminf inequality along moving points xν→xx^\nu\to xxν→x under moving measures PνP^\nuPν. That combines Fatou's lemma, the lower Lipschitz bound and the tightness condition, and the integrands are extended-real-valued, so care is needed.

The second difficulty is measurability. The exceptional null set lies in F\mathcal FF but not in Fν\mathcal F^\nuFν, so "Fν\mathcal F^\nuFν-measurable" has to be understood on a full-measure set in the trace σ\sigmaσ-field. The paper's argument for Theorem 3.8 appeals to continuity of P↦epi⁡EPfP\mapsto\operatorname{epi}E_PfP↦epiEP​f in the epi-topology, and it remarks itself that Theorem 3.7 gives this only along sequences satisfying Assumption 3.5. A solver will have to rebuild this step, for example through the normal-integrand structure of EνfE^\nu fEνf.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with its Euclidean norm.
  • Ξ\XiΞ is a Polish space with its Borel σ\sigmaσ-algebra. This is exactly a closed subset of a Polish space with the relative Borel field.
  • fff is EReal-valued. Every expectation is the mission's expect: +∞+\infty+∞ when ∫f+=∞\int f^+=\infty∫f+=∞, and ∫f+−∫f−\int f^+-\int f^-∫f+−∫f− otherwise, both computed as Lebesgue integrals of [0,∞][0,\infty][0,∞]-valued functions. A Bochner integral, which would assign 000 to non-integrable functions, is never used for EfEfEf or EνfE^\nu fEνf.
  • The sample index is shifted: Lean's Pν k and 𝔽 k are the paper's Pk+1P^{k+1}Pk+1 and Fk+1\mathcal F^{k+1}Fk+1, and P=P0P=P^0P=P0 is a separate argument.
  • Infima, lim inf⁡\liminfliminf and lim sup⁡\limsuplimsup are taken in [−∞,∞][-\infty,\infty][−∞,∞].
  • Measurability on the full-measure set Z0Z_0Z0​ uses the trace σ\sigmaσ-field.
  • The selections in the goal are total, Fν\mathcal F^\nuFν-measurable maps Z→RnZ\to\mathbb R^nZ→Rn that select almost surely. This is equivalent to the paper's maps Z0→RnZ_0\to\mathbb R^nZ0​→Rn.
  • "Random l.s.c. function" in Theorem 3.8 is encoded by the equivalent conditions (3.4i)–(3.4ii): nonempty, closed and measurable epigraphs.
  • Lower Lipschitz (3.10) is written additively.
  • The hypothesis that Ξ\XiΞ is the support of PPP is omitted. It is unused in §3, and omitting it strengthens every statement.
  • Nothing beyond the page is assumed: no convexity, no compact SSS, no bounded fff, no unique minimizer, no i.i.d. sampling, no empirical PνP^\nuPν, no completeness of μ\muμ or Fν\mathcal F^\nuFν.

The hypotheses are not vacuous. A sorry-free check verifies all of them, including those of the goal, for f(x,ξ)=∥x∥2f(x,\xi)=\|x\|^2f(x,ξ)=∥x∥2 with Dirac measures. Defining the expectation through a Bochner integral, or dropping S≠∅S\neq\emptysetS=∅ (which makes every argmin⁡\operatorname{argmin}argmin all of Rn\mathbb R^nRn), would trivialize or change the statements; the definitions above rule both out.

Contributions are welcome on any milestone. Proposition 3.1 (Kuratowski–Ryll-Nardzewski for Rm\mathbb R^mRm-valued multifunctions) and Proposition 3.3 (deterministic epi-convergence facts) are independent of the probabilistic setting and reusable beyond this mission.

Selected references

  • J. Dupačová, R. Wets, Asymptotic Behavior of Statistical Estimators and Optimal Solutions for Stochastic Optimization Problems, IIASA Working Paper WP-86-41, 1986. https://pure.iiasa.ac.at/id/eprint/2818/ — journal version: Ann. Statist. 16(4), 1517–1549, 1988. https://doi.org/10.1214/aos/1176351052
  • A. Wald, Note on the consistency of the maximum likelihood estimate, Ann. Math. Statist. 20, 595–601, 1949. https://doi.org/10.1214/aoms/1177729938
  • P. J. Huber, The behavior of maximum likelihood estimates under nonstandard conditions, Proc. Fifth Berkeley Symp. Math. Statist. Probab. 1, 221–233, 1967. https://projecteuclid.org/euclid.bsmsp/1200512988
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998 (Ch. 7 epi-convergence; Ch. 14 measurable multifunctions and normal integrands). https://doi.org/10.1007/978-3-642-02431-3
13 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

Stability and Generalization 1: Polynomial Generalization Bounds from Hypothesis Stability for the Empirical and Leave-One-Out ErrorsResearch Paper

Why stability bounds

A learning algorithm is judged by its generalization error, its expected loss on a fresh example, which cannot be computed because the data distribution is unknown. Practitioners estimate it either by the empirical error on the training set or by the leave-one-out error, which retrains the algorithm once per example. Classical learning theory justifies these estimates through uniform convergence over the whole hypothesis space (VC dimension, covering numbers). That route says nothing useful about algorithms such as nearest-neighbour rules or regularized kernel methods, whose effective hypothesis space is huge or unknown.

An alternative is to bound the deviation through a property of the algorithm itself: how much its output changes when one training example is removed. This idea goes back to Rogers and Wagner (1978) and Devroye and Wagner (1979) for local rules, and Kearns and Ron (1999) gave it a name. Bousquet and Elisseeff (JMLR 2002) systematized it with several stability notions and corresponding bounds; their paper is the standard reference for algorithmic stability in learning theory. This mission formalizes its first family of results, the polynomial bounds of §4.1.

Setting

Let Z=X×YZ = X \times YZ=X×Y and let DDD be a probability distribution on ZZZ. A training set S={z1,…,zm}S = \{z_1, \dots, z_m\}S={z1​,…,zm​} consists of mmm examples drawn i.i.d. from DDD. A learning algorithm AAA maps a training set SSS to a hypothesis AS:X→Y′A_S : X \to Y'AS​:X→Y′; it is deterministic and symmetric, meaning it does not depend on the order of the examples. A cost ccc with 0≤c(y′,y)≤M0 \le c(y', y) \le M0≤c(y′,y)≤M defines the loss ℓ(f,z)=c(f(x),y)\ell(f, z) = c(f(x), y)ℓ(f,z)=c(f(x),y) of a hypothesis fff at z=(x,y)z = (x, y)z=(x,y).

For each index iii, S∖iS^{\setminus i}S∖i is SSS with ziz_izi​ removed, and SiS^iSi is SSS with ziz_izi​ replaced by an independent fresh draw zi′∼Dz'_i \sim Dzi′​∼D. The three error quantities are

R(A,S)=Ez[ℓ(AS,z)],Remp(A,S)=1m∑i=1mℓ(AS,zi),Rloo(A,S)=1m∑i=1mℓ(AS∖i,zi).R(A,S) = \mathbb E_z[\ell(A_S, z)], \qquad R_{\mathrm{emp}}(A,S) = \frac1m \sum_{i=1}^m \ell(A_S, z_i), \qquad R_{\mathrm{loo}}(A,S) = \frac1m \sum_{i=1}^m \ell(A_{S^{\setminus i}}, z_i).R(A,S)=Ez​[ℓ(AS​,z)],Remp​(A,S)=m1​i=1∑m​ℓ(AS​,zi​),Rloo​(A,S)=m1​i=1∑m​ℓ(AS∖i​,zi​).

Two stability notions (Definitions 3 and 4) control them. AAA has hypothesis stability β1\beta_1β1​ if ES,z[∣ℓ(AS,z)−ℓ(AS∖i,z)∣]≤β1\mathbb E_{S,z}[|\ell(A_S,z) - \ell(A_{S^{\setminus i}},z)|] \le \beta_1ES,z​[∣ℓ(AS​,z)−ℓ(AS∖i​,z)∣]≤β1​ for every iii, and pointwise hypothesis stability β2\beta_2β2​ if ES[∣ℓ(AS,zi)−ℓ(AS∖i,zi)∣]≤β2\mathbb E_{S}[|\ell(A_S,z_i) - \ell(A_{S^{\setminus i}},z_i)|] \le \beta_2ES​[∣ℓ(AS​,zi​)−ℓ(AS∖i​,zi​)∣]≤β2​ for every iii.

Formalization targets

Goal: Theorem 11

For m≥1m \ge 1m≥1, under hypothesis stability β1\beta_1β1​ and pointwise hypothesis stability β2\beta_2β2​, for every δ>0\delta > 0δ>0, each of the following holds with probability at least 1−δ1 - \delta1−δ over S∼DmS \sim D^mS∼Dm:

R(A,S)≤Remp(A,S)+M2+6Mm(β1+β2)2mδ,R(A,S)≤Rloo(A,S)+M2+6Mmβ12mδ.R(A,S) \le R_{\mathrm{emp}}(A,S) + \sqrt{\frac{M^2 + 6Mm(\beta_1+\beta_2)}{2m\delta}}, \qquad R(A,S) \le R_{\mathrm{loo}}(A,S) + \sqrt{\frac{M^2 + 6Mm\beta_1}{2m\delta}} .R(A,S)≤Remp​(A,S)+2mδM2+6Mm(β1​+β2​)​​,R(A,S)≤Rloo​(A,S)+2mδM2+6Mmβ1​​​.

Milestones

  1. Lemma 25 (p. 520), a generalized Rogers–Wagner identity: upper bounds on ES[(R−Remp)2]\mathbb E_S[(R - R_{\mathrm{emp}})^2]ES​[(R−Remp​)2] and ES[(R−Rloo)2]\mathbb E_S[(R - R_{\mathrm{loo}})^2]ES​[(R−Rloo​)2] by correlations of the loss.
  2. Lemma 9, (8) and (9) (p. 505): ES[(R−Remp)2]≤M22m+3M ES,zi′[∣ℓ(AS,zi)−ℓ(ASi,zi)∣]\mathbb E_S[(R - R_{\mathrm{emp}})^2] \le \frac{M^2}{2m} + 3M\,\mathbb E_{S,z'_i}[|\ell(A_S,z_i) - \ell(A_{S^i},z_i)|]ES​[(R−Remp​)2]≤2mM2​+3MES,zi′​​[∣ℓ(AS​,zi​)−ℓ(ASi​,zi​)∣] and ES[(R−Rloo)2]≤M22m+3M ES,z[∣ℓ(AS,z)−ℓ(AS∖i,z)∣]\mathbb E_S[(R - R_{\mathrm{loo}})^2] \le \frac{M^2}{2m} + 3M\,\mathbb E_{S,z}[|\ell(A_S,z) - \ell(A_{S^{\setminus i}},z)|]ES​[(R−Rloo​)2]≤2mM2​+3MES,z​[∣ℓ(AS​,z)−ℓ(AS∖i​,z)∣].
  3. The replace-one term (proof of Theorem 11): ES,zi′[∣ℓ(AS,zi)−ℓ(ASi,zi)∣]≤β1+β2\mathbb E_{S,z'_i}[|\ell(A_S,z_i) - \ell(A_{S^i},z_i)|] \le \beta_1 + \beta_2ES,zi′​​[∣ℓ(AS​,zi​)−ℓ(ASi​,zi​)∣]≤β1​+β2​.
  4. The second-moment bounds (proof of Theorem 11): ES[(R−Remp)2]≤M22m+3M(β1+β2)\mathbb E_S[(R - R_{\mathrm{emp}})^2] \le \frac{M^2}{2m} + 3M(\beta_1+\beta_2)ES​[(R−Remp​)2]≤2mM2​+3M(β1​+β2​) and ES[(R−Rloo)2]≤M22m+3Mβ1\mathbb E_S[(R - R_{\mathrm{loo}})^2] \le \frac{M^2}{2m} + 3M\beta_1ES​[(R−Rloo​)2]≤2mM2​+3Mβ1​.

Significance

Theorem 11 is the weakest-assumption bound in the paper: it requires only average-case stability, not the uniform (worst-case) stability behind the exponential bounds of §4.2. It shows that both the resubstitution and the deleted estimate are within O(1/mδ)O(1/\sqrt{m\delta})O(1/mδ​) of the risk whenever the stability parameters decay like 1/m1/m1/m, with no reference to the size of the hypothesis class. It also extends Devroye and Wagner's leave-one-out analysis for classification to bounded regression losses and to the empirical estimator. Later work on average stability and on generalization of stochastic gradient methods (for example Hardt, Recht and Singer, 2016) starts from these notions.

The result is proved in the paper; as far as is known it has no machine-checked proof. A formal development has two concrete payoffs. First, it fixes the constants: in checking the argument, two printed slips were found (the empirical constant in Theorem 11 and the third term of Lemma 25's first inequality), and the formal statements record the versions that the paper's proof actually establishes. Second, the Lemma 25 and Lemma 9 machinery — exchangeability of i.i.d. samples under renaming, and second-moment control through stability — is reusable for any later stability result.

Difficulty

The obvious route is the Efron–Stein (Steele) variance inequality, Theorem 1 of the paper. It bounds the variance of R−RempR - R_{\mathrm{emp}}R−Remp​, not its second moment, and leaves the bias to be handled separately; the paper notes that it gives worse constants. The direct route of Appendix A instead expands ES[(R−Remp)2]\mathbb E_S[(R - R_{\mathrm{emp}})^2]ES​[(R−Remp​)2] and rewrites each correlation term by renaming i.i.d. variables: training points, fresh test points and replacement points are exchanged with one another, and the algorithm is retrained on sets T∪{z,z′}T \cup \{z, z'\}T∪{z,z′} with T=S∖{i,j}T = S^{\setminus \{i,j\}}T=S∖{i,j}. Every renaming is a measure-preserving map on a product of m+2m + 2m+2 copies of DDD, and each must be justified by the symmetry of AAA. Doing this rigorously, rather than as "a matter of renaming", is the core of the work. The leave-one-out case is only sketched in the paper ("it is easy to see"), so its formal proof has to be reconstructed.

Formalization scope

  • An algorithm is a function Multiset (X × Y) → (X → Y'). Symmetry in the training set is built into the type, and the same algorithm acts on sets of every size, as SSS and S∖iS^{\setminus i}S∖i require. A sample is S : Fin m → X × Y with law DmD^mDm (Measure.pi); fresh points zzz, z′z'z′, zi′z'_izi′​ are further independent coordinates, via product measures Dm⊗DD^m \otimes DDm⊗D and (Dm⊗D)⊗D(D^m \otimes D) \otimes D(Dm⊗D)⊗D.
  • The loss, empirical error and generalization error are the published FoundationsML.Stability definitions (Loss, EmpiricalError, GeneralizationError).
  • The cost satisfies 0≤c≤M0 \le c \le M0≤c≤M everywhere. The paper's assumption that "all functions are measurable" becomes one hypothesis: for every nnn, (S,z)↦ℓ(AS,z)(S, z) \mapsto \ell(A_S, z)(S,z)↦ℓ(AS​,z) is measurable on (X×Y)n×(X×Y)(X \times Y)^n \times (X \times Y)(X×Y)n×(X×Y). Both stability definitions also require their integrands to be integrable. Together these rule out the trivializing reading in which a non-integrable expectation equals Lean's default value 000 and the stability hypotheses hold vacuously.
  • "With probability 1−δ1 - \delta1−δ" is stated as a bound on the failure event: Dm{S:R>Remp+⋯ }≤δD^m\{S : R > R_{\mathrm{emp}} + \cdots\} \le \deltaDm{S:R>Remp​+⋯}≤δ for every δ>0\delta > 0δ>0, separately for each estimator.
  • m≥2m \ge 2m≥2 is assumed in Lemmas 9 and 25 and in the two second-moment steps of the proof, because the lemmas refer to two distinct indices. Theorem 11 itself is stated for every m≥1m \ge 1m≥1, as printed.
  • Corrected statements. (i) Theorem 11's empirical bound is stated with 6Mm(β1+β2)6Mm(\beta_1+\beta_2)6Mm(β1​+β2​), not the printed 12Mmβ212Mm\beta_212Mmβ2​: the proof bounds a hypothesis-stability term by β2\beta_2β2​ when it is bounded by β1\beta_1β1​. The two coincide when β1=β2\beta_1 = \beta_2β1​=β2​. Accordingly the replace-one milestone is stated as ≤β1+β2\le \beta_1 + \beta_2≤β1​+β2​ (printed 2β22\beta_22β2​), and the empirical second-moment bound as M22m+3M(β1+β2)\frac{M^2}{2m} + 3M(\beta_1+\beta_2)2mM2​+3M(β1​+β2​) (printed 6Mβ26M\beta_26Mβ2​). (ii) Lemma 25's empirical inequality has ES[ℓ(AS,zi)ℓ(AS,zj)]\mathbb E_S[\ell(A_S,z_i)\ell(A_S,z_j)]ES​[ℓ(AS​,zi​)ℓ(AS​,zj​)] as its third term, as its proof gives, not the printed leave-one-out term. (iii) The leave-one-out second-moment bound follows from (9), not from (10) as printed.

Contributions are welcome at every level: proofs of the milestones, a general exchangeability lemma for symmetric algorithms on product measures, and Markov/Chebyshev glue for the final step.

Selected references

  • O. Bousquet and A. Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002), 499–526. https://www.jmlr.org/papers/v2/bousquet02a.html
  • W. H. Rogers and T. J. Wagner, A finite sample distribution-free performance bound for local discrimination rules, Annals of Statistics 6(3) (1978), 506–514. https://doi.org/10.1214/aos/1176344196
  • L. Devroye and T. J. Wagner, Distribution-free performance bounds for potential function rules, IEEE Transactions on Information Theory 25(5) (1979), 601–604. https://doi.org/10.1109/TIT.1979.1056087
  • M. Kearns and D. Ron, Algorithmic stability and sanity-check bounds for leave-one-out cross-validation, Neural Computation 11(6) (1999), 1427–1453. https://doi.org/10.1162/089976699300016304
  • M. Hardt, B. Recht and Y. Singer, Train faster, generalize better: stability of stochastic gradient descent, ICML 2016. https://arxiv.org/abs/1509.01240
13 thms1 active userReviewed
Probability·Captain: mikedeng1

Weighted Sums of Certain Dependent Random Variables 2: An Iterated-Logarithm Upper Bound for Weighted Conditionally Sub-Gaussian Martingale DifferencesResearch Paper

Motivation

The law of the iterated logarithm (LIL) gives the exact almost-sure size of the fluctuations of a sum of random variables. For independent fair ±1\pm1±1 increments x1,x2,…x_1,x_2,\dotsx1​,x2​,… with partial sums SnS_nSn​, Khinchin (1924) showed that lim sup⁡n∣Sn∣/2nlog⁡log⁡n=1\limsup_n |S_n|/\sqrt{2n\log\log n}=1limsupn​∣Sn​∣/2nloglogn​=1 almost surely; Kolmogorov (1929) extended this to bounded independent increments, and Hartman and Wintner (1941) to independent, identically distributed increments with variance 111. Weighted sums a1x1+⋯+anxna_1x_1+\dots+a_nx_na1​x1​+⋯+an​xn​ appear in summability theory, in stochastic approximation and in the analysis of orthogonal series, and there the natural normalisation replaces nnn by the sum of squared weights.

Independence is often not available. In martingale settings (sequential estimation, online learning, adaptive algorithms) the increments are only conditionally centred given the past. In 1967 Kazuoki Azuma (Azuma 1967) introduced a conditional sub-Gaussian condition on martingale differences, called property [G], and proved for it an iterated-logarithm upper bound for weighted sums. The moment-generating-function bound that drives his proof, display (2.4), is the inequality now known as the Azuma–Hoeffding inequality. This mission formalizes Theorem 2 of that paper and the lemmas its proof rests on.

Timeline.

  • 1924: Khinchin proves the LIL for fair coin tossing.
  • 1929: Kolmogorov proves it for bounded independent increments under a growth condition.
  • 1941: Hartman and Wintner prove it for i.i.d. increments with finite variance.
  • 1963: Hoeffding proves the exponential tail bound for sums of bounded independent variables.
  • 1965: Gaposhkin proves a LIL for weighted (Cesàro and Abel) means of independent variables.
  • 1967: Azuma proves the conditional mgf bound (2.4), its maximal version (Lemma 2) and the upper-half LIL for weighted sums of class [G] martingale differences (Theorem 2).

Setting

Let (Ω,A,P)(\Omega,\mathfrak A,P)(Ω,A,P) be a probability space and (An)n≥0(\mathfrak A_n)_{n\ge0}(An​)n≥0​ an increasing family of sub-σ\sigmaσ-fields of A\mathfrak AA (a filtration). A sequence of real random variables (xn)n≥1(x_n)_{n\ge1}(xn​)n≥1​ is a martingale-difference sequence if each xnx_nxn​ is An\mathfrak A_nAn​-measurable and integrable and E{xn∣An−1}=0E\{x_n\mid\mathfrak A_{n-1}\}=0E{xn​∣An−1​}=0 almost surely.

The sequence satisfies [G] with τ(xn)≤1\tau(x_n)\le1τ(xn​)≤1 if, in addition, for every n≥1n\ge1n≥1 and every real ttt,

E{exp⁡(txn)∣An−1}≤exp⁡(t2/2)a.s.E\{\exp(tx_n)\mid\mathfrak A_{n-1}\}\le\exp(t^2/2)\quad\text{a.s.}E{exp(txn​)∣An−1​}≤exp(t2/2)a.s.

Every martingale-difference sequence with ∣xn∣≤1|x_n|\le1∣xn​∣≤1 almost surely has this property, but the class also contains unbounded increments, for instance conditionally standard Gaussian ones.

Fix real weights (an)n≥1(a_n)_{n\ge1}(an​)n≥1​ of arbitrary sign and write

Dn2=∑j=1naj2,Sn=a1x1+⋯+anxn.D_n^2=\sum_{j=1}^n a_j^2,\qquad S_n=a_1x_1+\dots+a_nx_n .Dn2​=j=1∑n​aj2​,Sn​=a1​x1​+⋯+an​xn​.

For the lemmas the weights are called (bk)(b_k)(bk​), and the maximal partial sum is Sn∗(ω)=max⁡1≤m≤n∣∑k=1mbkxk(ω)∣S_n^*(\omega)=\max_{1\le m\le n}\big|\sum_{k=1}^m b_kx_k(\omega)\big|Sn∗​(ω)=max1≤m≤n​​∑k=1m​bk​xk​(ω)​.

In Lean these objects are IsMartingaleDiff, IsCondSubgaussianOne, weightedSum (SnS_nSn​), sqWeightSum (Dn2D_n^2Dn2​) and maxAbsWeightedSum (Sn∗S_n^*Sn∗​), all in the namespace AzumaWeightedSums.IteratedLog.

Formalization targets

Goal: Theorem 2, display (4.2)

If (xn)(x_n)(xn​) satisfies [G] with τ(xn)≤1\tau(x_n)\le1τ(xn​)≤1 and the weights satisfy

an2/Dn2→0,Dn2→∞,a_n^2/D_n^2\to0,\qquad D_n^2\to\infty,an2​/Dn2​→0,Dn2​→∞,

then

lim sup⁡n→∞∣Sn∣2Dn2log⁡log⁡Dn2≤1a.s.\limsup_{n\to\infty}\frac{|S_n|}{\sqrt{2D_n^2\log\log D_n^2}}\le1\quad\text{a.s.}n→∞limsup​2Dn2​loglogDn2​​∣Sn​∣​≤1a.s.

The constant 111 is sharp, as Gaussian increments show, so the goal is stated with the paper's constant and in no weaker form.

Milestones

  1. Display (2.4). For every nnn, every real (bk)(b_k)(bk​) and every real ttt,
E{exp⁡(t∑k=1nbkxk)}≤exp⁡(t22∑k=1nbk2).E\Big\{\exp\Big(t\sum_{k=1}^n b_kx_k\Big)\Big\}\le\exp\Big(\frac{t^2}{2}\sum_{k=1}^n b_k^2\Big).E{exp(tk=1∑n​bk​xk​)}≤exp(2t2​k=1∑n​bk2​).
  1. Doob's LαL^\alphaLα maximal inequality, cited on p. 359: for a nonnegative submartingale (fm)(f_m)(fm​) and α>1\alpha>1α>1, E{(max⁡m≤nfm)α}≤(α/(α−1))αE{fnα}E\{(\max_{m\le n}f_m)^\alpha\}\le(\alpha/(\alpha-1))^\alpha E\{f_n^\alpha\}E{(maxm≤n​fm​)α}≤(α/(α−1))αE{fnα​}.
  2. Lemma 2, display (2.3). E{exp⁡(tSn∗)}≤8exp⁡(t22∑k=1nbk2)E\{\exp(tS_n^*)\}\le8\exp\big(\frac{t^2}{2}\sum_{k=1}^n b_k^2\big)E{exp(tSn∗​)}≤8exp(2t2​∑k=1n​bk2​) for every real ttt.
  3. Maximal tail bound. If Vn=∑k=1nbk2>0V_n=\sum_{k=1}^n b_k^2>0Vn​=∑k=1n​bk2​>0 and λ≥0\lambda\ge0λ≥0, then P{Sn∗>λ}≤8exp⁡(−λ2/(2Vn))P\{S_n^*>\lambda\}\le8\exp(-\lambda^2/(2V_n))P{Sn∗​>λ}≤8exp(−λ2/(2Vn​)).

Significance

The result. Theorem 2 controls weighted sums of dependent increments almost surely, uniformly in nnn, at the iterated-logarithm scale. It needs no independence and no boundedness: a conditional sub-Gaussian bound is enough. Bounded martingale differences are a special case, so the theorem covers martingale noise in stochastic approximation and the error terms of adaptive estimators. Milestones 1, 3 and 4 are reusable concentration inequalities: the conditional-expectation form of the Azuma–Hoeffding bound, and its maximal version with an explicit constant.

Formalizing it. The theorem is proved in the literature; nothing here is open. Mathlib has the sub-Gaussian mgf bound for sums in kernel form (HasSubgaussianMGF.sum_of_hasCondSubgaussianMGF, under a standard Borel assumption that this mission does not make), and Doob's weak-type maximal inequality (Submartingale.maximal_ineq). It has no LpL^pLp form of Doob's inequality and no law of the iterated logarithm of any kind. Prove2Me has an Azuma–Hoeffding tail bound without the maximum, and nothing at the iterated-logarithm scale. A complete development would therefore add Doob's LαL^\alphaLα inequality and the first machine-checked iterated-logarithm upper bound, for a dependent class.

Difficulty

The tail bound (milestone 4) is not enough on its own: applied at each fixed nnn and summed over nnn, it gives a divergent series at the 2Dn2log⁡log⁡Dn2\sqrt{2D_n^2\log\log D_n^2}2Dn2​loglogDn2​​ scale. The proof has to pass to a subsequence of times and control the maximum over each block, and the blocks have to be fine enough that no constant is lost. The paper's printed proof chooses blocks along which Dn2D_n^2Dn2​ roughly doubles. Its third displayed estimate uses the increment Dnk+12−Dnk2D_{n_{k+1}}^2-D_{n_k}^2Dnk+1​2​−Dnk​2​ where the maximal inequality actually delivers the full Dnk+12D_{n_{k+1}}^2Dnk+1​2​; with that correction, blocks of ratio 222 prove (4.2) only with 2\sqrt22​ in place of 111. A faithful formal proof must recover the constant 111, so the block ratio has to be tuned to ε\varepsilonε. Here the hypothesis an2/Dn2→0a_n^2/D_n^2\to0an2​/Dn2​→0 is essential, because it means a single term cannot carry Dn2D_n^2Dn2​ past the next block boundary.

Lemma 2 needs Doob's inequality in LαL^\alphaLα form for every even integer α=2j\alpha=2jα=2j, uniformly enough to sum an exponential series. The weak-type inequality available in Mathlib does not give this directly.

Formalization scope

  • Index base and filtration. Sequences are ℕ → Ω → ℝ with sums over Finset.Icc 1 n; x0x_0x0​ and a0a_0a0​ are ignored. The paper fixes A0={∅,Ω}\mathfrak A_0=\{\emptyset,\Omega\}A0​={∅,Ω}; here A0\mathfrak A_0A0​ is arbitrary, which makes every statement at least as strong.
  • [G]. For each n≥1n\ge1n≥1 and each real ttt, the conditional bound holds almost surely, in the paper's quantifier order, and exp⁡(txn)\exp(tx_n)exp(txn​) is assumed integrable. Without integrability, Lean's conditional expectation is 000 and the hypothesis would be empty. τ\tauτ is not defined as an infimum: "τ(xn)≤1\tau(x_n)\le1τ(xn​)≤1" is stated as admissibility of the constant 111.
  • Expectations. Expectations of exponentials and powers are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], so the inequalities also assert finiteness. A Bochner integral, which is 000 for non-integrable functions, would make them trivially true.
  • The lim sup is not Lean's real-valued limsup, which is 000 on unbounded sequences. The goal states the equivalent: for every ε>0\varepsilon>0ε>0, almost surely, ∣Sn∣≤(1+ε)2Dn2log⁡log⁡Dn2|S_n|\le(1+\varepsilon)\sqrt{2D_n^2\log\log D_n^2}∣Sn​∣≤(1+ε)2Dn2​loglogDn2​​ for all sufficiently large nnn. Because Dn2→∞D_n^2\to\inftyDn2​→∞, log⁡log⁡Dn2>0\log\log D_n^2>0loglogDn2​>0 for those nnn, so Real.log is never evaluated at a junk argument that matters.
  • Ruled-out trivialisations. Dropping an2/Dn2→0a_n^2/D_n^2\to0an2​/Dn2​→0, replacing [G] by boundedness, weakening the constant 111, or stating the bound with Lean's real limsup would each change the theorem. None of these is used.
  • Infrastructure. A complete proof needs conditional-expectation pull-out lemmas for the induction in (2.4), Doob's LpL^pLp inequality (reusable well beyond this mission), Chernoff's bound and the first Borel–Cantelli lemma (both in Mathlib), and a block construction. Proofs of any milestone are welcome, as is a proof of Doob's LαL^\alphaLα inequality in Mathlib's own form.

Selected references

  • K. Azuma, Weighted sums of certain dependent random variables, Tôhoku Mathematical Journal 19 (1967) 357–367. https://doi.org/10.2748/tmj/1178243286
  • J. L. Doob, Stochastic Processes, Wiley, New York, 1953 (the LαL^\alphaLα maximal inequality, p. 317; reference [2] of Azuma 1967).
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, Journal of the American Statistical Association 58 (1963) 13–30. https://doi.org/10.1080/01621459.1963.10500830
  • P. Hartman and A. Wintner, On the law of the iterated logarithm, American Journal of Mathematics 63 (1941) 169–176. https://doi.org/10.2307/2371287
  • V. F. Gaposhkin, The law of the iterated logarithm for Cesàro's and Abel's methods of summation, Theory of Probability and its Applications 10 (1965) 411–420 (reference [3] of Azuma 1967).
7 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

High-Dimensional Statistics XIII: A Localized Uniform LawTextbook

Motivation

Every consistency guarantee for an empirical-risk-minimization procedure — the Lasso, kernel ridge regression, maximum likelihood — ultimately rests on relating an empirical average to its population expectation, uniformly over the class of candidate functions or parameters being searched. Chapter 4 established the classical form of this connection: a uniform law of large numbers, bounding sup⁡f∈F∣∥f∥n2−∥f∥22∣\sup_{f\in F}|\|f\|_n^2-\|f\|_2^2|supf∈F​∣∥f∥n2​−∥f∥22​∣ by an absolute quantity governed by the (unlocalized) complexity of FFF. Such a bound is often wasteful: it treats a function with small population norm the same as one with large population norm, when intuitively the empirical and population norms of a small function should already agree closely. This mission formalizes the sharper, localized form of this uniform law — the same localization principle Chapter 13 used for nonparametric least squares, now applied directly to the empirical-versus-population norm comparison itself, giving relative rather than absolute control and recovering optimal convergence rates that the unlocalized theory misses.

Setting

Fix a probability distribution PPP over a covariate space XXX and nnn i.i.d. samples x1,…,xn∼Px_1,\dots,x_n\sim Px1​,…,xn​∼P. For f:X→Rf:X\to\mathbb Rf:X→R, the population norm is ∥f∥22:=∫Xf(x)2 P(dx)\|f\|_2^2:=\int_Xf(x)^2\,P(dx)∥f∥22​:=∫X​f(x)2P(dx) and the empirical norm is ∥f∥n2:=1n∑i=1nf(xi)2\|f\|_n^2:=\frac1n\sum_{i=1}^nf(x_i)^2∥f∥n2​:=n1​∑i=1n​f(xi​)2; by linearity of expectation, E[∥f∥n2]=∥f∥22\mathbb E[\|f\|_n^2]=\|f\|_2^2E[∥f∥n2​]=∥f∥22​, so the question is how tightly ∥f∥n2\|f\|_n^2∥f∥n2​ concentrates around ∥f∥22\|f\|_2^2∥f∥22​, uniformly over a function class FFF. A class FFF is star-shaped around the origin if f∈F,α∈[0,1]  ⟹  αf∈Ff\in F,\alpha\in[0,1]\implies\alpha f\in Ff∈F,α∈[0,1]⟹αf∈F, and bbb-uniformly bounded if ∥f∥∞≤b\|f\|_\infty\le b∥f∥∞​≤b for every f∈Ff\in Ff∈F. The relevant complexity measure is the population localized Rademacher complexity

Rn(δ;F):=Eε,x[ sup⁡f∈F, ∥f∥2≤δ ∣1n∑i=1nεif(xi)∣ ],R_n(\delta;F) := \mathbb E_{\varepsilon,x}\Big[\ \sup_{f\in F,\ \|f\|_2\le\delta}\ \Big| \tfrac1n\sum_{i=1}^n\varepsilon_if(x_i)\Big|\ \Big],Rn​(δ;F):=Eε,x​[ f∈F, ∥f∥2​≤δsup​ ​n1​i=1∑n​εi​f(xi​)​ ],

where ε1,…,εn\varepsilon_1,\dots,\varepsilon_nε1​,…,εn​ are i.i.d. Rademacher signs independent of the samples — note that, unlike Chapter 13's Gaussian complexity for fixed design points, this expectation integrates out the randomness of the samples themselves, since this chapter treats {xi}\{x_i\}{xi​} as genuinely random throughout. A critical radius δn\delta_nδn​ is any positive solution of Rn(δ;F)≤δ2/bR_n(\delta;F)\le\delta^2/bRn​(δ;F)≤δ2/b.

Formalization targets

Theorem 14.1 (goal). Given FFF star-shaped and bbb-uniformly bounded, and δn\delta_nδn​ solving the critical inequality, for any t≥δnt\ge\delta_nt≥δn​,

∣∥f∥n2−∥f∥22∣≤12∥f∥22+t22for all f∈F,\Big|\|f\|_n^2-\|f\|_2^2\Big|\le\frac12\|f\|_2^2+\frac{t^2}2 \qquad\text{for all }f\in F,​∥f∥n2​−∥f∥22​​≤21​∥f∥22​+2t2​for all f∈F,

with probability at least 1−c1e−c2nt2/b21-c_1e^{-c_2nt^2/b^2}1−c1​e−c2​nt2/b2; and if additionally nδn2≥2c2log⁡(4log⁡(1/δn))n\delta_n^2\ge\frac2{c_2}\log(4\log(1/\delta_n))nδn2​≥c2​2​log(4log(1/δn​)),

∣∥f∥n−∥f∥2∣≤c0δnfor all f∈F,\big|\|f\|_n-\|f\|_2\big|\le c_0\delta_n \qquad\text{for all }f\in F,​∥f∥n​−∥f∥2​​≤c0​δn​for all f∈F,

with probability at least 1−c1′e−c2′nδn2/b21-c_1'e^{-c_2'n\delta_n^2/b^2}1−c1′​e−c2′​nδn2​/b2.

Significance

Theorem 14.1 is the technical engine behind two of the book's other sharp results: Example 14.2's derivation of the optimal n−1/2n^{-1/2}n−1/2 rate for bounded quadratic function classes (where the unlocalized analogue of this theorem only achieves the slower n−1/4n^{-1/4}n−1/4 rate), and, more broadly, every later argument in the book that needs to translate an empirical-norm guarantee (as produced directly by an M-estimator's optimality, e.g. Chapter 13's nonparametric least-squares bounds) into a population-norm guarantee, or vice versa. The gap between the "absolute" uniform law of Chapter 4 and the "relative" one here is exactly the difference between a bound that is only informative for functions of order-one population norm, and one that remains sharp arbitrarily close to the origin — which is precisely where a consistent estimator's error eventually lives. Formalizing the statement produces, for the first time on the platform, the localized-Rademacher-complexity vocabulary at the population level (as opposed to Chapter 13's fixed-design Gaussian-complexity version), reusable by any future mission needing to pass between empirical and population norms.

Difficulty

The naive approach — apply Hoeffding's inequality to ∣∥f∥n2−∥f∥22∣|\|f\|_n^2-\|f\|_2^2|∣∥f∥n2​−∥f∥22​∣ for a fixed fff, then union-bound (or apply the unlocalized Rademacher-complexity uniform law of Chapter 4) over FFF — gives a bound whose complexity term does not shrink as ∥f∥2→0\|f\|_2\to0∥f∥2​→0, since it uses the complexity of all of FFF regardless of a given function's own size. This is exactly the sub-optimality Example 14.2 exhibits concretely: the naive bound gives rate n−1/4n^{-1/4}n−1/4 where the truth is n−1/2n^{-1/2}n−1/2. The fix is not merely technical bookkeeping — it requires a genuine peeling argument over dyadic norm-scales (exactly as in Chapter 13's proof of Theorem 13.13), applying the localized complexity Rn(δ;F)R_n(\delta;F)Rn​(δ;F) at the scale δ=∥f∥2\delta=\|f\|_2δ=∥f∥2​ appropriate to each individual fff, and controlling the resulting geometric sum of tail probabilities across scales. A reader's first instinct — bound ∥f∥2\|f\|_2∥f∥2​ in terms of ∥f∥n\|f\|_n∥f∥n​ and substitute — is circular, since ∥f∥n\|f\|_n∥f∥n​ is itself the random quantity being controlled.

Formalization scope

The covariate space X carries an arbitrary MeasurableSpace structure (no topology needed for the statement); the sample sequence and the Rademacher signs are both represented as families of measurable functions on a shared probability space Ω, with their joint independence stated as a single IndepFun between the two vector-valued sequences (rather than building a combined-index iIndepFun), since it is the two sequences — not each pair of individual variables — whose independence the book invokes. The two conclusions of Theorem 14.1 are stated as a conjunction with the second gated behind its own extra hypothesis, never collapsed into a single implication, since the book's own statement keeps them syntactically and logically distinct (the second requires a strictly stronger and additional condition on top of the first's). The universal constants (c1,c2,c0,c1',c2') are quantified before every instance object, so they cannot secretly depend on the function class, sample size, or radius. Every f ∈ F is required measurable (hF_meas, added in revision): the book's own framing implicitly restricts to measurable, square-integrable f throughout (p. 454), and without this hypothesis the population norm popNormSq, which appears directly in the goal's conclusion, could silently take Mathlib's Bochner-integral junk value 0 for a non-measurable, pointwise-bounded member of a star-shaped, uniformly-bounded F. The trivializing formalization ruled out here is stating the localization constraint at the empirical rather than population norm in popRademacherComplexity — this chapter's whole point (contrast Chapter 13's Gn, correctly localized at the empirical norm since there the design is fixed) is that Rn(δ;F)R_n(\delta;F)Rn​(δ;F)'s localization is a population-level object, precisely because the samples are random here. Welcome future contributions: Corollary 14.3's covering-number sufficient condition for the empirical version of the critical inequality, and Theorem 14.20's Lipschitz/strongly-convex cost-function uniform law, both deferred from this mission (see STATUS.md) as they need substantial additional apparatus (metric entropy integrals; cost functions and strong convexity) beyond what Theorem 14.1 itself requires.

Selected references

  • M. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Chapter 14. https://doi.org/10.1017/9781108627771
  • P. Bartlett, O. Bousquet and S. Mendelson, "Local Rademacher complexities," Annals of Statistics, 33(4):1497-1537, 2005. https://doi.org/10.1214/009053605000000282
  • V. Koltchinskii, "Local Rademacher complexities and oracle inequalities in risk minimization," Annals of Statistics, 34(6):2593-2656, 2006. https://doi.org/10.1214/009053606000001019
2 thms1 active userReviewed
Machine LearningProbability·Captain: mikedeng1

High-Dimensional Statistics X: Graph Selection Consistency for Gaussian Graphical ModelsTextbook

Motivation

Many high-dimensional data sets — gene-expression profiles, sensor networks, social interactions — come with no natural ordering of variables, only pairwise dependencies whose structure is itself the object of interest. A graphical model encodes these dependencies as an undirected graph: vertices are variables, and edges mark direct (conditional) dependence. Recovering the graph from samples — graphical model selection — is a combinatorial problem masquerading as a statistical one: there are 2(d2)2^{\binom{d}{2}}2(2d​) candidate graphs on ddd vertices, far too many to search directly. For Gaussian data, however, graph structure is exactly the sparsity pattern of the inverse covariance (precision) matrix, which turns graph selection into ddd coupled sparse-regression problems — one per vertex — each of which the Lasso theory of Chapter 7 already knows how to solve. This mission formalizes the theorem, due to Meinshausen and Bühlmann (2006), that shows this reduction actually works: solving ddd independent Lasso problems and combining the results recovers the exact graph with high probability, at a sample complexity governed by the same kind of incoherence condition that governs Lasso support recovery itself.

Setting

An undirected graphical model on a finite vertex set VVV pairs a graph G=(V,E)G=(V,E)G=(V,E) with a random vector X=(Xj)j∈VX=(X_j)_{j\in V}X=(Xj​)j∈V​. Two equivalent structural properties connect XXX to GGG (Theorem 11.8, Hammersley-Clifford): XXX factorizes according to GGG if its density is a product of nonnegative functions, one per clique of GGG, each depending only on the variables in that clique (Definition 11.1); XXX is Markov with respect to GGG if, for every vertex cutset SSS separating VVV into disjoint pieces AAA and BBB, the sub-vectors XAX_AXA​ and XBX_BXB​ are conditionally independent given XSX_SXS​ (Definition 11.5). For a strictly positive density, these are the same condition.

For a zero-mean ddd-dimensional Gaussian vector with covariance Σ∗\Sigma^*Σ∗ and precision matrix Θ∗=(Σ∗)−1\Theta^*=(\Sigma^*)^{-1}Θ∗=(Σ∗)−1, the graph structure is exactly the support of Θ∗\Theta^*Θ∗: (j,k)∈E  ⟺  Θjk∗≠0(j,k)\in E \iff \Theta^*_{jk}\ne0(j,k)∈E⟺Θjk∗​=0. The neighborhood N(j):={k∣(j,k)∈E}N(j):=\{k\mid(j,k)\in E\}N(j):={k∣(j,k)∈E} of each vertex is itself a vertex cutset (separating {j}\{j\}{j} from everything else), so the conditional independence Xj⊥XV∖N+(j)∣XN(j)X_j\perp X_{V\setminus N^+(j)}\mid X_{N(j)}Xj​⊥XV∖N+(j)​∣XN(j)​ holds, and — by standard Gaussian conditioning — XjX_jXj​ decomposes as a linear function of XV∖{j}X_{V\setminus\{j\}}XV∖{j}​ plus independent Gaussian noise, with regression coefficients supported exactly on N(j)N(j)N(j). Neighborhood regression exploits this directly: for each vertex jjj, solve the Lasso

θ^j∈arg⁡min⁡θ∈Rd−1 12n∥Xj−X∖{j}θ∥22+λn∥θ∥1,\hat\theta_j \in \arg\min_{\theta\in\mathbb R^{d-1}}\ \frac1{2n}\|X_j-X_{\setminus\{j\}}\theta\|_2^2 +\lambda_n\|\theta\|_1,θ^j​∈argθ∈Rd−1min​ 2n1​∥Xj​−X∖{j}​θ∥22​+λn​∥θ∥1​,

read off N^(j):={k∣θ^j,k≠0}\hat N(j):=\{k\mid\hat\theta_{j,k}\ne0\}N^(j):={k∣θ^j,k​=0}, and combine the ddd per-vertex estimates into a single edge set via the OR rule ((j,k)∈E^OR(j,k)\in\hat E_{\mathrm{OR}}(j,k)∈E^OR​ iff k∈N^(j)k\in\hat N(j)k∈N^(j) or j∈N^(k)j\in\hat N(k)j∈N^(k)) or the more conservative AND rule (iff both hold). The relevant incoherence condition, analogous to Chapter 7's, is stated for a positive definite matrix Γ\GammaΓ and subset SSS: Γ\GammaΓ is α\alphaα-incoherent with respect to SSS if max⁡k∉S∥ΓkS(ΓSS)−1∥1≤1−α\max_{k\notin S}\|\Gamma_{kS}(\Gamma_{SS})^{-1}\|_1\le1-\alphamaxk∈/S​∥ΓkS​(ΓSS​)−1∥1​≤1−α.

Formalization targets

Theorem 11.8 (Hammersley-Clifford). Factorizes G p ↔ IsMarkov G X P for any strictly positive density ppp.

Theorem 11.12 (goal — graph selection consistency). Suppose for every jjj, Σ∖{j}∗\Sigma^*_{\setminus\{j\}}Σ∖{j}∗​ is α\alphaα-incoherent with respect to N(j)N(j)N(j), and ∣ ⁣∣ ⁣∣(ΣN(j),N(j)∗)−1∣ ⁣∣ ⁣∣∞≤b|\!|\!|(\Sigma^*_{N(j),N(j)})^{-1}|\!|\!|_\infty\le b∣∣∣(ΣN(j),N(j)∗​)−1∣∣∣∞​≤b. With λn=c01α(log⁡d/n+δ)\lambda_n=c_0\frac1\alpha(\sqrt{\log d/n}+\delta)λn​=c0​α1​(logd/n​+δ), the neighborhood-Lasso estimate combined via either rule satisfies, with probability at least 1−c2e−c3nmin⁡(δ2,1/m)1-c_2e^{-c_3n\min(\delta^2,1/m)}1−c2​e−c3​nmin(δ2,1/m):

E^⊆Eand∀(j,k): ∣Θjk∗∣≥7bλn  ⟹  (j,k)∈E^.\hat E\subseteq E \qquad\text{and}\qquad \forall (j,k):\ |\Theta^*_{jk}|\ge7b\lambda_n \implies (j,k)\in\hat E.E^⊆Eand∀(j,k): ∣Θjk∗​∣≥7bλn​⟹(j,k)∈E^.

Significance

Theorem 11.12 is the statistical justification for one of the two standard approaches to Gaussian graphical model selection (the other being the penalized-likelihood "graphical Lasso" of §11.2.1). Its significance is computational as much as statistical: rather than solving one ddd-dimensional penalized-likelihood problem, neighborhood regression solves ddd independent, embarrassingly parallel Lasso problems, each of dimension d−1d-1d−1 — a substantial practical advantage at scale, with (as this theorem shows) no loss in statistical guarantee. Formalizing it produces, for the first time on the platform, statement-level infrastructure for undirected graphical models (Hammersley-Clifford, the Markov property via vertex cutsets, neighborhood structure) together with the random-design analogue of the Lasso support-recovery machinery — a genuinely different technical regime from Chapter 7's fixed-design Lasso theory, since here the "design matrix" X∖{j}X_{\setminus\{j\}}X∖{j}​ is itself Gaussian and statistically coupled to the response XjX_jXj​ through the very covariance structure being estimated. As with the other missions in this series, only the statements are formalized here; the proofs (an extension of the primal-dual witness technique to random design, per the book's own proof sketch) are left as the draft goal for future proof contributions.

Difficulty

The proof of Theorem 7.21 (Chapter 7's Lasso support-recovery guarantee) is for a deterministic design matrix, with all randomness confined to the additive noise. Here the "design" X∖{j}X_{\setminus\{j\}}X∖{j}​ is itself random and Gaussian, and — critically — it is statistically dependent on the very quantity (N(j)N(j)N(j), encoded in Θ∗\Theta^*Θ∗'s support) the Lasso is trying to recover, since X∖{j}X_{\setminus\{j\}}X∖{j}​'s own covariance structure is exactly what the incoherence condition constrains. The naive approach of just conditioning on the realized design matrix and invoking Theorem 7.21 fails, because the deterministic-design incoherence condition would then need to hold for the sample covariance Γ=1nX∖{j}TX∖{j}\Gamma=\frac1n X_{\setminus\{j\}}^TX_{\setminus\{j\}}Γ=n1​X∖{j}T​X∖{j}​, not the population covariance Σ∖{j}∗\Sigma^*_{\setminus\{j\}}Σ∖{j}∗​ that is actually assumed — and controlling the gap between sample and population incoherence under the joint (not fixed) randomness of predictors and response is exactly the extra step the book's proof needs, handled via an extension of the primal-dual witness technique that tracks both sources of randomness together.

Formalization scope

The vertex set V is an arbitrary finite type; the covariate space for X is ℝ throughout (all variables jointly Gaussian). The Gaussian design is characterized via its one-dimensional projections (every linear combination is univariate Gaussian with the matching variance) rather than via Mathlib's multivariate-Gaussian machinery directly, to keep the definition self-contained. IsAlphaIncoherent's ambient index set is realized as a subset of the full vertex type rather than as a literal submatrix, since the book's condition never references an entry outside it. The theorem states the conclusion jointly for both the OR-rule and AND-rule estimated edge sets on one shared high-probability event, matching "based on either rule" literally rather than picking one. The trivializing formalization ruled out here is treating the neighborhood-Lasso estimate as a fixed-design Lasso problem (silently dropping the joint randomness of predictors and response) — every design realization in this formalization is the actual random vector Xdes i ω, not a deterministic parameter, and the Gaussian design hypothesis (IsIIDGaussianDesign) is stated over the same probability space Ω as the least-squares residual. Theorem 11.8 (Hammersley–Clifford) is formalized only for the continuous case — a random vector with a density with respect to Lebesgue measure — matching what the Gaussian goal (Theorem 11.12) actually needs; the book's own Definition 11.1 also permits a discrete (counting-measure) density, with the Ising model (Example 11.4) as a worked instance, which this mission does not cover. Contributions welcome: the graphical Lasso's own guarantees (Propositions 11.9, 11.10, deferred from this mission — see STATUS.md), and the proof of Theorem 11.12 itself via the primal-dual witness extension the book sketches.

Selected references

  • M. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Chapter 11. https://doi.org/10.1017/9781108627771
  • N. Meinshausen and P. Bühlmann, "High-dimensional graphs and variable selection with the Lasso," Annals of Statistics, 34(3):1436-1462, 2006. https://doi.org/10.1214/009053606000000281
  • J. Hammersley and P. Clifford, "Markov fields on finite graphs and lattices," unpublished manuscript, 1971.
4 thms1 active userReviewed
Machine LearningProbabilityRandom Matrix Theory·Captain: mikedeng1

High-Dimensional Probability XI: Dvoretzky-Milman's TheoremTextbook

Motivation

A striking fact discovered by Dvoretzky in the 1960s (conjectured by Grothendieck, and sharpened into its modern quantitative form by Milman in 1971) is that every high-dimensional convex body, however irregular, contains a round slice: a random low-dimensional section (or projection) of any bounded convex set in Rn\mathbb R^nRn is, with high probability, close to a Euclidean ball — provided the dimension of the slice is small enough relative to a single geometric parameter of the body. This is remarkable because it holds for every bounded set, arbitrarily irregular; no special structure is assumed beyond boundedness. This chapter proves the theorem in its Gaussian form, as a culmination of every geometric and probabilistic tool the book develops: chaining and Dudley's inequality (Chapter 8), the matrix deviation inequality (Chapter 9), and Gaussian width and the stable dimension (Chapter 7) all combine into a single closing argument.

Setting

Fix a subset T⊆RnT\subseteq\mathbb R^nT⊆Rn. For a standard Gaussian vector g∼N(0,In)g\sim N(0,I_n)g∼N(0,In​), the Gaussian width of TTT is w(T):=Esup⁡x∈T⟨g,x⟩w(T) := \mathbb E\sup_{x\in T}\langle g,x\ranglew(T):=Esupx∈T​⟨g,x⟩ (Chapter 7), and the stable dimension of a bounded TTT is d(T):=w(T)2/diam(T)2d(T) := w(T)^2/\mathrm{diam}(T)^2d(T):=w(T)2/diam(T)2 up to an absolute constant factor (Definition 7.6.2) — a robust substitute for the ordinary linear-algebraic dimension of TTT, which can jump discontinuously under a small perturbation of TTT, unlike d(T)d(T)d(T).

An m×nm\times nm×n Gaussian random matrix with i.i.d. N(0,1)N(0,1)N(0,1) entries is a random matrix AAA each of whose mnmnmn entries is an independent standard normal random variable.

Formalization targets

Goal (Theorem 11.3.3, Dvoretzky-Milman's theorem, Gaussian form)

∃ c>0:m≤cε2d(T)  ⟹  P[(1−ε)B⊆conv(AT)⊆(1+ε)B]≥0.99\exists\,c>0:\quad m\le c\varepsilon^2 d(T) \;\Longrightarrow\; \mathbb P\bigl[(1-\varepsilon)B \subseteq \mathrm{conv}(AT) \subseteq (1+\varepsilon)B\bigr] \ge 0.99∃c>0:m≤cε2d(T)⟹P[(1−ε)B⊆conv(AT)⊆(1+ε)B]≥0.99

for every m×nm\times nm×n Gaussian random matrix AAA with i.i.d. N(0,1)N(0,1)N(0,1) entries, every bounded T⊆RnT\subseteq\mathbb R^nT⊆Rn containing the origin, and every ε∈(0,1)\varepsilon\in(0,1)ε∈(0,1), where BBB is the Euclidean ball of radius w(T)w(T)w(T) centered at the origin. The probability 0.990.990.99 is the book's own literal numeral, not a free parameter — this is the theorem the book actually states, not a family of theorems indexed by a confidence level.

Significance

Dvoretzky-Milman's theorem is one of the foundational results of the local theory of Banach spaces (asymptotic geometric analysis): it says every nnn-dimensional normed space contains an almost-Euclidean subspace of dimension proportional to (a geometric invariant closely related to) log⁡n\log nlogn in the worst case, and much larger for spaces whose unit ball is already well-behaved (the stable dimension of the cube [−1,1]n[-1,1]^n[−1,1]n, for instance, is proportional to nnn itself — Example 11.3.6). This underlies results throughout convex geometry, compressed sensing, and high-dimensional statistics wherever a random low-dimensional projection needs to be shown to preserve geometric structure. The book's own framing makes clear why this chapter is placed last: the theorem's proof is a genuine capstone, invoking Chevet's inequality (itself built from the matrix deviation inequality of Chapter 9, which is built from chaining, Chapter 8) as its main technical tool.

The theorem and its proof are classical (Milman 1971; this book's specific route via Chevet's inequality is a standard modern exposition). This mission formalizes the goal theorem's statement — including its two supporting geometric quantities, Gaussian width and stable dimension, and the notion of a Gaussian random matrix — as a complete, faithful target for a solver, in the book's own sub-namespace built for this chapter (no dependency here is reusable from an earlier chunk, since none of this book series' Chapter 7 or Chapter 9 definitions has yet been published).

Difficulty

The natural first idea — bound conv(AT)\mathrm{conv}(AT)conv(AT) directly using concentration of ∥Ax∥2\|Ax\|_2∥Ax∥2​ for each fixed x∈Tx\in Tx∈T — runs into exactly the uniform-supremum obstacle the whole book has been building tools to overcome: a bound that holds for one xxx at a time, even with a union bound over a net of TTT, does not obviously extend to the full convex hull without first controlling sup⁡x∈T∣⟨Ax,y⟩−w(T)∥y∥2∣\sup_{x\in T}|\langle Ax,y\rangle - w(T)\|y\|_2|supx∈T​∣⟨Ax,y⟩−w(T)∥y∥2​∣ uniformly over both x∈Tx\in Tx∈T and yyy on the unit sphere of the target space — a two-parameter supremum. The book's actual route goes through Chevet's inequality, itself proved using the matrix deviation inequality's own chaining-based argument, to control this two-sided supremum, and then converts the resulting inequality into the containment (1−ε)B⊆conv(AT)⊆(1+ε)B(1-\varepsilon)B\subseteq\mathrm{conv}(AT)\subseteq(1+\varepsilon)B(1−ε)B⊆conv(AT)⊆(1+ε)B via a support- function duality argument (a convex body is pinned down by its support function, so bounding sup⁡x∈T⟨Ax,y⟩\sup_{x\in T}\langle Ax,y\ranglesupx∈T​⟨Ax,y⟩ uniformly over yyy on the sphere is exactly what is needed).

Formalization scope

A is Ω → Matrix (Fin m) (Fin n) ℝ with an explicit IsGaussianMatrix hypothesis (entries i.i.d. N(0,1)N(0,1)N(0,1), formalized entrywise with joint independence). conv(AT) is convexHull ℝ of the image of T under A's mulVec, round-tripped through EuclideanSpace's continuous linear equivalence with the underlying function type. w(T) reuses this mission series' ExpSup/GaussianWidth convention (redefined locally, per the drafts-cannot-import-drafts rule, following the same ProbabilityTheory.stdGaussian-based realization of a standard Gaussian vector as 08-matrix-deviation). The stable dimension d(T)d(T)d(T) is formalized directly as w(T)2/diam(T)2w(T)^2/ \mathrm{diam}(T)^2w(T)2/diam(T)2 rather than via the book's literal (but only asymptotically equivalent, per Exercise 7.6.1) definition through a squared Gaussian width h(T−T)2h(T-T)^2h(T−T)2 — the goal theorem's own proof uses only the inequality direction of that equivalence, and the goal's hypothesis already carries an unpinned absolute constant that absorbs the equivalence constant, so this substitution preserves the theorem's exact truth content (see StableDimension's own doc-comment and MODERATION_NOTES.md for the full argument) rather than approximating it.

Ball-center deviation, disclosed. The book's printed theorem statement carries no hypothesis that TTT contains the origin; its proof opens by translating TTT so that it does ("Translating TTT if necessary, we can assume that TTT contains the origin"), and Remark 11.3.4 then confirms the ball is centered at the origin in that case. This mission states the WLOG-reduced case directly — adding 0∈T0\in T0∈T as an explicit hypothesis — rather than also formalizing the translation argument that recovers the fully general (untranslated) statement. This is disclosed as a genuine narrowing of the literal printed statement, though not of what the book's own proof actually establishes.

This mission covers Theorem 11.3.3 only, with no milestones: BRIEF.md explicitly instructs that if the chapter's full proof chain (general matrix deviation inequality, Chevet's inequality, random projections of sets — Theorems 11.1.5, 11.2.4, 11.3.1) proves too heavy for the session, milestones should be cut rather than the goal substituted. All three are left out, not approximated, given this chapter's five from-scratch definitions already needed for the goal's own statement. ExpSup, GaussianWidth, StableDimension and IsGaussianMatrix are reusable by any later development needing Gaussian width, the stable dimension, or a Gaussian random matrix. Solvers' contributions are welcome on the goal theorem itself and, beyond this mission's current scope, on the three named milestones.

Selected references

  • A. Dvoretzky, Some results on convex bodies and Banach spaces, Proc. Internat. Sympos. Linear Spaces (Jerusalem, 1960), 123–160.
  • V. D. Milman, A new proof of A. Dvoretzky's theorem on cross-sections of convex bodies, Funkcional. Anal. i Priložen. 5 (1971), 28–37.
  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 11. https://doi.org/10.1017/9781108231596
5 thms1 active userReviewed
PreviousPage 9 of 9Next

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