Documentation

CslibFrontier.Probability.KWiseIndependent.Concentration

Variance-sensitive moment concentration under k-wise independence #

For a 2m-wise independent hash family h : ι → X → Y (Cslib.Probability.IsKWiseIndependentHash) and [0, 1]-valued score functions g z : Y → ℝ on a finite set R : Finset X whose total mean ∑ z ∈ R, 𝔼 y, g z y is at most μ, IsKWiseIndependentHash.expect_sum_pow_le in CslibFrontier.Probability.KWiseIndependent bounds the 2m-th central moment by m ^ (2 * m) * (#R) ^ m, scaling with the number of summands #R rather than μ. When individual means are small (μ ≪ #R, such as indicator variables for balls landing in one of many bins), that bound loses the μ / #R variance factor.

This module proves an elementary variance-sensitive 2m-th central moment bound and Markov tail inequalities in the spirit of the limited-independence moment method of Bellare and Rompel [BR94] and Theorem 5 of Schmidt, Siegel, and Srinivasan [SSS95]:

For centered [-1, 1]-valued random variables with heterogeneous per-coordinate variance bounds v x or small total mean where 2 * m ≤ 3 * μ does not hold, see CslibFrontier.Probability.KWiseIndependent.VarianceTail (expect_sum_pow_le_of_sq_le, dens_filter_le_abs_sum_of_sq_le, dens_filter_le_abs_sum_sub_expect_of_Icc), which drops the 1 / r! symmetry factor and 2 * m ≤ 3 * μ hypothesis at the cost of an extra factor of m inside the base (m * (m ^ 2 * max (∑ x ∈ S, v x) 1 / a ^ 2) ^ m).

Main results #

References #

theorem Cslib.Probability.abs_expect_sub_expect_pow_le {Y : Type u_1} [Fintype Y] [Nonempty Y] (g : Y → ℝ) (hg : ∀ (y : Y), g y ∈ Set.Icc 0 1) {c : ℕ} (hc : 2 ≤ c) :
|Finset.univ.expect fun (y : Y) => (g y - Finset.univ.expect fun (y' : Y) => g y') ^ c| ≤ Finset.univ.expect fun (y : Y) => g y

For any [0, 1]-valued random variable g : Y → ℝ on a nonempty finite type Y and exponent 2 ≤ c, the c-th centered moment satisfies |𝔼 y, (g y - 𝔼 y', g y') ^ c| ≤ 𝔼 y, g y.

theorem Cslib.Probability.expect_sum_sub_expect_pow_le {ι : Type u_1} {X : Type u_2} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] [Nonempty Y] {m : ℕ} (hm : 1 ≤ m) {h : ι → X → Y} (hh : IsKWiseIndependentHash (2 * m) h) (R : Finset X) (g : X → Y → ℝ) (hg : ∀ z ∈ R, ∀ (y : Y), g z y ∈ Set.Icc 0 1) {μ : ℝ} (hmean : (∑ z ∈ R, Finset.univ.expect fun (y : Y) => g z y) ≤ μ) (hmμ : 2 * ↑m ≤ 3 * μ) :
(Finset.univ.expect fun (i : ι) => (∑ z ∈ R, (g z (h i z) - Finset.univ.expect fun (y : Y) => g z y)) ^ (2 * m)) ≤ 2 * (3 * ↑m * μ) ^ m

Variance-sensitive 2m-th central moment bound under 2m-wise independence (cf. [BR94]; [SchmidtSiegelSrinivasan1995, Theorem 5]): for 1 ≤ m, a 2m-wise independent family h : ι → X → Y, scores g z : Y → [0, 1] on R : Finset X with total mean at most μ, and 2 * m ≤ 3 * μ, 𝔼 i, (∑ z ∈ R, (g z (h i z) - 𝔼 y, g z y)) ^ (2 * m) ≤ 2 * (3 * m * μ) ^ m.

theorem Cslib.Probability.dens_abs_sum_sub_expect_le {ι : Type u_1} {X : Type u_2} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] [Nonempty Y] {m : ℕ} (hm : 1 ≤ m) {h : ι → X → Y} (hh : IsKWiseIndependentHash (2 * m) h) (R : Finset X) (g : X → Y → ℝ) (hg : ∀ z ∈ R, ∀ (y : Y), g z y ∈ Set.Icc 0 1) {μ a : ℝ} (hmean : (∑ z ∈ R, Finset.univ.expect fun (y : Y) => g z y) ≤ μ) (hmμ : 2 * ↑m ≤ 3 * μ) (ha : 0 < a) :
↑{i : ι | a ≤ |∑ z ∈ R, (g z (h i z) - Finset.univ.expect fun (y : Y) => g z y)|}.dens ≤ 2 * (3 * ↑m * μ / a ^ 2) ^ m

