Documentation

CslibFrontier.Probability.BitString.Chaining

Dudley's chaining bound for Rademacher sums #

Massart's lemma (Cslib.BitString.expect_ciSup_sum_mul_signVal_le) bounds the expected maximum of the correlations of N vectors of norm at most r with a uniformly random sign vector by r √(2 log N). Chaining [ShalevShwartzBenDavid2014, Lemma 27.4] [Vershynin2018, Section 8.1] replaces the single application by one per scale. Approximate each vector a j by points of finite sets T 0, T 1, … with error at most r / 2 ^ n at level n, and write a j as its level-0 approximation, plus the differences of consecutive approximations, plus the error at level K. A difference at level n has norm at most 2 r / 2 ^ n and ranges over at most |T (n + 1)| |T n| vectors, so Massart's lemma bounds its contribution by 2 r / 2 ^ n · √(2 log (|T (n + 1)| |T n|)). The error at level K correlates with the signs by at most r / 2 ^ K · √|κ|, by Cauchy–Schwarz.

When the sets T n have size polynomial in 2 ^ n, the terms decay geometrically, so the bound does not grow with the number of vectors. This is how VC classes obtain Rademacher complexity O(√(d / m)) without a logarithmic factor.

Main results #

References #

theorem Cslib.BitString.expect_ciSup_sum_mul_signVal_le_chaining {ι : Type u_1} {κ : Type u_2} [Fintype κ] [DecidableEq κ] (a : ι → κ → ℝ) {r : ℝ} (hr : 0 ≤ r) (ha : ∀ (j : ι), ∑ i : κ, a j i ^ 2 ≤ r ^ 2) (T : ℕ → Finset (κ → ℝ)) (hT : ∀ (n : ℕ) (j : ι), ∃ u ∈ T n, ∑ i : κ, (a j i - u i) ^ 2 ≤ (r / 2 ^ n) ^ 2) (K : ℕ) :
(Finset.univ.expect fun (σ : κ → Bool) => ⨆ (j : ι), ∑ i : κ, a j i * signVal (σ i)) ≤ 2 * r * √(2 * Real.log ↑(T 0).card) + ∑ n ∈ Finset.range K, 2 * r / 2 ^ n * √(2 * Real.log (↑(T (n + 1)).card * ↑(T n).card)) + r / 2 ^ K * √↑(Fintype.card κ)

Dudley's chaining bound [ShalevShwartzBenDavid2014, Lemma 27.4]: let the vectors a j : κ → ℝ, j : ι, have Euclidean norm at most r, and let every a j lie within Euclidean distance r / 2 ^ n of a point of the finite set T n, for every level n. Then for every K, the expected maximum of their correlations with a uniformly random sign vector is at most 2 r √(2 log |T 0|) + ∑_{n < K} 2 r / 2 ^ n · √(2 log (|T (n + 1)| |T n|)) + r / 2 ^ K · √|κ|.

The index type ι need not be finite; only the sets T n are. The source takes T 0 = {0}, so that its first term vanishes, and bounds the differences at level n by 3 r / 2 ^ n through the triangle inequality.