In the agnostic setting, why does empirical risk minimisation (ERM) return a hypothesis within of the best in when every satisfies ? What sample complexity does this give for finite , and how does the excess risk split into approximation and estimation error?
Learning theory, Uniform convergence
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you understand why ERM needs uniform convergence, not just convergence for each fixed hypothesis, and the bias–complexity trade-off.
Key idea
Write for the training error and for the true error. Call the sample -representative if for every . Then for the ERM output and any : . For finite , Hoeffding plus a union bound makes representative with probability at least once .
Steps
- Chain the three inequalities in the key idea. The middle one is the definition of ERM: for all .
- For one fixed , Hoeffding gives .
- Union bound over : failure probability , which is when .
- Explain why uniformity is needed: is chosen using , so Hoeffding for a fixed does not apply to it directly. Controlling every at once does.
- Decompose the excess risk over the Bayes error : A larger lowers the approximation error but raises the term that controls the estimation error.
Common mistakes
- Applying Hoeffding directly to as if it had been fixed before seeing the data.
- Using instead of for representativeness and ending up with .
- Confusing this agnostic rate with the realisable rate.
How long your answer should be
About half a page; 5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: Show that for a finite hypothesis class in the realisable setting, any learner that outputs a hypothesis consistent with the training data is PAC with samples. How many samples are needed when , and ?
Next in Learning theory: In AdaBoost each weak learner has weighted error . Using the bound on training error, how many rounds guarantee training error below ? How does the exact product of the compare with the bound?