The agnostic upper bound for multiclass PAC learning on countable domains #
This module proves the countable-domain agnostic upper-bound step toward the multiclass fundamental
theorem [ShalevShwartzBenDavid2014, Theorem 29.3] (#5084). If a multiclass concept class C on a
countable domain α with k labels N-shatters no finite set of more than d points, then its
Boolean loss class lossClass C on α × β shatters no finite set of more than
6 d (log k + 1) labeled points (card_le_of_setShatters_lossClass_of_natarajan): a shattered set
of n labeled points realizes 2 ^ n loss patterns, while Natarajan's lemma bounds them by
k ^ (2 d) exp (n / 3) 3 ^ d.
Feeding this VC bound for lossClass C into the chaining-based uniform-convergence theorem of
AgnosticVCSharp.lean [Vershynin2018, Section 8.3] yields uniform convergence without a
log (1 / ε) factor, empirical-risk-minimization learning from
natarajanAgnosticSampleSize d k (ε / 2) δ = (393216 d (log k + 1) + 128 log (4 / δ)) / ε²
examples (rate O((d (log k + 1) + log (1 / δ)) / ε²), matching the
O((d log k + log (1 / δ)) / ε²) rate of Theorem 29.3 once k ≥ 2), the uniform convergence
property, and agnostic PAC learnability for every class of finite Natarajan dimension on a
countable domain with finitely many labels.
The domain is assumed countable with measurable singletons and the labels finite with measurable singletons; learners are arbitrary semantic maps without running-time claims. General measurable domains (#2868, #3297) and the sample-complexity lower bounds of Theorem 29.3 remain open in #5084.
Main definitions #
natarajanAgnosticSampleSize d k ε δ: the chaining sample size(98304 d (log k + 1) + 32 log (4 / δ)) / ε²forε-representative samples.
Main results #
card_le_of_setShatters_lossClass_of_natarajan: the Boolean loss class shatters at most6 d (log k + 1)labeled points.measure_pi_not_isRepresentative_le_exp_of_natarajan,measure_pi_not_isRepresentative_le_of_natarajanAgnosticSampleSize_le: uniform convergence tail bounds on countable domains.IsERM.measure_pi_lt_error_le_exp_of_natarajan,IsERM.measure_pi_lt_error_le_of_natarajanAgnosticSampleSize_le: agnostic ERM tail bounds on countable domains (agnostic step toward Theorem 29.3).isPACLearnerFor_univ_of_natarajanAgnosticSampleSize_le,sampleComplexity_univ_le_of_hasFiniteNatarajanDim,hasUniformConvergence_univ_of_hasFiniteNatarajanDim,isPACLearnable_univ_of_hasFiniteNatarajanDim: agnostic PAC learnability, sample complexity, and the uniform convergence property on countable domains.
References #
Shattering bound for the multiclass loss class: if C N-shatters no finite set of more
than d points and has k ≥ 1 labels, then its Boolean loss class shatters no finite set of more
than 6 d (log k + 1) labeled points.
The chaining sample size (98304 d (log k + 1) + 32 log (4 / δ)) / ε² for ε-representative
multiclass samples (98304 = 16384 · 6).
Countable-domain multiclass uniform convergence without a log (1 / ε) factor (step toward
[ShalevShwartzBenDavid2014, Theorem 29.3], #5084): if every finite set N-shattered by C has at
most d points and 98304 d (log k + 1) ≤ m ε², then m i.i.d. examples fail to be
ε-representative for C with probability at most 4 exp (-m ε² / 32).
Countable-domain multiclass uniform convergence at natarajanAgnosticSampleSize (step toward
[ShalevShwartzBenDavid2014, Theorem 29.3], #5084): if every finite set N-shattered by C has at
most d points and m ≥ natarajanAgnosticSampleSize d k ε δ, then m i.i.d. examples fail to be
ε-representative for C with probability at most δ.
Countable-domain agnostic ERM exponential tail bound (step toward
[ShalevShwartzBenDavid2014, Theorem 29.3], #5084): if every finite set N-shattered by C has at
most d points and 393216 d (log k + 1) ≤ m ε², then under every distribution an empirical risk
minimizer for C misses optimalError D C + ε with probability at most 4 exp (-m ε² / 128).
Countable-domain agnostic ERM sample-size bound (step toward [ShalevShwartzBenDavid2014,
Theorem 29.3], #5084): if every finite set N-shattered by C has at most d points and
m ≥ natarajanAgnosticSampleSize d k (ε / 2) δ = (393216 d (log k + 1) + 128 log (4 / δ)) / ε²,
then under every distribution an empirical risk minimizer for C misses optimalError D C + ε
with probability at most δ.
Countable-domain agnostic PAC learner step toward [ShalevShwartzBenDavid2014, Theorem 29.3]
(#5084): a class whose N-shattered finite sets have at most d points is agnostically (ε, δ)-PAC
learnable from m ≥ natarajanAgnosticSampleSize d k (ε / 2) δ examples, which is
O((d (log k + 1) + log (1 / δ)) / ε²).
Countable-domain agnostic sample-complexity step toward [ShalevShwartzBenDavid2014,
Theorem 29.3] (#5084): a class of finite Natarajan dimension d with k labels has agnostic
sample complexity at most ⌈natarajanAgnosticSampleSize d k (ε / 2) δ⌉.
Countable-domain uniform-convergence step toward [ShalevShwartzBenDavid2014, Theorem 29.3] (#5084): every class of finite Natarajan dimension on a countable domain with finitely many labels has the uniform convergence property over all distributions.
Countable-domain agnostic learnability step toward [ShalevShwartzBenDavid2014, Theorem 29.3] (#5084): every class of finite Natarajan dimension on a countable domain with finitely many labels is agnostically PAC learnable.