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