Sample-complexity steps for classes learned by the low-degree algorithm #
This module proves the sample-complexity (statistical uniform-learning) steps on the noncomputable
UniformLearning.lowDegreeLearner toward [O'Donnell, Section 3.4, Corollaries 3.32–3.35]
[OD14]; none of the corollaries' machine running-time bounds (n ^ O(K / ε),
n ^ O(√n / ε), poly(n ^ (1 / η), 1 / ε), n ^ O(log (s / ε))) is certified here, and
computational/machine running-time certification stays open on
#2131.
Combining UniformLearning.lowDegreeLearner_learns with spectral-concentration bounds from total
influence or noise sensitivity O'Donnell, Propositions 3.2 and 3.3 and from small
decision trees O'Donnell, Proposition 3.17 yields four sample-complexity steps:
- Boolean functions of total influence at most
K, withε (t + 1) ≥ 2 K(UniformLearning.lowDegreeLearner_learns_totalInfluence_le), in(n + 1) ^ O(K / ε) · poly(1 / ε, log (1 / δ))examples: the sample step toward O'Donnell, Corollary 3.32 (running time open on #2131); - monotone Boolean functions, whose total influence is at most
√n, withε (t + 1) ≥ 2 √n(UniformLearning.lowDegreeLearner_learns_monotone), in(n + 1) ^ O(√n / ε) · poly(1 / ε, log (1 / δ))examples: the sample step toward O'Donnell, Corollary 3.33 (running time open on #2131); - Boolean functions of noise sensitivity at most
ε / 6at a rateη ≤ 1 / 2, withη (t + 1) ≥ 1(UniformLearning.lowDegreeLearner_learns_noiseSensitivity_le), in(n + 1) ^ O(1 / η) · poly(1 / ε, log (1 / δ))examples: the sample step toward O'Donnell, Corollary 3.34 (running time open on #2131); - functions computed by decision trees with at most
sleaves (UniformLearning.decisionTreeClass), with2 s ≤ ε 2 ^ (t + 1)(UniformLearning.lowDegreeLearner_learns_decisionTreeClass), so witht = ⌈log₂ (s / ε)⌉in(n + 1) ^ O(log (s / ε)) · poly(1 / ε, log (1 / δ))examples: the sample step toward O'Donnell, Corollary 3.35 (running time open on #2131).
In each case the certified sample bound is (4 N / ε) log (2 N / δ) for N ≤ (n + 1) ^ t the
number of sets of at most t coordinates; lowDegreeLearner is noncomputable over ℝ, and
machine-level running-time certification remains open on
#2131.
Usage #
For decision trees, a function f : (ι → Bool) → Bool enters
UniformLearning.decisionTreeClass ι s through a tree t with t.Computes f and
t.leafCount ≤ s; any tree may be used, including one that repeats a query. Choose the degree
t with 2 s ≤ ε 2 ^ (t + 1), for instance t = ⌈log₂ (s / ε)⌉, and the number of examples m
from the bound in UniformLearning.lowDegreeLearner_learns_decisionTreeClass, for instance its
Nat.ceil. The checked client
CslibFrontierTests/UniformLearningDecisionTree.lean
puts the conjunction of two of three bits in the class of trees with three leaves and applies the
sample step at degree 3 with error and confidence 1 / 2.
Main results #
Cslib.MachineLearning.UniformLearning.lowDegreeLearner_learns_totalInfluence_le: sample step toward Corollary 3.32 (running time open on #2131).Cslib.MachineLearning.UniformLearning.lowDegreeLearner_learns_monotone: sample step toward Corollary 3.33 (running time open on #2131).Cslib.MachineLearning.UniformLearning.lowDegreeLearner_learns_noiseSensitivity_le: sample step toward Corollary 3.34 (running time open on #2131).Cslib.MachineLearning.UniformLearning.lowDegreeLearner_learns_decisionTreeClass: sample step toward Corollary 3.35 (running time open on #2131).
References #
Sample-complexity (statistical uniform-learning) step on the noncomputable lowDegreeLearner
toward O'Donnell, Corollary 3.32; the corollary's n ^ O(K / ε) running time is
not certified and stays open on
#2131. With ε (t + 1) ≥ 2 K,
lowDegreeLearner of degree t from m ≥ (4 N / ε) log (2 N / δ) uniform random examples learns
the Boolean functions whose total influence, read as signs, is at most K, with error ε and
confidence 1 - δ; only the number of examples, the error and the confidence are certified.
Sample-complexity (statistical uniform-learning) step on the noncomputable lowDegreeLearner
toward O'Donnell, Corollary 3.33; the corollary's n ^ O(√n / ε) running time is
not certified and stays open on
#2131. With ε (t + 1) ≥ 2 √n,
lowDegreeLearner of degree t from m ≥ (4 N / ε) log (2 N / δ) uniform random examples learns
the monotone Boolean functions of n coordinates, with error ε and confidence 1 - δ; only the
number of examples, the error and the confidence are certified.
Sample-complexity (statistical uniform-learning) step on the noncomputable lowDegreeLearner
toward O'Donnell, Corollary 3.34 (via the 3 NS_η[f] tail bound of
BitString.sum_fourierCoeff_sq_le_three_mul_noiseSensitivity); the corollary's
poly(n ^ (1 / η), 1 / ε) running time is not certified and stays open on
#2131. For a noise rate
η ≤ 1 / 2 with η (t + 1) ≥ 1, lowDegreeLearner of degree t from
m ≥ (4 N / ε) log (2 N / δ) uniform random examples learns the Boolean functions of noise
sensitivity at most ε / 6 at rate η, with error ε and confidence 1 - δ; only the number of
examples, the error and the confidence are certified.
Sample-complexity (statistical uniform-learning) step on the noncomputable lowDegreeLearner
toward O'Donnell, Corollary 3.35; the corollary's running time n ^ O(log (s / ε))
is not certified and stays open on
#2131. With
2 s ≤ ε 2 ^ (t + 1), lowDegreeLearner of degree t from m ≥ (4 N / ε) log (2 N / δ) uniform
random examples learns the functions computed by decision trees with at most s leaves, with error
ε and confidence 1 - δ; only the number of examples, the error and the confidence are
certified. The book's size is the number of leaves of a tree that never repeats a query; here s
bounds leafCount of any tree, which gives the same class because pruning removes repeated queries
without adding leaves (DecisionTree.leafCount_prune_le).