Rademacher sums #
A Rademacher sum is Y = ∑ i, a i * signVal (x i) for a uniformly random x : ι → Bool,
that is, a weighted sum of independent uniform signs. This file proves the moment and
moment-generating-function bounds used for random sign projections.
- Moments.
𝔼 Y² = ∑ a²and𝔼 Y⁴ = 3 (∑ a²)² - 2 ∑ a⁴ ≤ 3 (∑ a²)². These are the tug-of-war moments ofCslibFrontier.Probability.KWiseIndependent.TugOfWarfor the fully independent family of all functionsι → Bool. The second moment also holds for vector coefficients in a real inner product space:𝔼 ‖∑ i, signVal (x i) • v i‖² = ∑ i, ‖v i‖². - Exponential moments. The coordinates factor, so
𝔼 exp (s Y) = ∏ i, cosh (s a i). Sincecosh u ≤ exp (u² / 2),Yis sub-Gaussian:𝔼 exp (s Y) ≤ exp (s² ∑ a² / 2). - Gaussian comparison. For
0 ≤ tandt ∑ a² < 1 / 2,𝔼 exp (t Y²) ≤ 1 / √(1 - 2 t ∑ a²), which is𝔼 exp (t (∑ a²) Z²)for a standard GaussianZ. Linearize the square with the Gaussian moment generating function,exp (t y²) = 𝔼 exp (√(2t) y Z). Exchange the two averages and apply the sub-Gaussian bound to the inner one. What remains is the chi-squared moment generating function (ProbabilityTheory.integral_exp_mul_sq_gaussianReal). This is the standard comparison of the squares of sub-Gaussian and Gaussian variables; Gupta's lecture notes [Gupta2023, §11.6.2, Lemma 11.9] apply it to Rademacher projection matrices. Achlioptas proves the same bound [Achlioptas2003, Lemma 5.2] by comparing the even moments ofYwith those of a Gaussian. For Gaussian entriesYis itself Gaussian and the bound is an equality, the case of [Achlioptas2003, Lemma 4.1]. Dasgupta and Gupta use the same chi-squared moment generating function for projections onto a random subspace [DasguptaGupta2003, Lemma 2.2].
Main results #
Cslib.BitString.expect_sq_sum_mul_signVal,Cslib.BitString.expect_sum_mul_signVal_pow_four,Cslib.BitString.expect_sum_mul_signVal_pow_four_le: the second and fourth moments.Cslib.BitString.expect_norm_sum_signVal_smul_sq: the second moment of a vector Rademacher sum.Cslib.BitString.expect_sq_inv_sqrt_card_mul_sum_signVal,Cslib.BitString.expect_sq_inv_sqrt_card_mul_sum_signVal_le: the normalized sum∑ᵢ xᵢ / √nofnuniform signs has second moment one, and at most one whenn = 0.Cslib.BitString.expect_exp_mul_sum_mul_signVal:𝔼 exp (s Y) = ∏ i, cosh (s a i).Cslib.BitString.expect_exp_mul_sum_mul_signVal_le:𝔼 exp (s Y) ≤ exp (s² ∑ a² / 2).Cslib.BitString.expect_exp_mul_sq_sum_mul_signVal_le:𝔼 exp (t Y²) ≤ 1 / √(1 - 2 t ∑ a²).
References #
A uniform sign has mean zero.
The second moment of a Rademacher sum: 𝔼 (∑ i, a i signVal (x i))² = ∑ i, a i ².
The second moment of a vector Rademacher sum: for vectors v i in a real inner product
space, 𝔼 ‖∑ i, signVal (x i) • v i‖² = ∑ i, ‖v i‖², because distinct signs are uncorrelated.
The fourth moment of a Rademacher sum:
𝔼 (∑ i, a i signVal (x i))⁴ = 3 (∑ i, a i ²)² - 2 ∑ i, a i ⁴.
The fourth moment of a Rademacher sum is at most that of a Gaussian with the same variance:
𝔼 (∑ i, a i signVal (x i))⁴ ≤ 3 (∑ i, a i ²)².
The normalized sum ∑ᵢ xᵢ / √n of n ≥ 1 uniform signs has second moment one.
The normalized sum ∑ᵢ xᵢ / √n of n uniform signs has second moment at most one, for every
n, including n = 0.
The moment generating function of a Rademacher sum:
𝔼 exp (s ∑ i, a i signVal (x i)) = ∏ i, cosh (s a i).
Rademacher sums are sub-Gaussian:
𝔼 exp (s ∑ i, a i signVal (x i)) ≤ exp (s² ∑ i, a i ² / 2).
Gaussian comparison for the square of a Rademacher sum: for 0 ≤ t and
t ∑ i, a i ² < 1 / 2, 𝔼 exp (t (∑ i, a i signVal (x i))²) ≤ 1 / √(1 - 2 t ∑ i, a i ²). The
right side is 𝔼 exp (t (∑ i, a i ²) Z²) for a standard Gaussian Z.