Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Statistics

175 missions · 101 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

Open74Completed101All175
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: Shuze Chen

The Markov Chain Central Limit TheoremResearch Paper

Markov chain Monte Carlo turns hard integration problems into long simulations: to estimate an expectation EπfE_\pi fEπ​f one runs a Markov chain with stationary distribution π\piπ and reports the sample average fˉn\bar f_nfˉ​n​. The ergodic theorem guarantees fˉn→Eπf\bar f_n \to E_\pi ffˉ​n​→Eπ​f, but honest error bars require more: a central limit theorem

n(fˉn−Eπf)→dN(0,σf2).\sqrt{n}(\bar f_n - E_\pi f) \to_d N(0, \sigma_f^2).n​(fˉ​n​−Eπ​f)→d​N(0,σf2​).

On general state spaces this is famously delicate - a merely ergodic chain with a square-integrable functional can fail the CLT, so the classical theory trades convergence rates (drift, minorization, geometric or polynomial total-variation rates) and mixing conditions (α\alphaα-, ρ\rhoρ-, φ\varphiφ-mixing) against moment conditions on fff. This mission formalizes G. L. Jones's survey "On the Markov chain central limit theorem" (Probability Surveys, 2004): the drift-condition CLTs of Meyn-Tweedie and Jarner-Roberts, the classical mixing CLTs of Ibragimov-Linnik, Doukhan-Massart-Rio and Billingsley, the characterizations via uniform integrability and boundedness in probability, and their assembly into the summary theorem: six practically checkable regimes - from polynomial ergodicity with bounded functionals to uniform ergodicity with second moments - each of which guarantees the CLT for every initial distribution. The stationarity, total-variation and mixing infrastructure is general state space and reusable well beyond this mission.

154 thms18 active usersReviewed
🏆Completed
Machine Learning·Captain: Shuze Chen

Exact Matrix CompletionResearch Paper

Every time a streaming service guesses what you would rate a film you have never seen, it is solving a matrix completion problem: fill in the missing entries of a vast user-by-item table from the few that are observed. The question became famous during the Netflix Prize (2006-2009), and it looks hopeless - infinitely many matrices fit the observed entries - until one assumes the structure that makes recommendation possible: the table is essentially low rank, because tastes are governed by a few latent factors. In their landmark 2009 paper 'Exact Matrix Completion via Convex Optimization' (Foundations of Computational Mathematics), Emmanuel Candes and Benjamin Recht proved that an n-by-n matrix of rank r can be recovered exactly, with high probability, from only about n^1.2 * r * log n randomly observed entries - not by the NP-hard route of minimizing rank, but by minimizing the nuclear norm, a convex surrogate (the sum of the singular values) solvable efficiently. The proof, in the lineage of Candes-Romberg-Tao compressed sensing, turns on two ideas: an incoherence condition ensuring the singular vectors are spread out rather than spiky, and a dual certificate witnessing optimality, whose existence rests on delicate random-matrix concentration. It transformed a practical engineering puzzle into rigorous theory and seeded a decade of work across machine learning, signal processing, computer vision, and sensor localization. This mission formalizes the Candes-Recht exact-recovery theorem in Lean, decomposed into its dual-certificate construction and the probabilistic concentration reductions at its core.

601 thms13 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence IV: Asymptotic Optimality of the Track-and-Stop StrategyResearch Paper

Motivation

In best arm identification with fixed confidence, a learner samples KKK unknown distributions (arms) sequentially and must, as early as possible, name the arm with the largest mean, while being wrong with probability at most a prescribed risk δ\deltaδ. The problem models adaptive A/B/n testing, clinical and simulation-based selection among alternatives, and the "ranking and selection" problem of operations research and simulation optimization. The quantity of interest is the sample complexity Eμ[τδ]\mathbb E_{\boldsymbol\mu}[\tau_\delta]Eμ​[τδ​], the expected number of samples a strategy takes before stopping.

Timeline of the question this mission formalizes:

  • Chernoff (1959) introduced sequential tests based on generalized likelihood ratios for adaptive design of experiments, with a finite set of hypotheses (doi:10.1214/aoms/1177706205).
  • Kaufmann, Cappé and Garivier (2016, JMLR) proved a change-of-measure lower bound on the sample complexity of every δ\deltaδ-PAC strategy (arXiv:1407.4443).
  • Garivier and Kaufmann (COLT 2016) identified the exact constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) in that lower bound and gave the first strategy, Track-and-Stop, whose sample complexity matches it asymptotically as δ→0\delta\to0δ→0 (arXiv:1602.04589). This mission covers the upper-bound half of that paper.

Setting

A canonical one-parameter exponential family is a family of laws νθ\nu_\thetaνθ​, θ∈Θ\theta\in\Thetaθ∈Θ, on R\mathbb RR with density exp⁡(θx−b(θ))\exp(\theta x-b(\theta))exp(θx−b(θ)) with respect to a reference measure ξ\xiξ; bbb is twice differentiable and strictly convex, and νθ\nu_\thetaνθ​ has mean b˙(θ)\dot b(\theta)b˙(θ). Bernoulli, Poisson and Gaussian laws with known variance are examples. The divergence d(μ,μ′)d(\mu,\mu')d(μ,μ′) is the Kullback–Leibler divergence between the members with means μ\muμ and μ′\mu'μ′.

A bandit model μ=(μ1,…,μK)\boldsymbol\mu=(\mu_1,\dots,\mu_K)μ=(μ1​,…,μK​) assigns a member of the family to each arm. The class S\mathcal SS consists of models with a unique optimal arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ). At each round t=1,2,…t=1,2,\dotst=1,2,… the learner picks an arm AtA_tAt​ as a function of past observations, observes a reward drawn from that arm's law, and at a stopping time τδ\tau_\deltaτδ​ recommends an arm. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa in the first ttt rounds and μ^a(t)\hat\mu_a(t)μ^​a​(t) its empirical mean.

With Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu)=\{\boldsymbol\lambda\in\mathcal S: a^*(\boldsymbol\lambda)\ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)} and ΣK\Sigma_KΣK​ the probability simplex, the characteristic time is

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ) ∑a=1Kwa d(μa,λa),T^*(\boldsymbol\mu)^{-1}=\sup_{w\in\Sigma_K}\ \inf_{\boldsymbol\lambda\in\mathrm{Alt}(\boldsymbol\mu)}\ \sum_{a=1}^K w_a\,d(\mu_a,\lambda_a),T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​ a=1∑K​wa​d(μa​,λa​),

and the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) are the optimal proportions of arm draws.

Track-and-Stop combines two ingredients:

  • a sampling rule that tracks the plug-in proportions w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) while forcing each arm to be drawn about t\sqrt tt​ times: C-Tracking tracks the cumulated sum of projections of w∗(μ^(s))w^*(\hat{\boldsymbol\mu}(s))w∗(μ^​(s)) onto ΣKϵs={w∈ΣK:wa≥ϵs}\Sigma^{\epsilon_s}_K=\{w\in\Sigma_K: w_a\ge\epsilon_s\}ΣKϵs​​={w∈ΣK​:wa​≥ϵs​}, ϵs=(K2+s)−1/2/2\epsilon_s=(K^2+s)^{-1/2}/2ϵs​=(K2+s)−1/2/2; D-Tracking draws an under-sampled arm when some Na(t)<t−K/2N_a(t)<\sqrt t-K/2Na​(t)<t​−K/2, and otherwise the arm maximizing t wa∗(μ^(t))−Na(t)t\,w^*_a(\hat{\boldsymbol\mu}(t))-N_a(t)twa∗​(μ^​(t))−Na​(t);
  • Chernoff's stopping rule, which stops at the first ttt at which some arm aaa beats every other arm bbb in a generalized likelihood ratio test, Za,b(t)>β(t,δ)Z_{a,b}(t)>\beta(t,\delta)Za,b​(t)>β(t,δ), here with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ).

Formalization targets

Goal: Theorem 14 (p. 13)

For α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2] and r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα), Chernoff's stopping rule with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ) combined with C-Tracking or D-Tracking satisfies

lim sup⁡δ→0Eμ[τδ]log⁡(1/δ)≤α T∗(μ)\limsup_{\delta\to0}\frac{\mathbb E_{\boldsymbol\mu}[\tau_\delta]}{\log(1/\delta)}\le\alpha\,T^*(\boldsymbol\mu)δ→0limsup​log(1/δ)Eμ​[τδ​]​≤αT∗(μ)

for every μ∈S\boldsymbol\mu\in\mathcal Sμ∈S.

Milestones

  • Lemma 15 (p. 20): greedy tracking of cumulated proportions P(k)P(k)P(k) keeps max⁡i∣Ni(n)−Pi(n)∣≤K−1\max_i|N_i(n)-P_i(n)|\le K-1maxi​∣Ni​(n)−Pi​(n)∣≤K−1.
  • Lemma 7 (p. 7): C-Tracking ensures Na(t)≥t+K2−2KN_a(t)\ge\sqrt{t+K^2}-2KNa​(t)≥t+K2​−2K and max⁡a∣Na(t)−∑s<twa∗(μ^(s))∣≤K(1+t)\max_a|N_a(t)-\sum_{s<t}w^*_a(\hat{\boldsymbol\mu}(s))|\le K(1+\sqrt t)maxa​∣Na​(t)−∑s<t​wa∗​(μ^​(s))∣≤K(1+t​).
  • Lemma 8 (p. 7): D-Tracking ensures Na(t)≥(t−K/2)+−1N_a(t)\ge(\sqrt t-K/2)_+-1Na​(t)≥(t​−K/2)+​−1, and proportions within 3(K−1)ϵ3(K-1)\epsilon3(K−1)ϵ of w∗(μ)w^*(\boldsymbol\mu)w∗(μ) after a time tϵt_\epsilontϵ​ that does not depend on the trajectory, once the plug-in targets are within ϵ\epsilonϵ.
  • Proposition 9 (p. 8): under either rule, Na(t)/t→wa∗(μ)N_a(t)/t\to w^*_a(\boldsymbol\mu)Na​(t)/t→wa∗​(μ) almost surely.
  • Lemma 18 (p. 27): an explicit xxx with c1x≥log⁡(c2xα)c_1x\ge\log(c_2x^\alpha)c1​x≥log(c2​xα) for α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2].
  • Proposition 13 (p. 11): with any sampling rule whose proportions converge almost surely to w∗w^*w∗, τδ<∞\tau_\delta<\inftyτδ​<∞ almost surely and lim sup⁡δ→0τδ/log⁡(1/δ)≤αT∗(μ)\limsup_{\delta\to0}\tau_\delta/\log(1/\delta)\le\alpha T^*(\boldsymbol\mu)limsupδ→0​τδ​/log(1/δ)≤αT∗(μ) almost surely.

Significance

Theorem 1 of the same paper shows Eμ[τδ]≥T∗(μ) kl(δ,1−δ)\mathbb E_{\boldsymbol\mu}[\tau_\delta]\ge T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta,1-\delta)Eμ​[τδ​]≥T∗(μ)kl(δ,1−δ) for every δ\deltaδ-PAC strategy, and kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta,1-\delta)\sim\log(1/\delta)kl(δ,1−δ)∼log(1/δ). Theorem 14 with α=1\alpha=1α=1 therefore shows that the lower bound is attained: T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is the exact asymptotic sample complexity of best arm identification in exponential family models, and Track-and-Stop is asymptotically optimal.

The result is proved in the paper. What is not available is a machine-checked proof for exponential families. The platform already holds a Lean development of the Gaussian case following Lattimore and Szepesvári, Bandit Algorithms, Ch. 33, stated for one existentially chosen policy with a different threshold. This mission asks for the universal statement: every run of either tracking rule, for every exponential family, with the paper's thresholds. The tracking lemmas (Lemmas 15, 7, 8) are deterministic combinatorics and reusable by any tracking-based algorithm.

Difficulty

The obvious argument plugs the almost-sure behaviour of Proposition 13 into an expectation. That step fails: almost-sure convergence of τδ/log⁡(1/δ)\tau_\delta/\log(1/\delta)τδ​/log(1/δ) does not control E[τδ]\mathbb E[\tau_\delta]E[τδ​], because on the rare events where the empirical means are far from μ\boldsymbol\muμ the stopping time may be very large. Theorem 14 needs a quantitative concentration of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) on events whose complements have summable probability, which in turn relies on the forced exploration guaranteed by the t\sqrt tt​ lower bounds on Na(t)N_a(t)Na​(t) (the concentration step of App. D, Lemmas 19–20).

A second obstacle is the regularity of w∗w^*w∗: the tracking lemmas only transfer convergence of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) to convergence of Na(t)/tN_a(t)/tNa​(t)/t through the continuity of μ↦w∗(μ)\boldsymbol\mu\mapsto w^*(\boldsymbol\mu)μ↦w∗(μ) on S\mathcal SS, proved from the characterization of w∗w^*w∗ in §2.2 (Proposition 6). The GLR statistic also needs its closed form (7) near μ\boldsymbol\muμ, which requires the empirical means to lie in the interior of the mean space.

Formalization scope

  • Model. The exponential family is a structure (ξ,Θ,b)(\xi,\Theta,b)(ξ,Θ,b) with Θ\ThetaΘ a nonempty open interval, each νθ\nu_\thetaνθ​ normalized, bbb twice continuously differentiable and b¨>0\ddot b>0b¨>0 on Θ\ThetaΘ. Openness and b¨>0\ddot b>0b¨>0 are added to the paper's "convex, twice differentiable"; strict convexity is what makes νμ\nu^\muνμ unique. Bandit models are parameter vectors θ∈ΘK\theta\in\Theta^Kθ∈ΘK with K≥2K\ge2K≥2; arms are indexed 0,…,K−10,\dots,K-10,…,K−1. S\mathcal SS is the set of parameter vectors with a unique arm of largest mean b˙(θa)\dot b(\theta_a)b˙(θa​).
  • Protocol. Policies, the trajectory law Pμ\mathbb P_{\boldsymbol\mu}Pμ​, pull counts, empirical means and T∗(μ)T^*(\boldsymbol\mu)T∗(μ) are the platform's published definitions (BanditPolicy, BanditTrajectory, TrackAndStop). T∗T^*T∗ uses Kullback–Leibler divergences of the arm laws over the class S\mathcal SS and takes values in [0,∞][0,\infty][0,∞]. Trajectory coordinate ttt is round t+1t+1t+1. An arm never drawn has empirical mean 000.
  • Target map. w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) is undefined in the paper when μ^(t)∉S\hat{\boldsymbol\mu}(t)\notin\mathcal Sμ^​(t)∈/S (an unsampled arm, ties, a mean outside b˙(Θ)\dot b(\Theta)b˙(Θ)). Every tracking statement quantifies over every target map with values in ΣK\Sigma_KΣK​ that returns optimal proportions on S\mathcal SS, over every choice of L∞L^\inftyL∞ projections, and over every tie-breaking, including randomized ones.
  • Stopping rule. The two maxima in Za,b(t)Z_{a,b}(t)Za,b​(t) are suprema over Θ\ThetaΘ in the extended reals. Za,b(t)>βZ_{a,b}(t)>\betaZa,b​(t)>β is written without subtracting infinities. The stopping time is the first t≥1t\ge1t≥1 at which the test succeeds, +∞+\infty+∞ if none. "r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα)" is r(t)≤Dtαr(t)\le Dt^\alphar(t)≤Dtα for t≥1t\ge1t≥1; r>0r>0r>0 is added so that log⁡(r(t)/δ)\log(r(t)/\delta)log(r(t)/δ) is defined.
  • Values in [0,∞][0,\infty][0,∞]. Expectations of τδ\tau_\deltaτδ​, the ratios and T∗T^*T∗ live in [0,∞][0,\infty][0,∞]. No statement converts them to reals, so an infinite expected stopping time is never read as 000.
  • Corrections, disclosed. Proposition 9's printed Pw\mathbb P_wPw​ is Pμ\mathbb P_{\boldsymbol\mu}Pμ​. Lemma 18 adds c2/c1α>1c_2/c_1^\alpha>1c2​/c1α​>1 and x>0x>0x>0, without which its expressions are undefined.
  • Ruled out. Specializing to Gaussian arms, or asserting that some sampling policy achieves the bound, would restate existing platform results and is not this theorem: the goal is about every C-Tracking or D-Tracking run in every exponential family.
  • Welcome contributions. Exponential-family facts (b˙\dot bb˙ is the mean, the KL formula, concentration of empirical means); the continuity of w∗w^*w∗ (Proposition 6, App. A.3); Lemma 17 (App. B.2), from which Lemma 8 follows; the closed form (7) of the GLR statistic.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016, JMLR W&CP 49. arXiv:1602.04589v2
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, JMLR 17, 2016. arXiv:1407.4443
  • H. Chernoff, Sequential Design of Experiments, Ann. Math. Statist. 30(3), 1959. doi:10.1214/aoms/1177706205
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Ch. 33. doi:10.1017/9781108571401
15 thms5 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence I: Non-Asymptotic Lower Bound on the Sample ComplexityResearch Paper

Motivation

Best arm identification with fixed confidence is the pure-exploration counterpart of the multi-armed bandit problem. A learner faces KKK unknown reward distributions ("arms"), samples them sequentially, and must stop and name the arm with the largest mean, being wrong with probability at most a prescribed δ\deltaδ. The question is how many samples this requires. It arises in adaptive A/B testing, in the selection of the best of several simulated systems (ranking and selection in simulation optimization), and in clinical trials that must declare the best treatment with a guaranteed error rate.

Lower bounds for this problem were first stated in terms of the gaps between means (Mannor and Tsitsiklis, 2004). Kaufmann, Cappé and Garivier (2016) replaced ad hoc changes of measure by a single "transportation" lemma relating expected sample counts, Kullback–Leibler divergences and the error probability. Garivier and Kaufmann (COLT 2016, arXiv:1602.04589v2) combine this lemma over all alternative models at once, in the spirit of Graves and Lai (1997), and obtain a lower bound whose constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is exactly matched, as δ→0\delta \to 0δ→0, by their Track-and-Stop strategy. This mission formalizes that lower bound (Theorem 1 of the paper, p. 3).

Setting

A canonical one-parameter exponential family is given by a reference measure ξ\xiξ on R\mathbb RR, an open interval Θ⊂R\Theta \subset \mathbb RΘ⊂R and a function bbb, twice continuously differentiable on Θ\ThetaΘ with b¨>0\ddot b > 0b¨>0, such that the laws νθ\nu_\thetaνθ​ with density exp⁡(θx−b(θ))\exp(\theta x - b(\theta))exp(θx−b(θ)) with respect to ξ\xiξ are probability measures for θ∈Θ\theta \in \Thetaθ∈Θ. The mean of νθ\nu_\thetaνθ​ is b˙(θ)\dot b(\theta)b˙(θ). Bernoulli laws and Gaussian laws of known variance are examples.

A bandit model is a vector θ=(θ1,…,θK)∈ΘK\theta = (\theta_1, \dots, \theta_K) \in \Theta^Kθ=(θ1​,…,θK​)∈ΘK; arm aaa returns i.i.d. rewards with law νθa\nu_{\theta_a}νθa​​ and mean μa=b˙(θa)\mu_a = \dot b(\theta_a)μa​=b˙(θa​). Arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ) is the unique optimal arm if μa∗>μa\mu_{a^*} > \mu_aμa∗​>μa​ for every a≠a∗a \ne a^*a=a∗. Let S\mathcal SS be any set of bandit models of the family each having a unique optimal arm, and put Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu) = \{\boldsymbol\lambda \in \mathcal S : a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)}.

A strategy consists of a sampling rule π\piπ (the arm AtA_tAt​ drawn at round ttt depends, possibly with extra randomization, on the first t−1t - 1t−1 observations), a stopping time τ\tauτ of the natural filtration Ft=σ(A1,X1,…,At,Xt)\mathcal F_t = \sigma(A_1, X_1, \dots, A_t, X_t)Ft​=σ(A1​,X1​,…,At​,Xt​), and an Fτ\mathcal F_\tauFτ​-measurable decision a^τ\hat a_\taua^τ​. It is δ\deltaδ-PAC on S\mathcal SS if for every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S, Pμ(τ<∞)=1\mathbb P_{\boldsymbol\mu}(\tau < \infty) = 1Pμ​(τ<∞)=1 and Pμ(a^τ≠a∗(μ))≤δ\mathbb P_{\boldsymbol\mu}(\hat a_\tau \ne a^*(\boldsymbol\mu)) \le \deltaPμ​(a^τ​=a∗(μ))≤δ. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa among the first ttt rounds.

Write d(μa,λa)=KL(νθa,νλa)d(\mu_a, \lambda_a) = \mathrm{KL}(\nu_{\theta_a}, \nu_{\lambda_a})d(μa​,λa​)=KL(νθa​​,νλa​​) for the divergence between two arm laws, kl(x,y)=xlog⁡xy+(1−x)log⁡1−x1−y\mathrm{kl}(x, y) = x\log\frac{x}{y} + (1 - x)\log\frac{1 - x}{1 - y}kl(x,y)=xlogyx​+(1−x)log1−y1−x​, and ΣK\Sigma_KΣK​ for the probability simplex on the KKK arms. The characteristic time is defined by eq. (1):

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ)∑a=1Kwa d(μa,λa).T^*(\boldsymbol\mu)^{-1} = \sup_{w \in \Sigma_K}\ \inf_{\boldsymbol\lambda \in \mathrm{Alt}(\boldsymbol\mu)} \sum_{a=1}^K w_a\, d(\mu_a, \lambda_a).T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​a=1∑K​wa​d(μa​,λa​).

Formalization targets

Goal: Theorem 1 (p. 3)

For δ∈(0,1/2]\delta \in (0, 1/2]δ∈(0,1/2], every δ\deltaδ-PAC strategy on S\mathcal SS and every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S,

Eμ[τ] ≥ T∗(μ) kl(δ,1−δ).\mathbb E_{\boldsymbol\mu}[\tau] \ \ge\ T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta, 1 - \delta).Eμ​[τ] ≥ T∗(μ)kl(δ,1−δ).

The statement fixes no constant beyond those of the paper, and it holds for every δ\deltaδ, not only in the limit.

Milestone: eq. (2) (p. 4)

For every λ∈S\boldsymbol\lambda \in \mathcal Sλ∈S with a∗(λ)≠a∗(μ)a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)a∗(λ)=a∗(μ),

∑a=1Kd(μa,λa) Eμ[Na(τ)] ≥ kl(δ,1−δ).\sum_{a=1}^K d(\mu_a, \lambda_a)\, \mathbb E_{\boldsymbol\mu}[N_a(\tau)] \ \ge\ \mathrm{kl}(\delta, 1 - \delta).a=1∑K​d(μa​,λa​)Eμ​[Na​(τ)] ≥ kl(δ,1−δ).

This is Lemma 1 of Kaufmann et al. (2016), which the paper quotes without proof; Theorem 1 follows from it for every alternative simultaneously.

Significance

Theorem 1 identifies T∗(μ)T^*(\boldsymbol\mu)T∗(μ) as the exact problem-dependent complexity of fixed-confidence best arm identification: since kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta, 1 - \delta) \sim \log(1/\delta)kl(δ,1−δ)∼log(1/δ), it gives lim inf⁡δ→0Eμ[τδ]/log⁡(1/δ)≥T∗(μ)\liminf_{\delta \to 0} \mathbb E_{\boldsymbol\mu}[\tau_\delta]/\log(1/\delta) \ge T^*(\boldsymbol\mu)liminfδ→0​Eμ​[τδ​]/log(1/δ)≥T∗(μ), and the paper's Track-and-Stop strategy attains this rate (the subject of mission IV of this series). The bound also explains which proportions of draws an optimal strategy must use: the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) of eq. (1) (mission II).

Both results are proved in the literature. Neither is formalized in the paper's generality. The platform holds the textbook form of Lattimore and Szepesvári (Theorem 33.5), which is stated for an arbitrary class with the weaker constant log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)); for δ≤1/2\delta \le 1/2δ≤1/2, kl(δ,1−δ)≥log⁡(1/(2.4δ))>log⁡(1/(4δ))\mathrm{kl}(\delta, 1 - \delta) \ge \log(1/(2.4\delta)) > \log(1/(4\delta))kl(δ,1−δ)≥log(1/(2.4δ))>log(1/(4δ)), so Theorem 1 is strictly stronger. A formal proof here yields the transportation lemma for exponential families on the platform's infinite-horizon bandit model, which later missions (II–IV, and any lower bound by change of measure) can reuse.

Difficulty

The obvious proof applies the finite-horizon divergence decomposition KL(Pμn,Pλn)=∑aEμ[Na(n)] d(μa,λa)\mathrm{KL}(\mathbb P^n_{\boldsymbol\mu}, \mathbb P^n_{\boldsymbol\lambda}) = \sum_a \mathbb E_{\boldsymbol\mu}[N_a(n)]\,d(\mu_a, \lambda_a)KL(Pμn​,Pλn​)=∑a​Eμ​[Na​(n)]d(μa​,λa​) at a deterministic horizon nnn. That fails here: τ\tauτ is random and unbounded, the decision is Fτ\mathcal F_\tauFτ​-measurable, and the relevant divergence is between the laws of the stopped observations. The step from a fixed horizon to a stopping time, together with the data-processing inequality that turns the error guarantees under two models into kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), is the central difficulty. A second, smaller difficulty is to identify the paper's divergence ddd and its means b˙(θ)\dot b(\theta)b˙(θ) with the measure-theoretic KL divergence and mean of the arm laws of the exponential family.

Formalization scope

Lean namespace OptimalBAI.LowerBound. The bandit protocol is the platform's (BanditAlgorithm.BanditPolicy, banditTrajMeasure, IsBanditStoppingTime, IsSoundBAI, baiComplexity); kl\mathrm{kl}kl is the platform's bernoulliRelativeEntropy and Na(t)N_a(t)Na​(t) is trajPullCount. Conventions:

  • arms are Fin K, 0-based (the paper's arm aaa is index a−1a - 1a−1); trajectory coordinate ttt is round t+1t + 1t+1;
  • Θ\ThetaΘ is a nonempty open interval and b¨>0\ddot b > 0b¨>0 on Θ\ThetaΘ (added: the paper says bbb is convex and twice differentiable; strict convexity is what makes "the unique distribution with mean μ\muμ" meaningful); the paper's ddd is written as the KL divergence of the arm laws (its first equality on p. 3), and the unique optimal arm is defined through the parameter means b˙(θa)\dot b(\theta_a)b˙(θa​);
  • S\mathcal SS is an arbitrary set of models with a unique optimal arm, not the specific set the paper fixes from p. 4 on;
  • δ\deltaδ-PAC keeps both halves of the paper's definition (almost-sure stopping and error at most δ\deltaδ);
  • T∗(μ)T^*(\boldsymbol\mu)T∗(μ), divergences and expectations of τ\tauτ take values in [0,∞][0, \infty][0,∞], never truncated to reals; T∗=0T^* = 0T∗=0 when Alt(μ)=∅\mathrm{Alt}(\boldsymbol\mu) = \emptysetAlt(μ)=∅ and T∗=∞T^* = \inftyT∗=∞ when the supremum in eq. (1) is 000;
  • δ≤1/2\delta \le 1/2δ≤1/2 is added. The paper states δ∈(0,1)\delta \in (0, 1)δ∈(0,1), but the theorem and eq. (2) are false for δ∈(1/2,1)\delta \in (1/2, 1)δ∈(1/2,1): with two unit-variance Gaussian arms, drawing arm 1 once and naming arm 1 exactly when the fractional part of the reward is below 1/21/21/2 is 0.90.90.9-PAC, while T∗(μ)→∞T^*(\boldsymbol\mu) \to \inftyT∗(μ)→∞ as the two means merge. At δ=1/2\delta = 1/2δ=1/2 the bound is 000.

A statement with log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)) in place of kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), or restricted to Gaussian arms, is the platform's existing textbook theorem and does not count as this mission's goal; nor does any version that drops the almost-sure stopping clause or truncates E[τ]\mathbb E[\tau]E[τ] or T∗T^*T∗ to real numbers.

Needed infrastructure: the transportation lemma at a stopping time (data processing for KL through an Fτ\mathcal F_\tauFτ​-measurable event, Wald-type identity for the stopped log-likelihood ratio), the identities "mean of νθ\nu_\thetaνθ​ =b˙(θ)= \dot b(\theta)=b˙(θ)" and "KL of two family members =b(θ′)−b(θ)−b˙(θ)(θ′−θ)= b(\theta') - b(\theta) - \dot b(\theta)(\theta' - \theta)=b(θ′)−b(θ)−b˙(θ)(θ′−θ)", and E[τ]=∑aE[Na(τ)]\mathbb E[\tau] = \sum_a \mathbb E[N_a(\tau)]E[τ]=∑a​E[Na​(τ)]. All are reusable beyond this mission. Contributions of any of these lemmas, of eq. (2) alone, or of the Gaussian and Bernoulli special cases as stepping stones are welcome.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016 (JMLR W&CP 49), arXiv:1602.04589v2. https://arxiv.org/abs/1602.04589
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, Journal of Machine Learning Research 17(1), 2016. https://arxiv.org/abs/1407.4443
  • T. L. Graves, T. L. Lai, Asymptotically Efficient Adaptive Choice of Control Laws in Controlled Markov Chains, SIAM Journal on Control and Optimization 35(3), 1997. https://doi.org/10.1137/S0363012994275440
  • S. Mannor, J. N. Tsitsiklis, The Sample Complexity of Exploration in the Multi-Armed Bandit Problem, Journal of Machine Learning Research 5, 2004. https://www.jmlr.org/papers/v5/mannor04b.html
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 33. https://doi.org/10.1017/9781108571401
11 thms5 active usersReviewed
🏆Completed
Machine LearningProbability·Captain: mikedeng1

High-Dimensional Statistics II: Talagrand's Convex Concentration InequalityTextbook

Motivation

Chapter 2's tail bounds mostly rest on moment-generating-function control, obtained either directly (sub-Gaussianity) or through explicit combinatorial arguments (Hoeffding, bounded differences). The entropic method offers a different, more structural route: bound a specific information-theoretic quantity — the φ\varphiφ-entropy of eλXe^{\lambda X}eλX — and convert that bound mechanically into a tail bound via a short ODE argument (the Herbst argument). This method's real payoff appears once it is combined with the tensorization property of entropy across independent coordinates, which is what lets it handle Lipschitz functions of many independent variables — including cases, such as separately convex functions, that elude the purely martingale-based techniques of Chapter 2. This mission formalizes the entropic method's two foundational entropy-to-tail conversions and its central Lipschitz-concentration application, following Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint (Cambridge University Press, 2019), Chapter 3.

Setting

For φ(u):=ulog⁡u\varphi(u):=u\log uφ(u):=ulogu (u>0u>0u>0), φ(0):=0\varphi(0):=0φ(0):=0, the φ\varphiφ-entropy of a nonnegative random variable ZZZ is H(Z):=E[Zlog⁡Z]−E[Z]log⁡E[Z]H(Z):=\mathbb E[Z\log Z]-\mathbb E[Z]\log\mathbb E[Z]H(Z):=E[ZlogZ]−E[Z]logE[Z] (Eqs. (3.1)-(3.2)). Writing φX(λ):=E[eλX]\varphi_X(\lambda):=\mathbb E[e^{\lambda X}]φX​(λ):=E[eλX] for the moment generating function of XXX, the entropy of eλXe^{\lambda X}eλX has the explicit form H(eλX)=λφX′(λ)−φX(λ)log⁡φX(λ)H(e^{\lambda X}) = \lambda\varphi_X'(\lambda) -\varphi_X(\lambda)\log\varphi_X(\lambda)H(eλX)=λφX′​(λ)−φX​(λ)logφX​(λ) (Eq. (3.3)).

