Documentation

CslibFrontier.MachineLearning.PACLearning.FundamentalTheorem

The fundamental theorem of PAC learning on countable domains #

The fundamental theorem of statistical learning [ShalevShwartzBenDavid2014, Theorem 6.7] says that for a binary class C the following are equivalent:

  1. C has the uniform convergence property;
  2. every ERM learns C agnostically;
  3. C is agnostically PAC learnable;
  4. C is PAC learnable in the realizable setting;
  5. every ERM learns C in the realizable setting;
  6. C has finite VC dimension.

tfae_hasFiniteVCDim proves this on countable domains with measurable singletons. Statement 1 is HasUniformConvergence C Set.univ; statements 2 and 5 are IsERMLearnable and statements 3 and 4 are IsPACLearnable, over all distributions and over the distributions C realizes. Agnostic PAC learnability implies finite VC dimension on every domain with measurable singletons.

The proof follows the source's cycle: uniform convergence makes every ERM ε-optimal (HasUniformConvergence.isERMLearnable), the agnostic statements imply the realizable ones, and the growth-function bound turns finite VC dimension into uniform convergence (hasUniformConvergence_univ_of_hasFiniteVCDim). For realizable learnability ⇒ finite VC dimension, the Ehrenfeucht–Haussler–Kearns–Valiant lower bound (IsPACLearnable.hasFiniteVCDim) replaces the source's No-Free-Lunch argument. The separate realizable equivalences use the ε-net upper bound (isPACLearnable_realizableDistributions_of_hasFiniteVCDim), and the randomized equivalences follow because deterministic learners are randomized ones.

Not formalized here: the quantitative two-sided sample-complexity bounds of [ShalevShwartzBenDavid2014, Theorem 6.8], and the upper bounds on uncountable domains, which need a measurability hypothesis on the class.

Main results #

References #

Agnostic learnability implies finite VC dimension on every domain with measurable singletons.

The fundamental theorem of PAC learning, realizable case [ShalevShwartzBenDavid2014, Theorem 6.7]: on a countable domain with measurable singletons, a binary class is PAC learnable over the distributions it realizes iff it has finite VC dimension.

The fundamental theorem of PAC learning, realizable case, for randomized learners: on a countable domain with measurable singletons, a binary class is randomized PAC learnable over the distributions it realizes iff it has finite VC dimension.

The fundamental theorem of statistical learning [ShalevShwartzBenDavid2014, Theorem 6.7]: on a countable domain with measurable singletons, a binary class has the uniform convergence property iff every ERM learns it agnostically, iff it is agnostically PAC learnable, iff it is PAC learnable in the realizable setting, iff every ERM learns it in the realizable setting, iff it has finite VC dimension.

The fundamental theorem of PAC learning, agnostic case: on a countable domain with measurable singletons, a binary class is agnostically PAC learnable iff it has finite VC dimension.

The fundamental theorem of PAC learning, agnostic case, for randomized learners: on a countable domain with measurable singletons, a binary class is agnostically randomized PAC learnable iff it has finite VC dimension.