Markov tail bound for 2m-wise independent [0, 1] sums (cf. [SchmidtSiegelSrinivasan1995, Theorem 5]): when 1 ≤ m, 2 * m ≤ 3 * μ, and 0 < a, the sum ∑ z ∈ R, g z (h i z) deviates from its mean by at least a with seed density at most 2 * (3 * m * μ / a ^ 2) ^ m.

theorem Cslib.Probability.dens_abs_sum_sub_expect_le_two_pow {ι : Type u_1} {X : Type u_2} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] [Nonempty Y] {m : ℕ} (hm : 1 ≤ m) {h : ι → X → Y} (hh : IsKWiseIndependentHash (2 * m) h) (R : Finset X) (g : X → Y → ℝ) (hg : ∀ z ∈ R, ∀ (y : Y), g z y ∈ Set.Icc 0 1) {μ a : ℝ} (hmean : (∑ z ∈ R, Finset.univ.expect fun (y : Y) => g z y) ≤ μ) (ha : 0 < a) (haμ : a ≤ μ) (h6 : 6 * ↑m * μ ≤ a ^ 2) :
↑{i : ι | a ≤ |∑ z ∈ R, (g z (h i z) - Finset.univ.expect fun (y : Y) => g z y)|}.dens ≤ 2 * (1 / 2) ^ m

Exponential 2 * (1 / 2) ^ m specialization of dens_abs_sum_sub_expect_le when 6 * m * μ ≤ a ^ 2 and a ≤ μ.

theorem Cslib.Probability.dens_abs_sum_restrict_sub_expect_le {ι : Type u_1} {α : Type u_2} {β : Type u_3} {Y : Type u_4} [Fintype ι] [Fintype Y] [DecidableEq Y] [Nonempty Y] {m K k_indep : ℕ} (hm : 1 ≤ m) {h : ι → α → Y} (hh : IsKWiseIndependentHash k_indep h) (hk : 2 * m * K ≤ k_indep) (R : Finset β) (B : β → Finset α) (hB : ∀ b ∈ R, (B b).card ≤ K) (hdisj : (↑R).Pairwise fun (b₁ b₂ : β) => Disjoint (B b₁) (B b₂)) (score : (b : β) → (↥(B b) → Y) → ℝ) (hscore : ∀ b ∈ R, ∀ (u : ↥(B b) → Y), score b u ∈ Set.Icc 0 1) {μ a : ℝ} (hmean : (∑ b ∈ R, Finset.univ.expect fun (θ : ι) => score b ((B b).restrict (h θ))) ≤ μ) (hmμ : 2 * ↑m ≤ 3 * μ) (ha : 0 < a) :
↑{θ : ι | a ≤ |∑ b ∈ R, (score b ((B b).restrict (h θ)) - Finset.univ.expect fun (θ' : ι) => score b ((B b).restrict (h θ')))|}.dens ≤ 2 * (3 * ↑m * μ / a ^ 2) ^ m

2m-th moment concentration for sums of [0, 1]-valued functions of pairwise disjoint hash restrictions (B b).restrict (h θ) of size ≤ K under (2 * m * K)-wise independence.