Lower bounds for statistical query learning #
A concept class with many almost uncorrelated concepts cannot be learned from few statistical
queries of coarse tolerance [BFJ+94]. Let f i ∈ C for i ∈ κ
have pairwise correlations |corr D (f i) (f j)| ≤ γ under D, and let A learn C under D
with tolerance τ and error ε using at most q queries, where γ < τ ^ 2 and
γ < (1 - 2 ε) ^ 2. Then
|κ| ≤ q (1 - γ) / (τ ^ 2 - γ) + (1 - γ) / ((1 - 2 ε) ^ 2 - γ)
(StatisticalQuery.LearnsStateless.card_le_of_abs_corr_le).
The proof is the argument of Szörényi, as presented in
Reyzin, Theorem 12. Write a query as φ (x, y) = g x + k x · (±1 value of y),
where k has |k| ≤ 1, and answer it by E_D [g], which ignores the target. This answer is
within τ of the truth for every f i except those with |E_D [k · f i]| > τ, and by Bessel's
inequality for the almost orthogonal f i there are at most (1 - γ) / (τ ^ 2 - γ) of these
(InnerProductGeometry.card_mul_sq_sub_le_of_le_abs_inner, applied to the vectors
√(D x) · f i x of ℝ^X). Run A against these target-independent answers. Along the run it
makes at most q queries, and every f i outside the at most q (1 - γ) / (τ ^ 2 - γ)
exceptional ones for those queries sees only valid answers (OracleComp.interpret_id_congr).
Hence the single hypothesis h that A returns has error at most ε, that is correlation at
least 1 - 2 ε, for each such f i, and by the same inequality at most
(1 - γ) / ((1 - 2 ε) ^ 2 - γ) concepts correlate that well with h.
The bound assumes only LearnsStateless, so it applies to every learner (Learns.learnsStateless)
and to queries with values in [-1, 1], which include the predicates of [Kea98].
When only the one-sided bound corr D (f i) (f j) ≤ γ holds, the first term doubles
(StatisticalQuery.LearnsStateless.card_le_of_corr_le). Take γ = 1 / d for d = |κ|, so that
the one-sided variant of the statistical query dimension Reyzin, Definition 11, which
drops the absolute value, is at least d (StatisticalQuery.sqDimOneSided in
CslibFrontier/MachineLearning/StatisticalQuery/Dimension.lean). Requiring
accuracy τ, that is 1 - 2 ε ≥ τ, as in Reyzin, Theorem 12, gives
d τ ^ 2 - 1 ≤ 2 q + 1
(StatisticalQuery.LearnsStateless.card_mul_sq_sub_one_le_two_mul_add_one). For exact learning,
the special case ε = 0, this sharpens to Reyzin's query count d τ ^ 2 - 1 ≤ 2 q
(StatisticalQuery.LearnsStateless.card_mul_sq_sub_one_le_two_mul).
Main results #
Cslib.MachineLearning.StatisticalQuery.LearnsStateless.card_le_of_abs_corr_le: the lower bound for pairwise almost uncorrelated concepts.Cslib.MachineLearning.StatisticalQuery.LearnsStateless.card_le_of_corr_le: the lower bound for concepts with one-sided correlation bounds.Cslib.MachineLearning.StatisticalQuery.LearnsStateless.card_mul_sq_sub_one_le_two_mul_add_one: the statistical query dimension bound for learning with accuracyτ.Cslib.MachineLearning.StatisticalQuery.LearnsStateless.card_mul_sq_sub_one_le_two_mul: the statistical query dimension bound for exact learning.
References #
- A. Blum, M. Furst, J. Jackson, M. Kearns, Y. Mansour, S. Rudich, Weakly learning DNF and characterizing statistical query learning using Fourier analysis
- B. Szörényi, Characterizing statistical query learning: simplified notions and proofs
- L. Reyzin, Statistical queries and statistical algorithms: foundations and applications
- M. Kearns, Efficient noise-tolerant learning from statistical queries
Functions as vectors #
Splitting a query #
The adversary argument #
The lower bounds #
Statistical query lower bound [BFJ+94]
[Szo09]. If the concepts f i ∈ C, i ∈ κ, have pairwise correlations of absolute value
at most γ under D, and A learns C under D with tolerance τ ≥ 0 and error
ε ∈ [0, 1/2] using at most q queries, where γ < τ ^ 2 and γ < (1 - 2 ε) ^ 2, then
|κ| ≤ q (1 - γ) / (τ ^ 2 - γ) + (1 - γ) / ((1 - 2 ε) ^ 2 - γ).
Statistical query lower bound, one-sided correlations. If the concepts f i ∈ C,
i ∈ κ, have pairwise correlations at most γ under D, and A learns C under D with
tolerance τ ≥ 0 and error ε ∈ [0, 1/2] using at most q queries, where γ < τ ^ 2 and
γ < (1 - 2 ε) ^ 2, then |κ| ≤ 2 q (1 - γ) / (τ ^ 2 - γ) + (1 - γ) / ((1 - 2 ε) ^ 2 - γ).
The statistical query dimension bound for exact learning: the special case ε = 0 of
Reyzin, Theorem 12, which assumes only accuracy τ
(LearnsStateless.card_mul_sq_sub_one_le_two_mul_add_one). If C contains
d ≥ 2 concepts with pairwise correlations at most 1 / d under D, so that the one-sided
variant of the statistical query dimension Reyzin, Definition 11 of C under D,
which drops the absolute value, is at least d, then a
learner learning C exactly under D from at most q queries of tolerance τ ≥ 0 has
d τ ^ 2 - 1 ≤ 2 q, Reyzin's query count.
The statistical query dimension bound for weak learning Reyzin, Theorem 12.
If C contains d concepts with pairwise correlations at most 1 / d under D, and A learns
C under D from at most q queries of tolerance τ ≥ 0 with accuracy τ, that is with error
ε ≥ 0 where 1 - 2 ε ≥ τ, so that every hypothesis has correlation at least τ with the
target, then d τ ^ 2 - 1 ≤ 2 q + 1.