Uniform convergence for VC classes at the optimal rate
ProvedUnderstandingML.binary_uc_optimal_ratelearning-theoryuniform-convergencevc-dimension
There is an absolute constant such that the following holds. Let be a class of measurable functions with the countable-approximation property (a countable subclass approximates every member pointwise, Remark 3.1) and VC dimension at most , where . Then has the uniform convergence property for the – loss with sample complexity
i.e. for all , every distribution over and every at least this bound, with probability at least over we have for all . This is the upper bound of Theorem 6.8 (part 1) of Shalev-Shwartz and Ben-David without the factor; it requires chaining together with Haussler's packing bound. It is used to derive the multiclass uniform-convergence bound of Theorem 29.3.
Preamble
import Definitions.Def_UnderstandingML_VC open MeasureTheory universe u
Formal statement
namespace UnderstandingML
/-- **Theorem 6.8, part 1 (uniform convergence upper bound, optimal rate)** (p. 48). There is an
absolute constant `C > 0` such that every class `H` of measurable binary classifiers with the
countable-approximation property and VC dimension at most `d` (`d ≥ 1`) has the uniform
convergence property for the 0–1 loss with `m^{UC}_H(ε, δ) ≤ ⌈C (d + log(1/δ))/ε²⌉`. -/
theorem binary_uc_optimal_rate :
∃ C : ℝ, 0 < C ∧
∀ {X : Type u} [MeasurableSpace X] (H : Set (X → Bool)) (d : ℕ),
(∀ h ∈ H, Measurable h) → PointwiseSeparable H → vcDim H ≤ d → 1 ≤ d →
HasUniformConvergenceWith loss01 H
(fun ε δ ↦ ⌈C * (d + Real.log (1 / δ)) / ε ^ 2⌉₊) := by sorry
end UnderstandingMLSource
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, Theorem 6.8 (p. 48), part 1, upper bound m^UC_H(eps,delta) <= C2 (d + log(1/delta))/eps^2.