Spectral concentration on collections of sets #
The spectrum of f is ε-concentrated on a collection F of sets when its Fourier weight off
F is at most ε, ∑_{S ∉ F} f̂(S) ^ 2 ≤ ε O'Donnell, Definition 3.28. The
results here bound the weight on an arbitrary collection T of sets, so they apply to
T = Fᶜ and to the degree tails T = {S | k < |S|} of O'Donnell, Definition 3.1
alike; CslibFrontier.Foundations.BooleanAnalysis.Concentration bounds the degree tails from
total influence and noise sensitivity instead. By Parseval's identity the weight of any f
on T is at most ‖f‖₂ ^ 2 (BitString.sum_fourierCoeff_sq_le_expect_sq), and applied to
f - g:
- if
ĝvanishes onT, the weight offonTis at most‖f - g‖₂ ^ 2(BitString.sum_fourierCoeff_sq_le_expect_sub_sq), as in the proof of O'Donnell, Theorem 3.29; with‖f - g‖₂ ^ 2 = 4 Pr[f ≠ g]for Boolean functions read as signs (BitString.expect_sq_signVal_sub_signVal), a Boolean function close to one of degree at mostkhas little weight above degreek; - the weight of
gonTis at most twice the weight offonTplus twice‖f - g‖₂ ^ 2(BitString.sum_fourierCoeff_sq_le_two_mul_add): concentration survives approximation O'Donnell, Exercise 3.17.
Coefficients of absolute value at most θ on T weigh at most θ ‖f̂‖₁ there
(BitString.sum_fourierCoeff_sq_le_mul_sum_abs), the estimate behind the Kushilevitz–Mansour
algorithm (UniformLearning.uniformError_kmHypothesis_le). So a function with small spectral
1-norm is ε-concentrated on a collection of at most ‖f̂‖₁ ^ 2 / ε sets
(BitString.exists_card_le_sum_fourierCoeff_sq_le) O'Donnell, Exercise 3.16; the
proof takes the sets S with ε ≤ ‖f̂‖₁ |f̂(S)|. Against any collection F, the coefficients of
absolute value at most θ on T weigh at most their weight off F plus #F θ²
(BitString.sum_fourierCoeff_sq_le_sum_compl_add), the estimate behind learning concentrated
classes (UniformLearning.kmLearner_learns_concentrated).
Usage #
Open Cslib and Cslib.BitString. The weight W_T[f] of a real function on a collection
T : Finset (Finset ι) is written ∑ S ∈ T, fourierCoeff f S ^ 2; take T = Fᶜ for
concentration on F, T = {S | t < #S} (written ∑ S with t < #S) for the degree tail, and
∑ S with ¬S ⊆ J for the sets that are not subsets of J. The squared distance ‖f - g‖₂ ^ 2 is
𝔼 x, (f x - g x) ^ 2 and the spectral 1-norm ‖f̂‖₁ is ∑ S, |fourierCoeff f S|. A Boolean
function enters through fun x => signVal (f x). For g of degree at most t
((fun x => signVal (g x)) ∈ lowDegree ℝ ι t), BitString.fourierCoeff_eq_zero_of_mem_lowDegree
gives the vanishing hypothesis of BitString.sum_fourierCoeff_sq_le_expect_sub_sq on the degree
tail, and BitString.expect_sq_signVal_sub_signVal rewrites the distance as
4 * (hammingDist f g / 2 ^ Fintype.card ι): a Boolean function at relative Hamming distance δ
from one of degree at most t has weight at most 4 δ above degree t. The book's form of
Exercise 3.17, with ε₁-concentration of f and ‖f - g‖₂ ^ 2 ≤ ε₂, follows from
BitString.sum_fourierCoeff_sq_le_two_mul_add by linarith. The collection of Exercise 3.16 feeds
BitString.hammingDist_signRound_sum_mul_chi_div_le: rounding the expansion of a Boolean function
on that collection to signs errs on at most an ε fraction of inputs. Checked clients test each
bound on characters of two and three bits, derive the close-to-low-degree corollary and the book's
form of Exercise 3.17, and combine Exercise 3.16 with sign rounding, in
CslibFrontierTests/BooleanAnalysisSpectralConcentration.lean.
Main results #
Cslib.BitString.sum_fourierCoeff_sq_le_expect_sq: Bessel's inequality on a collection of sets.Cslib.BitString.sum_fourierCoeff_sq_le_expect_sub_sq: approximation by a function with no weight onT.Cslib.BitString.sum_fourierCoeff_sq_le_two_mul_add: Exercise 3.17.Cslib.BitString.sum_fourierCoeff_sq_le_mul_sum_abs,Cslib.BitString.sum_fourierCoeff_sq_le_sum_compl_add: the weight of small coefficients.Cslib.BitString.exists_card_le_sum_fourierCoeff_sq_le: Exercise 3.16.
References #
Bessel's inequality: the Fourier weight of f on any collection T of sets is at most
‖f‖₂ ^ 2 = 𝔼_x f(x) ^ 2, by Parseval's identity.
Approximation by a function with no weight on T: if ĝ vanishes on T then the
weight of f on T is at most ‖f - g‖₂ ^ 2.
Concentration survives approximation: the weight of g on T is at most
2 (W_T[f] + ‖f - g‖₂ ^ 2); so if the spectrum of f is ε₁-concentrated on F and
‖f - g‖₂ ^ 2 ≤ ε₂, then the spectrum of g is 2 (ε₁ + ε₂)-concentrated on F, taking
T = Fᶜ O'Donnell, Exercise 3.17.
The weight of small coefficients: if every coefficient of f on T has absolute value at
most θ, then the weight of f on T is at most θ ‖f̂‖₁.
The weight of small coefficients against a collection: if every coefficient of f on T
has absolute value at most θ, then the weight of f on T is at most its weight off any
collection F plus #F θ². With T the sets whose coefficient is below θ, this bounds what the
Kushilevitz–Mansour search misses for a function concentrated on F.
Small spectral 1-norm forces concentration on few sets: the spectrum of f is
ε-concentrated on a collection of at most ‖f̂‖₁ ^ 2 / ε sets
O'Donnell, Exercise 3.16.