Massart's finite-class lemma #
For finitely many vectors a j : κ → ℝ (j : ι) of Euclidean norm at most r, the expected
maximum of the Rademacher sums ∑ i, a j i * signVal (σ i) over a uniformly random sign vector
σ : κ → Bool is at most r √(2 log |ι|) [Massart2000, Lemma 5.2]
[MohriRostamizadehTalwalkar2018, Theorem 3.7].
The proof is the Chernoff argument for maxima. For t > 0, Jensen's inequality for exp, the
bound of a maximum of nonnegative terms by their sum, and the sub-Gaussian moment generating
function bound of Rademacher sums (expect_exp_mul_sum_mul_signVal_le) give
exp (t 𝔼 max_j Y_j) ≤ |ι| exp (t² r² / 2), that is, 𝔼 max_j Y_j ≤ log |ι| / t + t r² / 2.
Minimizing over t gives r √(2 log |ι|).
Main results #
Fintype.bddAbove_range_expect: the averages of a family of functions bounded above byBare bounded above, the side condition for suprema of averages.Cslib.BitString.bddAbove_range_expect_signVal_mul: the correlations of a uniformly bounded family of vectors with a fixed sign vector are bounded above.Cslib.BitString.expect_sum_mul_signVal_eq_zero: a Rademacher sum has mean zero.Cslib.BitString.expect_ciSup_sum_mul_signVal_le: Massart's lemma.
References #
A Rademacher sum has mean zero: flipping every sign negates it.
Massart's lemma [Massart2000, Lemma 5.2] [MohriRostamizadehTalwalkar2018, Theorem 3.7]:
if the vectors a j : κ → ℝ, j : ι, have Euclidean norm at most r, then the expected maximum
of their correlations with a uniformly random sign vector is at most r √(2 log |ι|).
For empty ι the maximum is 0 by the convention ⨆ j ∈ ∅ = 0 for real numbers, and so is the
bound.