Parities are not learnable from statistical queries #
Under the uniform distribution on the cube ι → Bool, distinct parities parityOn S and
parityOn T are uncorrelated: their ±1 values are the characters of S and T, which are
orthonormal (Cslib.BitString.expect_chi_mul_chi). With the 2 ^ n parities as the almost
orthogonal family, γ = 0, the statistical query lower bound
(StatisticalQuery.LearnsStateless.card_le_of_abs_corr_le) gives the following. A learner that
learns a class containing the parities on n bits under the uniform distribution, with
tolerance τ > 0 and error ε ∈ [0, 1/2), using at most q queries, has
2 ^ n ≤ q / τ ^ 2 + 1 / (1 - 2 ε) ^ 2
(StatisticalQuery.LearnsStateless.two_pow_card_le_of_parityOn_mem). So it needs 2 ^ {Ω(n)}
queries or tolerance 2 ^ {-Ω(n)}. This is Kearns's theorem that parities are not efficiently
learnable from statistical queries [Kearns1998, Theorem 5], in the quantitative form of
[BFJ+94].
Main results #
Cslib.MachineLearning.StatisticalQuery.corr_uniformOfFintype: the correlation under the uniform distribution as an average.Cslib.MachineLearning.StatisticalQuery.corr_uniformOfFintype_parityOn: distinct parities are uncorrelated.Cslib.MachineLearning.StatisticalQuery.LearnsStateless.two_pow_card_le_of_parityOn_mem: the lower bound for parities.
References #
The correlation under the uniform distribution on the cube is the average of the product of
the ±1 values.
Under the uniform distribution, distinct parities are uncorrelated and a parity has
correlation 1 with itself.
Parities are not learnable from statistical queries [Kearns1998, Theorem 5]
[BFJ+94]. A learner that learns, under the uniform distribution
on n-bit strings, a class containing every parity parityOn S, with tolerance τ > 0 and error
ε ∈ [0, 1/2) using at most q queries, has 2 ^ n ≤ q / τ ^ 2 + 1 / (1 - 2 ε) ^ 2.