What is the empirical Rademacher complexity of a function class, and why does it measure capacity? What is it for (a) a class containing one function and (b) the class of all labellings of distinct points, and what generalisation bound does it give?
Learning theory, Rademacher complexity
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand Rademacher complexity as how well a class can correlate with random noise, and can compute the two extreme cases.
Key idea
with i.i.d. uniform signs . A class that can fit random signs has complexity near 1 and can overfit. For a class of losses with values in , with probability at least , every satisfies .
Steps
- Define and read it: draw random labels , let the class pick the function most correlated with them, and average over .
- (a) One function : because . No capacity, so no overfitting.
- (b) All labellings: for each pick , so the sup equals . Maximal capacity; the bound says nothing.
- In between: for a finite class with values in , Massart's lemma gives ; for linear functions with and , it is at most .
- State the bound in the key idea, applied to the loss class. For 0-1 loss with labels, the loss class has exactly half the Rademacher complexity of . Note that the empirical version is computable from data, which can make it tighter than a VC bound.
Common mistakes
- Forgetting the expectation over and computing the sup for a single sign vector.
- Dropping the factor 2 in front of the Rademacher term.
- Mixing up the empirical and the expected . The bound with needs a larger confidence term, .
How long your answer should be
About half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: A PAC-Bayes bound says that, with probability at least over examples, every posterior satisfies . Take and with . Compute the KL, and the bound for , and . Why does the bound beat a naive one for a large network?
Next in Learning theory: What is double descent? Why can test error fall again once a model has more parameters than training points, and how does this fit with the classical bias–variance picture?