Nonuniform learnability #
A class C is nonuniformly learnable if the sample size needed to compete with a hypothesis
h ∈ C may depend on h [ShalevShwartzBenDavid2014, Definition 7.1]: for every accuracy ε and
confidence δ there is a learner, one for each sample size, such that for every h ∈ C and every
distribution D of the family, from some sample size m₀(ε, δ, h) on the learner's error exceeds
L_D(h) + ε with probability at most δ. PAC learnability asks for one sample size that works for
every h simultaneously, measured against optimalError D C.
A countable union ⋃ i, H i of classes with uniform convergence rates ε i m δ → 0 is
nonuniformly learnable by structural risk minimization [ShalevShwartzBenDavid2014, Theorems 7.3
and 7.5]. In particular every countable class whose hypotheses have measurable misclassification
sets is nonuniformly learnable, as the union of its singletons with Hoeffding rates
[ShalevShwartzBenDavid2014, Section 7.3], even when it has infinite VC dimension and is not PAC
learnable.
The definition follows the upstream IsPACLearnable conventions: accuracy and confidence range
over Set.Ioo (0 : ℝ≥0) 1, the distribution family is a parameter, and the learner may depend on
ε and δ (the SRM learner depends only on δ). The source fixes one algorithm for all (ε, δ)
in Definition 7.1 but runs SRM with confidence δ as an input.
Main definitions #
IsNonuniformLearnable C 𝒟:Cis nonuniformly learnable over the family𝒟.
Main results #
IsNonuniformLearnable.antitone_family,IsNonuniformLearnable.antitone_C: monotonicity.isNonuniformLearnable_iUnion: a countable union of classes with vanishing uniform convergence rates is nonuniformly learnable by SRM.isNonuniformLearnable_of_countable: every countable class with measurable misclassification sets is nonuniformly learnable over all distributions.
References #
The class C is nonuniformly learnable over the family 𝒟 [ShalevShwartzBenDavid2014,
Definition 7.1]: for every accuracy ε and confidence δ there are learners A m, one for each
sample size, such that for every h ∈ C there is a sample size m₀ from which on, for every
probability measure D ∈ 𝒟, the error of A m exceeds error D h + ε with probability at most
δ.
Nonuniform learnability is antitone in the distribution family.
Nonuniform learnability is antitone in the class.
Countable unions of uniformly convergent classes are nonuniformly learnable
[ShalevShwartzBenDavid2014, Theorems 7.3 and 7.5]: if each class H i of a countable family has
uniform convergence rate ε i over 𝒟 with ε i m δ → 0 as m → ∞ for every δ > 0, then
⋃ i, H i is nonuniformly learnable over 𝒟, by structural risk minimization. The rate plays the
role of the source's ε_n(m, δ) (Equation (7.1)), defined there from the uniform convergence
sample complexity. The learner charges class i the penalty max (ε i m (w i · δ)) 0 + e i / m
for an injection e : ι → ℕ; the second term makes the penalties tend to infinity along the
indices, so that an SRM minimizer exists on every sample, and vanishes as m → ∞. The instance
Nonempty (α → β) supplies a learner when every class is empty. Theorem 7.5's explicit sample
complexity m^UC_{H n(h)}(ε / 2, w(n(h)) δ) is not stated: the proof only produces some sample
size, through the excess-risk guarantee IsSRM.measure_pi_exists_lt_error_le.
Countable classes are nonuniformly learnable [ShalevShwartzBenDavid2014, Section 7.3]: every countable class whose hypotheses have measurable misclassification sets is nonuniformly learnable over all distributions, by SRM over its singletons with Hoeffding rates.