文章
Generalization Bound and Complexity
·
In this blog, we talk about the generalization ability of function class in machine learning. We assume that readers have basic knowledge of machine learning.
Generalization Bound and Complexity
1 Introduction
In this blog, we talk about the generalization ability of function class in machine learning. We assume that readers have basic knowledge of machine learning.
2 Risk and Empirical Risk Minimization
Definition 1 (Population Risk).
The population risk of a hypothesis
where
Definition 2 (Empirical Risk).
The empirical risk of a hypothesis
where
In generalization theory, our goal is to minimize the population risk
Definition 3 (ERM).
Empirical Risk Minimization (ERM) is a learning paradigm that aims to find a hypothesis
Proposition 4 (Risk Minimization Decomposition).
The excess risk can be decomposed as follows:
The estimation error is often further decomposed using
3 Generalization Bounds
Theorem 5 (Uniform Bound for Finite Models).
We assume loss functions from
Proof.
For any fixed
Applying the union bound over
Setting the right-hand side equal to
Using
∎
Remark 6.
We can not say that
Definition 7 (Covering Number).
We assume that for
Theorem 8 (Uniform Bound for Infinite Models).
We assume the loss function is G-Lipschitz with respect to the second argument and is bounded between
Proof.
Let
By the
and similarly,
Hence,
Therefore,
Applying the finite-model bound to
Substituting
4 Rademacher Complexity
Definition 9 (Rademacher Complexity).
Let
For a function class
Its expected Rademacher complexity is
For the risk
Proposition 10 (Symmetrization).
Let
Proof.
Let
where
Theorem 11 (Generalization Bound for Rademacher Complexity).
Assume that
for every
Proof.
Define
Replacing one observation changes
with probability at least
which proves the result. ∎
Theorem 12 (Generalization Bound for Rademacher Complexity(Empirical)).
Assume that
for every
Proof.
By the preceding theorem, with probability at least
Moreover, bounded differences gives, with probability at least
Combining the two inequalities and applying the union bound yields
∎