A function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is separately convex if, for each coordinate kkk, the univariate function obtained by fixing every coordinate but the kkk-th is convex — strictly weaker than joint convexity of fff itself. fff is LLL-Lipschitz with respect to the Euclidean norm if ∣f(x)−f(x′)∣≤L∥x−x′∥2|f(x)-f(x')|\le L\|x-x'\|_2∣f(x)−f(x′)∣≤L∥x−x′∥2​ for all x,x′x,x'x,x′.

Formalization targets

Goal — Theorem 3.4 (separately convex Lipschitz concentration)

Let {Xi}i=1n\{X_i\}_{i=1}^n{Xi​}i=1n​ be independent, each supported on [a,b][a,b][a,b], and fff separately convex and LLL-Lipschitz. Then for all δ>0\delta>0δ>0,

P[f(X)≥E[f(X)]+δ]  ≤  exp⁡(−δ24L2(b−a)2).\mathbb P[f(X)\ge\mathbb E[f(X)]+\delta] \;\le\; \exp\Big(-\frac{\delta^2}{4L^2(b-a)^2}\Big).P[f(X)≥E[f(X)]+δ]≤exp(−4L2(b−a)2δ2​).

Milestone — Proposition 3.2 (the Herbst argument)

If H(eλX)≤12σ2λ2φX(λ)H(e^{\lambda X})\le\tfrac12\sigma^2\lambda^2\varphi_X(\lambda)H(eλX)≤21​σ2λ2φX​(λ) for all λ∈I\lambda\in Iλ∈I (I=[0,∞)I=[0,\infty)I=[0,∞) or R\mathbb RR), then log⁡E[eλ(X−E[X])]≤12λ2σ2\log\mathbb E[e^{\lambda(X-\mathbb E[X])}]\le \tfrac12\lambda^2\sigma^2logE[eλ(X−E[X])]≤21​λ2σ2 for all λ∈I\lambda\in Iλ∈I — the basic entropy-to-sub-Gaussian-tail conversion.

Milestone — Proposition 3.3 (the Bernstein entropy bound)

The sub-exponential analogue: if H(eλX)≤λ2{bφX′(λ)+φX(λ)(σ2−bE[X])}H(e^{\lambda X})\le\lambda^2\{b\varphi_X'(\lambda)+ \varphi_X(\lambda)(\sigma^2-b\mathbb E[X])\}H(eλX)≤λ2{bφX′​(λ)+φX​(λ)(σ2−bE[X])} for λ∈[0,1/b)\lambda\in[0,1/b)λ∈[0,1/b), then log⁡E[eλ(X−E[X])]≤σ2λ2(1−bλ)−1\log\mathbb E[e^{\lambda(X-\mathbb E[X])}]\le\sigma^2\lambda^2(1-b\lambda)^{-1}logE[eλ(X−E[X])]≤σ2λ2(1−bλ)−1 on the same range.

Significance

Propositions 3.2 and 3.3 are the two basic entropy-to-tail conversions the entire chapter's entropic method rests on — every subsequent Lipschitz-concentration result in the chapter (including Theorem 3.4 and the more advanced Theorem 3.24) is obtained by first establishing an entropy bound of one of these two forms and then invoking the corresponding proposition. Theorem 3.4 is itself the direct analogue, for independent bounded variables, of Chapter 2's Gaussian Lipschitz concentration (Theorem 2.26) — but crucially requires the extra hypothesis of separate convexity, which the Gaussian case does not need and which cannot be dropped in general.

Formalizing it. No faithful prior art exists on the platform. The one candidate flagged in BRIEF.md, Talagrand.lipschitz_concentration, was read in full: it is a weighted-Hamming- distance concentration bound for functions on a finite-alphabet product space Fin n → α, proved via Talagrand's convex-distance method — a different underlying space (finite alphabet vs. real-valued bounded coordinates) and a different Lipschitz norm (weighted Hamming vs. Euclidean) from Theorem 3.4, and not reused here. A search for "log-Sobolev" and "Herbst" turned up bousquet_herbst_cgf_le_phi_via_herbst/bousquet_herbst_cgf_le_phi_double_integration: these are abstract calculus lemmas about a generic function GGG satisfying an ODE-type growth condition (G′′≤vexG''\le ve^xG′′≤vex), concluding G(L)≤v(eL−1−L)G(L)\le v(e^L-1-L)G(L)≤v(eL−1−L) — a genuinely different statement shape from Proposition 3.2/3.3's entropy-to-CGF conversions (which conclude a quadratic, not exponential, bound on log⁡E[eλ(X−EX)]\log\mathbb E[e^{\lambda(X-\mathbb EX)}]logE[eλ(X−EX)]), and not a faithful match. All three theorems here are drafted as open goals (:= by sorry).

Difficulty

The naive approach to Theorem 3.4 — try to adapt the bounded-differences (martingale) method of Chapter 2 directly — fails, because the bounded-differences method needs fff to have small coordinatewise oscillation in an absolute sense, while separate convexity alone gives no such uniform bound (a separately convex function can vary arbitrarily fast within the interior of its domain, only its slope is controlled by the Lipschitz condition). The entropic method sidesteps this by working with the φ\varphiφ-entropy of eλf(X)e^{\lambda f(X)}eλf(X) directly: entropy has a tensorization property across independent coordinates (not itself part of this mission, but what the entropic method's proof of Theorem 3.4 uses) that reduces a multivariate entropy bound to a sum of "one coordinate at a time" contributions, each of which convexity and the Lipschitz condition jointly control — a route with no analogue in the bounded-differences approach.

Formalization scope

Separate convexity and Euclidean-Lipschitzness are both restated locally in this chapter's own sub-namespace (HighDimStat.Concentration), per this book series' rule against importing another chapter's draft definitions, even though Chapter 2 already defines an IsLLipschitz for the same Euclidean condition. φ_X'(\lambda)$ (Proposition 3.3) is realized via Mathlib's deriv, a legitimate way to state a hypothesis on a derivative without separately proving differentiability, appropriate at the draft-statement stage. Explicit Integrable` hypotheses guard the Bochner integral's junk value on non-integrable functions throughout (trap 2), not literal in the book's own propositions but implied by what "the entropy H(eλX)H(e^{\lambda X})H(eλX) exists" (an explicit qualifier the book itself makes when introducing Eq. (3.2)) means.

Goal substitution, disclosed. BRIEF.md recommends Theorem 3.24 (the two-sided, jointly convex analogue) as the primary goal, but explicitly names Theorem 3.4 as a fallback "if 3.24's dependence on the unnumbered transportation-cost inequality (Eq. 3.73, attributed to Samson) proves too heavy to state faithfully in the time available." Theorem 3.24's proof route depends on Theorem 3.19 (a general "transportation cost implies concentration" result for an abstract metric measure space, itself needing a from-scratch formalization of the transportation-cost inequality (3.58) and the concentration function αP,(X,ρ)\alpha_{P,(\mathcal X,\rho)}αP,(X,ρ)​) plus the unproven-in-chapter Eq. (3.73). Building this full stack faithfully was judged to exceed this chunk's time budget; Theorem 3.4 is drafted instead, using this mission's own budget on Propositions 3.2 and 3.3 (the two most load-bearing entropy-to-tail conversions of the chapter) rather than the heavier transportation-cost machinery. Theorem 3.19, Theorem 3.24, and Eq. (3.73) are all out of scope for this mission and named here as natural follow-on work.

Selected references

  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019. DOI: 10.1017/9781108627771. Chapter 3.
  • M. Ledoux, The Concentration of Measure Phenomenon, American Mathematical Society, 2001.
  • I. Herbst, unpublished (the argument bearing his name is attributed in Ledoux (2001) and standard references on log-Sobolev inequalities).
8 thms5 active usersReviewed
Machine LearningOptimizationProbability·Captain: mikedeng1

Variance-based Regularization with Convex Objectives III: Localized-Rademacher Risk Bounds for the Robust MinimizerResearch Paper

Why variance-regularized risk bounds

In statistical learning, one picks a function fff from a class F\mathcal FF to make the population risk E[f]\mathbb E[f]E[f] small, with access only to an i.i.d. sample x1,…,xnx_1,\dots,x_nx1​,…,xn​ from an unknown distribution PPP. Empirical risk minimization replaces E[f]\mathbb E[f]E[f] by the empirical mean EP^n[f]\mathbb E_{\widehat P_n}[f]EPn​​[f], and its classical guarantees decay like 1/n1/\sqrt n1/n​ regardless of how concentrated fff is. Bernstein-type inequalities show that the deviation of EP^n[f]\mathbb E_{\widehat P_n}[f]EPn​​[f] from E[f]\mathbb E[f]E[f] scales with the standard deviation of fff, so a procedure that minimizes "empirical risk plus a standard-deviation penalty" can, in principle, achieve faster rates when the variance at the optimum is small (Maurer and Pontil, 2009). The penalized objective is non-convex even when every fff is convex in its parameters, which makes it hard to optimize.

J. C. Duchi and H. Namkoong (arXiv:1610.02581v3, 2017) replace the penalty by a distributionally robust objective: the worst-case risk over all reweightings of the sample within a χ2\chi^2χ2-divergence ball. This objective is convex whenever the losses are, and (Theorem 1 of the paper) it equals the empirical mean plus a standard-deviation penalty up to an error of order 1/n1/n1/n. This mission formalizes the paper's guarantee for the minimizer of that robust objective in terms of localized Rademacher complexities (Section 3.2, Theorem 4), the sharpest of the paper's three generalization analyses. It is the third of four missions on the paper.

Setting

Let PPP be a probability measure on a measurable space X\mathcal XX and x1,…,xnx_1,\dots,x_nx1​,…,xn​, n≥1n\ge1n≥1, an i.i.d. sample from PPP with empirical distribution P^n\widehat P_nPn​. Let M≥1M\ge1M≥1 and let F\mathcal FF be a collection of measurable functions f:X→[0,M]f:\mathcal X\to[0,M]f:X→[0,M] (losses).

  • The χ2\chi^2χ2 ball of radius ρ≥0\rho\ge0ρ≥0 is the set Pn\mathcal P_nPn​ of weight vectors p∈Rnp\in\mathbb R^np∈Rn with pi≥0p_i\ge0pi​≥0, ∑ipi=1\sum_ip_i=1∑i​pi​=1 and 12∑i(npi−1)2≤ρ\frac12\sum_i(np_i-1)^2\le\rho21​∑i​(npi​−1)2≤ρ; equivalently, the distributions PPP on the sample with Dϕ(P∥P^n)≤ρ/nD_\phi(P\|\widehat P_n)\le\rho/nDϕ​(P∥Pn​)≤ρ/n for ϕ(t)=12(t−1)2\phi(t)=\frac12(t-1)^2ϕ(t)=21​(t−1)2.
  • The robust risk of fff is sup⁡P: Dϕ(P∥P^n)≤ρ/nEP[f]=sup⁡p∈Pn∑ipif(xi)\sup_{P:\,D_\phi(P\|\widehat P_n)\le\rho/n}\mathbb E_P[f]=\sup_{p\in\mathcal P_n}\sum_ip_if(x_i)supP:Dϕ​(P∥Pn​)≤ρ/n​EP​[f]=supp∈Pn​​∑i​pi​f(xi​), and a robust minimizer f^\widehat ff​ minimizes it over F\mathcal FF.
  • The empirical Rademacher complexity is Rn(F)=Eε[sup⁡f∈F1n∑iεif(xi)]\mathfrak R_n(\mathcal F)=\mathbb E_\varepsilon\big[\sup_{f\in\mathcal F}\frac1n\sum_i\varepsilon_if(x_i)\big]Rn​(F)=Eε​[supf∈F​n1​∑i​εi​f(xi​)] with i.i.d. uniform signs εi∈{−1,1}\varepsilon_i\in\{-1,1\}εi​∈{−1,1}, and E[Rn(F)]\mathbb E[\mathfrak R_n(\mathcal F)]E[Rn​(F)] averages it over the sample.
  • A function ψ:R+→R+\psi:\mathbb R_+\to\mathbb R_+ψ:R+​→R+​ is sub-root if it is nonnegative, nondecreasing, and r↦ψ(r)/rr\mapsto\psi(r)/\sqrt rr↦ψ(r)/r​ is nonincreasing on r>0r>0r>0.
  • The localization inequality (20) asks that, for all r≥0r\ge0r≥0,
ψn(r) ≥ E[Rn({cf:f∈F, c∈[0,1], E[c2f2]≤r})],\psi_n(r)\ \ge\ \mathbb E\big[\mathfrak R_n(\{cf : f\in\mathcal F,\ c\in[0,1],\ \mathbb E[c^2f^2]\le r\})\big],ψn​(r) ≥ E[Rn​({cf:f∈F, c∈[0,1], E[c2f2]≤r})],

with ψn\psi_nψn​ sub-root, and rn⋆>0r_n^\star>0rn⋆​>0 is a point with rn⋆≥ψn(rn⋆)r_n^\star\ge\psi_n(r_n^\star)rn⋆​≥ψn​(rn⋆​).

Formalization targets

Goal: Theorem 4, inequality (23), as its proof establishes it

Let 0<t<n0<t<n0<t<n and let ρ\rhoρ satisfy (21): ρn≥8(45Mn(t+log⁡⌈log⁡nt⌉)+18rn⋆)\frac\rho n\ge8\big(\frac{45M}n\big(t+\log\lceil\log\frac nt\rceil\big)+18r_n^\star\big)nρ​≥8(n45M​(t+log⌈logtn​⌉)+18rn⋆​). With probability at least 1−4e−t1-4e^{-t}1−4e−t, every robust minimizer f^\widehat ff​ satisfies

E[f^] ≤ (1+22ρn)inf⁡f∈F(E[f]+182ρ45nVar(f))+(14+62ρn)M(3ρ+t)n.\mathbb E[\widehat f]\ \le\ \Big(1+2\sqrt{\tfrac{2\rho}n}\Big)\inf_{f\in\mathcal F}\Big(\mathbb E[f]+\sqrt{\tfrac{182\rho}{45n}\mathrm{Var}(f)}\Big)+\Big(14+6\sqrt{\tfrac{2\rho}n}\Big)\frac{M(3\rho+t)}n .E[f​] ≤ (1+2n2ρ​​)f∈Finf​(E[f]+45n182ρ​Var(f)​)+(14+6n2ρ​​)nM(3ρ+t)​.

Milestones

In attack order: Bousquet's form of Talagrand's inequality (Lemma B.2); the elementary root bound (Lemma D.4); the contraction principle (Lemma D.5, a published theorem); the uniform Bernstein inequality with Rademacher complexity (Lemma D.1); its localized version in terms of rn⋆r_n^\starrn⋆​ (Lemma D.2); localized second-moment bounds (Lemma D.3); the deterministic expansion (10) of Theorem 1,

(2ρnsn2−2Mρn)+≤sup⁡PEP[Z]−EP^n[Z]≤2ρnsn2;\Big(\sqrt{\tfrac{2\rho}n s_n^2}-\tfrac{2M\rho}n\Big)_+\le\sup_{P}\mathbb E_P[Z]-\mathbb E_{\widehat P_n}[Z]\le\sqrt{\tfrac{2\rho}ns_n^2};(n2ρ​sn2​​−n2Mρ​)+​≤Psup​EP​[Z]−EPn​​[Z]≤n2ρ​sn2​​;

and the uniform bound (22): with probability at least 1−2e−t1-2e^{-t}1−2e−t, for all f∈Ff\in\mathcal Ff∈F,

E[f]≤(1+22ρn)sup⁡P: Dϕ(P∥P^n)≤ρ/nEP[f]+(13+42ρn)Mρn.\mathbb E[f]\le\Big(1+2\sqrt{\tfrac{2\rho}n}\Big)\sup_{P:\,D_\phi(P\|\widehat P_n)\le\rho/n}\mathbb E_P[f]+\Big(13+4\sqrt{\tfrac{2\rho}n}\Big)\frac{M\rho}n .E[f]≤(1+2n2ρ​​)P:Dϕ​(P∥Pn​)≤ρ/nsup​EP​[f]+(13+4n2ρ​​)nMρ​.

Significance

The bound (23) says that the robust minimizer competes with the best trade-off between risk and standard deviation in the class, and that the complexity of the class enters only through the fixed point rn⋆r_n^\starrn⋆​ of a localized complexity bound. For bounded VC classes rn⋆r_n^\starrn⋆​ is of order dlog⁡(n/d)n\frac{d\log(n/d)}nndlog(n/d)​ (Bartlett, Bousquet and Mendelson, 2005, Corollary 3.7), so when the optimal function has small variance the excess risk is of order ρ/n\rho/nρ/n, faster than the 1/n1/\sqrt n1/n​ of uniform covering arguments; and localized complexities apply to classes, such as balls of reproducing kernel Hilbert spaces, whose covering numbers are too large for the covering-number analysis of the paper's Theorem 3 (mission II of this series).

The paper's result is proved, not open. No part of it, and none of the localized-complexity machinery of Bartlett, Bousquet and Mendelson, is formalized in Lean or Mathlib to our knowledge. The mission produces a checked version of the theorem with every constant explicit and, along the way, the localization lemmas D.1–D.3, which are reusable for any localized-complexity analysis. Reading the proof also exposed three arithmetic slips in the printed statements; the mission states what the proof establishes (see Formalization scope).

Difficulty

The obvious route applies a uniform concentration inequality to F\mathcal FF and then a Bernstein bound to each fff. Talagrand's inequality applied to the whole class gives a deviation governed by the largest variance in the class and by the global complexity E[Rn(F)]\mathbb E[\mathfrak R_n(\mathcal F)]E[Rn​(F)], which yields only 1/n1/\sqrt n1/n​ rates. Obtaining a deviation that scales with each function's own second moment requires peeling the class into shells of comparable second moment and a fixed-point argument on the sub-root bound, with a union bound whose cost appears as log⁡⌈log⁡nt⌉\log\lceil\log\frac nt\rceillog⌈logtn​⌉. The two directions of the localized inequalities (population to sample, and sample to population for second moments) must then be combined with the deterministic expansion (10) while keeping the constants explicit. A further subtlety is the self-normalized rescaling f↦r/(E[f2]∨r) ff\mapsto\sqrt{r/(\mathbb E[f^2]\vee r)}\,ff↦r/(E[f2]∨r)​f, which differs from the variance normalization of Bartlett et al. and is what makes the bound compatible with the robust objective.

Formalization scope

Lean conventions. The sample is the coordinate map of the product measure PnP^nPn on Fin n → X. Distributions on the sample are weight vectors in the χ2\chi^2χ2 ball; the robust risk is the real supremum over that ball (attained, since the ball is nonempty and compact for n≥1n\ge1n≥1, ρ≥0\rho\ge0ρ≥0). Population means and variances are ∫ x, f x ∂P and ProbabilityTheory.variance f P for measurable bounded fff; empirical means and variances are normalized by 1/n1/n1/n. The empirical Rademacher complexity is the published UnderstandingML_Rademacher definition evaluated on {(f(x1),…,f(xn))}\{(f(x_1),\dots,f(x_n))\}{(f(x1​),…,f(xn​))}. Its expectation is a Bochner integral, and every hypothesis that bounds it also asserts that the integrand is integrable: otherwise the integral is 000, (20) would hold for free, and the theorem would be false. Probability bounds are stated for the failure event under PnP^nPn (an outer measure when the event is not measurable). The goal speaks about every minimizer of the robust risk, so it is not vacuous when the set of minimizers is empty. The condition rn⋆>0r_n^\star>0rn⋆​>0 is part of the page's "root" (and the proof divides by rn⋆\sqrt{r_n^\star}rn⋆​​); with rn⋆=0r_n^\star=0rn⋆​=0 allowed, ψ(r)=r\psi(r)=\sqrt rψ(r)=r​ would remove the complexity term from (21). The condition t<nt<nt<n makes log⁡⌈log⁡nt⌉\log\lceil\log\frac nt\rceillog⌈logtn​⌉ defined.

Corrections of printed statements, each recorded in the item's docstring and Formalization Note (the milestone texts stay verbatim):

  • (22) is stated with probability 1−2e−t1-2e^{-t}1−2e−t; the paper prints 1−e−t1-e^{-t}1−e−t, and its proof (p. 41) concludes 1−2e−t1-2e^{-t}1−2e−t.
  • (23) is stated with probability 1−4e−t1-4e^{-t}1−4e−t (printed 1−3e−t1-3e^{-t}1−3e−t; the proof adds two fixed-fff events to the two of (22)) and with 182ρ45n\frac{182\rho}{45n}45n182ρ​ (printed 91ρ45n\frac{91\rho}{45n}45n91ρ​; the proof's step ρ+t≤91ρ/45\sqrt\rho+\sqrt t\le\sqrt{91\rho/45}ρ​+t​≤91ρ/45​ multiplies 2Var(f)/n\sqrt{2\mathrm{Var}(f)/n}2Var(f)/n​).
  • Lemma D.3 is stated with the additive term 72M2(1+η)rn⋆+(4(1+η)+143)M2tn72M^2(1+\eta)r_n^\star+(4(1+\eta)+\frac{14}3)\frac{M^2t}n72M2(1+η)rn⋆​+(4(1+η)+314​)nM2t​ and, in the reversed direction, the coefficient 1+11+η1+\frac1{1+\eta}1+1+η1​, as its proof yields (printed: Mtn(4+73M)\frac{Mt}n(4+\frac73M)nMt​(4+37​M) and 1+η1+η1+\frac\eta{1+\eta}1+1+ηη​), under Theorem 4's standing hypothesis M≥1M\ge1M≥1.
  • Lemma D.5 is linked to the published contraction lemma UnderstandingML.contraction_lemma, which states it at a fixed sample for nonempty bounded classes and allows a different Lipschitz map per coordinate.

Contributions welcome: proofs of the milestones in any order; Lemma B.2 (Bousquet's inequality) is the deepest single ingredient and is reusable well beyond this mission, as are the peeling Lemma D.1 and the sub-root fixed-point Lemma D.2.

Selected references

  • J. C. Duchi and H. Namkoong, Variance-based regularization with convex objectives, arXiv:1610.02581v3, 2017. https://arxiv.org/abs/1610.02581
  • P. L. Bartlett, O. Bousquet and S. Mendelson, Local Rademacher complexities, Annals of Statistics 33(4), 2005. https://doi.org/10.1214/009053605000000282
  • O. Bousquet, A Bennett concentration inequality and its application to suprema of empirical processes, Comptes Rendus Mathématique 334(6), 2002. https://doi.org/10.1016/S1631-073X(02)02292-6
  • A. Maurer and M. Pontil, Empirical Bernstein bounds and sample variance penalization, COLT 2009. https://arxiv.org/abs/0907.3740
  • M. Ledoux and M. Talagrand, Probability in Banach Spaces, Springer, 1991. https://doi.org/10.1007/978-3-642-20212-4
14 thms4 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence III: δ-PAC Guarantee of Chernoff's Stopping Rule for Bernoulli BanditsResearch Paper

Motivation

In best arm identification with fixed confidence, a learner samples KKK unknown distributions ("arms") one at a time, and must eventually stop and name the arm with the largest mean, with an error probability at most a prescribed risk δ\deltaδ, while using as few samples as possible. The problem goes back to the sequential design of experiments (Chernoff, 1959; Even-Dar, Mannor and Mansour, 2006) and underlies adaptive A/B testing, clinical trial design and hyperparameter selection.

Any fixed-confidence strategy consists of three parts: a sampling rule, a stopping rule and a decision rule. Garivier and Kaufmann (arXiv:1602.04589, COLT 2016) proposed the Track-and-Stop strategy, the first shown to match the asymptotic lower bound on the expected sample complexity. Its stopping rule is a generalized likelihood ratio (GLR) test, Chernoff's stopping rule. Its correctness, the guarantee that the recommended arm is wrong with probability at most δ\deltaδ, must hold whatever the sampling rule, which is what allows the sampling rule to be tuned freely for efficiency. This mission formalizes that guarantee for Bernoulli arms, Theorem 10 of the paper, with its explicit threshold β(t,δ)=log⁡(2t(K−1)/δ)\beta(t,\delta) = \log(2t(K-1)/\delta)β(t,δ)=log(2t(K−1)/δ).

Setting

The arms are A={1,…,K}\mathcal A = \{1,\dots,K\}A={1,…,K}. A Bernoulli bandit model is a mean vector μ=(μ1,…,μK)∈[0,1]K\boldsymbol\mu = (\mu_1,\dots,\mu_K) \in [0,1]^Kμ=(μ1​,…,μK​)∈[0,1]K: pulling arm aaa returns reward 111 with probability μa\mu_aμa​ and 000 otherwise, independently of the past. The class S\mathcal SS contains the models with a unique optimal arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ), i.e. μa∗>μi\mu_{a^*} > \mu_iμa∗​>μi​ for all i≠a∗i \ne a^*i=a∗.

At round ttt the learner chooses an arm AtA_tAt​ as a (possibly randomized) function of the past observations and observes a reward XtX_tXt​. Write Na(t)N_a(t)Na​(t) for the number of pulls of arm aaa among the first ttt rounds, sa(t)s_a(t)sa​(t) for the number of those pulls that returned 111, and μ^a(t)=Na(t)−1∑s≤tXs1{As=a}\hat\mu_a(t) = N_a(t)^{-1}\sum_{s \le t} X_s \mathbb 1\{A_s = a\}μ^​a​(t)=Na​(t)−1∑s≤t​Xs​1{As​=a} for the empirical mean. The likelihood of arm aaa's observations under mean uuu is pu(X‾Na(t)a)=usa(t)(1−u)Na(t)−sa(t)p_u(\underline X^a_{N_a(t)}) = u^{s_a(t)}(1-u)^{N_a(t)-s_a(t)}pu​(X​Na​(t)a​)=usa​(t)(1−u)Na​(t)−sa​(t).

The GLR statistic for "arm aaa is at least as good as arm bbb" is

Za,b(t)=log⁡max⁡μa′≥μb′pμa′(X‾Na(t)a) pμb′(X‾Nb(t)b)max⁡μa′≤μb′pμa′(X‾Na(t)a) pμb′(X‾Nb(t)b).Z_{a,b}(t) = \log \frac{\max_{\mu'_a \ge \mu'_b} p_{\mu'_a}(\underline X^a_{N_a(t)})\, p_{\mu'_b}(\underline X^b_{N_b(t)})}{\max_{\mu'_a \le \mu'_b} p_{\mu'_a}(\underline X^a_{N_a(t)})\, p_{\mu'_b}(\underline X^b_{N_b(t)})}.Za,b​(t)=logmaxμa′​≤μb′​​pμa′​​(X​Na​(t)a​)pμb′​​(X​Nb​(t)b​)maxμa′​≥μb′​​pμa′​​(X​Na​(t)a​)pμb′​​(X​Nb​(t)b​)​.

Chernoff's stopping rule with exploration rate β(t,δ)\beta(t,\delta)β(t,δ) is

τδ=inf⁡{t≥1:∃a∈A, ∀b≠a, Za,b(t)>β(t,δ)},\tau_\delta = \inf\{t \ge 1 : \exists a \in \mathcal A,\ \forall b \ne a,\ Z_{a,b}(t) > \beta(t,\delta)\},τδ​=inf{t≥1:∃a∈A, ∀b=a, Za,b​(t)>β(t,δ)},

and the decision rule recommends a^τδ∈argmax⁡aμ^a(τδ)\hat a_{\tau_\delta} \in \operatorname{argmax}_a \hat\mu_a(\tau_\delta)a^τδ​​∈argmaxa​μ^​a​(τδ​).

The Krichevsky–Trofimov (KT) distribution on binary sequences x∈{0,1}nx \in \{0,1\}^nx∈{0,1}n is kt(x)=∫01(πu(1−u))−1pu(x) du\mathrm{kt}(x) = \int_0^1 \big(\pi\sqrt{u(1-u)}\big)^{-1} p_u(x)\,\mathrm dukt(x)=∫01​(πu(1−u)​)−1pu​(x)du, the Bernoulli likelihood mixed over the Beta(1/2,1/2)(1/2,1/2)(1/2,1/2) prior.

Formalization targets

Goal: Theorem 10

For every δ∈(0,1)\delta \in (0,1)δ∈(0,1), every sampling strategy, and the threshold β(t,δ)=log⁡(2t(K−1)/δ)\beta(t,\delta) = \log\big(2t(K-1)/\delta\big)β(t,δ)=log(2t(K−1)/δ),

∀μ∈S,Pμ(τδ<∞, a^τδ≠a∗)≤δ.\forall \boldsymbol\mu \in \mathcal S,\qquad \mathbb P_{\boldsymbol\mu}\big(\tau_\delta < \infty,\ \hat a_{\tau_\delta} \ne a^*\big) \le \delta .∀μ∈S,Pμ​(τδ​<∞, a^τδ​​=a∗)≤δ.

Milestone: Lemma 11 (Willems, Shtarkov and Tjalkens, 1995)

kt\mathrm{kt}kt is a probability law on {0,1}n\{0,1\}^n{0,1}n, and for n≥1n \ge 1n≥1,

sup⁡x∈{0,1}n sup⁡u∈[0,1]pu(x)kt(x)≤2n.\sup_{x\in\{0,1\}^n}\ \sup_{u\in[0,1]} \frac{p_u(x)}{\mathrm{kt}(x)} \le 2\sqrt n .x∈{0,1}nsup​ u∈[0,1]sup​kt(x)pu​(x)​≤2n​.

Milestone: the pairwise crossing bound of Appendix C.1

With Ta,b=inf⁡{t:Za,b(t)>β(t,δ)}T_{a,b} = \inf\{t : Z_{a,b}(t) > \beta(t,\delta)\}Ta,b​=inf{t:Za,b​(t)>β(t,δ)}, for all arms with μa<μb\mu_a < \mu_bμa​<μb​,

Pμ(Ta,b<∞)≤δK−1.\mathbb P_{\boldsymbol\mu}(T_{a,b} < \infty) \le \frac{\delta}{K-1}.Pμ​(Ta,b​<∞)≤K−1δ​.

Significance

Theorem 10 decouples correctness from efficiency. Because the guarantee holds for every sampling strategy, any sampling rule, including the C-Tracking and D-Tracking rules of Track-and-Stop, the uniform rule, or a heuristic, inherits δ\deltaδ-correctness as soon as it is paired with Chernoff's stopping rule at this threshold. The asymptotic optimality result of the paper (Theorem 14) then only has to control the sample complexity. The threshold is explicit, with no unspecified constant, in contrast to the deviational threshold of Proposition 12.

The result is proved in the paper, in Appendix C.1, and rests on Lemma 11, which the paper quotes from the universal coding literature without proof. As far as the platform's catalog shows, none of these results is formalized. The platform holds a machine-checkable statement of the analogous result for Gaussian arms with the Lattimore–Szepesvári threshold (BanditAlgorithm.chernoff_stopping_rule_sound, Lemma 33.7 of Bandit Algorithms), which is a different model and a different threshold. Formalizing Theorem 10 adds a proof of Lemma 11 (the KT regret bound, reusable in information theory and universal prediction), the Bernoulli GLR statistic, and a change of measure from the true bandit law to a Bayesian mixture law on the trajectory space.

Difficulty

The obvious approach bounds, for each fixed ttt, the probability that Za,b(t)Z_{a,b}(t)Za,b​(t) exceeds β(t,δ)\beta(t,\delta)β(t,δ) by a concentration inequality and sums over ttt. This fails: the sampling strategy is arbitrary and adaptive, so Na(t)N_a(t)Na​(t) and Nb(t)N_b(t)Nb​(t) are random and depend on the past rewards, and a fixed-sample-size deviation bound does not apply; a union bound over the possible values of the counts loses more than the threshold allows. The maximum likelihood in the numerator of Za,bZ_{a,b}Za,b​ is also not a probability density, so the likelihood ratio cannot directly be read as a change of measure. The argument must control the whole trajectory law under an arbitrary randomized policy, and must handle empty samples (an arm never pulled contributes likelihood 111) and the boundary means 000 and 111.

Formalization scope

The formalization is in Lean 4 with Mathlib and reuses the platform's canonical bandit model: StochasticBandit, BanditPolicy (a Markov kernel per round from the observed history to the next arm, so randomized strategies are included), banditTrajMeasure (the law of the infinite trajectory, where coordinate sss is round s+1s+1s+1) and IsSoundBAI from BanditTrajectory; bernoulliBandit from bernoulliRelativeEntropy; and only the pull counts trajPullCount and empirical means trajEmpiricalMean from TrackAndStop. The Gaussian GLR and threshold of TrackAndStop are not used.

Conventions committed to:

  • Arms are Fin K. Bernoulli means range over [0,1][0,1][0,1], degenerate laws included; the paper's exponential-family mean space is (0,1)(0,1)(0,1), so the [0,1][0,1][0,1] statement implies the paper's.
  • Za,b(t)Z_{a,b}(t)Za,b​(t) is defined as the ratio of the two maxima over [0,1]2[0,1]^2[0,1]2, not by the closed form (7), which holds only when μ^a(t)≥μ^b(t)\hat\mu_a(t) \ge \hat\mu_b(t)μ^​a​(t)≥μ^​b​(t). Both maxima are attained and positive.
  • The stopping rule ranges over t≥1t \ge 1t≥1; at t=0t = 0t=0 there is no observation and the paper's β(0,δ)=log⁡0\beta(0,\delta) = \log 0β(0,δ)=log0 is undefined. τδ=∞\tau_\delta = \inftyτδ​=∞ when the rule never fires.
  • The decision rule is quantified: the goal holds for every recommendation that maximizes the empirical mean at τδ\tau_\deltaτδ​, whatever the tie-breaking.
  • Probabilities of events are outer measures under the trajectory law; no measurability is assumed.
  • K≥1K \ge 1K≥1 only. For K=1K = 1K=1 the statement is trivially true (no suboptimal arm).

Disclosed deviations from the page: Lemma 11's ratio bound is stated for n≥1n \ge 1n≥1, since at n=0n = 0n=0 the printed bound reads 1≤01 \le 01≤0; the use of the lemma in Appendix C.1 is unaffected. Appendix C.1 calls the result "Proposition 10" (a slip for Theorem 10) and prints the KT density as 1/πu(1−u)1/\sqrt{\pi u(1-u)}1/πu(1−u)​ (a slip for 1/(πu(1−u))1/(\pi\sqrt{u(1-u)})1/(πu(1−u)​) of Lemma 11, which is the normalized one); the formalization follows Lemma 11.

A trivializing formalization is ruled out: stating the result for Gaussian arms or with the Lattimore–Szepesvári threshold is the platform's existing Lemma 33.7 and is not Theorem 10, and a free decision rule without the argmax hypothesis would make the claim false rather than faithful.

Contributions welcome: a proof of Lemma 11; a change-of-measure lemma for banditTrajMeasure under a mixture of environments; and the union-bound reduction from the goal to the pairwise claim.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016 (JMLR W&CP 49), arXiv:1602.04589v2, 2016. https://arxiv.org/abs/1602.04589
  • F. M. J. Willems, Y. M. Shtarkov, T. J. Tjalkens, The context-tree weighting method: basic properties, IEEE Transactions on Information Theory 41(3), 1995. https://doi.org/10.1109/18.382012
  • R. Krichevsky, V. Trofimov, The performance of universal encoding, IEEE Transactions on Information Theory 27(2), 1981. https://doi.org/10.1109/TIT.1981.1056331
  • H. Chernoff, Sequential design of experiments, Annals of Mathematical Statistics 30(3), 1959. https://doi.org/10.1214/aoms/1177706205
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 33. https://doi.org/10.1017/9781108571401
10 thms4 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization+1·Captain: mikedeng1

A Distributional Interpretation of Robust Optimization II: Box-Robust Sample Average Optimization Is ConsistentResearch Paper

Why robustify a sampled stochastic program

Many decision problems under uncertainty take the form of a stochastic program: choose a decision vvv from a feasible set F\mathcal FF to maximise the expected utility Ex∼μ[f(v,x)]\mathbb E_{x\sim\mu}[f(v,x)]Ex∼μ​[f(v,x)], where the distribution μ\muμ of the uncertain parameter x∈Rmx\in\mathbb R^mx∈Rm is known only through i.i.d. samples x1,…,xnx_1,\dots,x_nx1​,…,xn​. The standard remedy, sample average approximation, maximises 1n∑if(v,xi)\frac1n\sum_i f(v,x_i)n1​∑i​f(v,xi​) instead. Its consistency (convergence of the optimal expected utility of its solutions to the true optimum) is classical, but it needs regularity assumptions of its own, for example those of King and Wets (Stochastics and Stochastic Reports, 1991), cited on p. 98 of the paper; the paper presents its construction as a route to consistency under weaker conditions.

Robust optimization (RO) takes a different route: it protects each sample by an uncertainty set and optimises against the worst point in it. Xu, Caramanis and Mannor (Math. Oper. Res. 2012) show that RO over several overlapping uncertainty sets is equivalent to a distributionally robust stochastic program (their Theorem 2.1, the subject of mission I of this series). Section 3 of the paper uses that equivalence to show that a specific robustification of the sampled problem, with ℓ∞\ell_\inftyℓ∞​ boxes of shrinking radius around each sample, is consistent under only boundedness and equicontinuity of fff. This mission formalizes that result, Theorem 3.1.

Setting

Equip Rm\mathbb R^mRm with the sup norm ∥z∥∞=max⁡k∣zk∣\|z\|_\infty=\max_k|z_k|∥z∥∞​=maxk​∣zk​∣, its Borel σ\sigmaσ-algebra and Lebesgue measure dxdxdx. The data are:

  • a set of decisions VVV and a nonempty feasible set F⊆V\mathcal F\subseteq VF⊆V;
  • a utility f:V×Rm→Rf:V\times\mathbb R^m\to\mathbb Rf:V×Rm→R, Borel measurable in xxx for each vvv;
  • a true density h∗h^*h∗ on Rm\mathbb R^mRm (nonnegative, ∫h∗ dx=1\int h^*\,dx=1∫h∗dx=1) and i.i.d. samples x1,x2,…x_1,x_2,\dotsx1​,x2​,… with distribution h∗(x) dxh^*(x)\,dxh∗(x)dx;
  • radii ϵ(n)>0\epsilon(n)>0ϵ(n)>0.

For a sample x1,…,xnx_1,\dots,x_nx1​,…,xn​ the boxes are Zi={xi+δ∣∥δ∥∞≤ϵ(n)}\mathcal Z_i=\{x_i+\delta\mid\|\delta\|_\infty\le\epsilon(n)\}Zi​={xi​+δ∣∥δ∥∞​≤ϵ(n)}, and the box-robust sample objective is

Jn(v)=1n∑i=1n inf⁡∥δi∥∞≤ϵ(n)f(v,xi+δi)=∑i=1n1ninf⁡xi′∈Zif(v,xi′).J_n(v)=\frac1n\sum_{i=1}^n\ \inf_{\|\delta_i\|_\infty\le\epsilon(n)}f(v,x_i+\delta_i)=\sum_{i=1}^n\frac1n\inf_{x_i'\in\mathcal Z_i}f(v,x_i').Jn​(v)=n1​i=1∑n​ ∥δi​∥∞​≤ϵ(n)inf​f(v,xi​+δi​)=i=1∑n​n1​xi′​∈Zi​inf​f(v,xi′​).

The RO solution v(n)v(n)v(n) is a maximiser of JnJ_nJn​ over F\mathcal FF. The equicontinuity modulus of fff is

d(ϵ)=sup⁡v, x, ∥δ∥∞≤ϵ∣f(v,x)−f(v,x+δ)∣.d(\epsilon)=\sup_{v,\,x,\ \|\delta\|_\infty\le\epsilon}|f(v,x)-f(v,x+\delta)|.d(ϵ)=v,x, ∥δ∥∞​≤ϵsup​∣f(v,x)−f(v,x+δ)∣.

The proof works with the distribution set Pn\mathcal P_nPn​ of probability measures μ\muμ with μ(⋃i∈SZi)≥∣S∣/n\mu(\bigcup_{i\in S}\mathcal Z_i)\ge|S|/nμ(⋃i∈S​Zi​)≥∣S∣/n for every S⊆{1,…,n}S\subseteq\{1,\dots,n\}S⊆{1,…,n}, and with the uniform box kernel density estimator

hn(x)=(nϵ(n)m)−1∑i=1nK(x−xiϵ(n)),K(z)=1(∥z∥∞≤1)2m.h_n(x)=(n\epsilon(n)^m)^{-1}\sum_{i=1}^nK\Big(\frac{x-x_i}{\epsilon(n)}\Big),\qquad K(z)=\frac{\mathbf 1(\|z\|_\infty\le1)}{2^m}.hn​(x)=(nϵ(n)m)−1i=1∑n​K(ϵ(n)x−xi​​),K(z)=2m1(∥z∥∞​≤1)​.

Formalization targets

Goal: Theorem 3.1 (p. 98)

Assume ∣f(v,x)∣≤C|f(v,x)|\le C∣f(v,x)∣≤C for all v,xv,xv,x; d(ϵ)→0d(\epsilon)\to0d(ϵ)→0 as ϵ↓0\epsilon\downarrow0ϵ↓0; ϵ(n)↓0\epsilon(n)\downarrow0ϵ(n)↓0 and nϵ(n)m↑∞n\epsilon(n)^m\uparrow\inftynϵ(n)m↑∞. Then for every choice of maximisers v(n)v(n)v(n), with probability one,

lim⁡n→∞∫Rmf(v(n),x) h∗(x) dx=sup⁡v∈F∫Rmf(v,x) h∗(x) dx.\lim_{n\to\infty}\int_{\mathbb R^m}f(v(n),x)\,h^*(x)\,dx=\sup_{v\in\mathcal F}\int_{\mathbb R^m}f(v,x)\,h^*(x)\,dx .n→∞lim​∫Rm​f(v(n),x)h∗(x)dx=v∈Fsup​∫Rm​f(v,x)h∗(x)dx.

Milestones (proof of Theorem 3.1, p. 99)

  1. hnh_nhn​ is the density of a probability measure in Pn\mathcal P_nPn​.
  2. Jn(v)≤∫f(v,x) hn(x) dxJ_n(v)\le\int f(v,x)\,h_n(x)\,dxJn​(v)≤∫f(v,x)hn​(x)dx for every vvv.
  3. Oscillation over a box: sup⁡Zif(v,⋅)−inf⁡Zif(v,⋅)≤d(2ϵ(n))\sup_{\mathcal Z_i}f(v,\cdot)-\inf_{\mathcal Z_i}f(v,\cdot)\le d(2\epsilon(n))supZi​​f(v,⋅)−infZi​​f(v,⋅)≤d(2ϵ(n)).
  4. Eq. (7): with Mn=C∫∣hn−h∗∣ dxM_n=C\int|h_n-h^*|\,dxMn​=C∫∣hn​−h∗∣dx, for every vvv,
Jn(v)−Mn≤∫f(v,x)h∗(x) dx≤Jn(v)+Mn+d(2ϵ(n)).J_n(v)-M_n\le\int f(v,x)h^*(x)\,dx\le J_n(v)+M_n+d(2\epsilon(n)).Jn​(v)−Mn​≤∫f(v,x)h∗(x)dx≤Jn​(v)+Mn​+d(2ϵ(n)).
  1. Strong L1L^1L1 consistency of the box kernel density estimator: if ϵ(n)→0\epsilon(n)\to0ϵ(n)→0 and nϵ(n)m→∞n\epsilon(n)^m\to\inftynϵ(n)m→∞, then ∫∣hn−h∗∣ dx→0\int|h_n-h^*|\,dx\to0∫∣hn​−h∗∣dx→0 almost surely.

Milestones 1–4 are deterministic statements about a fixed sample; milestone 5 is the only probabilistic input.

Significance

Theorem 3.1 gives consistency of a tractable robust reformulation of a sampled stochastic program under conditions the paper notes are weaker than those of King and Wets for sampled stochastic programs: fff need only be bounded and equicontinuous in xxx, uniformly in vvv, and the true distribution need only have a density. It also gives an explicit schedule for the size of the uncertainty set, ϵ(n)→0\epsilon(n)\to0ϵ(n)→0 with nϵ(n)m→∞n\epsilon(n)^m\to\inftynϵ(n)m→∞, the bandwidth condition of kernel density estimation. Section 4 of the paper applies the same distributional interpretation to regularised learning methods such as the support vector machine and the Lasso.

The result is proved in the paper, with the L1L^1L1 consistency of kernel density estimators (Devroye 1983; Devroye and Györfi 1985) cited rather than proved. No part of it is formalized in Lean or on this platform as far as a search of the platform found. A complete development would produce, besides Theorem 3.1, a machine-checked strong L1L^1L1 consistency theorem for kernel density estimators, which is a basic result of nonparametric statistics in its own right.

Difficulty

The deterministic part (milestones 1–4) is measure-theoretic bookkeeping: the kernel integrates to one only because the box is a sup-norm ball of volume (2ϵ)m(2\epsilon)^m(2ϵ)m, and every infimum and supremum must be handled with care, since fff need not attain them.

The obstacle is milestone 5. Almost-sure L1L^1L1 convergence of hnh_nhn​ to an arbitrary density h∗h^*h∗, with no continuity or support assumption, does not follow from the strong law of large numbers applied pointwise: hn(x)h_n(x)hn​(x) is an average of nnn terms whose law changes with nnn through ϵ(n)\epsilon(n)ϵ(n), and almost-sure convergence at each fixed xxx does not give convergence of the integral along a single sample path. The theorem needs both a bias estimate valid for every integrable density and a concentration estimate for the random L1L^1L1 error. Mathlib has Lebesgue differentiation and the strong law, but no kernel density estimator and no such concentration result.

Formalization scope

  • Rm\mathbb R^mRm is Fin m → ℝ, whose Mathlib norm is the sup norm; boxes are Metric.closedBall. The integrals ∫f(v,x)h∗(x) dx\int f(v,x)h^*(x)\,dx∫f(v,x)h∗(x)dx are Bochner integrals against Lebesgue measure of integrable integrands.
  • The samples are a sequence X : ℕ → Ω → Fin m → ℝ on a probability space, independent (iIndepFun) and each with law volume.withDensity h*; x1,x2,…x_1,x_2,\dotsx1​,x2​,… become X 0, X 1, …, and the nnn-th problem uses the first nnn. "With probability one" is ∀ᵐ ω ∂P.
  • The goal quantifies over every selection v(n)v(n)v(n) of maximisers, with no measurability assumed; a version with one chosen maximiser would be weaker and is ruled out.
  • Readings and corrections of the printed text:
    • the kernel argument printed (x−xi)/ϵ(x-x_i)/\epsilon(x−xi​)/ϵ on p. 98 is read as (x−xi)/ϵ(n)(x-x_i)/\epsilon(n)(x−xi​)/ϵ(n), as the proof on p. 99 writes it;
    • "max⁡v,x∣f(v,x)∣≤C\max_{v,x}|f(v,x)|\le Cmaxv,x​∣f(v,x)∣≤C" is read as the uniform bound ∣f∣≤C|f|\le C∣f∣≤C and the "max" in d(ϵ)d(\epsilon)d(ϵ) as a supremum;
    • "d(ϵ)↓0d(\epsilon)\downarrow0d(ϵ)↓0" is read as d(ϵ)→0d(\epsilon)\to0d(ϵ)→0 as ϵ↓0\epsilon\downarrow0ϵ↓0;
    • implicit hypotheses made explicit: F≠∅\mathcal F\ne\emptysetF=∅, ϵ(n)>0\epsilon(n)>0ϵ(n)>0, measurability of f(v,⋅)f(v,\cdot)f(v,⋅), h∗h^*h∗ a Lebesgue density;
    • the monotonicity in "ϵ(n)↓0\epsilon(n)\downarrow0ϵ(n)↓0, nϵ(n)m↑∞n\epsilon(n)^m\uparrow\inftynϵ(n)m↑∞" is kept in the goal; milestone 5 uses the limits only, as the paper states it;
    • the paper's MnM_nMn​ ("there exists {Mn}→0\{M_n\}\to0{Mn​}→0") is made explicit as Mn=C∫∣hn−h∗∣M_n=C\int|h_n-h^*|Mn​=C∫∣hn​−h∗∣, so Eq. (7) is stated for every sample.
  • Remark 3.2 and Appendix B (an integrable envelope in place of boundedness) are not part of this mission.
  • Every real infimum and supremum ranges over a nonempty set of values bounded by CCC in absolute value, so no statement holds through a junk value; a formalization in which the supremum over F\mathcal FF or the box infimum could be vacuous is excluded.
  • The definitions (boxes, Pn\mathcal P_nPn​, the kernel, the estimator, JnJ_nJn​, ddd) live in one definition file. Pn\mathcal P_nPn​ duplicates, with weights 1/n1/n1/n, the distribution set of mission I; the duplication is deliberate because draft missions cannot import each other.
  • Welcome contributions: the kernel density estimator and its strong L1L^1L1 consistency as reusable infrastructure, and any of the deterministic milestones.

Selected references

  • H. Xu, C. Caramanis, S. Mannor, A Distributional Interpretation of Robust Optimization, Mathematics of Operations Research 37(1):95–110, 2012. https://doi.org/10.1287/moor.1110.0531
  • L. Devroye, The equivalence of weak, strong and complete convergence in L1L_1L1​ for kernel density estimates, Annals of Statistics 11(3):896–904, 1983.
  • L. Devroye, L. Györfi, Nonparametric Density Estimation: The L1L_1L1​ View, Wiley, 1985.
  • A. J. King, R. J.-B. Wets, Epi-consistency of convex stochastic programs, Stochastics and Stochastic Reports 34(1), 1991 (reference [22] of the paper).
7 thms4 active usersReviewed
🏆Completed
Machine LearningProbability·Captain: mikedeng1

Learnability, Stability and Uniform Convergence III: For an ERM, Leave-One-Out Stability, Universal Consistency and Universal Generalization Are EquivalentResearch Paper

Motivation

Algorithmic stability asks how much the output of a learning algorithm changes when its training sample is perturbed. Since Devroye and Wagner (IEEE Trans. Inf. Theory 1979) it has served as a route to generalization bounds that does not go through the complexity of the hypothesis class. Bousquet and Elisseeff (JMLR 2002) popularised uniform stability, and Mukherjee, Niyogi, Poggio and Rifkin (Adv. Comput. Math. 2006) showed that for empirical risk minimisation in supervised learning, a leave-one-out type of stability is necessary and sufficient for consistency.

Shalev-Shwartz, Shamir, Srebro and Sridharan (JMLR 11, 2010) study stability in Vapnik's General Learning Setting, where uniform convergence can fail even though the problem is learnable. In Appendix A.2 they compare replace-one and leave-one-out (LOO) stability. For an empirical risk minimiser they prove that LOO stability is equivalent to consistency and to generalization, provided each property holds with one rate for all distributions (Theorem 31, p. 2667). This mission formalizes that theorem and the lemmas of Section 5.3 on which its proof rests.

Timeline:

  • 1979, Devroye–Wagner: leave-one-out estimates for local rules.
  • 2002, Bousquet–Elisseeff: uniform stability implies generalization.
  • 2002, Kutin–Niyogi (UAI 2002): a taxonomy of stability notions.
  • 2006, Mukherjee et al.: LOO stability characterises consistency of ERM in supervised learning.
  • 2010, Shalev-Shwartz et al.: in the General Learning Setting, for ERMs, LOO stability, universal consistency and universal generalization are equivalent (Theorem 31). Universally consistent AERMs need not be LOO stable (Example 6).

Setting

A learning problem consists of an instance space Z\mathcal ZZ with a σ\sigmaσ-algebra, a nonempty hypothesis class H\mathcal HH, and an objective f:H×Z→Rf:\mathcal H\times\mathcal Z\to\mathbb Rf:H×Z→R with ∣f(h;z)∣≤B|f(h;z)|\le B∣f(h;z)∣≤B for all h,zh,zh,z. For a probability measure D\mathcal DD on Z\mathcal ZZ:

  • the risk is F(h)=Ez∼D[f(h;z)]F(h)=\mathbb E_{z\sim\mathcal D}[f(h;z)]F(h)=Ez∼D​[f(h;z)] and the optimal risk is F∗=inf⁡hF(h)F^*=\inf_{h}F(h)F∗=infh​F(h);
  • for a sample S=(z1,…,zm)∼DmS=(z_1,\dots,z_m)\sim\mathcal D^mS=(z1​,…,zm​)∼Dm of mmm i.i.d. draws, the empirical risk is FS(h)=1m∑if(h;zi)F_S(h)=\frac1m\sum_{i}f(h;z_i)FS​(h)=m1​∑i​f(h;zi​), and FS(h^S)=inf⁡hFS(h)F_S(\hat h_S)=\inf_hF_S(h)FS​(h^S​)=infh​FS​(h) denotes the minimal empirical risk;
  • a learning rule AAA maps each sample of size m≥1m\ge1m≥1 to a hypothesis A(S)A(S)A(S). It is an ERM if FS(A(S))=FS(h^S)F_S(A(S))=F_S(\hat h_S)FS​(A(S))=FS​(h^S​) for every sample. It is an AERM with rate εerm\varepsilon_{\mathrm{erm}}εerm​ if E[FS(A(S))−FS(h^S)]≤εerm(m)\mathbb E[F_S(A(S))-F_S(\hat h_S)]\le\varepsilon_{\mathrm{erm}}(m)E[FS​(A(S))−FS​(h^S​)]≤εerm​(m);
  • AAA is consistent with rate ε\varepsilonε if ES∼Dm[F(A(S))−F∗]≤ε(m)\mathbb E_{S\sim\mathcal D^m}[F(A(S))-F^*]\le\varepsilon(m)ES∼Dm​[F(A(S))−F∗]≤ε(m). It generalizes with rate ε\varepsilonε if E[∣F(A(S))−FS(A(S))∣]≤ε(m)\mathbb E[|F(A(S))-F_S(A(S))|]\le\varepsilon(m)E[∣F(A(S))−FS​(A(S))∣]≤ε(m), and it on-average generalizes if ∣E[F(A(S))−FS(A(S))]∣≤ε(m)|\mathbb E[F(A(S))-F_S(A(S))]|\le\varepsilon(m)∣E[F(A(S))−FS​(A(S))]∣≤ε(m);
  • writing S∖iS^{\setminus i}S∖i for SSS with ziz_izi​ removed, AAA is LOO stable with rate ε\varepsilonε (Definition 29) if
1m∑i=1mES∼Dm[∣f(A(S∖i);zi)−f(A(S);zi)∣]≤ε(m).\frac1m\sum_{i=1}^m\mathbb E_{S\sim\mathcal D^m}\Big[\big|f(A(S^{\setminus i});z_i)-f(A(S);z_i)\big|\Big]\le\varepsilon(m).m1​i=1∑m​ES∼Dm​[​f(A(S∖i);zi​)−f(A(S);zi​)​]≤ε(m).

A rate is a sequence ε(m)\varepsilon(m)ε(m) that is non-increasing and tends to 000. A property holds universally if it holds under every D\mathcal DD with one and the same rate.

Formalization targets

Goal: Theorem 31

For an ERM AAA:

A universally LOO stable  ⟺  A universally consistent  ⟺  A universally generalizes.A\ \text{universally LOO stable}\iff A\ \text{universally consistent}\iff A\ \text{universally generalizes}.A universally LOO stable⟺A universally consistent⟺A universally generalizes.

The statement has no rates. Each side asserts that some rate exists and serves every distribution.

Milestones

In the order the proof uses them:

  1. Utility Lemma 12: E∣X−EX∣≤B/m\mathbb E|X-\mathbb EX|\le B/\sqrt mE∣X−EX∣≤B/m​ for the mean XXX of mmm i.i.d. variables bounded by BBB.
  2. Utility Lemma 13: X≤YX\le YX≤Y a.s. implies E∣X∣≤∣EX∣+2E∣Y∣\mathbb E|X|\le|\mathbb EX|+2\mathbb E|Y|E∣X∣≤∣EX∣+2E∣Y∣.
  3. Lemma 14: an AERM that on-average generalizes with rate εoag\varepsilon_{\mathrm{oag}}εoag​ generalizes with rate εoag+2εerm+2B/m\varepsilon_{\mathrm{oag}}+2\varepsilon_{\mathrm{erm}}+2B/\sqrt mεoag​+2εerm​+2B/m​.
  4. Lemma 15: under the same hypotheses the rule is consistent with rate εoag+εerm\varepsilon_{\mathrm{oag}}+\varepsilon_{\mathrm{erm}}εoag​+εerm​.
  5. Lemma 16 (Main Converse Lemma): in a learnable problem, E∣FS(h^S)−F∗∣≤2εcons(m′)+2B/m+2Bm′2/m\mathbb E|F_S(\hat h_S)-F^*|\le2\varepsilon_{\mathrm{cons}}(m')+2B/\sqrt m+2Bm'^2/mE∣FS​(h^S​)−F∗∣≤2εcons​(m′)+2B/m​+2Bm′2/m for 2≤m′≤m/22\le m'\le m/22≤m′≤m/2.
  6. Lemma 17: Eq. (12), together with an AERM that is consistent, gives generalization with rate εemp+εerm+εcons\varepsilon_{\mathrm{emp}}+\varepsilon_{\mathrm{erm}}+\varepsilon_{\mathrm{cons}}εemp​+εerm​+εcons​.
  7. First display of the proof of Theorem 31: a generalizing ERM is LOO stable with rate εgen(m−1)\varepsilon_{\mathrm{gen}}(m-1)εgen​(m−1).
  8. Second display: a LOO stable ERM on-average generalizes on samples of size m−1m-1m−1 with rate εstable(m)+2B/m\varepsilon_{\mathrm{stable}}(m)+2B/mεstable​(m)+2B/m.

Significance

Theorem 31 shows that for exact ERMs, LOO stability is not only sufficient but necessary for consistency. It transfers the supervised-learning characterisation of Mukherjee et al. to the General Learning Setting, where uniform convergence is no longer available as an intermediate. The hypothesis is sharp in one direction: Example 6 of the paper gives a universally consistent AERM that is not LOO stable. The equivalence therefore depends on exact minimisation, and an asymptotic minimiser does not suffice.

The lemmas are useful on their own. Lemmas 14 and 15 are the standard bridges between on-average generalization, generalization and consistency. Lemma 16 says that the minimal empirical risk estimates F∗F^*F∗ consistently in every learnable problem, even when no ERM learns. Lemma 16 also underlies Theorem 7, the paper's main characterisation of learnability, which is the subject of mission I of this series.

The results are proved in the paper. As far as is known they have not been formalized in any proof assistant. The platform has the textbook side of this framework (Shalev-Shwartz and Ben-David, Understanding Machine Learning, Chapter 13). Those statements are in Rd\mathbb R^dRd and use a replace-one stability notion; they do not cover leave-one-out stability or the General Learning Setting.

Difficulty

The implications between stability and generalization change the sample size: S∖iS^{\setminus i}S∖i has m−1m-1m−1 points, so a statement about the rule at size mmm has to be compared with the rule at size m−1m-1m−1 under the marginal law of the reduced sample. The step from universal consistency to generalization needs Lemma 16. That lemma estimates F∗F^*F∗ from a sample on which the ERM itself may be inconsistent, and it is the only place where universality of the consistency rate is used. Per-distribution consistency of an ERM does not imply generalization (Example 1 of the paper). An argument that fixes D\mathcal DD throughout therefore cannot succeed.

Formalization scope

Samples are tuples S:Fin m→ZS:\mathrm{Fin}\,m\to\mathcal ZS:Finm→Z with law Measure.pi (the i.i.d. product), and S∖iS^{\setminus i}S∖i is Fin.removeNth i S. A learning rule is a family Am:Zm→HA_m:\mathcal Z^m\to\mathcal HAm​:Zm→H. Its value at m=0m=0m=0 is never used, and LOO stability is required only for m≥2m\ge2m≥2. FS(h^S)F_S(\hat h_S)FS​(h^S​) is the infimum inf⁡hFS(h)\inf_hF_S(h)infh​FS​(h) and no minimiser is chosen. An ERM is a rule attaining this infimum at every sample. A rate is non-increasing on m≥1m\ge1m≥1 and tends to 000. Universal properties are stated as "there exists ε\varepsilonε with IsRate ε such that for every probability measure D\mathcal DD …", with the rate chosen before the distribution. The bound BBB is any bound on ∣f∣|f|∣f∣; the paper's BBB is sup⁡∣f∣\sup|f|sup∣f∣, and all its rates increase with BBB.

Measurability is not discussed in the paper. The formalization assumes that each f(h;⋅)f(h;\cdot)f(h;⋅) is measurable and that the rule is measurable in the sense that (S,z)↦f(Am(S);z)(S,z)\mapsto f(A_m(S);z)(S,z)↦f(Am​(S);z) is jointly measurable. Lemmas 14–17 also assume that S↦inf⁡hFS(h)S\mapsto\inf_hF_S(h)S↦infh​FS​(h) is measurable. For a measurable ERM this holds automatically, so Theorem 31 makes no such assumption. Without these assumptions Lean's integral of a non-measurable function is 000 and every rate bound would hold trivially. For the same reason Utility Lemma 13 assumes X,YX,YX,Y integrable. The ERM hypothesis of the goal must not be weakened to an AERM: the statement would then be false (Example 6).

One statement corrects the printed text. In the second display of the proof of Theorem 31 (p. 2668), the chain adds 2B/m2B/m2B/m and then drops it. The milestone states the bound the argument proves, εstable(m)+2B/m\varepsilon_{\mathrm{stable}}(m)+2B/mεstable​(m)+2B/m. The rate-free Theorem 31 is unaffected.

The development needs product measures, independence and variance bounds, all available in Mathlib, and the marginals of Measure.pi under removal of a coordinate. The definitions of risks, rules and stability notions can be reused by other stability results. Proofs of any milestone are welcome, and so are alternative proofs of the goal.

Selected references

  • S. Shalev-Shwartz, O. Shamir, N. Srebro, K. Sridharan, Learnability, Stability and Uniform Convergence, Journal of Machine Learning Research 11 (2010) 2635–2670. https://jmlr.org/papers/v11/shalev-shwartz10a.html
  • O. Bousquet, A. Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002) 499–526. https://www.jmlr.org/papers/v2/bousquet02a.html
  • S. Mukherjee, P. Niyogi, T. Poggio, R. Rifkin, Learning theory: stability is sufficient for generalization and necessary and sufficient for consistency of empirical risk minimization, Advances in Computational Mathematics 25 (2006) 161–193. https://doi.org/10.1007/s10444-004-7634-z
  • S. Kutin, P. Niyogi, Almost-everywhere algorithmic stability and generalization error, UAI 2002. https://arxiv.org/abs/1301.0579
  • L. Devroye, T. 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
11 thms4 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOptimization+1·Captain: mikedeng1

Learnability, Stability and Uniform Convergence II: Tikhonov-Regularized ERM Learns Convex Lipschitz Stochastic Optimization in Hilbert Space with High ProbabilityResearch Paper

Motivation

Statistical learning theory asks when a rule that sees only an i.i.d. sample z1,…,zmz_1,\dots,z_mz1​,…,zm​ from an unknown distribution DDD can return a hypothesis whose expected loss is close to the best possible. In supervised classification the classical answer is uniform convergence: learnability holds exactly when empirical risks converge to expected risks uniformly over the hypothesis class, and then empirical risk minimization (ERM) learns. Shalev-Shwartz, Shamir, Srebro and Sridharan (JMLR 11, 2010) showed that in Vapnik's broader General Learning Setting this picture breaks down. Their motivating example is stochastic convex optimization in a Hilbert space: minimizing an expected convex, Lipschitz objective over a bounded convex set from samples. This problem underlies regularized linear prediction, kernel methods and online-to-batch conversions, and the paper shows (§4.1) that in infinite dimension uniform convergence can fail and the plain empirical minimizer can fail to converge, while the problem is still learnable.

This mission formalizes the positive half of that example: Tikhonov-regularized ERM learns every such problem, with an explicit bound holding with probability 1−δ1-\delta1−δ (Theorem 3, p. 2644), through the stability of strongly convex empirical minimization (Theorem 2).

Setting

Let ZZZ be a measurable space of instances and EEE a real Hilbert space. A stochastic convex optimization problem consists of a nonempty, closed, convex, bounded set H⊆E\mathcal H\subseteq EH⊆E and an objective f:E×Z→Rf:E\times Z\to\mathbb Rf:E×Z→R such that for every zzz the map h↦f(h;z)h\mapsto f(h;z)h↦f(h;z) is convex and LLL-Lipschitz on H\mathcal HH, each f(h;⋅)f(h;\cdot)f(h;⋅) is measurable, and ∣f(h;z)∣≤C|f(h;z)|\le C∣f(h;z)∣≤C on H×Z\mathcal H\times ZH×Z. For a distribution DDD on ZZZ define the risk and optimal risk

F(h)=Ez∼D[f(h;z)],F∗=inf⁡h∈HF(h),F(h)=\mathbb E_{z\sim D}[f(h;z)],\qquad F^*=\inf_{h\in\mathcal H}F(h),F(h)=Ez∼D​[f(h;z)],F∗=h∈Hinf​F(h),

and for a sample S=(z1,…,zm)∼DmS=(z_1,\dots,z_m)\sim D^mS=(z1​,…,zm​)∼Dm the empirical risk FS(h)=1m∑i=1mf(h;zi)F_S(h)=\frac1m\sum_{i=1}^m f(h;z_i)FS​(h)=m1​∑i=1m​f(h;zi​). A function ggg is λ\lambdaλ-strongly convex on H\mathcal HH if g−λ2∥⋅∥2g-\frac\lambda2\|\cdot\|^2g−2λ​∥⋅∥2 is convex there. The regularized empirical minimizer is

h^λ∈arg min⁡h∈H(FS(h)+λ2∥h∥2).(5)\hat h_\lambda\in\operatorname*{arg\,min}_{h\in\mathcal H}\Big(F_S(h)+\frac\lambda2\|h\|^2\Big).\tag{5}h^λ​∈h∈Hargmin​(FS​(h)+2λ​∥h∥2).(5)

For the general part, a learning rule AAA maps samples to hypotheses; it is an AERM with rate εerm\varepsilon_{\mathrm{erm}}εerm​ if E[FS(A(S))−inf⁡hFS(h)]≤εerm(m)\mathbb E[F_S(A(S))-\inf_hF_S(h)]\le\varepsilon_{\mathrm{erm}}(m)E[FS​(A(S))−infh​FS​(h)]≤εerm​(m), consistent with rate εcons\varepsilon_{\mathrm{cons}}εcons​ if E[F(A(S))−F∗]≤εcons(m)\mathbb E[F(A(S))-F^*]\le\varepsilon_{\mathrm{cons}}(m)E[F(A(S))−F∗]≤εcons​(m), and uniform-RO stable with rate εstable\varepsilon_{\mathrm{stable}}εstable​ if replacing any one sample point changes the loss at any test point by at most εstable(m)\varepsilon_{\mathrm{stable}}(m)εstable​(m) on average over the replaced index (Definition 4).

Formalization targets

Goal: Theorem 3

If ∥h∥≤B\|h\|\le B∥h∥≤B on H\mathcal HH, L,B>0L,B>0L,B>0, δ∈(0,1)\delta\in(0,1)δ∈(0,1), m≥1m\ge1m≥1 and λ=16L2/(δB2m)\lambda=\sqrt{16L^2/(\delta B^2m)}λ=16L2/(δB2m)​, then with probability at least 1−δ1-\delta1−δ over S∼DmS\sim D^mS∼Dm

F(h^λ)−F∗ ≤ 4L2B2δm(1+8δm).F(\hat h_\lambda)-F^*\ \le\ 4\sqrt{\frac{L^2B^2}{\delta m}}\Big(1+\frac8{\delta m}\Big).F(h^λ​)−F∗ ≤ 4δmL2B2​​(1+δm8​).

The constants are the paper's.

Milestones, in the order the proof uses them

  1. Quadratic growth at a minimizer of a λ\lambdaλ-strongly convex ggg: g(h′)−g(h)≥λ2∥h′−h∥2g(h')-g(h)\ge\frac\lambda2\|h'-h\|^2g(h′)−g(h)≥2λ​∥h′−h∥2 (§4.2, p. 2644).
  2. Eq. (6): if f(⋅;z)f(\cdot;z)f(⋅;z) is λ\lambdaλ-strongly convex and LLL-Lipschitz, empirical minimizers of SSS and of S(i)S^{(i)}S(i) satisfy ∣f(h^S,z)−f(h^S(i),z)∣≤4L2/(λm)|f(\hat h_S,z)-f(\hat h_S^{(i)},z)|\le 4L^2/(\lambda m)∣f(h^S​,z)−f(h^S(i)​,z)∣≤4L2/(λm) for all zzz (p. 2645).
  3. Theorem 8: a uniform- or average-RO stable AERM is consistent with rate εstable+εerm\varepsilon_{\mathrm{stable}}+\varepsilon_{\mathrm{erm}}εstable​+εerm​ and generalizes with rate εstable+2εerm+2C/m\varepsilon_{\mathrm{stable}}+2\varepsilon_{\mathrm{erm}}+2C/\sqrt mεstable​+2εerm​+2C/m​ (p. 2649).
  4. ES∼Dm[F(h^S)−F∗]≤4L2/(λm)\mathbb E_{S\sim D^m}[F(\hat h_S)-F^*]\le 4L^2/(\lambda m)ES∼Dm​[F(h^S​)−F∗]≤4L2/(λm) for the strongly convex empirical minimizer (p. 2645).
  5. Theorem 2: with probability 1−δ1-\delta1−δ, F(h^S)−F∗≤4L2/(δλm)F(\hat h_S)-F^*\le 4L^2/(\delta\lambda m)F(h^S​)−F∗≤4L2/(δλm) (p. 2644).
  6. Theorem 2 applied to r(h;z)=λ2∥h∥2+f(h;z)r(h;z)=\frac\lambda2\|h\|^2+f(h;z)r(h;z)=2λ​∥h∥2+f(h;z): with probability 1−δ1-\delta1−δ, λ2∥h^λ∥2+F(h^λ)≤inf⁡h(λ2∥h∥2+F(h))+4(L+λB)2/(δλm)\frac\lambda2\|\hat h_\lambda\|^2+F(\hat h_\lambda)\le\inf_h\big(\frac\lambda2\|h\|^2+F(h)\big)+4(L+\lambda B)^2/(\delta\lambda m)2λ​∥h^λ​∥2+F(h^λ​)≤infh​(2λ​∥h∥2+F(h))+4(L+λB)2/(δλm) (p. 2645).

Significance

The result. Theorem 3 shows that every convex, Lipschitz, bounded stochastic optimization problem over a bounded subset of a Hilbert space is learnable at rate O(LB/δm)O(LB/\sqrt{\delta m})O(LB/δm​), with no dimension dependence and no uniform convergence. Together with the counterexamples of §4.1 it separates learnability from uniform convergence and from ERM, and it motivates the paper's general characterization: a problem is learnable if and only if it admits a uniform-RO stable asymptotic empirical risk minimizer (Theorem 7). Theorem 8 is the sufficiency half of that characterization and is reused wherever stability arguments give generalization bounds.

Formalizing it. The results are proved in the paper; to our knowledge none has a machine-checked proof. The closest platform material is the textbook treatment in Understanding Machine Learning, chapter 13 (Shalev-Shwartz and Ben-David): Corollary 13.9 (UnderstandingML.convex_lipschitz_bounded_learnable), Corollary 13.6 (rlm_lipschitz_stable) and Lemma 13.5 (strongly_convex_lemma). Those are stated in Rd\mathbb R^dRd, bound the risk in expectation, use the regularizer λ∥w∥2\lambda\|w\|^2λ∥w∥2 over all of Rd\mathbb R^dRd, and have different constants; the present mission works in an arbitrary Hilbert space, over a constraint set H\mathcal HH, with high-probability bounds and the paper's constants. Its definitions of learning rules, AERM, consistency and replace-one stability in the General Learning Setting are reusable by the other missions of this series.

Difficulty

The obvious route, bounding sup⁡h∈H∣F(h)−FS(h)∣\sup_{h\in\mathcal H}|F(h)-F_S(h)|suph∈H​∣F(h)−FS​(h)∣, is unavailable: §4.1 exhibits problems of exactly this type in which that supremum stays bounded away from zero for every sample size. Any successful argument therefore has to rely on a property of the learning rule rather than of the class H\mathcal HH, and the plain empirical minimizer does not have it: §4.1 shows it can stay a constant away from F∗F^*F∗ at every sample size. A second difficulty is purely formal: the regularization parameter λ\lambdaλ depends on δ\deltaδ and mmm, so the regularized minimizer changes with them, and all expectations involve a data-dependent hypothesis in a possibly non-separable Hilbert space, where measurability is not automatic.

Formalization scope

Lean conventions, fixed for every item:

  • EEE is a real inner product space with CompleteSpace E, never assumed finite-dimensional; H\mathcal HH is Hset : Set E, and all infima, suprema, strong convexity and Lipschitz conditions are taken on Hset only. F∗F^*F∗ is ⨅ h : Hset, F h.
  • Samples are Fin m → Z, DmD^mDm is Measure.pi, S(i)S^{(i)}S(i) is Function.update S i z', and m≥1m\ge1m≥1 throughout.
  • The paper's standing loss bound ∣f∣≤B|f|\le B∣f∣≤B (p. 2637) is named CCC, because Theorem 3 uses BBB for the norm bound ∥h∥≤B\|h\|\le B∥h∥≤B. L>0L>0L>0 and B>0B>0B>0 are implicit in Theorem 3's choice of λ\lambdaλ and are stated.
  • Strong convexity is Mathlib's StrongConvexOn Hset λ, which is the paper's definition.
  • Minimizers are selections S↦h^S∈HS\mapsto\hat h_S\in\mathcal HS↦h^S​∈H satisfying the minimization property; the theorems hold for every such selection, hence for the minimizer, which is unique by strong convexity.
  • Measurability, not discussed in the paper, is the series' single standing convention: each f(h;⋅)f(h;\cdot)f(h;⋅) is measurable and the selection makes (S,z)↦f(h^S;z)(S,z)\mapsto f(\hat h_S;z)(S,z)↦f(h^S​;z) jointly measurable; for Theorem 8, the rule is measurable in the same sense and S↦inf⁡hFS(h)S\mapsto\inf_hF_S(h)S↦infh​FS​(h) is measurable.
  • "With probability at least 1−δ1-\delta1−δ" is the bound Dm{failure}≤δD^m\{\text{failure}\}\le\deltaDm{failure}≤δ with 0<δ<10<\delta<10<δ<1.

No statement of the paper is corrected: all printed constants were checked against the proofs and are reproduced exactly.

A formalization in which the expected excess risk is a Bochner integral of a non-measurable or non-integrable function, or in which F∗F^*F∗ is an infimum over all of EEE or over an unbounded family, would make the bounds trivially true; the measurability hypotheses, the bound ∣f∣≤C|f|\le C∣f∣≤C and the infimum over the nonempty set H\mathcal HH rule this out.

Contributions welcome: proofs of the milestones in order, and in particular a reusable replace-one identity E[FS(A(S))]=1m∑iE[f(A(S(i));zi′)]\mathbb E[F_S(A(S))]=\frac1m\sum_i\mathbb E[f(A(S^{(i)});z'_i)]E[FS​(A(S))]=m1​∑i​E[f(A(S(i));zi′​)] under Measure.pi, and Markov's inequality in the form used for high-probability bounds.

Selected references

  • S. Shalev-Shwartz, O. Shamir, N. Srebro, K. Sridharan, Learnability, Stability and Uniform Convergence, Journal of Machine Learning Research 11 (2010) 2635–2670. https://jmlr.org/papers/v11/shalev-shwartz10a.html
  • S. Shalev-Shwartz, O. Shamir, N. Srebro, K. Sridharan, Stochastic Convex Optimization, COLT 2009. https://www.cs.mcgill.ca/~colt2009/papers/018.pdf
  • O. Bousquet, A. Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002) 499–526. https://jmlr.org/papers/v2/bousquet02a.html
  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, chapter 13. https://doi.org/10.1017/CBO9781107298019
  • V. N. Vapnik, Statistical Learning Theory, Wiley, 1998.
9 thms4 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOptimization·Captain: mikedeng1

A Unified Framework for High-Dimensional Analysis of M-Estimators with Decomposable Regularizers: Error Bounds under Decomposability and Restricted Strong ConvexityResearch Paper

Motivation

High-dimensional statistics studies estimation when the number of parameters ppp is comparable to, or larger than, the number of observations nnn. The standard estimators in this regime are regularized M-estimators: minimise an empirical loss plus a penalty that encodes structure, such as the Lasso (ℓ1\ell_1ℓ1​ penalty, sparse vectors), the group Lasso (block norms, group sparsity) and nuclear-norm regularization (low-rank matrices). Before 2009 each of these estimators came with its own consistency proof. Negahban, Ravikumar, Wainwright and Yu (arXiv:1010.2731; Statistical Science 27(4), 2012, doi:10.1214/12-STS400) isolated two properties that these proofs share, decomposability of the regularizer and restricted strong convexity of the loss, and proved one deterministic theorem from them. The Lasso rates of Bickel, Ritov and Tsybakov (arXiv:0801.1095), rates under ℓq\ell_qℓq​-sparsity, and group-sparse and low-rank rates then follow as corollaries. The framework is the organising principle of Chapter 9 of Wainwright's textbook High-Dimensional Statistics (Cambridge University Press, 2019).

Setting

Let EEE be a finite-dimensional real inner product space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and induced error norm ∥⋅∥\|\cdot\|∥⋅∥. Given a loss L:E→R\mathcal L:E\to\mathbb RL:E→R, a regularizer R:E→R\mathcal R:E\to\mathbb RR:E→R and a constant λn>0\lambda_n>0λn​>0, program (1) is

θ^λn∈arg⁡min⁡θ∈E{L(θ)+λnR(θ)}.\hat\theta_{\lambda_n}\in\arg\min_{\theta\in E}\{\mathcal L(\theta)+\lambda_n\mathcal R(\theta)\}.θ^λn​​∈argθ∈Emin​{L(θ)+λn​R(θ)}.

For a subspace SSS write uSu_SuS​ for the orthogonal projection of uuu onto SSS, and S⊥S^\perpS⊥ for the orthogonal complement.

  • Decomposability. For subspaces M⊆M‾\mathcal M\subseteq\overline{\mathcal M}M⊆M, the norm R\mathcal RR is decomposable with respect to (M,M‾⊥)(\mathcal M,\overline{\mathcal M}^\perp)(M,M⊥) if R(θ+γ)=R(θ)+R(γ)\mathcal R(\theta+\gamma)=\mathcal R(\theta)+\mathcal R(\gamma)R(θ+γ)=R(θ)+R(γ) for all θ∈M\theta\in\mathcal Mθ∈M and γ∈M‾⊥\gamma\in\overline{\mathcal M}^\perpγ∈M⊥. Example: the ℓ1\ell_1ℓ1​-norm with M=M‾={θ:θj=0 ∀j∉S}\mathcal M=\overline{\mathcal M}=\{\theta:\theta_j=0\ \forall j\notin S\}M=M={θ:θj​=0 ∀j∈/S}.
  • Dual norm. R∗(v)=sup⁡R(u)≤1⟨u,v⟩\mathcal R^*(v)=\sup_{\mathcal R(u)\le1}\langle u,v\rangleR∗(v)=supR(u)≤1​⟨u,v⟩.
  • Subspace compatibility constant. Ψ(M‾)=sup⁡u∈M‾∖{0}R(u)/∥u∥\Psi(\overline{\mathcal M})=\sup_{u\in\overline{\mathcal M}\setminus\{0\}}\mathcal R(u)/\|u\|Ψ(M)=supu∈M∖{0}​R(u)/∥u∥; for the ℓ1\ell_1ℓ1​-norm on an sss-dimensional coordinate subspace, Ψ=s\Psi=\sqrt sΨ=s​.
  • The set C\mathbb CC. For a point θ∗∈E\theta^*\in Eθ∗∈E,
C(M,M‾⊥;θ∗)={Δ∣R(ΔM‾⊥)≤3R(ΔM‾)+4R(θM⊥∗)}.\mathbb C(\mathcal M,\overline{\mathcal M}^\perp;\theta^*)=\{\Delta\mid\mathcal R(\Delta_{\overline{\mathcal M}^\perp})\le3\mathcal R(\Delta_{\overline{\mathcal M}})+4\mathcal R(\theta^*_{\mathcal M^\perp})\}.C(M,M⊥;θ∗)={Δ∣R(ΔM⊥​)≤3R(ΔM​)+4R(θM⊥∗​)}.
  • Restricted strong convexity (RSC). With the Taylor error δL(Δ,θ∗)=L(θ∗+Δ)−L(θ∗)−⟨∇L(θ∗),Δ⟩\delta\mathcal L(\Delta,\theta^*)=\mathcal L(\theta^*+\Delta)-\mathcal L(\theta^*)-\langle\nabla\mathcal L(\theta^*),\Delta\rangleδL(Δ,θ∗)=L(θ∗+Δ)−L(θ∗)−⟨∇L(θ∗),Δ⟩, the loss satisfies RSC with curvature κL>0\kappa_{\mathcal L}>0κL​>0 and tolerance τL(θ∗)\tau_{\mathcal L}(\theta^*)τL​(θ∗) if δL(Δ,θ∗)≥κL∥Δ∥2−τL2(θ∗)\delta\mathcal L(\Delta,\theta^*)\ge\kappa_{\mathcal L}\|\Delta\|^2-\tau^2_{\mathcal L}(\theta^*)δL(Δ,θ∗)≥κL​∥Δ∥2−τL2​(θ∗) for every Δ∈C(M,M‾⊥;θ∗)\Delta\in\mathbb C(\mathcal M,\overline{\mathcal M}^\perp;\theta^*)Δ∈C(M,M⊥;θ∗).

The conditions of the paper's main theorem are (G1): R\mathcal RR is a norm, decomposable with respect to (M,M‾⊥)(\mathcal M,\overline{\mathcal M}^\perp)(M,M⊥) with M⊆M‾\mathcal M\subseteq\overline{\mathcal M}M⊆M; and (G2): L\mathcal LL is convex, differentiable and satisfies RSC. The Lean development lives in the namespace UnifiedMEstimator.General, with these objects named IsNormFn, IsDecomposable, dualNorm, compat, setC, taylorErr, RSC and IsOptimal.

Formalization targets

Goal: Theorem 1 (p. 10), tolerance term corrected

Under (G1) and (G2), if λn>0\lambda_n>0λn​>0 and λn≥2R∗(∇L(θ∗))\lambda_n\ge2\mathcal R^*(\nabla\mathcal L(\theta^*))λn​≥2R∗(∇L(θ∗)), then every optimal solution of program (1) satisfies

∥θ^λn−θ∗∥2≤9 λn2κL2 Ψ2(M‾)+2τL2(θ∗)+4λnR(θM⊥∗)κL.\|\hat\theta_{\lambda_n}-\theta^*\|^2\le9\,\frac{\lambda_n^2}{\kappa_{\mathcal L}^2}\,\Psi^2(\overline{\mathcal M})+\frac{2\tau_{\mathcal L}^2(\theta^*)+4\lambda_n\mathcal R(\theta^*_{\mathcal M^\perp})}{\kappa_{\mathcal L}}.∥θ^λn​​−θ∗∥2≤9κL2​λn2​​Ψ2(M)+κL​2τL2​(θ∗)+4λn​R(θM⊥∗​)​.

The bound holds for every pair (M,M‾)(\mathcal M,\overline{\mathcal M})(M,M) over which R\mathcal RR decomposes, and for every optimum, not only a distinguished one.

Milestones

  1. Lemma 1 (p. 7): under the dual-norm condition on λn\lambda_nλn​, the error Δ^=θ^λn−θ∗\hat\Delta=\hat\theta_{\lambda_n}-\theta^*Δ^=θ^λn​​−θ∗ lies in C(M,M‾⊥;θ∗)\mathbb C(\mathcal M,\overline{\mathcal M}^\perp;\theta^*)C(M,M⊥;θ∗). This milestone links an existing platform statement of the same lemma (Wainwright, Proposition 9.13).
  2. Section 2.4, p. 10, first display: if θ∗∈M\theta^*\in\mathcal Mθ∗∈M and Δ∈C\Delta\in\mathbb CΔ∈C, then R(Δ)≤4Ψ(M‾)∥Δ∥\mathcal R(\Delta)\le4\Psi(\overline{\mathcal M})\|\Delta\|R(Δ)≤4Ψ(M)∥Δ∥.

Further statements

  • Corollary 1 (p. 11): if θ∗∈M\theta^*\in\mathcal Mθ∗∈M and τL(θ∗)=0\tau_{\mathcal L}(\theta^*)=0τL​(θ∗)=0, then ∥θ^λn−θ∗∥≤3λnΨ(M‾)/κL\|\hat\theta_{\lambda_n}-\theta^*\|\le3\lambda_n\Psi(\overline{\mathcal M})/\kappa_{\mathcal L}∥θ^λn​​−θ∗∥≤3λn​Ψ(M)/κL​ and R(θ^λn−θ∗)≤12λnΨ2(M‾)/κL\mathcal R(\hat\theta_{\lambda_n}-\theta^*)\le12\lambda_n\Psi^2(\overline{\mathcal M})/\kappa_{\mathcal L}R(θ^λn​​−θ∗)≤12λn​Ψ2(M)/κL​.
  • Section 2.4, p. 10, second display: a lower bound δL≥κ1∥Δ∥2−κ2g R2(Δ)\delta\mathcal L\ge\kappa_1\|\Delta\|^2-\kappa_2 g\,\mathcal R^2(\Delta)δL≥κ1​∥Δ∥2−κ2​gR2(Δ) on the unit ball gives curvature κ1−16κ2Ψ2(M‾)g\kappa_1-16\kappa_2\Psi^2(\overline{\mathcal M})gκ1​−16κ2​Ψ2(M)g on C\mathbb CC when θ∗∈M\theta^*\in\mathcal Mθ∗∈M.
  • Example 1 (p. 5) and the value Ψ(M(S))=∣S∣\Psi(\mathcal M(S))=\sqrt{|S|}Ψ(M(S))=∣S∣​ (p. 9): the ℓ1\ell_1ℓ1​-norm instance, which shows that the hypotheses of the goal can be met.

Significance

Theorem 1 reduces a consistency proof for a new regularized estimator to two checks: that the regularizer decomposes over a pair of subspaces adapted to the model, and that the loss is curved on the set C\mathbb CC, together with a bound on R∗(∇L(θ∗))\mathcal R^*(\nabla\mathcal L(\theta^*))R∗(∇L(θ∗)) that is usually a concentration inequality. The paper derives from it the slog⁡p/ns\log p/nslogp/n Lasso rate under restricted eigenvalue conditions, rates for weakly sparse (ℓq\ell_qℓq​-ball) vectors, and group-Lasso rates; companion papers use it for low-rank matrix estimation, matrix completion and generalized linear models. Because the bound holds for every pair (M,M‾)(\mathcal M,\overline{\mathcal M})(M,M), it gives an explicit trade-off between an estimation error and an approximation error R(θM⊥∗)\mathcal R(\theta^*_{\mathcal M^\perp})R(θM⊥∗​).

The theorem is proved in the paper's supplementary appendix. No machine-checked proof of it is known. On Prove2Me, Wainwright's textbook restatement (Theorem 9.19, HighDimStat.Decomposability.thm9_19_general_bound) is a related but different statement: its RSC condition is local, on a ball, with a tolerance proportional to R2(Δ)\mathcal R^2(\Delta)R2(Δ), and it has extra side conditions and a different bound. A formal proof of the present goal certifies the deterministic core that every corollary of the paper relies on.

Difficulty

The obvious argument compares the objective at θ^\hat\thetaθ^ and at θ∗\theta^*θ∗ and applies RSC to the error. RSC, however, is available only on the set C\mathbb CC, not on all of EEE: in high dimensions the loss is flat in many directions, so strong convexity fails. The work is to show first that the error lies in C\mathbb CC (Lemma 1, which rests on decomposability and the choice of λn\lambda_nλn​), and then to relate the regularizer to the error norm through the projections onto M‾\overline{\mathcal M}M and M‾⊥\overline{\mathcal M}^\perpM⊥. The distinction between M\mathcal MM and M‾\overline{\mathcal M}M matters throughout: the compatibility constant is taken on the larger space M‾\overline{\mathcal M}M, while the approximation error projects θ∗\theta^*θ∗ onto the complement of the smaller one. The bound comes from a quadratic inequality in ∥Δ^∥\|\hat\Delta\|∥Δ^∥, and the constants depend on how its terms are split.

Formalization scope

Representation. The parameter space is an arbitrary finite-dimensional real inner product space E (equivalently Rp\mathbb R^pRp with any inner product, as the paper allows); matrices are covered by the same abstraction. Subspaces are Submodule ℝ E, projections are Submodule.starProjection, and the gradient is Mathlib's gradient, under the hypothesis that L\mathcal LL is differentiable. The dual norm and Ψ\PsiΨ are real suprema (sSup). They equal the paper's quantities because R\mathcal RR is required to be a genuine norm (nonnegative, definite, absolutely homogeneous, subadditive) and EEE is finite-dimensional; Ψ({0})=0\Psi(\{0\})=0Ψ({0})=0. The tolerance is a real number τ\tauτ entering as τ2\tau^2τ2; RSC contains κ>0\kappa>0κ>0 and is quantified over exactly C(M,M‾⊥;θ∗)\mathbb C(\mathcal M,\overline{\mathcal M}^\perp;\theta^*)C(M,M⊥;θ∗) for the same pair and point as the decomposability. Every statement is for every optimal solution of program (1). The data Z1nZ_1^nZ1n​ are fixed and absorbed into L\mathcal LL, and θ∗\theta^*θ∗ is an arbitrary point: the paper's requirement that θ∗\theta^*θ∗ minimise the population risk is never used by the theorem and is dropped.

Corrections of the printed statements.

  1. Display (22) prints the tolerance term as λnκL⋅2τL2(θ∗)\frac{\lambda_n}{\kappa_{\mathcal L}}\cdot2\tau^2_{\mathcal L}(\theta^*)κL​λn​​⋅2τL2​(θ∗). As printed the statement is false: for E=RE=\mathbb RE=R, R=∣⋅∣\mathcal R=|\cdot|R=∣⋅∣, M=M‾=R\mathcal M=\overline{\mathcal M}=\mathbb RM=M=R, L(θ)=(max⁡(0,∣θ∣−1))2\mathcal L(\theta)=(\max(0,|\theta|-1))^2L(θ)=(max(0,∣θ∣−1))2, θ∗=0.9\theta^*=0.9θ∗=0.9, λn=0.01\lambda_n=0.01λn​=0.01, κL=1/2\kappa_{\mathcal L}=1/2κL​=1/2, τL2=10\tau^2_{\mathcal L}=10τL2​=10, the optimum is 000 and ∥Δ^∥2=0.81\|\hat\Delta\|^2=0.81∥Δ^∥2=0.81 exceeds the printed bound 0.40360.40360.4036. The goal states 2τL2(θ∗)/κL2\tau^2_{\mathcal L}(\theta^*)/\kappa_{\mathcal L}2τL2​(θ∗)/κL​; the two forms agree when τL=0\tau_{\mathcal L}=0τL​=0, and the constants 999 and 444 are the paper's.
  2. Corollary 1's (25a) prints ∥θ^−θ∗∥≤9λn2Ψ2(M‾)/κL\|\hat\theta-\theta^*\|\le9\lambda_n^2\Psi^2(\overline{\mathcal M})/\kappa_{\mathcal L}∥θ^−θ∗∥≤9λn2​Ψ2(M)/κL​, which fails for L(θ)=(θ−0.002)2\mathcal L(\theta)=(\theta-0.002)^2L(θ)=(θ−0.002)2, θ∗=0.001\theta^*=0.001θ∗=0.001, λn=0.004\lambda_n=0.004λn​=0.004 on R\mathbb RR; the mission states 3λnΨ(M‾)/κL3\lambda_n\Psi(\overline{\mathcal M})/\kappa_{\mathcal L}3λn​Ψ(M)/κL​. Its "C(M,M‾,θ∗)\mathbb C(\mathcal M,\overline{\mathcal M},\theta^*)C(M,M,θ∗)" is read as C(M,M‾⊥;θ∗)\mathbb C(\mathcal M,\overline{\mathcal M}^\perp;\theta^*)C(M,M⊥;θ∗).

Trivializations ruled out. A regularizer predicate weaker than a norm would let the real suprema collapse to the junk value 000 and make the λn\lambda_nλn​ condition or the Ψ\PsiΨ term free; RSC over all of EEE would be classical strong convexity, and RSC over the cone without the 4R(θM⊥∗)4\mathcal R(\theta^*_{\mathcal M^\perp})4R(θM⊥∗​) slack would make the goal false; decomposability without M⊆M‾\mathcal M\subseteq\overline{\mathcal M}M⊆M or with the bars misplaced changes the theorem. None of these is used. The ℓ1\ell_1ℓ1​ example and a checked one-dimensional instance show that all hypotheses of the goal can hold simultaneously.

Infrastructure and contributions. A complete development needs: Hölder's inequality for a norm and its dual norm, boundedness of the two suprema in finite dimension, the decomposability inequality R(θ∗+Δ)−R(θ∗)≥R(ΔM‾⊥)−R(ΔM‾)−2R(θM⊥∗)\mathcal R(\theta^*+\Delta)-\mathcal R(\theta^*)\ge\mathcal R(\Delta_{\overline{\mathcal M}^\perp})-\mathcal R(\Delta_{\overline{\mathcal M}})-2\mathcal R(\theta^*_{\mathcal M^\perp})R(θ∗+Δ)−R(θ∗)≥R(ΔM⊥​)−R(ΔM​)−2R(θM⊥∗​), the first-order characterization of convexity, and the solution of a scalar quadratic inequality. The dual-norm and compatibility-constant lemmas are reusable for every decomposable-regularizer mission. Proofs of the milestones, of the goal, and of the ℓ1\ell_1ℓ1​ instance are all welcome.

Selected references

  • S. N. Negahban, P. Ravikumar, M. J. Wainwright, B. Yu, A Unified Framework for High-Dimensional Analysis of M-Estimators with Decomposable Regularizers, Statistical Science 27(4), 2012, 538–557. arXiv:1010.2731v3, doi:10.1214/12-STS400
  • P. J. Bickel, Y. Ritov, A. B. Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, Annals of Statistics 37(4), 2009, 1705–1732. arXiv:0801.1095
  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Chapter 9. doi:10.1017/9781108627771
5 thms4 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Weak Convergence and Optimal Scaling of Random Walk Metropolis Algorithms: Langevin Diffusion Limit of the First CoordinateResearch Paper

Motivation

The random walk Metropolis algorithm is one of the most widely used Markov chain Monte Carlo methods for sampling from a density known up to a constant. Its one tuning parameter is the variance of the Gaussian proposal. If the variance is too small, the chain accepts almost every move but barely moves. If it is too large, it proposes long jumps that are almost always rejected. Practitioners need a rule for choosing it, and the rule has to work in high dimension, where both failure modes are severe.

Roberts, Gelman and Gilks (Ann. Appl. Probab. 7(1), 1997) gave the first rigorous answer for product targets. As the dimension grows, one coordinate of the suitably speeded-up chain converges to a Langevin diffusion. The speed of that diffusion is an explicit function of the proposal scale, and maximising it gives the rule "tune the proposal so that about 23% of proposals are accepted". This rule, and the 2.38/√I scaling behind it, is now standard advice in applied Bayesian statistics.

Setting

Let f:R→Rf:\mathbb R\to\mathbb Rf:R→R be a target density: positive, C2C^2C2, integrating to one, with f′/ff'/ff′/f Lipschitz, and satisfying the moment conditions (A1) Ef[(f′/f)8]<∞\mathbb E_f[(f'/f)^8]<\inftyEf​[(f′/f)8]<∞ and (A2) Ef[(f′′/f)4]<∞\mathbb E_f[(f''/f)^4]<\inftyEf​[(f′′/f)4]<∞. Here Ef[g(X)]=∫g(x)f(x) dx\mathbb E_f[g(X)]=\int g(x)f(x)\,dxEf​[g(X)]=∫g(x)f(x)dx. In dimension n≥2n\ge2n≥2 the target is the product density πn(x)=∏i=1nf(xi)\pi_n(x)=\prod_{i=1}^n f(x_i)πn​(x)=∏i=1n​f(xi​) on Rn\mathbb R^nRn.

Fix a scale l>0l>0l>0 and set σn2=l2/(n−1)\sigma_n^2=l^2/(n-1)σn2​=l2/(n−1). The random walk Metropolis chain Xn=(X0n,X1n,… )X^n=(X^n_0,X^n_1,\dots)Xn=(X0n​,X1n​,…) moves as follows. From Xm−1nX^n_{m-1}Xm−1n​ it proposes Y∼N(Xm−1n,σn2In)Y\sim N(X^n_{m-1},\sigma_n^2I_n)Y∼N(Xm−1n​,σn2​In​). It sets Xmn=YX^n_m=YXmn​=Y with probability α(Xm−1n,Y)=1∧πn(Y)/πn(Xm−1n)\alpha(X^n_{m-1},Y)=1\wedge\pi_n(Y)/\pi_n(X^n_{m-1})α(Xm−1n​,Y)=1∧πn​(Y)/πn​(Xm−1n​), and Xmn=Xm−1nX^n_m=X^n_{m-1}Xmn​=Xm−1n​ otherwise. The chain starts from πn\pi_nπn​, which is stationary for it. The speeded-up first coordinate is Utn=X⌊nt⌋,1nU^n_t=X^n_{\lfloor nt\rfloor,1}Utn​=X⌊nt⌋,1n​ for t≥0t\ge0t≥0.

Let Φ\PhiΦ be the standard normal distribution function, and define the roughness I=Ef[(f′(X)/f(X))2]I=\mathbb E_f[(f'(X)/f(X))^2]I=Ef​[(f′(X)/f(X))2]. The speed and the limiting acceptance rate are

h(l)=2l2 Φ ⁣(−lI2),a(l)=2 Φ ⁣(−lI2).h(l)=2l^2\,\Phi\!\Big(-\frac{l\sqrt I}{2}\Big),\qquad a(l)=2\,\Phi\!\Big(-\frac{l\sqrt I}{2}\Big).h(l)=2l2Φ(−2lI​​),a(l)=2Φ(−2lI​​).

The Langevin generator is GV(x)=h(l)[12V′′(x)+12(log⁡f)′(x)V′(x)]GV(x)=h(l)\big[\tfrac12V''(x)+\tfrac12(\log f)'(x)V'(x)\big]GV(x)=h(l)[21​V′′(x)+21​(logf)′(x)V′(x)]. It generates the Langevin diffusion dUt=h(l)1/2dBt+h(l)f′(Ut)2f(Ut)dtdU_t=h(l)^{1/2}dB_t+h(l)\frac{f'(U_t)}{2f(U_t)}dtdUt​=h(l)1/2dBt​+h(l)2f(Ut​)f′(Ut​)​dt.

Formalization targets

Goal: Theorem 1.1

As n→∞n\to\inftyn→∞,

Un⇒U,U^n\Rightarrow U,Un⇒U,

where ⇒\Rightarrow⇒ denotes weak convergence in the Skorokhod topology, U0U_0U0​ has density fff, and UUU is the Langevin diffusion with speed h(l)h(l)h(l). The limit is asserted to exist. No constants appear in the statement beyond those the model defines.

Milestones: the proof

  1. Lemma 2.1. The stationary chain stays in the sets Fn={∣Rn−I∣<n−1/8}∩{∣Sn−I∣<n−1/8}F_n=\{|R_n-I|<n^{-1/8}\}\cap\{|S_n-I|<n^{-1/8}\}Fn​={∣Rn​−I∣<n−1/8}∩{∣Sn​−I∣<n−1/8} up to time ttt with probability tending to one. Here RnR_nRn​ and SnS_nSn​ are the empirical averages of ((log⁡f)′)2((\log f)')^2((logf)′)2 and −(log⁡f)′′-(\log f)''−(logf)′′ over coordinates 2,…,n2,\dots,n2,…,n.
  2. Proposition 2.2. ∣1∧ex−1∧ey∣≤∣x−y∣|1\wedge e^x-1\wedge e^y|\le|x-y|∣1∧ex−1∧ey∣≤∣x−y∣.
  3. Lemma 2.3. sup⁡x∈FnE∣Wn∣→0\sup_{x\in F_n}\mathbb E|W_n|\to0supx∈Fn​​E∣Wn​∣→0, where WnW_nWn​ is the second-order part of the log acceptance ratio.
  4. Proposition 2.4. E[1∧eA]=Φ(μ/σ)+eμ+σ2/2Φ(−σ−μ/σ)\mathbb E[1\wedge e^A]=\Phi(\mu/\sigma)+e^{\mu+\sigma^2/2}\Phi(-\sigma-\mu/\sigma)E[1∧eA]=Φ(μ/σ)+eμ+σ2/2Φ(−σ−μ/σ) for A∼N(μ,σ2)A\sim N(\mu,\sigma^2)A∼N(μ,σ2).
  5. Lemma 2.5. lim sup⁡nsup⁡x1n∣E[V(Y1)−V(x1)]∣<∞\limsup_n\sup_{x_1}n|\mathbb E[V(Y_1)-V(x_1)]|<\inftylimsupn​supx1​​n∣E[V(Y1​)−V(x1​)]∣<∞ for V∈Cc∞V\in C_c^\inftyV∈Cc∞​.
  6. Lemma 2.6. The discrete generator GnV(x)=n E[(V(Y)−V(x))α(x,Y)]G_nV(x)=n\,\mathbb E[(V(Y)-V(x))\alpha(x,Y)]Gn​V(x)=nE[(V(Y)−V(x))α(x,Y)] converges to GVGVGV uniformly on FnF_nFn​, for V∈Cc∞V\in C_c^\inftyV∈Cc∞​ a function of the first coordinate (stated with bounded (log⁡f)′′′(\log f)'''(logf)′′′, the assumption its proof uses).

Milestones: the optimal-scaling corollary

  1. Corollary 1.2 (i). an(l)=∬πn(x)α(x,y)qn(x,y) dx dy→a(l)a_n(l)=\iint\pi_n(x)\alpha(x,y)q_n(x,y)\,dx\,dy\to a(l)an​(l)=∬πn​(x)α(x,y)qn​(x,y)dxdy→a(l).
  2. Corollary 1.2 (ii). hhh is maximised at l^=2.38/I\hat l=2.38/\sqrt Il^=2.38/I​, with a(l^)=0.23a(\hat l)=0.23a(l^)=0.23 and h(l^)=1.3/Ih(\hat l)=1.3/Ih(l^)=1.3/I, to the printed precision.

Significance

Theorem 1.1 shows that, run for nnn times as many steps, the chain in dimension nnn looks like a fixed one-dimensional diffusion. The algorithm's cost therefore grows linearly in dimension, and its efficiency is measured by the single number h(l)h(l)h(l). Corollary 1.2 turns this into the 0.234 acceptance-rate heuristic and the 2.38/I2.38/\sqrt I2.38/I​ scaling. The same diffusion-limit method has since been applied to the Metropolis-adjusted Langevin algorithm, to Hamiltonian Monte Carlo and to non-product targets.

The theorem is proved on paper; it has no machine-checked proof. A formal development would give the first verified diffusion limit of an MCMC algorithm. It would also yield reusable components: the Metropolis chain on Rn\mathbb R^nRn as a measurable random mapping, a martingale-problem characterisation of one-dimensional diffusions, and a Gaussian computation (Proposition 2.4) that recurs throughout the optimal-scaling literature.

Difficulty

The obvious approach, a Taylor expansion of the log acceptance ratio, gives a sum of n−1n-1n−1 terms of size 1/n1/n1/n. That sum does not concentrate uniformly over the state space, since the coordinates 2,…,n2,\dots,n2,…,n are arbitrary. The expansion is controlled only on the sets FnF_nFn​, where the empirical averages RnR_nRn​ and SnS_nSn​ are close to III. The limit therefore holds only after showing that the chain rarely leaves FnF_nFn​ over a time horizon of ntntnt steps. A pointwise law of large numbers is not enough for that, because the bound has to survive a union over ntntnt steps. Passing from generator convergence on a set of high probability to weak convergence of processes requires the Ethier–Kurtz convergence theory: a core for the limit generator, and convergence of processes that are not themselves Markov. None of this theory is in Mathlib.

Formalization scope

All declarations live in the namespace Roberts1997.RWM. The following conventions are fixed.

  • Vectors are Fin n → ℝ, and the paper's first coordinate x1x_1x1​ is index 0. Its coordinates 2,…,n2,\dots,n2,…,n are the indices i ≠ 0.
  • σn2=l2/(n−1)\sigma_n^2=l^2/(n-1)σn2​=l2/(n−1) is computed in R\mathbb RR. All statements concern n≥2n\ge2n≥2 or large nnn.
  • l>0l>0l>0 is assumed. The paper leaves it implicit, but h(−l)≠h(l)h(-l)\ne h(l)h(−l)=h(l).
  • "fff is a density" is read as ∫f=1\int f=1∫f=1. The moment conditions are read as integrability of (f′/f)8f(f'/f)^8f(f′/f)8f and (f′′/f)4f(f''/f)^4f(f′′/f)4f. The standing assumption "f′/ff'/ff′/f is Lipschitz" (p. 111) is carried by every statement.
  • The chain is built as a random mapping on an explicit probability space: x0∼πnx_0\sim\pi_nx0​∼πn​, with i.i.d. standard normal innovations and uniform acceptance variables. Theorem 1.1's initial condition (components i.i.d. fff, shared across dimensions) is read as "the nnn-th chain starts from πn\pi_nπn​", since weak convergence depends only on the law of each UnU^nUn.
  • "UUU satisfies the Langevin SDE" is read as "the law of UUU solves the martingale problem for GGG on Cc∞C_c^\inftyCc∞​, with continuous paths and initial law f(x) dxf(x)\,dxf(x)dx". This is equivalent by Ethier–Kurtz (1986), Ch. 5, Prop. 3.1 and Thm 3.3, and follows the platform definition EthierKurtz_IsContinuousDiffusionLaw.
  • "Un⇒UU^n\Rightarrow UUn⇒U" is read as the existence of an almost-sure coupling in which càdlàg copies of the UnU^nUn converge to a continuous Langevin path uniformly on compact time intervals. For a continuous limit this is equivalent to weak convergence in DR[0,∞)D_{\mathbb R}[0,\infty)DR​[0,∞), by Skorokhod's representation theorem and Ethier–Kurtz Ch. 3, Thm 1.8, Prop. 5.3 and Prop. 7.1. It follows the platform encoding of Ethier–Kurtz Theorem 7.4.1.
  • "sup⁡→0\sup\to0sup→0" and "lim sup⁡sup⁡<∞\limsup\sup<\inftylimsupsup<∞" are stated as eventual uniform bounds. This avoids real suprema, whose value on an unbounded set is a default.
  • In Lemma 2.6, "as d→∞d\to\inftyd→∞" is a misprint for n→∞n\to\inftyn→∞, and "2f(Ut)2f(Ut)2f(Ut)" in (1.2) is read as 2f(Ut)2f(U_t)2f(Ut​).
  • Corollary 1.2 (ii) is stated for an arbitrary constant I>0I>0I>0. "To two decimal places" is read as explicit rounding intervals: 1.31.31.3 is read to one decimal, and all maximisers over l>0l>0l>0 are covered.

The goal cannot be satisfied trivially. The limit law QQQ must exist, and it must be a probability measure whose initial marginal is f(x) dxf(x)\,dxf(x)dx, so the zero measure is excluded. The coupled copies must carry exactly the laws of the paths UnU^nUn, not an arbitrary process with the same one-time marginals.

The statements carry the paper's hypotheses, with one exception. The printed proof of Lemma 2.6 bounds sup⁡z∣(log⁡f)′′′(z)∣\sup_z|(\log f)'''(z)|supz​∣(logf)′′′(z)∣, which Theorem 1.1 does not assume, and under C2C^2C2 alone the uniform convergence over FnF_nFn​ claimed by Lemma 2.6 fails (narrow spikes of (log⁡f)′′(\log f)''(logf)′′ far out let a positive fraction of the coordinates shift the log acceptance ratio by a constant while RnR_nRn​ and SnS_nSn​ stay close to III). Lemma 2.6 is therefore stated with the proof's own assumption, f∈C3f\in C^3f∈C3 with (log⁡f)′′′(\log f)'''(logf)′′′ bounded, named as an addition. Theorem 1.1 and the other results keep the paper's hypotheses.

A complete development needs several pieces not yet available: path spaces and the Skorokhod topology (or the coupling reading), the martingale problem and its well-posedness for Lipschitz drift, and the Ethier–Kurtz theorem on convergence of generators on sets of high probability. Proofs of the Gaussian milestones (Propositions 2.2 and 2.4, Lemma 2.5) and of Corollary 1.2 (ii) are independent of this infrastructure and are welcome contributions.

Selected references

  • G. O. Roberts, A. Gelman, W. R. Gilks, Weak convergence and optimal scaling of random walk Metropolis algorithms, Ann. Appl. Probab. 7(1), 110–120, 1997. https://doi.org/10.1214/aoap/1034625254
  • S. N. Ethier, T. G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986. https://doi.org/10.1002/9780470316658
  • A. Gelman, G. O. Roberts, W. R. Gilks, Efficient Metropolis jumping rules, Bayesian Statistics 5, Oxford University Press, 599–607, 1996.
  • G. O. Roberts, J. S. Rosenthal, Optimal scaling for various Metropolis–Hastings algorithms, Statistical Science 16(4), 351–367, 2001. https://doi.org/10.1214/ss/1015346320
15 thms4 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Simultaneous Analysis of Lasso and Dantzig Selector V: Estimation, Prediction and Sparsity Bounds for the LassoResearch Paper

Motivation

In a linear regression with many more candidate variables than observations, least squares is not defined uniquely and does not estimate anything useful. The Lasso (Tibshirani, 1996) replaces it by an ℓ1\ell_1ℓ1​-penalised least-squares problem, which is convex, can be solved at scale, and returns sparse coefficient vectors. The question that a statistician, a signal-processing engineer or an operations researcher fitting a sparse model must answer before trusting it is quantitative: how far is the Lasso estimate from the true coefficient vector, how well does it predict, and how many variables does it select, as functions of the sample size nnn, the number of variables MMM and the sparsity sss of the truth?

Bickel, Ritov and Tsybakov (arXiv:0801.1095, Ann. Statist. 37(4), 2009) answered this under the restricted eigenvalue (RE) condition, which they introduced, with explicit constants and an explicit failure probability. Their Theorem 7.2, the goal of this mission, is a standard reference result of high-dimensional statistics and a model for the Lasso analyses in the textbooks of Bühlmann and van de Geer (2011) and Wainwright (2019).

Timeline, restricted to what each work proved:

  • 2007: Candès and Tao (arXiv:math/0506081) prove ℓ2\ell_2ℓ2​ bounds for the Dantzig selector under a uniform uncertainty principle.
  • 2007: Bunea, Tsybakov and Wegkamp (doi:10.1214/07-EJS008) prove sparsity oracle inequalities for the Lasso under mutual-coherence conditions; Lemma B.1 of the present paper is essentially their Lemma 1.
  • 2008/2009: Bickel, Ritov and Tsybakov prove Theorem 7.2 under RE(s,3)(s,3)(s,3) and RE(s,m,3)(s,m,3)(s,m,3), conditions weaker than those of the previous works.

Setting

A deterministic design matrix X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M with columns x(1),…,x(M)x_{(1)},\dots,x_{(M)}x(1)​,…,x(M)​ is observed together with

y=Xβ∗+w,y=X\beta^*+w,y=Xβ∗+w,

where β∗∈RM\beta^*\in\mathbb R^Mβ∗∈RM is unknown and w=(W1,…,Wn)w=(W_1,\dots,W_n)w=(W1​,…,Wn​) has independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) entries with σ>0\sigma>0σ>0. Throughout, n≥1n\ge1n≥1, M≥2M\ge2M≥2, and every diagonal entry of the Gram matrix Ψn=X⊤X/n\Psi_n=X^\top X/nΨn​=X⊤X/n equals 111.

For δ∈RM\delta\in\mathbb R^Mδ∈RM write ∣δ∣p=(∑j∣δj∣p)1/p|\delta|_p=(\sum_j|\delta_j|^p)^{1/p}∣δ∣p​=(∑j​∣δj​∣p)1/p, J(δ)={j:δj≠0}J(\delta)=\{j:\delta_j\ne0\}J(δ)={j:δj​=0} for the support, M(δ)=∣J(δ)∣\mathcal M(\delta)=|J(\delta)|M(δ)=∣J(δ)∣ for the sparsity, and δJ\delta_JδJ​ for the vector that agrees with δ\deltaδ on JJJ and vanishes off JJJ. The largest eigenvalue of Ψn\Psi_nΨn​ is ϕmax⁡\phi_{\max}ϕmax​.

The Lasso estimator with tuning parameter r>0r>0r>0 is any minimiser

β^L∈arg⁡min⁡β∈RM{1n∣y−Xβ∣22+2r∣β∣1}.\hat\beta_L\in\arg\min_{\beta\in\mathbb R^M}\Big\{\frac1n|y-X\beta|_2^2+2r|\beta|_1\Big\}.β^​L​∈argβ∈RMmin​{n1​∣y−Xβ∣22​+2r∣β∣1​}.

Minimisers exist but need not be unique.

Assumption RE(s,c0)(s,c_0)(s,c0​) (1≤s≤M1\le s\le M1≤s≤M, c0>0c_0>0c0​>0) asks that

κ(s,c0)=min⁡∣J0∣≤s min⁡δ≠0, ∣δJ0c∣1≤c0∣δJ0∣1∣Xδ∣2n ∣δJ0∣2>0.\kappa(s,c_0)=\min_{|J_0|\le s}\ \min_{\delta\ne0,\ |\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1}\frac{|X\delta|_2}{\sqrt n\,|\delta_{J_0}|_2}>0 .κ(s,c0​)=∣J0​∣≤smin​ δ=0, ∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​min​n​∣δJ0​​∣2​∣Xδ∣2​​>0.

Assumption RE(s,m,c0)(s,m,c_0)(s,m,c0​) (1≤s≤M/21\le s\le M/21≤s≤M/2, m≥sm\ge sm≥s, s+m≤Ms+m\le Ms+m≤M) is the same with ∣δJ01∣2|\delta_{J_{01}}|_2∣δJ01​​∣2​ in the denominator, where J01=J0∪J1J_{01}=J_0\cup J_1J01​=J0​∪J1​ and J1J_1J1​ collects the mmm largest in absolute value coordinates of δ\deltaδ outside J0J_0J0​.

Formalization targets

Goal: Theorem 7.2

Let M(β∗)≤s\mathcal M(\beta^*)\le sM(β∗)≤s, let RE(s,3)(s,3)(s,3) hold, and let r=Aσlog⁡M/nr=A\sigma\sqrt{\log M/n}r=AσlogM/n​ with A>22A>2\sqrt2A>22​. With probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8, every Lasso solution satisfies

∣β^L−β∗∣1≤16Aκ2(s,3)σslog⁡Mn,∣X(β^L−β∗)∣22≤16A2κ2(s,3)σ2slog⁡M,M(β^L)≤64ϕmax⁡κ2(s,3)s,|\hat\beta_L-\beta^*|_1\le\frac{16A}{\kappa^2(s,3)}\sigma s\sqrt{\frac{\log M}{n}},\qquad |X(\hat\beta_L-\beta^*)|_2^2\le\frac{16A^2}{\kappa^2(s,3)}\sigma^2s\log M,\qquad \mathcal M(\hat\beta_L)\le\frac{64\phi_{\max}}{\kappa^2(s,3)}s,∣β^​L​−β∗∣1​≤κ2(s,3)16A​σsnlogM​​,∣X(β^​L​−β∗)∣22​≤κ2(s,3)16A2​σ2slogM,M(β^​L​)≤κ2(s,3)64ϕmax​​s,

and, if RE(s,m,3)(s,m,3)(s,m,3) holds, on the same event and for all 1<p≤21<p\le21<p≤2,

∣β^L−β∗∣pp≤16{1+3sm}2(p−1)s(Aσκ2(s,m,3)log⁡Mn)p.|\hat\beta_L-\beta^*|_p^p\le16\Big\{1+3\sqrt{\tfrac sm}\Big\}^{2(p-1)}s\Big(\frac{A\sigma}{\kappa^2(s,m,3)}\sqrt{\frac{\log M}{n}}\Big)^p .∣β^​L​−β∗∣pp​≤16{1+3ms​​}2(p−1)s(κ2(s,m,3)Aσ​nlogM​​)p.

Milestones

In the order in which the paper's proof uses them:

  1. (B.4): the noise event A=⋂j{2∣1nx(j)⊤w∣≤r}\mathcal A=\bigcap_j\{2|\tfrac1n x_{(j)}^\top w|\le r\}A=⋂j​{2∣n1​x(j)⊤​w∣≤r} has P(Ac)≤M1−A2/8\mathbb P(\mathcal A^c)\le M^{1-A^2/8}P(Ac)≤M1−A2/8.
  2. (B.6): the optimality conditions of the Lasso.
  3. Lemma B.1 (Section 7 case): the basic inequality (B.1) for all β\betaβ, the residual bound (B.2) and the sparsity bound M(β^L)≤4ϕmax⁡∥fβ^L−f∥n2/r2\mathcal M(\hat\beta_L)\le4\phi_{\max}\|f_{\hat\beta_L}-f\|_n^2/r^2M(β^​L​)≤4ϕmax​∥fβ^​L​​−f∥n2​/r2 (B.3).
  4. Corollary B.2: the error δ=β^L−β\delta=\hat\beta_L-\betaδ=β^​L​−β lies in the cone ∣δJ0c∣1≤3∣δJ0∣1|\delta_{J_0^c}|_1\le3|\delta_{J_0}|_1∣δJ0c​​∣1​≤3∣δJ0​​∣1​.
  5. (B.30)–(B.31): on A\mathcal AA, 1n∣Xδ∣22≤16r2s/κ2\frac1n|X\delta|_2^2\le16r^2s/\kappa^2n1​∣Xδ∣22​≤16r2s/κ2 and ∣δJ0∣2≤4rs/κ2|\delta_{J_0}|_2\le4r\sqrt s/\kappa^2∣δJ0​​∣2​≤4rs​/κ2.
  6. (B.27) and (B.28) with c0=3c_0=3c0​=3: ℓ1\ell_1ℓ1​ and ℓ2\ell_2ℓ2​ norms of a cone vector.
  7. The ℓp\ell_pℓp​ interpolation ∑ajp≤b12−pb2p−1\sum a_j^p\le b_1^{2-p}b_2^{p-1}∑ajp​≤b12−p​b2p−1​.

Significance

The result. Theorem 7.2 gives, for fixed nnn and MMM rather than asymptotically, the rate slog⁡M/ns\log M/nslogM/n for the prediction loss and slog⁡M/ns\sqrt{\log M/n}slogM/n​ for the ℓ1\ell_1ℓ1​ loss of the Lasso, under a condition on the design only (RE), with no assumption on how MMM compares with nnn. The dependence on MMM is only logarithmic, which is what makes the Lasso usable when M≫nM\gg nM≫n. Bound (7.9) shows that the Lasso selects at most a constant multiple of sss variables, and (7.10) covers every ℓp\ell_pℓp​ loss between ℓ1\ell_1ℓ1​ and ℓ2\ell_2ℓ2​. Together with Theorem 7.1 for the Dantzig selector, the result shows that the two estimators have the same rates.

Formalizing it. The theorem is proved on paper. As far as a search of the platform shows, there is no machine-checked proof of a probabilistic Lasso rate. The closest platform statement, HighDimStat.SparseLinear.lasso_l2_error_bound (Wainwright, Theorem 7.13(a)), is deterministic, assumes a lower bound on the regularisation parameter in place of Gaussian noise, uses a restricted eigenvalue condition over the cone of one fixed support, and concludes an ℓ2\ell_2ℓ2​ bound with a different constant. A formal proof of Theorem 7.2 would supply the Gaussian maximal inequality, the Lasso optimality conditions, and the cone and interpolation inequalities as reusable lemmas.

Difficulty

Each step is short on paper, and none of the steps is deep. The main work is in three places. First, the probability: the event on which the deterministic argument runs involves all MMM correlations 1nx(j)⊤w\frac1n x_{(j)}^\top wn1​x(j)⊤​w at once, and its probability must be bounded by exactly M1−A2/8M^{1-A^2/8}M1−A2/8, which requires the law of a linear combination of independent Gaussians and a sharp Gaussian tail estimate, not a generic concentration bound with unspecified constants. Second, the Lasso is defined only through its minimising property, while the sparsity bound (7.9) is a statement about the number of non-zero coordinates of a minimiser of a non-differentiable objective; the characterisation (B.6) of minimisers is not in Mathlib. Third, (7.10) involves two restricted eigenvalue constants, a ranking of coordinates with possible ties, and real exponents, and every constant has to come out exactly.

The obvious idea of proving (7.7)–(7.10) for one fixed minimiser does not suffice: the statement quantifies over every minimiser on a single event.

Formalization scope

The design XXX is a Matrix (Fin n) (Fin M) ℝ; vectors are functions Fin M → ℝ. The noise is a family W : Fin n → Ω → ℝ of independent, measurable random variables with law gaussianReal 0 σ² on a probability space, and y(ω)=Xβ∗+W(ω)y(\omega)=X\beta^*+W(\omega)y(ω)=Xβ∗+W(ω). The probabilistic conclusion is one measurable event EEE with P(E)≥1−M1−A2/8\mathbb P(E)\ge1-M^{1-A^2/8}P(E)≥1−M1−A2/8 on which every minimiser of (7.2) satisfies all bounds; the event does not depend on the minimiser, on mmm or on ppp. log⁡\loglog is the natural logarithm.

RE(s,3)(s,3)(s,3) and RE(s,m,3)(s,m,3)(s,m,3) are stated through witnesses: a predicate "κn∣δJ0∣2≤∣Xδ∣2\kappa\sqrt n|\delta_{J_0}|_2\le|X\delta|_2κn​∣δJ0​​∣2​≤∣Xδ∣2​ for every admissible J0J_0J0​ and δ\deltaδ", and the theorem holds for every witness κ>0\kappa>0κ>0. Because the paper's κ(s,c0)\kappa(s,c_0)κ(s,c0​) is an attained minimum, every witness is at most it and the bounds decrease in κ\kappaκ, so this is equivalent to the printed statement. The assumption quantifies over every J0J_0J0​ with ∣J0∣≤s|J_0|\le s∣J0​∣≤s, as on page 7, not only over the support of β∗\beta^*β∗. ϕmax⁡\phi_{\max}ϕmax​ is the supremum of 1n∣Xx∣22\frac1n|Xx|_2^2n1​∣Xx∣22​ over unit vectors xxx. Lemma B.1 is stated in its Section-7 specialisation (unit column norms, f=Xβ∗f=X\beta^*f=Xβ∗), the form used in the proof of Theorem 7.2; (B.28) is stated for every c0>0c_0>0c0​>0 and (B.27) likewise, since the paper writes them with c0=1c_0=1c0​=1 and invokes them with c0=3c_0=3c0​=3. The printed Theorem 7.2 needs no correction; all four constants were checked against the proof.

A formalization in which the noise is not Gaussian, the Lasso predicate can be vacuous, the RE condition is imposed only on the support of β∗\beta^*β∗, or the probability is that of a non-measurable set, is not this theorem and is ruled out by the statement.

Needed infrastructure: Gaussian tail bounds and the law of a linear combination of independent Gaussians (largely in Mathlib), subdifferential calculus for ℓ1\ell_1ℓ1​-penalised least squares, and elementary finite-sum inequalities. The cone inequalities (B.27)–(B.28), the interpolation inequality and the optimality conditions (B.6) are reusable in other sparse-estimation missions; contributions to any milestone are welcome.

Selected references

  • P. J. Bickel, Y. Ritov, A. B. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4), 1705–1732, 2009. arXiv:0801.1095v3, https://arxiv.org/abs/0801.1095 ; https://doi.org/10.1214/08-AOS620
  • F. Bunea, A. B. Tsybakov, M. H. Wegkamp, Sparsity oracle inequalities for the Lasso, Electron. J. Statist. 1, 169–194, 2007. https://doi.org/10.1214/07-EJS008
  • E. Candès, T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6), 2313–2351, 2007. https://arxiv.org/abs/math/0506081
  • R. Tibshirani, Regression shrinkage and selection via the lasso, J. R. Statist. Soc. B 58(1), 267–288, 1996. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x
  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019, Chapter 7. https://doi.org/10.1017/9781108627771
10 thms4 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Simultaneous Analysis of Lasso and Dantzig Selector IV: Estimation and Prediction Error Bounds for the Dantzig SelectorResearch Paper

Motivation

In high-dimensional linear regression the number of unknown coefficients MMM may be much larger than the number of observations nnn, and the coefficient vector can only be recovered because it is assumed to be sparse: few of its entries are non-zero. Two convex estimators dominate this setting: the Lasso of Tibshirani (1996), an ℓ1\ell_1ℓ1​-penalized least-squares estimator, and the Dantzig selector of Candès and Tao (2007), which minimizes the ℓ1\ell_1ℓ1​ norm subject to a bound on the correlation between the residual and the columns of the design. Both are used routinely in statistics, signal processing and machine learning, and their rates of convergence determine how many observations suffice to estimate a sparse vector.

Bickel, Ritov and Tsybakov (arXiv:0801.1095; Ann. Statist. 37(4), 2009) analysed the two estimators side by side under a single, weak condition on the design, the restricted eigenvalue (RE) assumption. This mission formalizes their rates for the Dantzig selector, Theorem 7.1 of the paper.

Timeline. Candès and Tao (Ann. Statist. 35, 2007) introduced the Dantzig selector and bounded its ℓ2\ell_2ℓ2​ error under a uniform uncertainty principle on the design. Bickel, Ritov and Tsybakov (2009) replaced that condition by the RE assumptions, which are implied by it (their Lemma 4.1), and obtained ℓp\ell_pℓp​ bounds for every 1≤p≤21\le p\le21≤p≤2 and a prediction bound, with explicit constants. Later work (van de Geer and Bühlmann, EJS 2009) compared RE with the compatibility condition and other design conditions.

Setting

Observations follow the linear model

y=Xβ∗+w,y=X\beta^*+w,y=Xβ∗+w,

where X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M is a deterministic design matrix, n≥1n\ge1n≥1, M≥2M\ge2M≥2, β∗∈RM\beta^*\in\mathbb R^Mβ∗∈RM is unknown, and w=(W1,…,Wn)w=(W_1,\dots,W_n)w=(W1​,…,Wn​) has independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) coordinates with σ>0\sigma>0σ>0. The columns are normalized: every diagonal element of the Gram matrix XTX/nX^TX/nXTX/n equals 1.

For β∈RM\beta\in\mathbb R^Mβ∈RM, J(β)={j:βj≠0}J(\beta)=\{j:\beta_j\ne0\}J(β)={j:βj​=0} is its support and M(β)=∣J(β)∣\mathcal M(\beta)=|J(\beta)|M(β)=∣J(β)∣ its sparsity; β∗\beta^*β∗ satisfies M(β∗)≤s\mathcal M(\beta^*)\le sM(β∗)≤s for an integer 1≤s≤M1\le s\le M1≤s≤M. Norms are ∣δ∣p=(∑j∣δj∣p)1/p|\delta|_p=(\sum_j|\delta_j|^p)^{1/p}∣δ∣p​=(∑j​∣δj​∣p)1/p and ∣v∣22=∑ivi2|v|_2^2=\sum_iv_i^2∣v∣22​=∑i​vi2​; for an index set JJJ, δJ\delta_JδJ​ keeps the coordinates of δ\deltaδ in JJJ and sets the others to 0, and JcJ^cJc is the complement of JJJ.

With a tuning level r=Aσlog⁡M/nr=A\sigma\sqrt{\log M/n}r=AσlogM/n​, A>2A>\sqrt2A>2​, the Dantzig selector is any minimizer

β^D∈arg⁡min⁡β∈Λ∣β∣1,Λ={β∈RM: ∣1nXT(y−Xβ)∣∞≤r}.\hat\beta_D\in\arg\min_{\beta\in\Lambda}|\beta|_1,\qquad \Lambda=\Big\{\beta\in\mathbb R^M:\ \Big|\tfrac1nX^T(y-X\beta)\Big|_\infty\le r\Big\}.β^​D​∈argβ∈Λmin​∣β∣1​,Λ={β∈RM: ​n1​XT(y−Xβ)​∞​≤r}.

The cone condition at an index set J0J_0J0​ with constant c0>0c_0>0c0​>0 is ∣δJ0c∣1≤c0∣δJ0∣1|\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​. Assumption RE(s,c0)(s,c_0)(s,c0​) asks that

κ(s,c0)=min⁡∣J0∣≤s min⁡δ≠0, ∣δJ0c∣1≤c0∣δJ0∣1∣Xδ∣2n ∣δJ0∣2>0.\kappa(s,c_0)=\min_{|J_0|\le s}\ \min_{\delta\ne0,\ |\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1}\frac{|X\delta|_2}{\sqrt n\,|\delta_{J_0}|_2}>0 .κ(s,c0​)=∣J0​∣≤smin​ δ=0, ∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​min​n​∣δJ0​​∣2​∣Xδ∣2​​>0.

Assumption RE(s,m,c0)(s,m,c_0)(s,m,c0​) is the same with ∣δJ01∣2|\delta_{J_{01}}|_2∣δJ01​​∣2​ in the denominator, where J01=J0∪J1J_{01}=J_0\cup J_1J01​=J0​∪J1​ and J1J_1J1​ collects the mmm largest ∣δj∣|\delta_j|∣δj​∣ outside J0J_0J0​; it is used for s≤ms\le ms≤m, s+m≤Ms+m\le Ms+m≤M.

Formalization targets

Goal: Theorem 7.1

With probability at least 1−M1−A2/21-M^{1-A^2/2}1−M1−A2/2, every Dantzig selector satisfies

∣β^D−β∗∣1≤8Aκ2(s,1) σslog⁡Mn,∣X(β^D−β∗)∣22≤16A2κ2(s,1) σ2slog⁡M,|\hat\beta_D-\beta^*|_1\le\frac{8A}{\kappa^2(s,1)}\,\sigma s\sqrt{\frac{\log M}{n}},\qquad |X(\hat\beta_D-\beta^*)|_2^2\le\frac{16A^2}{\kappa^2(s,1)}\,\sigma^2s\log M,∣β^​D​−β∗∣1​≤κ2(s,1)8A​σsnlogM​​,∣X(β^​D​−β∗)∣22​≤κ2(s,1)16A2​σ2slogM,

and, on the same event, if RE(s,m,1)(s,m,1)(s,m,1) holds, simultaneously for all 1<p≤21<p\le21<p≤2,

∣β^D−β∗∣pp≤2p−1 8{1+sm}2(p−1)s(Aσκ2(s,m,1)log⁡Mn)p.|\hat\beta_D-\beta^*|_p^p\le2^{p-1}\,8\Big\{1+\sqrt{\tfrac sm}\Big\}^{2(p-1)}s\Big(\frac{A\sigma}{\kappa^2(s,m,1)}\sqrt{\frac{\log M}{n}}\Big)^p .∣β^​D​−β∗∣pp​≤2p−18{1+ms​​}2(p−1)s(κ2(s,m,1)Aσ​nlogM​​)p.

Milestones

In the order the proof of the paper uses them:

  1. The noise event B=⋂j{∣1n∑iXijWi∣≤r∥fj∥n}\mathcal B=\bigcap_j\{|\frac1n\sum_iX_{ij}W_i|\le r\|f_j\|_n\}B=⋂j​{∣n1​∑i​Xij​Wi​∣≤r∥fj​∥n​} has P{Bc}≤M1−A2/2\mathbb P\{\mathcal B^c\}\le M^{1-A^2/2}P{Bc}≤M1−A2/2 (proof of Lemma B.3).
  2. Lemma B.3, (B.9): for any β\betaβ satisfying the Dantzig constraint, δ=β^D−β\delta=\hat\beta_D-\betaδ=β^​D​−β satisfies the cone condition at J(β)J(\beta)J(β) with c0=1c_0=1c0​=1.
  3. (B.25): on B\mathcal BB, β∗∈Λ\beta^*\in\Lambdaβ∗∈Λ, 1n∣XTXδ∣∞≤2r\frac1n|X^TX\delta|_\infty\le2rn1​∣XTXδ∣∞​≤2r, and 1n∣Xδ∣22≤4rs ∣δJ0∣2\frac1n|X\delta|_2^2\le4r\sqrt s\,|\delta_{J_0}|_2n1​∣Xδ∣22​≤4rs​∣δJ0​​∣2​.
  4. (B.26): under RE(s,1)(s,1)(s,1), 1n∣Xδ∣22≤16r2s/κ2\frac1n|X\delta|_2^2\le16r^2s/\kappa^2n1​∣Xδ∣22​≤16r2s/κ2 and ∣δJ0∣2≤4rs/κ2|\delta_{J_0}|_2\le4r\sqrt s/\kappa^2∣δJ0​​∣2​≤4rs​/κ2.
  5. (B.27): on the cone, ∣δ∣1≤(1+c0)s ∣δJ0∣2|\delta|_1\le(1+c_0)\sqrt s\,|\delta_{J_0}|_2∣δ∣1​≤(1+c0​)s​∣δJ0​​∣2​.
  6. (B.28): on the cone, ∣δ∣2≤(1+c0s/m) ∣δJ01∣2|\delta|_2\le(1+c_0\sqrt{s/m})\,|\delta_{J_{01}}|_2∣δ∣2​≤(1+c0​s/m​)∣δJ01​​∣2​.
  7. (B.29): under RE(s,m,1)(s,m,1)(s,m,1), ∣δ∣22≤16(1+s/m)2(rs/κ2)2|\delta|_2^2\le16(1+\sqrt{s/m})^2(r\sqrt s/\kappa^2)^2∣δ∣22​≤16(1+s/m​)2(rs​/κ2)2.
  8. Interpolation: ∑jaj≤b1\sum_ja_j\le b_1∑j​aj​≤b1​, ∑jaj2≤b2\sum_ja_j^2\le b_2∑j​aj2​≤b2​, aj≥0a_j\ge0aj​≥0 imply ∑jajp≤b12−pb2p−1\sum_ja_j^p\le b_1^{2-p}b_2^{p-1}∑j​ajp​≤b12−p​b2p−1​ for 1<p≤21<p\le21<p≤2.

Significance

The result. Theorem 7.1 shows that, up to the factor log⁡M\log MlogM, the Dantzig selector estimates an sss-sparse vector as well as least squares would if the support were known: the prediction error 1n∣X(β^D−β∗)∣22\frac1n|X(\hat\beta_D-\beta^*)|_2^2n1​∣X(β^​D​−β∗)∣22​ is of order σ2slog⁡M/n\sigma^2s\log M/nσ2slogM/n, and the ℓp\ell_pℓp​ errors are of order s1/pσlog⁡M/ns^{1/p}\sigma\sqrt{\log M/n}s1/pσlogM/n​. The bounds hold for any MMM, including M≫nM\gg nM≫n, provided only that RE holds, and every constant is explicit. The paper's Theorem 7.2 gives the same rates for the Lasso; comparing the two is the paper's main message.

Formalizing it. The theorem is proved in the paper; to the best of current knowledge it has not been machine-checked. A complete formal proof would provide: a verified Gaussian maximal inequality for the noise event, the deterministic cone and RE arithmetic that underlies essentially all ℓ1\ell_1ℓ1​-regularized estimation theory, and a reusable ℓ1\ell_1ℓ1​–ℓ2\ell_2ℓ2​ interpolation lemma. Most milestones are deterministic and independent of the probability layer.

Difficulty

The obvious argument — compare β^D\hat\beta_Dβ^​D​ with β∗\beta^*β∗ in Euclidean norm using the smallest eigenvalue of XTX/nX^TX/nXTX/n — fails because that eigenvalue is 0 whenever M>nM>nM>n. The proof must instead show that the error vector lies in a cone on which XXX is injective in a quantitative sense, and this uses the optimality of β^D\hat\beta_Dβ^​D​ (not just feasibility) together with the event B\mathcal BB on which β∗\beta^*β∗ itself is feasible. The ℓp\ell_pℓp​ bound needs a second, stronger condition RE(s,m,1)(s,m,1)(s,m,1) and a control of the tail of the error outside the mmm largest coordinates. On the formal side, handling the non-uniqueness of the minimizer, real powers with exponent p−1p-1p−1 or 2−p2-p2−p, and the union over MMM Gaussian tails with the exact constant M1−A2/2M^{1-A^2/2}M1−A2/2 all need care.

Formalization scope

Vectors are functions Fin M → ℝ, the design is Matrix (Fin n) (Fin M) ℝ; the paper's dictionary of functions enters only through XXX. The unit diagonal of XTX/nX^TX/nXTX/n is a hypothesis, not a normalization performed in the proof. The noise is W : Fin n → Ω → ℝ on a probability space, measurable, mutually independent, each of law N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2); log⁡\loglog is the natural logarithm. The Dantzig selector is a predicate (feasible and of minimal ℓ1\ell_1ℓ1​ norm among feasible vectors), and every result is stated for every minimizer. RE(s,c0)(s,c_0)(s,c0​) and RE(s,m,c0)(s,m,c_0)(s,m,c0​) are stated through a witness κ\kappaκ (a number with the defining lower-bound property); κ(s,c0)\kappa(s,c_0)κ(s,c0​) is the largest witness and the bounds decrease in κ\kappaκ, so the statements are equivalent to the paper's while avoiding the value of a real infimum over an empty set. Two witnesses are kept apart: κ\kappaκ for RE(s,1)(s,1)(s,1) in (7.4)–(7.5), κ′\kappa'κ′ for RE(s,m,1)(s,m,1)(s,m,1) in (7.6). Ties in the choice of the mmm largest coordinates are handled by quantifying over every admissible J1J_1J1​. The probability statement asserts one measurable event EEE with P(E)≥1−M1−A2/2\mathbb P(E)\ge1-M^{1-A^2/2}P(E)≥1−M1−A2/2 on which all three bounds hold for every minimizer, every admissible mmm, every witness κ′\kappa'κ′ and every ppp.

The event EEE is fixed before the minimizer is quantified, so a formalization in which the event depends on β^D\hat\beta_Dβ^​D​, or in which RE is a hypothesis about the random error vector rather than the design, would be a different (weaker) statement and is not accepted. The deterministic milestones (B.26)–(B.29) take the conclusion of (B.25) as a hypothesis; they are true for every vector satisfying their hypotheses and are not restricted to the event.

A complete development needs Gaussian tail bounds and a union bound (Mathlib's gaussianReal), finite Hölder-type inequalities for real exponents, and elementary sorting arguments for the tail outside J01J_{01}J01​. The cone, RE and interpolation lemmas are reusable for the Lasso (Theorem 7.2, a sister mission) and beyond. Proofs of any milestone are welcome independently.

Selected references

  • P. J. Bickel, Y. Ritov, A. B. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4), 1705–1732, 2009. arXiv:0801.1095v3: https://arxiv.org/abs/0801.1095
  • E. Candès, T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6), 2313–2351, 2007. https://doi.org/10.1214/009053606000001523
  • R. Tibshirani, Regression shrinkage and selection via the lasso, J. R. Stat. Soc. B 58(1), 267–288, 1996. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x
  • S. van de Geer, P. Bühlmann, On the conditions used to prove oracle results for the Lasso, Electron. J. Statist. 3, 1360–1392, 2009. https://doi.org/10.1214/09-EJS506
10 thms4 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Simultaneous Analysis of Lasso and Dantzig Selector II: Approximate Equivalence of the Lasso and Dantzig Prediction LossesResearch Paper

Motivation

Two estimators dominate sparse high-dimensional regression, where the number MMM of candidate regressors can far exceed the sample size nnn. The Lasso (Tibshirani, 1996) minimises a least-squares criterion plus an ℓ1\ell_1ℓ1​ penalty. The Dantzig selector (Candès and Tao, 2007) minimises the ℓ1\ell_1ℓ1​ norm of the coefficients subject to a bound on the correlation between the residual and the regressors, and is computed by a linear program. They were proposed independently and first analysed under different assumptions: sparsity oracle inequalities for the Lasso (Bunea, Tsybakov and Wegkamp, 2007) and ℓ2\ell_2ℓ2​ bounds for the Dantzig selector under a uniform uncertainty principle (Candès and Tao, 2007). A practitioner choosing between them needs to know whether guarantees for one say anything about the other.

Bickel, Ritov and Tsybakov (arXiv:0801.1095; Ann. Statist. 37(4), 2009, doi:10.1214/08-AOS620) analyse both estimators in parallel under one assumption on the design, the restricted eigenvalue condition. Their main message is that, under sparsity, the two estimators "exhibit similar behavior" (p. 2). Section 5 makes this precise: the prediction losses of the two estimators are close. The result holds in a nonparametric model: the regression function need not be a combination of the regressors. This mission formalizes that comparison, Theorem 5.1 of the paper.

Setting

Let f1,…,fMf_1,\dots,f_Mf1​,…,fM​ be real functions (the dictionary) on a set Z\mathcal ZZ, and Z1,…,Zn∈ZZ_1,\dots,Z_n\in\mathcal ZZ1​,…,Zn​∈Z fixed design points, with n≥1n\ge1n≥1 and M≥2M\ge2M≥2. The design matrix is X=(fj(Zi))∈Rn×MX=(f_j(Z_i))\in\mathbb R^{n\times M}X=(fj​(Zi​))∈Rn×M. Observations are Yi=f(Zi)+WiY_i=f(Z_i)+W_iYi​=f(Zi​)+Wi​, where fff is an unknown function and W1,…,WnW_1,\dots,W_nW1​,…,Wn​ are independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) with σ>0\sigma>0σ>0. Write y=(Yi)y=(Y_i)y=(Yi​), f=(f(Zi))\boldsymbol f=(f(Z_i))f=(f(Zi​)) and w=(Wi)w=(W_i)w=(Wi​), so y=f+wy=\boldsymbol f+wy=f+w.

The empirical norm of ggg is ∥g∥n=(1n∑ig(Zi)2)1/2\|g\|_n=(\tfrac1n\sum_i g(Z_i)^2)^{1/2}∥g∥n​=(n1​∑i​g(Zi​)2)1/2. Every column has ∥fj∥n≠0\|f_j\|_n\neq0∥fj​∥n​=0, and fmax⁡=max⁡j∥fj∥nf_{\max}=\max_j\|f_j\|_nfmax​=maxj​∥fj​∥n​. For β∈RM\beta\in\mathbb R^Mβ∈RM, fβ=∑jβjfjf_\beta=\sum_j\beta_jf_jfβ​=∑j​βj​fj​ has value vector XβX\betaXβ. The support is J(β)={j:βj≠0}J(\beta)=\{j:\beta_j\ne0\}J(β)={j:βj​=0} and the sparsity is M(β)=∣J(β)∣\mathcal M(\beta)=|J(\beta)|M(β)=∣J(β)∣. For J⊆{1,…,M}J\subseteq\{1,\dots,M\}J⊆{1,…,M}, δJ\delta_JδJ​ agrees with δ\deltaδ on JJJ and vanishes elsewhere.

Fix r>0r>0r>0. The Lasso β^L\hat\beta_Lβ^​L​ is any minimiser of

1n∑i=1n(Yi−fβ(Zi))2+2r∑j=1M∥fj∥n∣βj∣.\frac1n\sum_{i=1}^n\big(Y_i-f_\beta(Z_i)\big)^2+2r\sum_{j=1}^M\|f_j\|_n|\beta_j| .n1​i=1∑n​(Yi​−fβ​(Zi​))2+2rj=1∑M​∥fj​∥n​∣βj​∣.

With D=diag(∥f1∥n2,…,∥fM∥n2)D=\mathrm{diag}(\|f_1\|_n^2,\dots,\|f_M\|_n^2)D=diag(∥f1​∥n2​,…,∥fM​∥n2​), the Dantzig constraint is ∣1nD−1/2X⊤(y−Xβ)∣∞≤r|\tfrac1nD^{-1/2}X^\top(y-X\beta)|_\infty\le r∣n1​D−1/2X⊤(y−Xβ)∣∞​≤r. The Dantzig selector β^D\hat\beta_Dβ^​D​ is any vector of smallest ∣β∣1=∑j∣βj∣|\beta|_1=\sum_j|\beta_j|∣β∣1​=∑j​∣βj​∣ that satisfies it. The estimators are f^L=fβ^L\hat f_L=f_{\hat\beta_L}f^​L​=fβ^​L​​ and f^D=fβ^D\hat f_D=f_{\hat\beta_D}f^​D​=fβ^​D​​.

Assumption RE(s,c0)(s,c_0)(s,c0​) with 1≤s≤M1\le s\le M1≤s≤M, c0>0c_0>0c0​>0 asks that

κ(s,c0)=min⁡∣J0∣≤s min⁡δ≠0, ∣δJ0c∣1≤c0∣δJ0∣1 ∣Xδ∣2n ∣δJ0∣2>0.\kappa(s,c_0)=\min_{|J_0|\le s}\ \min_{\delta\ne0,\ |\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1}\ \frac{|X\delta|_2}{\sqrt n\,|\delta_{J_0}|_2}>0 .κ(s,c0​)=∣J0​∣≤smin​ δ=0, ∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​min​ n​∣δJ0​​∣2​∣Xδ∣2​​>0.

Throughout, r=Aσlog⁡M/nr=A\sigma\sqrt{\log M/n}r=AσlogM/n​, where log⁡\loglog is the natural logarithm.

Formalization targets

Goal: Theorem 5.1

Assume RE(s,1)(s,1)(s,1) with 1≤s≤M1\le s\le M1≤s≤M, and let A>22A>2\sqrt2A>22​. With probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8, every Lasso solution with M(β^L)≤s\mathcal M(\hat\beta_L)\le sM(β^​L​)≤s and every Dantzig selector satisfy

∣ ∥f^D−f∥n2−∥f^L−f∥n2 ∣≤16A2 M(β^L)σ2n fmax⁡2κ2(s,1) log⁡M.\Big|\,\|\hat f_D-f\|_n^2-\|\hat f_L-f\|_n^2\,\Big|\le16A^2\,\frac{\mathcal M(\hat\beta_L)\sigma^2}{n}\,\frac{f_{\max}^2}{\kappa^2(s,1)}\,\log M .​∥f^​D​−f∥n2​−∥f^​L​−f∥n2​​≤16A2nM(β^​L​)σ2​κ2(s,1)fmax2​​logM.

Milestones

The proof uses one probabilistic event and two one-sided deterministic inequalities.

  1. The Lasso satisfies the Dantzig constraint (2.3).
  2. The noise event A=⋂j{2∣1n∑iXijWi∣≤r∥fj∥n}\mathcal A=\bigcap_j\{2|\tfrac1n\sum_iX_{ij}W_i|\le r\|f_j\|_n\}A=⋂j​{2∣n1​∑i​Xij​Wi​∣≤r∥fj​∥n​} has P(Ac)≤M1−A2/8\mathbb P(\mathcal A^c)\le M^{1-A^2/8}P(Ac)≤M1−A2/8 (B.4).
  3. On A\mathcal AA, ∣1nX⊤(f−Xβ^L)∣∞≤3rfmax⁡/2|\tfrac1nX^\top(\boldsymbol f-X\hat\beta_L)|_\infty\le 3rf_{\max}/2∣n1​X⊤(f−Xβ^​L​)∣∞​≤3rfmax​/2 (Lemma B.1, (B.2)).
  4. The Dantzig error lies in the cone ∣δJ0c∣1≤∣δJ0∣1|\delta_{J_0^c}|_1\le|\delta_{J_0}|_1∣δJ0c​​∣1​≤∣δJ0​​∣1​ (Lemma B.3, (B.9)).
  5. On the larger event B⊇A\mathcal B\supseteq\mathcal AB⊇A, ∣1nX⊤(f−Xβ^D)∣∞≤2rfmax⁡|\tfrac1nX^\top(\boldsymbol f-X\hat\beta_D)|_\infty\le 2rf_{\max}∣n1​X⊤(f−Xβ^​D​)∣∞​≤2rfmax​ (Lemma B.3, (B.10)).
  6. ∥f^D−f∥n2≤∥f^L−f∥n2+16fmax⁡2r2M(β^L)/κ2\|\hat f_D-f\|_n^2\le\|\hat f_L-f\|_n^2+16f_{\max}^2r^2\mathcal M(\hat\beta_L)/\kappa^2∥f^​D​−f∥n2​≤∥f^​L​−f∥n2​+16fmax2​r2M(β^​L​)/κ2 on B\mathcal BB (B.15).
  7. ∥f^L−f∥n2≤∥f^D−f∥n2+9fmax⁡2r2M(β^L)/κ2\|\hat f_L-f\|_n^2\le\|\hat f_D-f\|_n^2+9f_{\max}^2r^2\mathcal M(\hat\beta_L)/\kappa^2∥f^​L​−f∥n2​≤∥f^​D​−f∥n2​+9fmax2​r2M(β^​L​)/κ2 on A\mathcal AA (B.17).

Further result: Theorem 5.2

Assume ∥fj∥n=1\|f_j\|_n=1∥fj​∥n​=1 for all jjj and RE(s,5)(s,5)(s,5). With probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8, whenever M(β^D)≤s\mathcal M(\hat\beta_D)\le sM(β^​D​)≤s,

∥f^L−f∥n2≤10∥f^D−f∥n2+81A2 M(β^D)σ2n log⁡Mκ2(s,5).\|\hat f_L-f\|_n^2\le10\|\hat f_D-f\|_n^2+81A^2\,\frac{\mathcal M(\hat\beta_D)\sigma^2}{n}\,\frac{\log M}{\kappa^2(s,5)} .∥f^​L​−f∥n2​≤10∥f^​D​−f∥n2​+81A2nM(β^​D​)σ2​κ2(s,5)logM​.

Significance

The result. Theorem 5.1 bounds the gap between the two prediction losses by the rate M(β^L)σ2log⁡M/n\mathcal M(\hat\beta_L)\sigma^2\log M/nM(β^​L​)σ2logM/n of a sparse regression with M(β^L)\mathcal M(\hat\beta_L)M(β^​L​) parameters. The bound carries a factor fmax⁡2/κ2(s,1)f^2_{\max}/\kappa^2(s,1)fmax2​/κ2(s,1) that measures how ill-conditioned the Gram matrix is on sparse vectors. A prediction bound for one estimator therefore transfers to the other at this cost. The paper uses this transfer in Proposition 6.3, which combines Theorem 5.1 with the Lasso oracle inequality of Section 6 to derive an oracle inequality for the Dantzig selector. The theorem requires no assumption relating fff to the dictionary.

Formalizing it. The result has been proved since 2009, and this mission formalizes that proof. None of the objects involved exists on Prove2Me yet: the weighted Lasso, the Dantzig selector and the Gaussian noise events. The Wainwright series on the platform defines a differently normalised Lasso with an unweighted penalty, a single fixed support and a different restricted eigenvalue condition, so it cannot be reused here. A machine-checked proof would also confirm the paper's constants, 16A216A^216A2 and the thresholds 222\sqrt222​ and M1−A2/8M^{1-A^2/8}M1−A2/8, which appear in all later analyses.

Difficulty

Each estimator is defined only implicitly, as the solution of an optimisation problem, and neither need be unique. Comparing their losses directly gives ±2nδ⊤X⊤(f−Xβ^)\pm\tfrac2n\delta^\top X^\top(\boldsymbol f-X\hat\beta)±n2​δ⊤X⊤(f−Xβ^​) plus 1n∣Xδ∣22\tfrac1n|X\delta|_2^2n1​∣Xδ∣22​ with δ=β^L−β^D\delta=\hat\beta_L-\hat\beta_Dδ=β^​L​−β^​D​. A crude bound on the cross term, ∣δ∣1⋅∣X⊤(⋅)∣∞|\delta|_1\cdot|X^\top(\cdot)|_\infty∣δ∣1​⋅∣X⊤(⋅)∣∞​, yields an error proportional to ∣δ∣1|\delta|_1∣δ∣1​. This does not produce the sparse rate unless ∣δ∣1|\delta|_1∣δ∣1​ is controlled by ∣Xδ∣2|X\delta|_2∣Xδ∣2​. That control needs δ\deltaδ to lie in the restricted eigenvalue cone at the support of the random, data-dependent vector β^L\hat\beta_Lβ^​L​. The restricted eigenvalue condition must therefore hold uniformly over supports of size at most sss; a condition for one fixed support does not suffice. The probabilistic part is a union bound over MMM Gaussian coordinates, and it must be arranged so that a single event serves every minimiser of both programs.

Formalization scope

The dictionary and the design points enter every statement only through XXX and f\boldsymbol ff, so the Lean statements take X : Matrix (Fin n) (Fin M) ℝ and f : Fin n → ℝ directly, and fff is arbitrary. The noise is a family W : Fin n → Ω → ℝ of measurable, mutually independent random variables with law gaussianReal 0 σ², and y=f+W(ω)y=f+W(\omega)y=f+W(ω). The Lasso and the Dantzig selector are predicates (IsLasso, IsDantzig), and every theorem is stated for every solution. The Dantzig constraint is written coordinatewise as ∣1n∑iXij(yi−(Xβ)i)∣≤r∥fj∥n|\tfrac1n\sum_iX_{ij}(y_i-(X\beta)_i)|\le r\|f_j\|_n∣n1​∑i​Xij​(yi​−(Xβ)i​)∣≤r∥fj​∥n​. The Lasso penalty and the Dantzig constraint are weighted by ∥fj∥n\|f_j\|_n∥fj​∥n​, and the Dantzig objective ∣β∣1|\beta|_1∣β∣1​ is unweighted, exactly as in the paper. Theorem 5.1 does not normalise the columns.

RE(s,c0)(s,c_0)(s,c0​) is stated through a witness: a real κ>0\kappa>0κ>0 with κn∣δJ0∣2≤∣Xδ∣2\kappa\sqrt n|\delta_{J_0}|_2\le|X\delta|_2κn​∣δJ0​​∣2​≤∣Xδ∣2​ on the cone, for all ∣J0∣≤s|J_0|\le s∣J0​∣≤s. The paper's κ(s,c0)\kappa(s,c_0)κ(s,c0​) is attained, so it is the largest witness. Every bound decreases in κ\kappaκ, so this reading is equivalent to the paper's and avoids a real infimum over an empty set. "With probability at least ppp" becomes the existence of a measurable event EEE with P(E)≥p\mathbb P(E)\ge pP(E)≥p on which the conclusion holds for every Lasso solution and every Dantzig selector. The condition M(β^L)≤s\mathcal M(\hat\beta_L)\le sM(β^​L​)≤s is imposed inside the event, per realisation. The milestones (B.2), (B.10), (B.15) and (B.17) are stated deterministically, on the noise events A\mathcal AA and B\mathcal BB as predicates on the noise vector; this is how the proof uses them. (B.4) is stated for every A>0A>0A>0, which is stronger than the paper's A>22A>2\sqrt2A>22​ and still true.

The goal cannot be made vacuous. For A>22A>2\sqrt2A>22​ the probability bound 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8 is positive. Lasso solutions exist because r>0r>0r>0 and every ∥fj∥n>0\|f_j\|_n>0∥fj​∥n​>0, and Dantzig selectors exist because the Lasso is feasible. RE(s,1)(s,1)(s,1) with κ=1\kappa=1κ=1 holds for X=n IX=\sqrt n\,IX=n​I.

A complete development needs:

  • subgradient optimality for the weighted Lasso;
  • a Gaussian tail bound P(∣η∣≥t)≤e−t2/2\mathbb P(|\eta|\ge t)\le e^{-t^2/2}P(∣η∣≥t)≤e−t2/2 together with the law of a weighted sum of independent Gaussians;
  • Cauchy–Schwarz on supports;
  • the quadratic bound bx−x2≤b2/4bx-x^2\le b^2/4bx−x2≤b2/4.

The noise-event lemmas and the Lasso optimality condition can be reused by the companion missions on this paper. Proofs of any milestone are welcome, including proofs that route (B.4) through Mathlib's sub-Gaussian API.

Selected references

  • P. J. Bickel, Y. Ritov, A. B. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4), 1705–1732, 2009. arXiv:0801.1095v3: https://arxiv.org/abs/0801.1095 ; doi:10.1214/08-AOS620
  • E. Candès, T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6), 2313–2351, 2007. https://doi.org/10.1214/009053606000001523
  • R. Tibshirani, Regression shrinkage and selection via the lasso, J. R. Stat. Soc. B 58(1), 267–288, 1996. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x
  • F. Bunea, A. B. Tsybakov, M. H. Wegkamp, Sparsity oracle inequalities for the Lasso, Electron. J. Stat. 1, 169–194, 2007. https://doi.org/10.1214/07-EJS008
9 thms4 active usersReviewed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

Generalization Bounds in the Predict-then-Optimize Framework I: Natarajan-Dimension Generalization Bound for Polyhedral Feasible RegionsResearch Paper

Motivation

In many operational problems (shortest paths, assignment, planning) the decision solves a linear program whose cost vector is unknown at decision time and is predicted from contextual features. The predict-then-optimize pipeline fits a model fff that maps a feature vector xxx to a predicted cost vector c^=f(x)\hat c=f(x)c^=f(x), and then acts on the decision that is optimal for c^\hat cc^. Elmachtoub and Grigas (Smart "Predict, then Optimize", Management Science 2022) proposed to measure the quality of such a model not by the prediction error but by the SPO loss (Smart Predict-then-Optimize loss): the excess true cost of the decision induced by the prediction over the best decision in hindsight.

The question is whether a small SPO loss on the training sample implies a small SPO loss on new data, uniformly over the models a training procedure may return. The SPO loss is neither convex nor continuous in the prediction, so the standard Lipschitz-based bounds for regression do not apply. El Balghiti, Elmachtoub, Grigas and Tewari (arXiv:1905.11488v3, Mathematics of Operations Research 2023; a preliminary version appeared at NeurIPS 2019) give the first such generalization bounds. This mission formalizes their first one, for polyhedral feasible regions, which treats every vertex of the feasible region as a class label of a multiclass classification problem. The bound has since been used by later work, e.g. Hu, Kallus and Mao (Fast rates for contextual linear optimization, Management Science 2022), who sharpen it by a log⁡n\sqrt{\log n}logn​ factor (as noted on p. 4 of the paper).

Setting

A feasible region S⊆RdS\subseteq\mathbb R^dS⊆Rd is nonempty, compact and convex. For a cost vector c∈Rdc\in\mathbb R^dc∈Rd the nominal problem is min⁡w∈Sc⊤w\min_{w\in S}c^\top wminw∈S​c⊤w. An optimization oracle is a fixed map w∗:Rd→Sw^*:\mathbb R^d\to Sw∗:Rd→S with w∗(c)∈arg⁡min⁡w∈Sc⊤ww^*(c)\in\arg\min_{w\in S}c^\top ww∗(c)∈argminw∈S​c⊤w for every ccc; nothing is assumed about how it breaks ties. The SPO loss of a prediction c^\hat cc^ when the realized cost is ccc is

ℓSPO(c^,c)=c⊤w∗(c^)−c⊤w∗(c) ≥0.\ell_{\rm SPO}(\hat c,c)=c^\top w^*(\hat c)-c^\top w^*(c)\ \ge 0 .ℓSPO​(c^,c)=c⊤w∗(c^)−c⊤w∗(c) ≥0.

The linear optimization gap is ωS(c)=max⁡w∈Sc⊤w−min⁡w∈Sc⊤w\omega_S(c)=\max_{w\in S}c^\top w-\min_{w\in S}c^\top wωS​(c)=maxw∈S​c⊤w−minw∈S​c⊤w, and for a set C\mathcal CC of cost vectors ωS(C)=sup⁡c∈CωS(c)\omega_S(\mathcal C)=\sup_{c\in\mathcal C}\omega_S(c)ωS​(C)=supc∈C​ωS​(c); the SPO loss of a cost in C\mathcal CC lies in [0,ωS(C)][0,\omega_S(\mathcal C)][0,ωS​(C)].

Data are pairs (x,c)(x,c)(x,c) drawn from a distribution D\mathcal DD on X×C\mathcal X\times\mathcal CX×C. A hypothesis class H\mathcal HH is a family of predictors f:X→Rdf:\mathcal X\to\mathbb R^df:X→Rd. The SPO risk is RSPO(f)=ED[ℓSPO(f(x),c)]R_{\rm SPO}(f)=\mathbb E_{\mathcal D}[\ell_{\rm SPO}(f(x),c)]RSPO​(f)=ED​[ℓSPO​(f(x),c)], and on an i.i.d. sample (x1,c1),…,(xn,cn)(x_1,c_1),\dots,(x_n,c_n)(x1​,c1​),…,(xn​,cn​) the empirical SPO risk is R^SPO(f)=1n∑iℓSPO(f(xi),ci)\hat R_{\rm SPO}(f)=\frac1n\sum_i\ell_{\rm SPO}(f(x_i),c_i)R^SPO​(f)=n1​∑i​ℓSPO​(f(xi​),ci​). The empirical Rademacher complexity with respect to the SPO loss is

R^SPOn(H)=Eσ[sup⁡f∈H1n∑i=1nσi ℓSPO(f(xi),ci)]\hat{\mathfrak R}^n_{\rm SPO}(\mathcal H)=\mathbb E_\sigma\Big[\sup_{f\in\mathcal H}\frac1n\sum_{i=1}^n\sigma_i\,\ell_{\rm SPO}(f(x_i),c_i)\Big]R^SPOn​(H)=Eσ​[f∈Hsup​n1​i=1∑n​σi​ℓSPO​(f(xi​),ci​)]

with independent uniform signs σi∈{±1}\sigma_i\in\{\pm1\}σi​∈{±1}, and RSPOn(H)\mathfrak R^n_{\rm SPO}(\mathcal H)RSPOn​(H) is its expectation over the sample.

The decisions induced by H\mathcal HH form the class w∗(H)={x↦w∗(f(x)):f∈H}w^*(\mathcal H)=\{x\mapsto w^*(f(x)):f\in\mathcal H\}w∗(H)={x↦w∗(f(x)):f∈H}. A class F\mathcal FF N-shatters a finite set X⊆X\mathbb X\subseteq\mathcal XX⊆X if there are two labelings g1,g2g_1,g_2g1​,g2​ that differ at every point of X\mathbb XX such that every mixture of them (follow g1g_1g1​ on a subset TTT, g2g_2g2​ on the rest) is realized by some member of F\mathcal FF. The Natarajan dimension dN(F)d_N(\mathcal F)dN​(F) is the largest size of an N-shattered set. When SSS is a polyhedron, S\mathfrak SS denotes its finite set of extreme points.

Formalization targets

Goal: Theorem 2, second display (p. 11)

For a polyhedral SSS and every δ>0\delta>0δ>0, with probability at least 1−δ1-\delta1−δ over an i.i.d. sample of size nnn, every f∈Hf\in\mathcal Hf∈H satisfies

RSPO(f)≤R^SPO(f)+2 ωS(C)2dN(w∗(H))log⁡(n∣S∣2)n+ωS(C)log⁡(1/δ)2n.R_{\rm SPO}(f)\le\hat R_{\rm SPO}(f)+2\,\omega_S(\mathcal C)\sqrt{\frac{2d_N(w^*(\mathcal H))\log(n|\mathfrak S|^2)}{n}}+\omega_S(\mathcal C)\sqrt{\frac{\log(1/\delta)}{2n}} .RSPO​(f)≤R^SPO​(f)+2ωS​(C)n2dN​(w∗(H))log(n∣S∣2)​​+ωS​(C)2nlog(1/δ)​​.

Milestones, in attack order

  1. Theorem 1 (p. 9): with probability 1−δ1-\delta1−δ, RSPO(f)≤R^SPO(f)+2RSPOn(H)+ωS(C)log⁡(1/δ)/(2n)R_{\rm SPO}(f)\le\hat R_{\rm SPO}(f)+2\mathfrak R^n_{\rm SPO}(\mathcal H)+\omega_S(\mathcal C)\sqrt{\log(1/\delta)/(2n)}RSPO​(f)≤R^SPO​(f)+2RSPOn​(H)+ωS​(C)log(1/δ)/(2n)​ for all f∈Hf\in\mathcal Hf∈H.
  2. Massart step (Appendix B.1, p. 31): for a fixed sample with costs in C\mathcal CC, R^SPOn(H)≤ωS(C)2log⁡∣F∣X∣/n\hat{\mathfrak R}^n_{\rm SPO}(\mathcal H)\le\omega_S(\mathcal C)\sqrt{2\log|\mathfrak F_{|\mathbb X}|/n}R^SPOn​(H)≤ωS​(C)2log∣F∣X​∣/n​, where F∣X\mathfrak F_{|\mathbb X}F∣X​ is the set of decision vectors (w∗(f(x1)),…,w∗(f(xn)))(w^*(f(x_1)),\dots,w^*(f(x_n)))(w∗(f(x1​)),…,w∗(f(xn​))).
  3. Natarajan lemma (cited on p. 31; proved on the platform as UnderstandingML.natarajan_lemma): a class from an mmm-point set to kkk labels with Natarajan dimension ddd has at most mdk2dm^d k^{2d}mdk2d members.
  4. Empirical bound (Appendix B.1, p. 31): for a fixed sample, R^SPOn(H)≤ωS(C)2dN(w∗(H))log⁡(n∣S∣2)/n\hat{\mathfrak R}^n_{\rm SPO}(\mathcal H)\le\omega_S(\mathcal C)\sqrt{2d_N(w^*(\mathcal H))\log(n|\mathfrak S|^2)/n}R^SPOn​(H)≤ωS​(C)2dN​(w∗(H))log(n∣S∣2)/n​.
  5. Theorem 2, first display (p. 11): the same bound for the expected complexity RSPOn(H)\mathfrak R^n_{\rm SPO}(\mathcal H)RSPOn​(H).

Significance

The bound controls the out-of-sample decision cost of every predictor in the class, not only of an empirical risk minimizer, so it applies to any training procedure (SPO+ surrogate minimization, decision trees, heuristics) that returns a member of H\mathcal HH. Its dependence on the feasible region is only through ωS(C)\omega_S(\mathcal C)ωS​(C) and log⁡∣S∣\log|\mathfrak S|log∣S∣: the number of vertices of a combinatorial polytope is typically exponential in ddd, and enters only logarithmically. For linear predictors x↦Bxx\mapsto Bxx↦Bx the paper's Corollary 2 bounds dN(w∗(Hlin))d_N(w^*(\mathcal H_{\rm lin}))dN​(w∗(Hlin​)) by dpdpdp, giving a rate of order dplog⁡(n∣S∣)/n\sqrt{dp\log(n|\mathfrak S|)/n}dplog(n∣S∣)/n​.

The results are proved in the paper; this mission formalizes them. No statement about predict-then-optimize or the SPO loss is known to have a machine-checked proof. The platform already has the Natarajan lemma (proved) and several Massart-type lemmas for generic classes; this mission connects that multiclass machinery to decision losses, and its Theorem 1 is a reusable Rademacher generalization bound for a loss with range [0,ω][0,\omega][0,ω].

Difficulty

The obvious route through Lipschitz contraction fails: the SPO loss jumps when the prediction crosses a point where the optimum is not unique, so the Rademacher complexity of the composed class cannot be bounded by that of H\mathcal HH times a Lipschitz constant. Any argument through the finitely many vertices of SSS needs the decisions w∗(f(xi))w^*(f(x_i))w∗(f(xi​)) to take finitely many values on a sample, i.e. the oracle to return vertices; for an oracle that returns a non-vertex optimal point under ties, w∗(H)w^*(\mathcal H)w∗(H) may take infinitely many values on a sample. On the probabilistic side, the passage from the empirical to the expected complexity and the McDiarmid concentration step (Theorem 1) require the suprema over an uncountable class to be measurable, which the paper does not discuss.

Formalization scope

Lean works in Rd\mathbb R^dRd = EuclideanSpace ℝ (Fin d); cost vectors and decisions live in the same space and c⊤wc^\top wc⊤w is the inner product. The standing assumptions of §2 are hypotheses of every theorem: SSS nonempty, compact and convex; w∗w^*w∗ an arbitrary oracle (a hypothesis IsOracle S w, never a specific selection); C\mathcal CC nonempty and bounded, with the cost component of D\mathcal DD in C\mathcal CC almost surely (or, for fixed-sample statements, every ci∈Cc_i\in\mathcal Cci​∈C); n≥1n\ge1n≥1. "Polyhedron" means the solution set of finitely many linear inequalities; with compactness it is a polytope, and ∣S∣|\mathfrak S|∣S∣ is the cardinality of Set.extremePoints ℝ S. The expectation over signs is the exact average over the 2n2^n2n sign vectors; RSPOR_{\rm SPO}RSPO​ and RSPOn\mathfrak R^n_{\rm SPO}RSPOn​ are Bochner integrals. "With probability at least 1−δ1-\delta1−δ" is stated as: the product measure of the set of samples on which some f∈Hf\in\mathcal Hf∈H violates the bound is at most δ\deltaδ.

The formalization commits to the following disclosed additions:

  • In the empirical bound, Theorem 2 and its first display, the oracle returns extreme points of SSS. This is the proof's own "w.l.o.g." (p. 31), made explicit because p. 10 allows non-vertex outputs under ties. The hypothesis is needed: on the unit square, an oracle that returns distinct interior points of an edge under ties can have dN(w∗(H))=1d_N(w^*(\mathcal H))=1dN​(w∗(H))=1 and empirical complexity near 12\frac1221​, which exceeds the printed bound for large nnn.
  • The Natarajan dimension is not defined as a number (a supremum in N\mathbb NN would silently be 000 for unboundedly large shattered sets). Statements carry a natural number kkk bounding the size of every N-shattered set, in place of dN(w∗(H))d_N(w^*(\mathcal H))dN​(w∗(H)). This is equivalent when dNd_NdN​ is finite; the printed bound is vacuous otherwise.
  • Theorem 1 and the goal carry three measurability hypotheses: each loss function z↦ℓSPO(f(z1),z2)z\mapsto\ell_{\rm SPO}(f(z_1),z_2)z↦ℓSPO​(f(z1​),z2​) is measurable; the uniform deviation sup⁡f(RSPO(f)−R^SPO(f))\sup_f(R_{\rm SPO}(f)-\hat R_{\rm SPO}(f))supf​(RSPO​(f)−R^SPO​(f)) and, for each sign vector, the signed supremum sup⁡f1n∑iσiℓSPO(f(xi),ci)\sup_f\frac1n\sum_i\sigma_i\ell_{\rm SPO}(f(x_i),c_i)supf​n1​∑i​σi​ℓSPO​(f(xi​),ci​) are almost-everywhere measurable functions of the sample. Without them the integral defining RSPOn\mathfrak R^n_{\rm SPO}RSPOn​ could default to 000.
  • The Massart step assumes F∣X\mathfrak F_{|\mathbb X}F∣X​ finite, the case in which its printed right-hand side is finite.

A formalization that let dNd_NdN​ be an sSup in N\mathbb NN, or chose a specific tie-breaking oracle inside the definitions, would prove a different and in part trivial statement; both are excluded.

Infrastructure needed: McDiarmid's bounded-differences inequality and symmetrization for the product measure; Massart's finite-class lemma (a proved version is on the platform as RademacherMassart.rad_le_massart, with its own normalization); the Natarajan lemma (proved, UnderstandingML.natarajan_lemma, stated with its own but identical notion of N-shattering over finite types); finiteness and nonemptiness of the extreme points of a nonempty polytope. Theorem 1 and the Massart step do not use polyhedrality and are reusable for any bounded decision loss. Contributions of these infrastructure lemmas are welcome.

Selected references

  • O. El Balghiti, A. N. Elmachtoub, P. Grigas, A. Tewari, Generalization Bounds in the Predict-then-Optimize Framework, arXiv:1905.11488v3, 2022; Mathematics of Operations Research, 2023. https://arxiv.org/abs/1905.11488
  • A. N. Elmachtoub, P. Grigas, Smart "Predict, then Optimize", Management Science 68(1), 9–26, 2022. https://arxiv.org/abs/1710.08005
  • P. L. Bartlett, S. Mendelson, Rademacher and Gaussian complexities: risk bounds and structural results, Journal of Machine Learning Research 3, 463–482, 2002. https://www.jmlr.org/papers/v3/bartlett02a.html
  • B. K. Natarajan, On learning sets and functions, Machine Learning 4(1), 67–97, 1989. https://doi.org/10.1007/BF00114804
  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014 (Lemma 29.4). https://doi.org/10.1017/CBO9781107298019
  • M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., MIT Press, 2018 (Theorem 3.3, Corollary 3.8). https://cs.nyu.edu/~mohri/mlbook/
9 thms4 active usersReviewed
🏆Completed
Machine LearningProbability·Captain: naimengye

Understanding Machine Learning XXV: PAC-BayesTextbook

Motivation

The MDL and Occam principles of Chapter 7 rank hypotheses by description length and pay for a hypothesis according to its rank. Chapter 31 of Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms (doi:10.1017/CBO9781107298019), generalizes this to the PAC-Bayesian approach of McAllester: prior knowledge is a prior distribution PPP over the class, the learner outputs a posterior QQQ, read as the randomized predictor that draws h∼Qh \sim Qh∼Q, and the price of QQQ is its Kullback–Leibler divergence from PPP. The PAC-Bayes theorem (Theorem 31.1) says that with probability 1−δ1 - \delta1−δ, simultaneously for every posterior, the generalization loss exceeds the training loss by at most (D(Q∥P)+ln⁡(m/δ))/(2(m−1))\sqrt{(D(Q\|P) + \ln(m/\delta))/(2(m-1))}(D(Q∥P)+ln(m/δ))/(2(m−1))​. Its proof is a compact and elegant argument: Markov's inequality for an exponential moment, a change of measure from QQQ to PPP by Jensen's inequality, an exchange of expectations that is possible because the prior does not depend on the sample, and a moment bound for the deviation of a single hypothesis. The bound suggests the learning rule of Remark 31.1, minimize LS(Q)L_S(Q)LS​(Q) plus the divergence penalty, which is regularized risk minimization in disguise, and for a finite class with a uniform prior it recovers an Occam-type bound (Exercise 2).

Setting

HHH is a measurable space of hypotheses, ℓ:H×Z→[0,1]\ell : H \times Z \to [0,1]ℓ:H×Z→[0,1] a jointly measurable loss, DDD a distribution over ZZZ, and PPP a prior probability measure on HHH. For a posterior QQQ, ℓ(Q,z)=Eh∼Q[ℓ(h,z)]\ell(Q, z) = \mathbb{E}_{h \sim Q}[\ell(h, z)]ℓ(Q,z)=Eh∼Q​[ℓ(h,z)], LD(Q)=Eh∼Q[LD(h)]L_D(Q) = \mathbb{E}_{h \sim Q}[L_D(h)]LD​(Q)=Eh∼Q​[LD​(h)] and LS(Q)=Eh∼Q[LS(h)]L_S(Q) = \mathbb{E}_{h \sim Q}[L_S(h)]LS​(Q)=Eh∼Q​[LS​(h)], and D(Q∥P)=Eh∼Q[ln⁡(dQ/dP)]D(Q\|P) = \mathbb{E}_{h \sim Q}[\ln(dQ/dP)]D(Q∥P)=Eh∼Q​[ln(dQ/dP)] is the Kullback–Leibler divergence, a real number when Q≪PQ \ll PQ≪P and the log-density is QQQ-integrable.

Formalization targets

Goal: Theorem 31.1

For m≥2m \ge 2m≥2 and δ∈(0,1)\delta \in (0,1)δ∈(0,1), with probability at least 1−δ1 - \delta1−δ over S∼DmS \sim D^mS∼Dm, every probability measure Q≪PQ \ll PQ≪P with finite divergence satisfies

LD(Q)≤LS(Q)+D(Q∥P)+ln⁡(m/δ)2(m−1).L_D(Q) \le L_S(Q) + \sqrt{\frac{D(Q\|P) + \ln(m/\delta)}{2(m-1)}}.LD​(Q)≤LS​(Q)+2(m−1)D(Q∥P)+ln(m/δ)​​.

Milestones

The identity Ez∼D[ℓ(Q,z)]=LD(Q)\mathbb{E}_{z \sim D}[\ell(Q, z)] = L_D(Q)Ez∼D​[ℓ(Q,z)]=LD​(Q) (§31.1); the moment bound ES[e2(m−1)Δ(h)2]≤m\mathbb{E}_S[e^{2(m-1)\Delta(h)^2}] \le mES​[e2(m−1)Δ(h)2]≤m of the proof (p. 417); Exercise 2, the bound for a finite class with the uniform prior.

Significance

PAC-Bayes bounds are among the tightest generalization bounds known in practice, and the reason is visible in Theorem 31.1: the complexity term is not a property of the class but of the posterior actually chosen, measured against a prior, so a learner that stays close to its prior generalizes even in a huge class. The theorem is the ancestor of a large literature (Seeger, Langford, Catoni, Maurer) and of modern nonvacuous bounds for neural networks. Formally it is a pleasant target: the change-of-measure inequality Eh∼Q[f(h)]−D(Q∥P)≤ln⁡Eh∼P[ef(h)]\mathbb{E}_{h \sim Q}[f(h)] - D(Q\|P) \le \ln\mathbb{E}_{h \sim P}[e^{f(h)}]Eh∼Q​[f(h)]−D(Q∥P)≤lnEh∼P​[ef(h)] is the Donsker–Varadhan inequality, of independent value, and the moment bound is a sharp sub-Gaussian fact. On the platform, the mission introduces Gibbs risks and the Kullback–Leibler divergence between measures on a class, ending the book's series with its last learning principle.

Difficulty

The Gibbs risk identity is Fubini for a bounded jointly measurable function. The moment bound is the delicate step: the book derives it from Hoeffding's tail bound through Exercise 1, whose one-sided hypothesis is not enough (a constant negative variable satisfies it with an unbounded moment), and even the two-sided tail integrates only to 2m−12m - 12m−1; the claim ≤m\le m≤m is nevertheless true, for instance by writing eaΔ2=Eg[e2a gΔ]e^{a\Delta^2} = \mathbb{E}_g[e^{\sqrt{2a}\,g\Delta}]eaΔ2=Eg​[e2a​gΔ] for a standard Gaussian ggg and applying Hoeffding's lemma to the sample mean, which gives ES[e2(m−1)Δ2]≤(1−(m−1)/m)−1/2=m\mathbb{E}_S[e^{2(m-1)\Delta^2}] \le (1 - (m-1)/m)^{-1/2} = \sqrt mES​[e2(m−1)Δ2]≤(1−(m−1)/m)−1/2=m​. Theorem 31.1 then follows the book: Markov's inequality on ef(S)e^{f(S)}ef(S) with f(S)=sup⁡Q(2(m−1)Eh∼QΔ(h)2−D(Q∥P))f(S) = \sup_Q(2(m-1)\mathbb{E}_{h \sim Q}\Delta(h)^2 - D(Q\|P))f(S)=supQ​(2(m−1)Eh∼Q​Δ(h)2−D(Q∥P)), the change of measure (31.2) by Jensen's inequality for ln⁡\lnln applied to the density dQ/dPdQ/dPdQ/dP (the Donsker–Varadhan inequality, which needs Q≪PQ \ll PQ≪P and an integrable log-density), the exchange of expectations (31.4) by Fubini, the moment bound, and finally Jensen for x2x^2x2 in (31.6); formally the supremum over all posteriors is handled by proving the bound for each QQQ on the event {S:Eh∼P[e2(m−1)Δ(h)2]≤m/δ}\{S : \mathbb{E}_{h \sim P}[e^{2(m-1)\Delta(h)^2}] \le m/\delta\}{S:Eh∼P​[e2(m−1)Δ(h)2]≤m/δ}, whose complement has probability at most δ\deltaδ by Markov, which sidesteps any measurability question about fff. Exercise 2 is the theorem with Q=δhQ = \delta_hQ=δh​, for which D(Q∥P)=ln⁡∣H∣D(Q\|P) = \ln|H|D(Q∥P)=ln∣H∣.

Formalization scope

The class is an arbitrary measurable space, priors and posteriors are probability measures on it, and Q(h)/P(h)Q(h)/P(h)Q(h)/P(h) is Mathlib's Radon–Nikodym derivative; the divergence is a Bochner integral, so the theorem quantifies over posteriors Q≪PQ \ll PQ≪P whose log-density is QQQ-integrable, exactly the posteriors with a finite divergence, for which the bound has content, and no junk value can make a case false. Posteriors may depend on the sample: the statement bounds the outer measure of the set of samples for which some admissible QQQ violates the bound. The loss is jointly measurable so that h↦LD(h)h \mapsto L_D(h)h↦LD​(h) and (S,h)↦LS(h)(S, h) \mapsto L_S(h)(S,h)↦LS​(h) are measurable and the Gibbs risks are genuine integrals; m≥2m \ge 2m≥2 is forced by the denominator 2(m−1)2(m-1)2(m−1). The moment bound is stated as the claim the proof needs rather than as Exercise 1, whose printed hypothesis is insufficient; the item text records this. Exercise 2 is stated as a simultaneous bound over the finite class, the form in which the theorem delivers it.

Not stated: Remark 31.1 (a learning rule, not a theorem), Exercise 1 as printed, and the second part of Exercise 2.

Selected references

  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 31. doi:10.1017/CBO9781107298019
  • D. A. McAllester, Some PAC-Bayesian theorems, Machine Learning 37, 1999. doi:10.1023/A:1007618624809
  • D. A. McAllester, PAC-Bayesian stochastic model selection, Machine Learning 51, 2003. doi:10.1023/A:1021840411064
  • A. Maurer, A note on the PAC Bayesian theorem, arXiv:cs/0411099, 2004.
  • M. Seeger, PAC-Bayesian generalisation error bounds for Gaussian process classification, Journal of Machine Learning Research 3, 2002.
  • J. Langford, J. Shawe-Taylor, PAC-Bayes and margins, NIPS 2002.
6 thms4 active usersReviewed
🏆Completed
CombinatoricsMachine LearningProbability·Captain: naimengye

An Introduction to Computational Learning Theory III: The Vapnik-Chervonenkis Dimension, ε-Nets and Sample ComplexityTextbook

Motivation

Chapter 3 of Kearns and Vazirani, An Introduction to Computational Learning Theory (MIT Press, 1994, doi:10.7551/mitpress/3897.001.0001), asks how many random examples suffice to learn a concept from an infinite class. The cardinality bound of Occam's Razor is useless there, yet the rectangle game of Chapter 1 shows that some infinite classes are learnable from a finite sample. The answer is the Vapnik–Chervonenkis dimension: the size of the largest set on which the class realizes every labeling. Sauer's lemma says that a class of VC dimension ddd realizes only Φd(m)=∑i≤d(mi)≤(em/d)d\Phi_d(m) = \sum_{i \le d}\binom{m}{i} \le (em/d)^dΦd​(m)=∑i≤d​(im​)≤(em/d)d labelings on any mmm points, polynomially many rather than 2m2^m2m, and the ε-net theorem of Blumer, Ehrenfeucht, Haussler and Warmuth turns this into a sample bound: a consistent hypothesis from a class of VC dimension ddd is probably approximately correct once mmm is of order (1/ϵ)(log⁡(1/δ)+dlog⁡(1/ϵ))(1/\epsilon)(\log(1/\delta) + d\log(1/\epsilon))(1/ϵ)(log(1/δ)+dlog(1/ϵ)). A matching lower bound shows that Ω(d/ϵ)\Omega(d/\epsilon)Ω(d/ϵ) examples are necessary. The chapter thus gives a single combinatorial parameter that characterizes, up to a logarithmic factor, the sample complexity of learning any class in the distribution-free model.

Setting

For a class CCC of concepts X→{0,1}X \to \{0,1\}X→{0,1} and a finite S⊆XS \subseteq XS⊆X, ΠC(S)\Pi_C(S)ΠC​(S) is the set of dichotomies of SSS realized by CCC; SSS is shattered if all 2∣S∣2^{|S|}2∣S∣ are realized; VCD(C)\mathrm{VCD}(C)VCD(C) is the supremum of the sizes of shattered sets, possibly ∞\infty∞; ΠC(m)\Pi_C(m)ΠC​(m) is the largest ∣ΠC(S)∣|\Pi_C(S)|∣ΠC​(S)∣ over ∣S∣=m|S| = m∣S∣=m; and Φd(m)\Phi_d(m)Φd​(m) is defined by Φd(m)=Φd(m−1)+Φd−1(m−1)\Phi_d(m) = \Phi_d(m-1) + \Phi_{d-1}(m-1)Φd​(m)=Φd​(m−1)+Φd−1​(m−1), Φd(0)=Φ0(m)=1\Phi_d(0) = \Phi_0(m) = 1Φd​(0)=Φ0​(m)=1. For a target ccc the error regions are c Δ hc \,\Delta\, hcΔh for hhh in the hypothesis class, and a set of points is an ε-net if it meets every error region of weight at least ϵ\epsilonϵ under the target distribution DDD. Samples, their product law, consistency and the error of a hypothesis are those of Mission I.

Formalization targets

Goal: Theorems 3.3 and 3.4

Let HHH be a class of VC dimension at most ddd, well-behaved for the target ccc (the double-sample event of the proof is null-measurable), and m≥8/ϵm \ge 8/\epsilonm≥8/ϵ. The points of a random sample of mmm examples of a target ccc fail to be an ε-net for the error regions {c Δ h:h∈H}\{c \,\Delta\, h : h \in H\}{cΔh:h∈H} with probability at most

2 Φd(2m) 2−ϵm/2,2\,\Phi_d(2m)\,2^{-\epsilon m/2},2Φd​(2m)2−ϵm/2,

so any algorithm that outputs a hypothesis in HHH consistent with its sample has error greater than ϵ\epsilonϵ with at most that probability; with m≥(4/ϵ)log⁡2(2/δ)m \ge (4/\epsilon)\log_2(2/\delta)m≥(4/ϵ)log2​(2/δ) and m≥(8d/ϵ)log⁡2(13/ϵ)m \ge (8d/\epsilon)\log_2(13/\epsilon)m≥(8d/ϵ)log2​(13/ϵ) the probability is at most δ\deltaδ; and, if HHH is nonempty, every class contained in HHH for whose targets HHH is well-behaved is PAC learnable using HHH.

Milestones

Lemma 3.1 (Sauer's lemma, ΠC(m)≤Φd(m)\Pi_C(m) \le \Phi_d(m)ΠC​(m)≤Φd​(m)); Lemma 3.2 (Φd(m)=∑i≤d(mi)\Phi_d(m) = \sum_{i \le d}\binom{m}{i}Φd​(m)=∑i≤d​(im​)); the polynomial bound Φd(m)≤(em/d)d\Phi_d(m) \le (em/d)^dΦd​(m)≤(em/d)d of p. 57; Theorem 3.5 (the Ω(d/ϵ)\Omega(d/\epsilon)Ω(d/ϵ) lower bound, in the two explicit forms of its proof).

Significance

Theorem 3.3 is the fundamental theorem of PAC learning: it replaces log⁡∣H∣\log|H|log∣H∣ in Occam's Razor by the VC dimension and thereby covers rectangles, halfspaces, polygons, neural networks with a fixed architecture, and every class whose dichotomies grow polynomially. Its proof, the double sample and random partition argument, is the origin of symmetrization in empirical process theory. Sauer's lemma is a cornerstone of extremal combinatorics with independent proofs by Sauer, Shelah and Vapnik–Chervonenkis, and the lower bound of Theorem 3.5 shows that the upper bound is tight to within log⁡(1/ϵ)\log(1/\epsilon)log(1/ϵ), so the VC dimension genuinely characterizes sample complexity. None of these is machine-checked. Formalizing them puts on the platform the VC dimension, the growth function and the ε-net theorem with explicit constants, stated on the same sample law as the rest of this series, and the first information-theoretic lower bound for learning.

Difficulty

Sauer's lemma is a double induction on ddd and mmm through the auxiliary class C′C'C′ of dichotomies whose two extensions to a distinguished point are both realized, which needs care with the identification of dichotomies of SSS and of S∖{x}S \setminus \{x\}S∖{x}. The ε-net theorem needs: the reduction Pr⁡[A]≤2Pr⁡[B]\Pr[A] \le 2\Pr[B]Pr[A]≤2Pr[B] from a failed ε-net on the first half to a region hit at least ϵm/2\epsilon m/2ϵm/2 times by the second half, which is a Chebyshev bound on a binomial variable and is where m≥8/ϵm \ge 8/\epsilonm≥8/ϵ enters; the exchangeability of the 2m2m2m draws with a random partition into two halves; the counting bound (mℓ)/(2mℓ)≤2−ℓ\binom{m}{\ell}/\binom{2m}{\ell} \le 2^{-\ell}(ℓm​)/(ℓ2m​)≤2−ℓ; and Sauer's lemma applied to the error regions, whose growth function equals that of HHH. The explicit constants require the numerical inequality 2(2em/d)d2−ϵm/2≤δ2(2em/d)^d 2^{-\epsilon m/2} \le \delta2(2em/d)d2−ϵm/2≤δ under the two stated conditions. The lower bound is a probabilistic argument with a random target: conditional on the sample, the labels of unseen points are fair coins, so the number of errors on them is binomial and exceeds half its range with probability at least 1/21/21/2; the refined bound scales this construction to a region of weight 16ϵ16\epsilon16ϵ and uses Markov's inequality to bound the number of draws landing in it. Measurability of the failure sets is avoided by stating outer-measure bounds, except for the double-sample event, which the proof integrates: it is assumed null-measurable (the well-behavedness of Blumer et al., without which the theorem is false for a class of VC dimension 111 on ω1\omega_1ω1​). For the lower bound it is avoided by working over a finitely supported distribution on a space with measurable singletons.

Formalization scope

The VC dimension is a supremum in N∪{∞}\mathbb{N} \cup \{\infty\}N∪{∞}, the growth function a supremum in N\mathbb{N}N (bounded by 2m2^m2m), and Φd\Phi_dΦd​ the book's recurrence, with its closed form and polynomial bound stated as separate theorems. The goal is stated for a hypothesis class HHH (Theorem 3.4), Theorem 3.3 being the case C=HC = HC=H; it carries the exact bound of the proof, the explicit constants of Blumer et al. in place of the book's c0c_0c0​, the requirement m≥8/ϵm \ge 8/\epsilonm≥8/ϵ of the proof's Chebyshev step, measurability of the hypotheses and the target, well-behavedness of HHH for the target, and 0<ϵ,δ<10 < \epsilon, \delta < 10<ϵ,δ<1. PAC learnability of the subclasses of HHH needs HHH nonempty, since no algorithm outputs hypotheses in the empty class. The lower bound is stated for every deterministic learning function, on an instance space with measurable singletons, for a class shattering some set of d≥1d \ge 1d≥1 points, with the explicit constants derived in the proof sketch (m≤d/2m \le d/2m≤d/2: error ≥1/8\ge 1/8≥1/8 with probability ≥1/2\ge 1/2≥1/2; ϵ≤1/16\epsilon \le 1/16ϵ≤1/16 and m≤(d−1)/(64ϵ)m \le (d-1)/(64\epsilon)m≤(d−1)/(64ϵ): error >ϵ> \epsilon>ϵ with probability ≥1/4\ge 1/4≥1/4). Running time is not modelled. The composition bound for layered networks (Theorems 3.6 and 3.7) is not stated.

Trivializing readings are excluded: the ε-net event ranges over every hypothesis of HHH, the failure bounds are uniform over all consistent learners, and the lower bound holds for every learning function. Welcome contributions: Sauer's lemma, the closed form and the (em/d)d(em/d)^d(em/d)d bound, the random-partition counting lemma, and the binomial median inequality used in the lower bound.

Selected references

  • M. J. Kearns, U. V. Vazirani, An Introduction to Computational Learning Theory, MIT Press, 1994, Chapter 3. doi:10.7551/mitpress/3897.001.0001
  • A. Blumer, A. Ehrenfeucht, D. Haussler, M. K. Warmuth, Learnability and the Vapnik–Chervonenkis dimension, Journal of the ACM 36(4), 1989. doi:10.1145/76359.76371
  • V. N. Vapnik, A. Ya. Chervonenkis, On the uniform convergence of relative frequencies of events to their probabilities, Theory of Probability and its Applications 16(2), 1971. doi:10.1137/1116025
  • N. Sauer, On the density of families of sets, Journal of Combinatorial Theory, Series A 13(1), 1972. doi:10.1016/0097-3165(72)90019-2
  • A. Ehrenfeucht, D. Haussler, M. Kearns, L. Valiant, A general lower bound on the number of examples needed for learning, Information and Computation 82(3), 1989. doi:10.1016/0890-5401(89)90002-3
8 thms4 active usersReviewed
🏆Completed
Machine LearningProbabilityRandom Matrix Theory·Captain: mikedeng1

High-Dimensional Probability VI: The Hanson-Wright InequalityTextbook

Motivation

Sums of independent random variables are well understood: Bernstein's inequality and its relatives give sharp, non-asymptotic tail bounds for ∑iaiXi\sum_i a_i X_i∑i​ai​Xi​ whenever the XiX_iXi​ are independent and light-tailed. Many quantities that arise in high-dimensional statistics and random matrix theory, however, are not linear but quadratic in an independent sample — the squared norm of a random vector after a linear transformation, a quadratic-form test statistic, the diagonal of a sample covariance matrix, or the number of edges cut by a random partition in a random graph. A quadratic form X⊤AX=∑i,jAijXiXjX^\top A X = \sum_{i,j} A_{ij} X_i X_jX⊤AX=∑i,j​Aij​Xi​Xj​ is a sum with dependent terms: XiXjX_iX_jXi​Xj​ and XiXkX_iX_kXi​Xk​ share the factor XiX_iXi​, so classical sum-of-independent-variables tools do not apply directly.

The Hanson-Wright inequality, first obtained by Hanson and Wright (1971) for sub-gaussian variables and later sharpened and popularized in this form by Rudelson and Vershynin (2013, "Hanson-Wright inequality and sub-gaussian concentration," Electronic Communications in Probability), closes this gap: it gives a concentration inequality for X⊤AXX^\top A XX⊤AX around its mean with the same two-regime (sub-gaussian near the center, sub-exponential in the tail) shape as Bernstein's inequality for linear sums. It is now a standard tool wherever quadratic statistics of independent data are analyzed: covariance estimation, compressed sensing, randomized numerical linear algebra, and the analysis of random matrices more broadly draw on it routinely.

Setting

Fix a probability space and let X=(X1,…,Xn)X = (X_1, \dots, X_n)X=(X1​,…,Xn​) be a random vector whose coordinates X1,…,XnX_1, \dots, X_nX1​,…,Xn​ are independent, mean zero, and sub-gaussian: each XiX_iXi​ has a finite sub-gaussian (Orlicz ψ2\psi_2ψ2​) norm ∥Xi∥ψ2\|X_i\|_{\psi_2}∥Xi​∥ψ2​​, the smallest t>0t > 0t>0 with Eexp⁡(Xi2/t2)≤2\mathbb E \exp(X_i^2/t^2) \le 2Eexp(Xi2​/t2)≤2. Write K=max⁡i∥Xi∥ψ2K = \max_i \|X_i\|_{\psi_2}K=maxi​∥Xi​∥ψ2​​.

Let A=(Aij)i,j=1nA = (A_{ij})_{i,j=1}^nA=(Aij​)i,j=1n​ be an n×nn \times nn×n real matrix, with no constraint on its diagonal, and form the quadratic form

X⊤AX=∑i,j=1nAijXiXj.X^\top A X = \sum_{i,j=1}^n A_{ij} X_i X_j.X⊤AX=i,j=1∑n​Aij​Xi​Xj​.

Two matrix norms measure the size of AAA: the Frobenius norm ∥A∥F=(∑i,jAij2)1/2\|A\|_F = \bigl(\sum_{i,j} A_{ij}^2\bigr)^{1/2}∥A∥F​=(∑i,j​Aij2​)1/2 (the Euclidean norm of AAA's entries) and the operator (spectral) norm ∥A∥=sup⁡∥x∥2=1∥Ax∥2\|A\| = \sup_{\|x\|_2=1} \|Ax\|_2∥A∥=sup∥x∥2​=1​∥Ax∥2​ (the largest singular value of AAA). Always ∥A∥≤∥A∥F≤n ∥A∥\|A\| \le \|A\|_F \le \sqrt{n}\,\|A\|∥A∥≤∥A∥F​≤n​∥A∥, so the two norms can differ by a factor as large as n\sqrt nn​ — the gap between them is exactly what produces the inequality's two regimes below.

Formalization targets

Goal — Theorem 6.2.1 (Hanson-Wright inequality)

P{ ∣X⊤AX−E X⊤AX∣≥t }  ≤  2exp⁡ ⁣[−cmin⁡ ⁣(t2K4∥A∥F2, tK2∥A∥)]for every t≥0,P\bigl\{\, |X^\top A X - \mathbb E\, X^\top A X| \ge t \,\bigr\} \;\le\; 2 \exp\!\left[-c \min\!\left(\frac{t^2}{K^4 \|A\|_F^2},\ \frac{t}{K^2 \|A\|}\right)\right] \qquad \text{for every } t \ge 0,P{∣X⊤AX−EX⊤AX∣≥t}≤2exp[−cmin(K4∥A∥F2​t2​, K2∥A∥t​)]for every t≥0,

where c>0c > 0c>0 is an absolute constant, not depending on nnn, XXX, AAA, or ttt. Stating the constant only as "some absolute ccc" (rather than pinning it to a numeral) is deliberate: the book's own proof does not track a sharp value, and a goal that only asserts the shape of the bound survives any later improvement to ccc.

Significance

The result itself. Hanson-Wright turns a two-dimensional (in i,ji,ji,j) dependency structure into a one-dimensional concentration statement controlled by two scalar quantities, ∥A∥F\|A\|_F∥A∥F​ and ∥A∥\|A\|∥A∥. This is what makes it usable: a practitioner bounding a quadratic statistic need only compute these two norms, not analyze the joint dependency structure of {XiXj}\{X_iX_j\}{Xi​Xj​} directly. It specializes to Bernstein's inequality (Chapter 2 of this book) when AAA is diagonal, and it underlies non-asymptotic guarantees for covariance estimation, the Johnson-Lindenstrauss lemma via a different route, and the concentration of Lipschitz functions of sub-gaussian vectors.

Formalizing it. The published proof of Hanson-Wright is not a single argument but a chain of four steps: a decoupling reduction (Section 6.1), a direct computation for Gaussian chaos (Lemma 6.2.2), a comparison lemma extending the Gaussian bound to general sub-gaussian vectors via a replacement trick (Lemma 6.2.3), and a final assembly that separates the diagonal part (handled by Bernstein's inequality) from the off-diagonal part (handled by decoupling and comparison). This mission formalizes the goal theorem's statement and the first, most reusable link in that chain — the decoupling machinery of Section 6.1, which reduces the analysis of the dependent chaos X⊤AXX^\top A XX⊤AX to the independent-once-conditioned bilinear form X⊤AX′X^\top A X'X⊤AX′ — together with the chapter's separate contraction principle (Section 6.7), a general comparison tool for Rademacher-weighted sums used repeatedly in the book's later chaining chapters. The Gaussian MGF computation and the replacement-trick comparison lemma (Lemmas 6.2.2–6.2.3) are left as future milestones on top of this mission: they require Gaussian rotation invariance and the singular value decomposition of AAA, substantially more machinery than the milestones included here.

Difficulty

The obvious first idea — treat X⊤AX=∑i,jAijXiXjX^\top A X = \sum_{i,j} A_{ij}X_iX_jX⊤AX=∑i,j​Aij​Xi​Xj​ as if it were a sum of independent terms and apply Bernstein's inequality termwise — fails immediately: the terms AijXiXjA_{ij}X_iX_jAij​Xi​Xj​ for fixed iii are not independent across jjj, since they all share the factor XiX_iXi​. Decoupling (Theorem 6.1.1) is the non-obvious fix: it replaces the off-diagonal chaos by a bilinear form X⊤AX′X^\top A X'X⊤AX′ in an independent copy X′X'X′, which genuinely does become a sum of independent terms once one of the two vectors is conditioned on. The price is a universal constant factor of 444 and the restriction to diagonal-free matrices, which is exactly why the full Hanson-Wright proof must separate the diagonal contribution to E X⊤AX\mathbb E\,X^\top A XEX⊤AX (handled directly by Bernstein's inequality, Chapter 2) before decoupling can be applied to what remains.

Formalization scope

Random variables and vectors are real-valued on an explicit probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P). The sub-gaussian norm is HighDimProb.Concentration.subgaussianNorm, the Orlicz-ψ2\psi_2ψ2​-norm definition already published for this series (01-concentration), reused here as a reference item rather than redefined. K=max⁡i∥Xi∥ψ2K = \max_i \|X_i\|_{\psi_2}K=maxi​∥Xi​∥ψ2​​ is written as a finite supremum over the coordinate index, ⨆ i, subgaussianNorm P (X i); because the index type is always a Fintype (Fin n), this supremum is well-defined and, at the degenerate index n=0n=0n=0, reduces to a true (if content-free) instance of the inequality rather than a vacuous or false one. The Frobenius and operator norms of AAA are this mission's own frobeniusNorm and opNorm, stated directly from their defining formulas rather than through Mathlib's scoped matrix-norm typeclass instances, which are deliberately not global defaults (to avoid a diamond between the two norms) and so are unsuitable for a statement that needs both simultaneously. Every place the goal or a milestone integrates a quantity, that quantity is required Integrable, guarding against Mathlib's convention of returning 0 for the Bochner integral of a non-integrable function — without these hypotheses, a mean-zero or expectation hypothesis could hold vacuously, or a conclusion could hold trivially, for reasons having nothing to do with the book's mathematics.

The formalization deliberately does not restrict AAA's diagonal in the goal theorem: doing so would collapse Hanson-Wright to a restatement of Bernstein's inequality for the special case of a diagonal matrix, discarding the chapter's actual content, which is handling the off-diagonal, genuinely quadratic dependence between coordinates. The diagonal-free restriction does appear, correctly, in the Decoupling theorem (6.1.1), whose proof needs it.

Reusable beyond this mission: frobeniusNorm and opNorm are needed by any future chapter using matrix norms (Chapter 4's random matrix norms, Chapter 9's matrix deviation inequality); the decoupling theorem and convex decoupling lemma are the standard entry point for any later formalization of chaos concentration; the contraction principle is reused throughout the book's chaining chapters (7 and 8). Welcome contributions include the Gaussian MGF and comparison lemmas (6.2.2–6.2.3) needed to complete a full proof of the goal theorem, and the two-sided version of Bernstein's inequality needed for the diagonal part of that proof.

Selected references

  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018. DOI: 10.1017/9781108231596.
  • D. L. Hanson, F. T. Wright, "A bound on tail probabilities for quadratic forms in independent random variables," Annals of Mathematical Statistics 42 (1971), 1079–1083.
  • M. Rudelson, R. Vershynin, "Hanson-Wright inequality and sub-gaussian concentration," Electronic Communications in Probability 18 (2013), no. 82, 1–9. https://arxiv.org/abs/1306.2872
7 thms4 active usersReviewed
🏆Completed
Machine LearningProbability·Captain: mikedeng1

High-Dimensional Statistics I: Gaussian Concentration of Lipschitz FunctionsTextbook

Motivation

A recurring question in high-dimensional statistics is how tightly a scalar quantity built from many random inputs concentrates around its mean, even as the number of inputs grows without bound. Two classical answers organize the whole toolkit: martingale methods, which control a sum of dependent increments one conditional step at a time, and Gaussian-specific isoperimetry, which shows that essentially any regular (Lipschitz) function of a high-dimensional Gaussian vector concentrates as tightly as a single Gaussian coordinate, regardless of dimension. This mission formalizes one representative theorem from each line: the general martingale Bernstein bound (Wainwright, High-Dimensional Statistics, 2019, Theorem 2.19) and the Gaussian concentration of Lipschitz functions (Theorem 2.26), following Chapter 2 of the same book.

Setting

A random variable XXX with mean μ=E[X]\mu=\mathbb E[X]μ=E[X] is sub-Gaussian with parameter σ\sigmaσ (Definition 2.2) if E[eλ(X−μ)]≤eσ2λ2/2\mathbb E[e^{\lambda(X-\mu)}]\le e^{\sigma^2\lambda^2/2}E[eλ(X−μ)]≤eσ2λ2/2 for all λ∈R\lambda\in\mathbb Rλ∈R; it is sub-exponential with parameters (ν,α)(\nu,\alpha)(ν,α) (Definition 2.7, a strictly milder condition) if the same bound holds only for ∣λ∣<1/α|\lambda|<1/\alpha∣λ∣<1/α, with the convention 1/0=+∞1/0=+\infty1/0=+∞ so that α=0\alpha=0α=0 recovers the sub-Gaussian case exactly.

A sequence {Dk}k≥1\{D_k\}_{k\ge1}{Dk​}k≥1​, adapted to a filtration {Fk}\{\mathcal F_k\}{Fk​}, is a martingale difference sequence if each DkD_kDk​ is Fk\mathcal F_kFk​-measurable and E[Dk∣Fk−1]=0\mathbb E[D_k\mid\mathcal F_{k-1}]=0E[Dk​∣Fk−1​]=0. Such sequences arise throughout statistics via the Doob martingale construction: given a function fff of independent variables X1,…,XnX_1,\dots,X_nX1​,…,Xn​, setting Dk:=E[f(X)∣X1,…,Xk]−E[f(X)∣X1,…,Xk−1]D_k:=\mathbb E[f(X)\mid X_1,\dots,X_k]-\mathbb E[f(X)\mid X_1,\dots,X_{k-1}]Dk​:=E[f(X)∣X1​,…,Xk​]−E[f(X)∣X1​,…,Xk−1​] telescopes to f(X)−E[f(X)]=∑kDkf(X)-\mathbb E[f(X)]=\sum_k D_kf(X)−E[f(X)]=∑k​Dk​, converting a deviation question about f(X)f(X)f(X) into a martingale concentration question.

A function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is LLL-Lipschitz with respect to the Euclidean norm if ∣f(x)−f(y)∣≤L∥x−y∥2|f(x)-f(y)|\le L\|x-y\|_2∣f(x)−f(y)∣≤L∥x−y∥2​ for all x,yx,yx,y (Eq. (2.38)).

Formalization targets

Goal — Theorem 2.26 (Gaussian concentration of Lipschitz functions)

Let (X1,…,Xn)(X_1,\dots,X_n)(X1​,…,Xn​) be i.i.d. standard Gaussian and fff be LLL-Lipschitz with respect to the Euclidean norm. Then f(X)−E[f(X)]f(X)-\mathbb E[f(X)]f(X)−E[f(X)] is sub-Gaussian with parameter at most LLL, and hence

P[∣f(X)−E[f(X)]∣≥t]  ≤  2e−t2/2L2for all t≥0.\mathbb P[|f(X)-\mathbb E[f(X)]|\ge t] \;\le\; 2e^{-t^2/2L^2} \qquad \text{for all } t\ge 0.P[∣f(X)−E[f(X)]∣≥t]≤2e−t2/2L2for all t≥0.

The bound is dimension-free: it depends on nnn only through fff's Lipschitz constant, not the ambient dimension itself.

Milestone — Lemma 2.27 (Gaussian interpolation identity)

For any differentiable fff and convex φ\varphiφ, E[φ(f(X)−E[f(X)])]≤E[φ(π2⟨∇f(X),Y⟩)]\mathbb E[\varphi(f(X)-\mathbb E[f(X)])] \le \mathbb E[\varphi(\tfrac\pi2\langle\nabla f(X),Y\rangle)]E[φ(f(X)−E[f(X)])]≤E[φ(2π​⟨∇f(X),Y⟩)] for X,Y∼N(0,In)X,Y\sim N(0,I_n)X,Y∼N(0,In​) independent — the interpolation identity Theorem 2.26's proof is built on.

Milestone — Theorem 2.19 (martingale Bernstein bound)

Given a martingale difference sequence with a per-index sub-exponential conditional moment-generating-function bound E[eλDk∣Fk−1]≤eλ2νk2/2\mathbb E[e^{\lambda D_k}\mid\mathcal F_{k-1}]\le e^{\lambda^2\nu_k^2/2}E[eλDk​∣Fk−1​]≤eλ2νk2​/2 for ∣λ∣<1/αk|\lambda|<1/\alpha_k∣λ∣<1/αk​, the sum ∑kDk\sum_k D_k∑k​Dk​ is itself sub-exponential with parameters (∑kνk2, max⁡kαk)\big(\sqrt{\sum_k\nu_k^2},\ \max_k\alpha_k\big)(∑k​νk2​​, maxk​αk​), and satisfies the two-regime concentration inequality of Eq. (2.28): sub-Gaussian for small deviations, sub-exponential for large ones. This is the chapter's central general-purpose martingale concentration tool.

Significance

Theorem 2.19 is the source of two of the most-cited concentration inequalities in the field — the Azuma–Hoeffding inequality (Corollary 2.20) and the bounded-differences/McDiarmid inequality (Corollary 2.21), both already faithfully covered elsewhere on the platform (azuma_hoeffding_two_sided, bounded_diff_martingale_two_sided) and included here as kind: reference milestones rather than redrafted. Theorem 2.26's Gaussian Lipschitz concentration is separately significant: it is the tool behind dimension-free operator-norm bounds for random matrices, concentration of the empirical spectral distribution, and much of the machinery of Chapters 5 and 6 of the same book.

Formalizing it. No faithful prior art exists on the platform for either the martingale Bernstein bound or Lipschitz-Gaussian concentration itself (a fresh search for "martingale Bernstein," "sub-exponential martingale," "Gaussian interpolation," and "Lipschitz concentration" returned no hits; the existing Vershynin-book item HighDimProb.Isoperimetry.lipschitz_concentration_sphere concentrates a Lipschitz function on the sphere, a different underlying space and a different proof from Theorem 2.26's Gaussian vector). Both goal-adjacent theorems and the Gaussian interpolation lemma are drafted here as open goals (:= by sorry); the two Azuma–Hoeffding/bounded-differences corollaries are reused from the platform's existing, already-proved formalizations.

Difficulty

The naive approach to Theorem 2.26 — try to bound f(X)−E[f(X)]f(X)-\mathbb E[f(X)]f(X)−E[f(X)] directly via a Lipschitz-type argument in Rn\mathbb R^nRn — has no obvious route to a dimension-free bound, since a union bound over coordinates (or over an ε\varepsilonε-net of the domain) picks up a factor that grows with nnn. The resolution, Lemma 2.27's interpolation identity, instead exploits a special structural fact about the Gaussian distribution — its rotation invariance — to replace the nonlinear quantity f(X)−E[f(X)]f(X)-\mathbb E[f(X)]f(X)−E[f(X)] with the linear, and hence exactly computable, Gaussian quantity ⟨∇f(X),Y⟩\langle\nabla f(X),Y\rangle⟨∇f(X),Y⟩, at the mild cost of a non-optimal constant. Theorem 2.19's difficulty is bookkeeping rather than a conceptual obstruction: the recursive conditioning step (Eq. (2.29)) must be iterated exactly nnn times while keeping track of the interplay between the two parameters νk,αk\nu_k,\alpha_kνk​,αk​ per difference, and Proposition 2.9's two-regime tail bound (small-deviation sub-Gaussian behavior, large-deviation sub-exponential behavior) must be carried through unchanged into the final statement — dropping either regime understates what the theorem proves.

Formalization scope

Expectations are Bochner integrals against an explicit probability measure, with integrability required as an explicit hypothesis in IsSubGaussian and IsSubExponential (Mathlib's Bochner integral silently returns 000 for a non-integrable function, which this mission's definitions rule out as a trivializing formalization). The sub-exponential condition's domain restriction |λ| < 1/α is realized as the disjunction α = 0 ∨ |λ| < 1/α, since Lean's real division convention 1/0 = 0 is exactly backwards from the book's own stated 1/0 = +\infty convention for the degenerate sub-Gaussian case.

"X,Y∼N(0,In)X,Y\sim N(0,I_n)X,Y∼N(0,In​) independent" (Lemma 2.27, Theorem 2.26) is formalized via Mathlib's HasGaussianLaw predicate together with explicit coordinatewise mean-zero and identity-covariance hypotheses, which together pin down the standard multivariate normal law, plus IndepFun. The inner product ⟨∇f(X),Y⟩\langle\nabla f(X),Y\rangle⟨∇f(X),Y⟩ is realized as fderiv ℝ f (X ω) (Y ω), the Fréchet derivative applied to Y(ω)Y(\omega)Y(ω) — equal to ⟨∇f(X(ω)),Y(ω)⟩\langle\nabla f(X(\omega)),Y(\omega)\rangle⟨∇f(X(ω)),Y(ω)⟩ by the Riesz representation of the gradient on a Hilbert space, avoiding the need to separately construct a gradient vector field.

Theorem 2.19's printed parameter pair for part (a), "(∑kνk2,α∗)(\sum_k\nu_k^2,\alpha_*)(∑k​νk2​,α∗​)," is formalized as (∑kνk2,α∗)(\sqrt{\sum_k\nu_k^2},\alpha_*)(∑k​νk2​​,α∗​): Definition 2.7 parametrizes the sub-exponential MGF bound by ν\nuν (with ν2\nu^2ν2 appearing in the exponent), so a literal transcription of the printed pair's first entry would silently square the effective parameter and make part (a), read literally, inconsistent with part (b)'s own tail-bound formula (which the book derives from part (a) via the general sub-exponential tail bound, Proposition 2.9). The corrected pairing is the one the book's own proof actually establishes; see MODERATION_NOTES.md for the full derivation.

Out of scope for this mission: Proposition 2.5 (plain Hoeffding for a sum of independent sub-Gaussians), used in the book only as background for Theorem 2.26's proof and not redrafted, since the goal theorem's own statement does not depend on it once Lemma 2.27 is in hand.

Selected references

  • M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge University Press, 2019. DOI: 10.1017/9781108627771. Chapter 2.
  • K. Azuma, "Weighted sums of certain dependent random variables," Tôhoku Mathematical Journal, 19:357–367, 1967.
  • W. Hoeffding, "Probability inequalities for sums of bounded random variables," Journal of the American Statistical Association, 58:13–30, 1963.
8 thms4 active usersReviewed
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

Foundations of Reinforcement Learning III: Structured Bandits and the Decision-Estimation CoefficientTextbook

Motivation

Every algorithm in the first three chapters of Foster and Rakhlin's Foundations of Reinforcement Learning and Interactive Decision Making — ε-Greedy and UCB for the multi-armed bandit, Inverse Gap Weighting and SquareCB for contextual bandits — is a special case of the same two-step recipe: estimate a model of the world with an online regression oracle, then convert the estimate into a decision that trades exploration against exploitation. Chapter 4 asks whether this recipe can be made generic: given any structured decision-making problem, specified only by a function class FFF and a decision space Π\PiΠ, is there a single quantity that governs the best achievable regret, the way A/γ\sqrt{A/\gamma}A/γ​ governs the multi-armed bandit and d/γ\sqrt{d/\gamma}d/γ​ governs the linear bandit? The chapter's answer is the Decision-Estimation Coefficient (DEC), introduced by Foster, Kakade, Qian, and Rakhlin [40] as a complexity measure that both upper- and lower-bounds achievable regret for a general decision-making protocol, unifying results that were previously proved from scratch, case by case, for each structured setting. This mission formalizes the chapter's central upper bound (Proposition 13) together with the machinery that makes it computable in two concrete cases — the multi-armed bandit (Proposition 14) and the linear bandit (Propositions 16–17).

Setting

Fix a finite decision space Π\PiΠ and a class F⊆RΠF \subseteq \mathbb{R}^\PiF⊆RΠ of candidate mean-reward functions, with a ground-truth f⋆∈Ff^\star \in Ff⋆∈F (realizability). Over TTT rounds, at each round ttt the learner observes an estimate f^t\hat f_tf^​t​ produced by an online regression oracle, plays a decision distribution pt∈Δ(Π)p_t \in \Delta(\Pi)pt​∈Δ(Π) (possibly depending on f^t\hat f_tf^​t​ and the history), and the regret is

Reg:=∑t=1Tf⋆(π⋆)−∑t=1TEπ∼pt[f⋆(π)],\mathrm{Reg} := \sum_{t=1}^T f^\star(\pi^\star) - \sum_{t=1}^T \mathbb{E}_{\pi \sim p_t}[f^\star(\pi)],Reg:=t=1∑T​f⋆(π⋆)−t=1∑T​Eπ∼pt​​[f⋆(π)],

where π⋆=arg⁡max⁡πf⋆(π)\pi^\star = \arg\max_\pi f^\star(\pi)π⋆=argmaxπ​f⋆(π). The oracle's cumulative estimation error is assumed bounded: ∑t=1TEπ∼pt[(f^t(π)−f⋆(π))2]≤EstSq(F,T,δ)\sum_{t=1}^T \mathbb{E}_{\pi \sim p_t}[(\hat f_t(\pi) - f^\star(\pi))^2] \le \mathrm{EstSq}(F,T,\delta)∑t=1T​Eπ∼pt​​[(f^​t​(π)−f⋆(π))2]≤EstSq(F,T,δ) with probability at least 1−δ1-\delta1−δ (Definition 7). Writing πf:=arg⁡max⁡πf(π)\pi_f := \arg\max_\pi f(\pi)πf​:=argmaxπ​f(π), the DEC game value at a reference model f^\hat ff^​ and scale γ>0\gamma > 0γ>0 is the min-max quantity

decγ(F,f^):=min⁡p∈Δ(Π)max⁡f∈F  Eπ∼p[f(πf)−f(π)−γ(f(π)−f^(π))2],\mathrm{dec}_\gamma(F, \hat f) := \min_{p \in \Delta(\Pi)} \max_{f \in F} \; \mathbb{E}_{\pi \sim p}\bigl[f(\pi_f) - f(\pi) - \gamma(f(\pi) - \hat f(\pi))^2\bigr],decγ​(F,f^​):=p∈Δ(Π)min​f∈Fmax​Eπ∼p​[f(πf​)−f(π)−γ(f(π)−f^​(π))2],

and the DEC of FFF itself is decγ(F):=sup⁡f^∈co(F)decγ(F,f^)\mathrm{dec}_\gamma(F) := \sup_{\hat f \in \mathrm{co}(F)} \mathrm{dec}_\gamma(F, \hat f)decγ​(F):=supf^​∈co(F)​decγ​(F,f^​). The Estimation-to-Decisions (E2D) algorithm plays, at each round, a ptp_tpt​ certifying (i.e. attaining or beating) the value of this min-max game at f^t\hat f_tf^​t​.

Formalization targets

Goal — Proposition 13 (E2D regret bound)

Reg≤decγ(F)⋅T+γ⋅EstSq(F,T,δ)\mathrm{Reg} \le \mathrm{dec}_\gamma(F) \cdot T + \gamma \cdot \mathrm{EstSq}(F, T, \delta)Reg≤decγ​(F)⋅T+γ⋅EstSq(F,T,δ)

with probability at least 1−δ1-\delta1−δ, for any exploration parameter γ>0\gamma > 0γ>0. This is the weakest stable statement the chapter proves about E2D: it holds for an arbitrary function class and an arbitrary regression oracle, with no structural assumption on FFF beyond realizability, and the chapter's later sections instantiate it rather than strengthen it.

Milestones

  • Lemma 9 (Decoupling), general form: for any distribution ν\nuν over a finite model class and any fˉ\bar ffˉ​, Ef∼ν[f(πf)−fˉ(πf)]≤A⋅Ef∼νEπ∼p[(f(π)−fˉ(π))2]\mathbb{E}_{f\sim\nu}[f(\pi_f) - \bar f(\pi_f)] \le \sqrt{A \cdot \mathbb{E}_{f\sim\nu}\mathbb{E}_{\pi\sim p}[(f(\pi)-\bar f(\pi))^2]}Ef∼ν​[f(πf​)−fˉ​(πf​)]≤A⋅Ef∼ν​Eπ∼p​[(f(π)−fˉ​(π))2]​ — the estimation-to-decisions bridge the whole chapter's approach rests on, decoupling the model index from the played decision.
  • Proposition 14 (IGW minimizes the DEC): for the multi-armed bandit (Π=[A]\Pi=[A]Π=[A], F=RAF=\mathbb{R}^AF=RA), Inverse Gap Weighting is the exact minimizer of the DEC game, giving decγ(F)=(A−1)/(4γ)\mathrm{dec}_\gamma(F) = (A-1)/(4\gamma)decγ​(F)=(A−1)/(4γ) — the first concrete computation of an abstract quantity, recovering Chapter 3's rate from Proposition 13 alone.
  • Proposition 16 (G-optimal design): existence, for any compact full-dimensional-span set Z⊆RdZ \subseteq \mathbb{R}^dZ⊆Rd, of a distribution ppp with sup⁡z∈Z⟨Σp−1z,z⟩≤d\sup_{z\in Z}\langle \Sigma_p^{-1}z,z\rangle \le dsupz∈Z​⟨Σp−1​z,z⟩≤d — the classical convex-analysis primitive Proposition 17 needs.
  • Proposition 17 (DEC for linear bandits): combining the G-optimal design with inverse gap weighting gives decγ(F)≲d/γ\mathrm{dec}_\gamma(F) \lesssim d/\gammadecγ​(F)≲d/γ for the linear bandit function class, leading via Proposition 13 to a dT\sqrt{dT}dT​ regret bound.

Significance

The Decision-Estimation Coefficient is, in the book's own words, "the main result" of this line of work: Foster, Kakade, Qian, and Rakhlin [40] show it is not merely an upper bound but (in a suitable localized form, developed further in Chapter 6) a tight characterization of the minimax regret for structured bandits and, more generally, for the interactive decision-making protocol the rest of the book studies. Proposition 13 is the mechanism that makes this useful in practice: it reduces regret analysis for a new structured problem to a single, purely convex-analytic computation of decγ(F)\mathrm{dec}_\gamma(F)decγ​(F), in place of a bespoke exploration argument. Propositions 14–17 are the demonstration that this reduction is not vacuous — they recompute, via the DEC alone, the two rates (multi-armed and linear bandit) that earlier chapters of the book derived by direct, setting-specific arguments, and the match is exact. Formalizing this chapter therefore captures the book's unifying abstraction itself, not just one more instance of it. No formalization of the Decision-Estimation Coefficient, in any form, currently exists on the platform (see Formalization scope).

Difficulty

The obvious formalization mistake is to state Proposition 13's conclusion with decγ(F)\mathrm{dec}_\gamma(F)decγ​(F) left as an unconstrained free real-number parameter satisfying only the inequality the theorem asserts — a formalization under which the "theorem" would be a triviality about an arbitrary real number, since nothing about the actual min-max game would ever be checked. The chapter's content is precisely the opposite: that this specific minimax quantity can be computed (Proposition 14) or bounded via a concrete strategy (Proposition 17), and — as Chapter 6 shows for a lower bound outside this chunk's scope — that no smaller quantity would do. A second difficulty is proof-theoretic rather than notational: the book's own proof of Proposition 13 bounds regret by an unconstrained supremum over all reference functions f^:Π→R\hat f : \Pi \to \mathbb{R}f^​:Π→R, and only identifies this with the official, co(F)\mathrm{co}(F)co(F)-restricted decγ(F)\mathrm{dec}_\gamma(F)decγ​(F) of Eq. (4.16) via Proposition 24 — a fact stated on p. 80, outside this chapter's numbered range, whose own proof the book defers to an exercise. A formalization that quietly imports Proposition 24 to close this gap would rest the goal theorem on an unverified fact; this mission instead states the hypothesis the book's own text uses to motivate restricting to co(F)\mathrm{co}(F)co(F) in the first place (online estimation algorithms produce f^t∈co(F)\hat f_t \in \mathrm{co}(F)f^​t​∈co(F)), so the goal is faithful to what is actually established within the chapter's own pages.

Formalization scope

Every item fixes a finite decision space (Fin A, Fin n, or a generic Fintype S) and states the DEC as the literal sInf-of-sSup transcription of the min-max game (Eqs. (4.15)–(4.16)), never as an opaque bound — this is the trivializing formalization the chunk's own reading of the chapter rules out (see Difficulty). piStar : (S → ℝ) → S is a hypothesized global maximizer selector throughout, constrained to be a genuine argmax only on the function class in scope (F or Set.univ), matching how the book treats πf\pi_fπf​ as a fixed but arbitrary tie-breaking choice. The goal theorem (Proposition 13) adds the explicit hypothesis hfhat : ∀ t, fhat t ∈ convexHull ℝ F, replacing an appeal to the out-of-range Proposition 24 (see Difficulty); this is the one place this mission's statement is not a line-by-line transcription of the book's own displayed proof steps, and it is recorded here and in MODERATION_NOTES.md. Proposition 14's and Proposition 17's ≲\lesssim≲ are replaced by the explicit constants the book's own proofs establish ((A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ) exactly, and (4d+1)/(2γ)(4d+1)/(2\gamma)(4d+1)/(2γ) respectively — the latter obtained by summing the three terms the proof of Proposition 17 isolates). Proposition 14's Lean statement splits the book's single equality decγ(F,f^)=(A−1)/(4γ)\mathrm{dec}_\gamma(F,\hat f) = (A-1)/(4\gamma)decγ​(F,f^​)=(A−1)/(4γ) into an upper bound on the literal decGf, a lower bound restricted to full-support distributions, and IGW's own exact game value, because the book's min over the whole simplex is not provable as a literal Lean equality: a distribution with a zero-weight arm makes the inner supremum genuinely unbounded, and Lean's total Real.sSup returns a junk value smaller than (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ) there (caught in moderation, MODERATION_NOTES.md); the three-conjunct statement recovers exactly the book's real content without asserting that false literal equality. Lemma 9 is restated inside FoundationsRL.Structured rather than imported from the Chapter 2 mission, since draft items across chunks cannot import one another; its source citation still points to its original location (p. 32). Proposition 16 is not drafted: the platform's existing BanditAlgorithm.kiefer_wolfowitz_equivalence (Lattimore & Szepesvári, Theorem 21.1) states the identical existence claim — compact set with full-dimensional span, a design with G-value at most ddd — as one clause of a larger equivalence, and is reused as a reference item rather than redrafted. Proposition 22 (primal/dual DEC equivalence, §4.4) is deliberately excluded: the book states it "under mild regularity conditions" it does not pin down in the statement itself, which is exactly the kind of unquantified hypothesis this series' faithfulness standard excludes from a goal or milestone. Contributions extending this mission with Chapter 6's lower bound (matching decγ(F)\mathrm{dec}_\gamma(F)decγ​(F) from below, establishing tightness) or with a formalization of Proposition 24 itself (removing this mission's hfhat hypothesis) are welcome.

Selected references

  • D. Foster, S. Kakade, J. Qian, and A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv:2112.13487, 2021. https://arxiv.org/abs/2112.13487
  • D. Foster and A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730, 2023. https://arxiv.org/abs/2312.16730
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020.
  • J. Kiefer and J. Wolfowitz, The Equivalence of Two Extremum Problems, Canadian Journal of Mathematics, 1960.
9 thms4 active usersReviewed
🏆Completed
Experimental DesignOperations ResearchProbability+1·Captain: Shuze Chen

Treatment Locality in A/B TestingResearch Paper

Modern A/B tests must infer lifetime treatment effects — e.g. customer lifetime value under a new feature — from short-horizon experiment data. Chen, Simchi-Levi and Wang (arXiv:2407.19618) model the experiment as a Markov decision process and exploit a structural fact of many practical interventions: the treatment is local, modifying the system at a single crucial state only. This mission formalizes the core asymptotic theory of the paper: for any differentiable estimator built from the experiment's transition and reward statistics, information sharing — pooling across test arms the samples collected away from the treated state — keeps the estimator asymptotically normal with the same asymptotic bias and never increases its asymptotic variance (Theorem 9), and is asymptotically efficient among unbiased estimators (Theorem 5). The route runs through a Markov chain central limit theorem with the asymptotic variance identified as the autocovariance series, and the linearization/delta method for functionals of chain statistics.

42 thms4 active users
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: Shuze Chen

Matrix Completion has No Spurious Local MinimumResearch Paper

Matrix completion — recovering a low-rank matrix M=ZZ⊤M = ZZ^\topM=ZZ⊤ from a small random subset of its entries — powers recommender systems and collaborative filtering. In practice it is solved by running (stochastic) gradient descent on the non-convex objective

f(X)=min⁡X12∥PΩ(M−XX⊤)∥F2+λR(X)f(X)=\min_X\frac12\|P_\Omega(M-XX^\top)\|_F^2+\lambda R(X)f(X)=Xmin​21​∥PΩ​(M−XX⊤)∥F2​+λR(X)

where Ω={(i,j)∣Mi,j is observed}\Omega=\{(i,j)|M_{i,j} \text{ is observed}\}Ω={(i,j)∣Mi,j​ is observed} and R(X)R(X)R(X) is a certain regularizer. from a random starting point, and it just works.

Ge, Lee and Ma (NeurIPS 2016 Best student paper award) explained why: the regularized objective has no spurious local minima — every local minimum is global and exactly recovers MMM. This mission formalizes that landmark theorem in Lean 4, in its strongest known form and along its simplest known proof: the unified landscape analysis of Ge–Jin–Zheng (ICML 2017) and an improved sampling bound in Chen–Li (JMLR 2019). Conditional on an explicit good-sample predicate (which holds with high probability under Bernoulli sampling), every local minimum XXX of fff satisfies XX⊤=ZZ⊤XX^\top = ZZ^\topXX⊤=ZZ⊤.

14 thms4 active users
Linear OptimizationMachine LearningProbability·Captain: mikedeng1

The Dantzig Selector: Statistical Estimation When p Is Much Larger than n 2: Oracle Inequality within a Logarithmic Factor of the Ideal Mean Squared ErrorResearch Paper

Motivation

Many regression problems have far more unknown coefficients ppp than observations nnn: gene expression studies with tens of samples and thousands of genes, imaging from few measurements, nonparametric curve recovery from a finite number of noisy samples. Estimation is hopeless in general, but becomes possible when the parameter is sparse, that is, has few nonzero entries. Candès and Tao (arXiv:math/0506081; Ann. Statist. 35(6), 2007, doi:10.1214/009053606000001523) proposed the Dantzig selector, an estimator computed by a single linear program, and showed that its squared error is within a logarithmic factor of what an oracle that knew which coefficients matter could achieve.

The estimator became one of the two standard ℓ1\ell_1ℓ1​ methods for high-dimensional regression, alongside the Lasso; the comparison of the two by Bickel, Ritov and Tsybakov (arXiv:0801.1095, 2009) is built on it. This mission targets the paper's main result, the oracle inequality (Theorem 1.2). A companion mission covers the simpler ℓ2\ell_2ℓ2​ bound for sparse parameters (Theorem 1.1).

Setting

Observations follow the linear model

y=Xβ+z,y = X\beta + z,y=Xβ+z,

where X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p is a deterministic design matrix with columns X1,…,XpX_1,\dots,X_pX1​,…,Xp​, each of Euclidean norm ∥Xj∥ℓ2=1\|X_j\|_{\ell_2}=1∥Xj​∥ℓ2​​=1; β∈Rp\beta\in\mathbb R^pβ∈Rp is an unknown deterministic parameter; and z=(z1,…,zn)z=(z_1,\dots,z_n)z=(z1​,…,zn​) has independent N(0,σ2)N(0,\sigma^2)N(0,σ2) coordinates, σ>0\sigma>0σ>0. The vector β\betaβ is SSS-sparse if at most SSS of its entries are nonzero.

Two constants of XXX measure how close sparse sets of columns are to being orthonormal. The restricted isometry constant δS\delta_SδS​ is the smallest δ≥0\delta\ge0δ≥0 such that (1−δ)∥c∥ℓ22≤∥Xc∥ℓ22≤(1+δ)∥c∥ℓ22(1-\delta)\|c\|_{\ell_2}^2\le\|Xc\|_{\ell_2}^2\le(1+\delta)\|c\|_{\ell_2}^2(1−δ)∥c∥ℓ2​2​≤∥Xc∥ℓ2​2​≤(1+δ)∥c∥ℓ2​2​ for every ccc supported on at most SSS indices. The restricted orthogonality constant θS,S′\theta_{S,S'}θS,S′​ (defined for S+S′≤pS+S'\le pS+S′≤p) is the smallest θ≥0\theta\ge0θ≥0 with ∣⟨Xc,Xc′⟩∣≤θ∥c∥ℓ2∥c′∥ℓ2|\langle Xc,Xc'\rangle|\le\theta\|c\|_{\ell_2}\|c'\|_{\ell_2}∣⟨Xc,Xc′⟩∣≤θ∥c∥ℓ2​​∥c′∥ℓ2​​ whenever c,c′c,c'c,c′ are supported on disjoint sets of sizes at most SSS and S′S'S′. Below δ:=δ2S\delta:=\delta_{2S}δ:=δ2S​ and θ:=θS,2S\theta:=\theta_{S,2S}θ:=θS,2S​.

For a tuning level λp>0\lambda_p>0λp​>0, a Dantzig selector β^\hat\betaβ^​ is any solution of

min⁡β~∈Rp∥β~∥ℓ1subject to∥X∗(y−Xβ~)∥ℓ∞=sup⁡1≤j≤p∣⟨y−Xβ~,Xj⟩∣≤λpσ.\min_{\tilde\beta\in\mathbb R^p}\|\tilde\beta\|_{\ell_1}\quad\text{subject to}\quad\|X^*(y-X\tilde\beta)\|_{\ell_\infty}=\sup_{1\le j\le p}|\langle y-X\tilde\beta,X_j\rangle|\le\lambda_p\sigma .β~​∈Rpmin​∥β~​∥ℓ1​​subject to∥X∗(y−Xβ~​)∥ℓ∞​​=1≤j≤psup​∣⟨y−Xβ~​,Xj​⟩∣≤λp​σ.

The ideal mean squared error is ∑i=1pmin⁡(βi2,σ2)\sum_{i=1}^p\min(\beta_i^2,\sigma^2)∑i=1p​min(βi2​,σ2): the risk of an oracle that keeps exactly the coordinates above the noise level.

Formalization targets

Goal: Theorem 1.2 (pp. 8–9)

Let t>0t>0t>0, a≥0a\ge0a≥0, and λp:=(1+a+t−1)2log⁡p\lambda_p:=(\sqrt{1+a}+t^{-1})\sqrt{2\log p}λp​:=(1+a​+t−1)2logp​. If β\betaβ is SSS-sparse and δ2S+θS,2S<1−t\delta_{2S}+\theta_{S,2S}<1-tδ2S​+θS,2S​<1−t, then with probability exceeding 1−(πlog⁡p⋅pa)−11-(\sqrt{\pi\log p}\cdot p^a)^{-1}1−(πlogp​⋅pa)−1 every Dantzig selector obeys

∥β^−β∥ℓ22≤C22⋅λp2⋅(σ2+∑i=1pmin⁡(βi2,σ2)),\|\hat\beta-\beta\|_{\ell_2}^2\le C_2^2\cdot\lambda_p^2\cdot\Big(\sigma^2+\sum_{i=1}^p\min(\beta_i^2,\sigma^2)\Big),∥β^​−β∥ℓ2​2​≤C22​⋅λp2​⋅(σ2+i=1∑p​min(βi2​,σ2)),

with the explicit constant (1.14)

C2=2C01−δ−θ+2θ(1+δ)(1−δ−θ)2+1+δ1−δ−θ,C0=22(1+1−δ21−δ−θ)+(1+12)(1+δ)21−δ−θ.C_2=\frac{2C_0}{1-\delta-\theta}+\frac{2\theta(1+\delta)}{(1-\delta-\theta)^2}+\frac{1+\delta}{1-\delta-\theta},\qquad C_0=2\sqrt2\Big(1+\frac{1-\delta^2}{1-\delta-\theta}\Big)+\Big(1+\frac1{\sqrt2}\Big)\frac{(1+\delta)^2}{1-\delta-\theta}.C2​=1−δ−θ2C0​​+(1−δ−θ)22θ(1+δ)​+1−δ−θ1+δ​,C0​=22​(1+1−δ−θ1−δ2​)+(1+2​1​)1−δ−θ(1+δ)2​.

Milestones

  1. Lemma 3.2: ∥Xβ∥ℓ2≤1+δ (∥β∥ℓ2+(2S)−1/2∥β∥ℓ1)\|X\beta\|_{\ell_2}\le\sqrt{1+\delta}\,(\|\beta\|_{\ell_2}+(2S)^{-1/2}\|\beta\|_{\ell_1})∥Xβ∥ℓ2​​≤1+δ​(∥β∥ℓ2​​+(2S)−1/2∥β∥ℓ1​​) for every β\betaβ.
  2. Lemma A.1 (dual sparse reconstruction, ℓ2\ell_2ℓ2​ version): for ccc supported on ∣T∣≤2S|T|\le2S∣T∣≤2S, a vector β\betaβ on TTT whose correlations ⟨Xβ,Xj⟩\langle X\beta,X_j\rangle⟨Xβ,Xj​⟩ equal cjc_jcj​ on TTT and are small off TTT except on an exceptional set of size at most SSS, with bounds (6.1)–(6.6).
  3. Corollary A.2 (ℓ∞\ell_\inftyℓ∞​ version): the same without exceptional set, constants 1/(1−δ−θ)1/(1-\delta-\theta)1/(1−δ−θ).
  4. Corollary A.3 (constrained thresholding): an SSS-sparse β\betaβ with ∥β∥ℓ2<λS\|\beta\|_{\ell_2}<\lambda\sqrt S∥β∥ℓ2​​<λS​ splits as β′+β′′\beta'+\beta''β′+β′′ with β′\beta'β′ small in ℓ2\ell_2ℓ2​ and ℓ1\ell_1ℓ1​ and ∥X∗Xβ′′∥ℓ∞<1−δ21−δ−θλ\|X^*X\beta''\|_{\ell_\infty}<\frac{1-\delta^2}{1-\delta-\theta}\lambda∥X∗Xβ′′∥ℓ∞​​<1−δ−θ1−δ2​λ.
  5. Gaussian tail bound (Section 3, p. 15): P(sup⁡j∣⟨z,Xj⟩∣>u)≤2p φ(u)/uP(\sup_j|\langle z,X_j\rangle|>u)\le2p\,\varphi(u)/uP(supj​∣⟨z,Xj​⟩∣>u)≤2pφ(u)/u for standard Gaussian noise.
  6. Lemma 3.1: the ℓ2\ell_2ℓ2​ mass of hhh on T0T_0T0​ and its top SSS positions outside T0T_0T0​ is controlled by ∥XT01TXh∥ℓ2\|X^T_{T_{01}}Xh\|_{\ell_2}∥XT01​T​Xh∥ℓ2​​ and ∥h∥ℓ1(T0c)\|h\|_{\ell_1(T_0^c)}∥h∥ℓ1​(T0c​)​.

Significance

The result. Theorem 1.2 says that a single linear program, which knows neither the support of β\betaβ nor which coefficients exceed the noise, matches the oracle risk ∑imin⁡(βi2,σ2)\sum_i\min(\beta_i^2,\sigma^2)∑i​min(βi2​,σ2) up to a factor O(log⁡p)O(\log p)O(logp), uniformly over SSS-sparse parameters and with explicit, nonasymptotic constants. For coefficients well below the noise level it is far sharper than the σ2Slog⁡p\sigma^2 S\log pσ2Slogp bound of Theorem 1.1. It is the template for later oracle inequalities for ℓ1\ell_1ℓ1​-penalized estimators under restricted isometry or restricted eigenvalue conditions.

Formalizing it. The theorem is proved in the paper, but parts of the argument are only sketched: Corollary A.2 refers to the 2005 Decoding by Linear Programming paper for its convergence argument, and Corollary A.3's ℓ1\ell_1ℓ1​ bound is printed with a constant its own proof does not deliver. A machine-checked proof settles these steps. The restricted isometry and orthogonality constants used here are already published on the platform from the decoding series; the appendix lemmas on dual vectors are reusable for any compressed-sensing result in that framework. No formalization of the Dantzig selector's oracle inequality is known to us.

Difficulty

The natural proof compares β^\hat\betaβ^​ with the hard-thresholded parameter β(1)\beta^{(1)}β(1) that keeps only the large coefficients: if β(1)\beta^{(1)}β(1) were feasible for the Dantzig constraint, the analysis of Theorem 1.1 would apply directly. It is not feasible in general, because the small coefficients β(2)\beta^{(2)}β(2), though individually below the noise level, can add up to a large correlation X∗Xβ(2)X^*X\beta^{(2)}X∗Xβ(2). The central difficulty is to split β(2)\beta^{(2)}β(2) into a part with controlled ℓ1\ell_1ℓ1​ and ℓ2\ell_2ℓ2​ norm and a part invisible to the constraint; this requires constructing dual vectors with prescribed correlations (Lemma A.1, Corollary A.2), via an iterative, geometrically convergent correction. The probabilistic part is a Gaussian tail estimate plus a union bound, and the bookkeeping of constants must be carried through exactly.

Formalization scope

Vectors are functions Fin p → ℝ, the design is Matrix (Fin n) (Fin p) ℝ, and the noise is a family z : Fin n → Ω → ℝ of mutually independent random variables (iIndepFun) each with law gaussianReal 0 σ². δ2S\delta_{2S}δ2S​ and θS,2S\theta_{S,2S}θS,2S​ are the published CandesTao.Decoding.restrictedIsometryConst X (2*S) and restrictedOrthogonalityConst X S (2*S) (infima, absolute value in the orthogonality condition). Domain: S≥1S\ge1S≥1 and 3S≤p3S\le p3S≤p (the paper defines θS,S′\theta_{S,S'}θS,S′​ for S+S′≤pS+S'\le pS+S′≤p), which forces p≥3p\ge3p≥3 and log⁡p>0\log p>0logp>0. A Dantzig selector is any ℓ1\ell_1ℓ1​ minimizer over the feasible set; the ℓ∞\ell_\inftyℓ∞​ constraint is a bound on every coordinate.

The goal bounds from above the (outer) probability of the bad event "no Dantzig selector exists, or some Dantzig selector violates (1.13)". Because the event includes non-existence, a definition no vector satisfies cannot make the theorem vacuous; and the constant C2C_2C2​ is the printed (1.14), evaluated at δ2S\delta_{2S}δ2S​, θS,2S\theta_{S,2S}θS,2S​ of XXX, not a free constant chosen after the fact.

Corrected constant: Corollary A.3 is stated with ∥β′∥ℓ1≤21+δ1−δ−θ∥β∥ℓ22/λ\|\beta'\|_{\ell_1}\le2\frac{1+\delta}{1-\delta-\theta}\|\beta\|_{\ell_2}^2/\lambda∥β′∥ℓ1​​≤21−δ−θ1+δ​∥β∥ℓ2​2​/λ, the bound its proof gives once Corollary A.2 is applied at an integer sparsity level; the printed statement omits the factor 222. Corollary A.2 carries Lemma A.1's standing hypothesis δ+θ<1\delta+\theta<1δ+θ<1. The deterministic lemmas (3.1, 3.2, A.1–A.3) assume nothing about column norms, since their statements do not need it.

Useful infrastructure: monotonicity of δS\delta_SδS​ and θS,S′\theta_{S,S'}θS,S′​ in their indices (the proof applies the lemmas at a smaller sparsity level), the Gaussian tail bound 1−Φ(u)<φ(u)/u1-\Phi(u)<\varphi(u)/u1−Φ(u)<φ(u)/u, existence of minimizers of the Dantzig linear program, and a sorting/blocking toolkit for "the SSS largest positions". Proofs of individual milestones are welcome independently.

Selected references

  • E. Candès and T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6):2313–2351, 2007. arXiv:math/0506081v3, doi:10.1214/009053606000001523
  • E. Candès and T. Tao, Decoding by linear programming, IEEE Trans. Inform. Theory 51(12):4203–4215, 2005. arXiv:math/0502327, doi:10.1109/TIT.2005.858979
  • P. Bickel, Y. Ritov and A. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4):1705–1732, 2009. arXiv:0801.1095, doi:10.1214/08-AOS620
  • D. Donoho and I. Johnstone, Ideal spatial adaptation by wavelet shrinkage, Biometrika 81(3):425–455, 1994. doi:10.1093/biomet/81.3.425
11 thms3 active usersReviewed
Information TheoryQuantum Information·Captain: mikedeng1

Shadow Tomography of Quantum States 2: Even the Classical Special Case Needs Ω(min{D, log M}/ε²) CopiesResearch Paper

Why the copy count matters

Shadow tomography asks for predictions of many specified measurements of an unknown quantum state, while using as few prepared copies of that state as possible. The requested output is a list of acceptance probabilities, not a full description of the state. A procedure might exploit the fact that these are only MMM numbers, even when the state has dimension DDD. The natural question is how far this saving can go. Aaronson's paper gives upper bounds and separates two sources of difficulty: one already present for ordinary probability distributions, and one arising from noncommuting quantum measurements.

This mission concerns the first source. It formalizes Theorem 16, which says that even when the state and every requested measurement are diagonal in the same basis, the number of copies must grow with min⁡{D,log⁡M}/ε2\min\{D,\log M\}/\varepsilon^2min{D,logM}/ε2 in the relevant asymptotic regime. In that special case, the unknown state is an ordinary distribution on DDD outcomes. The theorem therefore puts a limit on any proposed improvement to shadow tomography that would promise fewer copies in all instances.

States, measurements, and estimates

A mixed state ρ\rhoρ on a DDD-dimensional system is a positive semidefinite D×DD\times DD×D complex matrix with trace one. A two-outcome measurement is represented by an effect EEE satisfying 0⪯E⪯I0\preceq E\preceq I0⪯E⪯I; it accepts ρ\rhoρ with probability Tr⁡(Eρ)\operatorname{Tr}(E\rho)Tr(Eρ). When ρ\rhoρ is diagonal, its diagonal entries are the probabilities of the DDD basis outcomes. When EEE is diagonal too, it specifies a randomized yes-or-no test on those outcomes. These conventions are stated in Section 3 of the paper.

Given effects E1,…,EME_1,\ldots,E_ME1​,…,EM​, a shadow-tomography strategy measures kkk independent copies ρ⊗k\rho^{\otimes k}ρ⊗k and outputs estimates b1,…,bMb_1,\ldots,b_Mb1​,…,bM​. It succeeds on ρ\rhoρ when every estimate differs from Tr⁡(Eiρ)\operatorname{Tr}(E_i\rho)Tr(Ei​ρ) by at most ε\varepsilonε. The lower bound requires success probability at least 2/32/32/3 for every diagonal mixed state. The strategy may make a joint quantum measurement on all copies and may choose its estimates from its observed outcome. This is the same measurement model used in Problem 1.

Formalization targets

Classical special-case lower bound

The goal is the classical clause of Theorem 16. There are absolute constants c>0c>0c>0 and N0N_0N0​ such that, for D≥N0D\ge N_0D≥N0​, log⁡2M≥N0\log_2 M\ge N_0log2​M≥N0​, and 0<ε≤1/60<\varepsilon\le1/60<ε≤1/6, there are MMM diagonal effects with 0/1 entries, corresponding to the known Boolean functions in Section 6.1, for which every strategy successful on all diagonal states must use

k≥c min⁡{D,log⁡2M}ε2.k\ge c\,\frac{\min\{D,\log_2 M\}}{\varepsilon^2}.k≥cε2min{D,log2​M}​.

The hard measurements are chosen before the strategy is quantified. The statement therefore also rules out a strategy with a smaller copy count that works uniformly for all quantum states and measurements. Its constants and threshold express the Ω\OmegaΩ notation in Theorem 16, rather than specifying a numerical optimum.

Supporting targets

Four milestones come from the proof on pages 20–21: the high-probability overlap bound for independently chosen half-size subsets (Eq. (1)); the acceptance probability of a subset under its associated biased distribution; an upper bound on the mutual information between the hidden subset index and the observed samples; and the exact entropy formula with a quadratic entropy deficit. These statements expose the combinatorial and information-theoretic parts of the lower bound while leaving the goal as the paper's copy-complexity result.

What the result supplies

Theorem 16 sets a floor for shadow tomography that survives even when all operators commute. Any uniform copy bound for the full quantum task must respect this floor. The result also distinguishes the difficulty of predicting many properties of a distribution from the extra difficulty possible for noncommuting states and measurements, which the paper treats in a separate lower bound. Section 6 presents both bounds.

A complete formalization would give machine-checked statements and proofs for the finite subset construction, the entropy calculation, the information inequality, and the reduction from a successful quantum measurement procedure on diagonal states to a lower bound on kkk. The theorem is proved on paper; these draft statements are open Lean goals and do not claim that its proof has been machine checked. The finite-distribution and information-theory infrastructure is reusable for other lower bounds based on hidden-index families.

Where the argument is delicate

Counting how many possible measurements there are does not by itself show that samples reveal enough about which distribution generated them. The lower bound needs a quantitative relation between estimation accuracy and information about a hidden index, while each individual sample carries limited information. The paper's printed overlap condition (1) is too weak for the next displayed ε/2\varepsilon/2ε/2 estimate: at its boundary it gives ε\varepsilonε. The milestone preserves Eq. (1) as printed; closing the goal requires the correspondingly sharper overlap fact with N/24N/24N/24, which follows from the same type of concentration statement after adjusting its constant. The printed assertion that learning the index requires mutual information at least log⁡2K\log_2 Klog2​K is also imprecise at success probability 2/32/32/3; a quantitative decoding inequality is needed. Neither incorrect display is a draft milestone.

Formalization scope

Matrices are indexed by Fin D. WildeQIT.IsDensityOperator supplies the mixed-state predicate ρ⪰0\rho\succeq0ρ⪰0 and Tr⁡(ρ)=1\operatorname{Tr}(\rho)=1Tr(ρ)=1. Diagonal states and effects use the standard matrix diagonal predicate. An effect is positive semidefinite together with its complement. The tensor power uses functions Fin k → Fin D as basis indices; at k=0k=0k=0 it is a one-by-one identity matrix. A strategy is a finite-outcome POVM on that tensor power, followed by a real estimate vector for each outcome. The output values are not restricted to [0,1][0,1][0,1]: clipping them to this interval cannot worsen an estimate of a probability. No restriction to classical estimators is placed in the goal; that would change the allowed strategies before the theorem has been proved.

The asymptotic threshold excludes the one-dimensional and single-measurement corners where the claimed rate does not describe the problem. The bound ε≤1/6\varepsilon\le1/6ε≤1/6 keeps the biased distributions used on page 20 nonnegative; ε≥1/2\varepsilon\ge1/2ε≥1/2 would permit a zero-copy constant estimate. Subset milestones require even NNN or explicitly require a half-size subset, so N/2N/2N/2 has its intended meaning. The natural logarithm appears nowhere in the lower-bound rate; entropy, mutual information, and log⁡2M\log_2 Mlog2​M use base two. At zero probability the entropy convention is 0log⁡0=00\log 0=00log0=0.

The finite distributions, entropy, conditional entropy, and mutual information reuse the published WildeQIT definitions. Contributions that prove the four source milestones, establish the sharper overlap fact, or supply the quantitative decoding step are welcome. The goal must retain its order of quantifiers: one hard measurement family, then every strategy, with success demanded on every diagonal state.

Selected references

  • Scott Aaronson, Shadow Tomography of Quantum States, arXiv preprint arXiv:1711.01053v2, 2018. Preprint.
14 thms3 active usersReviewed
PreviousPage 1 of 7Next

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