Definition
A generalization bound controls the gap between true and empirical risk, uniformly over the function class, with high probability. It bounds the estimation error, is worst case over distributions and over all functions in .
Formula
With probability at least , for all :
- Finite class: Hoeffding plus the union bound, cost only . Infinite classes: symmetrization with a ghost sample reduces the supremum to at most labelings.
- All rates are up to logs; sample size . Faster () under a margin assumption (perceptron). Stability gives bounds for algorithms instead of classes (Lecture 4).
- Vacuous in the overparameterized regime.
Appears in
- Lecture 3, finite classes
- Lecture 3, Theorem 10 and symmetrization
- Lecture 3, Theorem 13
- Lecture 3, summary table
- Lecture 3, limitations
- n bound for the perceptron
- Lecture 4, the stability bound