The uniform convergence property and learnability by every ERM #
A concept class C has the uniform convergence property over a family 𝒟 of distributions if,
for every accuracy ε and confidence δ in (0, 1), all sufficiently large i.i.d. samples from
any D ∈ 𝒟 are ε-representative for C with probability at least 1 - δ
[ShalevShwartzBenDavid2014, Definition 4.3]. The class is learnable by every ERM over 𝒟 if,
for every ε and δ, every empirical risk minimizer for C is an (ε, δ)-PAC learner over 𝒟
from all sufficiently large samples; over all distributions and over the distributions C realizes,
these are statements 2 and 5 of the fundamental theorem [ShalevShwartzBenDavid2014, Theorem 6.7].
The uniform convergence property gives learnability by every ERM with the same confidence and half
the accuracy [ShalevShwartzBenDavid2014, Corollary 4.4], through ERM on an ε / 2-representative
sample (IsRepresentative.error_le_optimalError_add). Learnability by every ERM gives PAC
learnability, because every nonempty class has an ERM (exists_isERM).
The definitions quantify the sample size before the learner: a single threshold works for every
ERM. The source's statement 2 lets the threshold depend on the ERM rule; uniform convergence gives
the uniform version, so the characterizations agree. HasUniformConvergenceRate in SRM.lean
records an explicit rate instead of a threshold.
Main definitions #
HasUniformConvergence C 𝒟: the uniform convergence property over𝒟.IsERMLearnable C 𝒟: every empirical risk minimizer forClearnsCover𝒟from all sufficiently large samples.
Main results #
HasUniformConvergence.isERMLearnable: uniform convergence implies learnability by every ERM.IsERMLearnable.isPACLearnable: learnability by every ERM implies PAC learnability.
References #
The class C has the uniform convergence property over the family 𝒟: for every accuracy
ε and confidence δ in (0, 1) there is a sample size m₀ such that, for every m ≥ m₀ and
every D ∈ 𝒟, m i.i.d. examples from D fail to be ε-representative for C with probability
at most δ [ShalevShwartzBenDavid2014, Definition 4.3].
The class C is learnable by every ERM over the family 𝒟: for every accuracy ε and
confidence δ there is a sample size m₀ such that, for every m ≥ m₀, every empirical risk
minimizer for C on m examples misses optimalError D C + ε with probability at most δ under
every D ∈ 𝒟. Over Set.univ and over realizableDistributions C these are statements 2 and 5
of [ShalevShwartzBenDavid2014, Theorem 6.7].
Uniform convergence implies learnability by every ERM [ShalevShwartzBenDavid2014,
Corollary 4.4]: an ε / 2-representative sample makes every ERM ε-optimal, so the uniform
convergence threshold at accuracy ε / 2 and confidence δ serves every ERM.
Learnability by every ERM implies PAC learnability: at the threshold sample size, an ERM
exists when C is nonempty, and any learner works when C is empty, because the optimal error of
the empty class is ⊤.
Learnability by every ERM is antitone in the distribution family.