How do you prove that for a class of functions with values in , with probability at least over a sample of size , every satisfies , where is the expected Rademacher complexity?
Learning theory, Rademacher complexity
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can combine McDiarmid's concentration inequality with symmetrisation through a ghost sample.
Key idea
Write . McDiarmid bounds by its expectation, and symmetrisation bounds by .
Steps
- Bounded differences: changing one example in changes by at most for each , so changes by at most . McDiarmid gives . Set to get with probability at least .
- Ghost sample: let be an independent copy of . Then , so , because a supremum of expectations is at most the expectation of a supremum.
- Introduce signs: the pair is exchangeable. Swapping them in the -th term flips the sign of . So the expectation is unchanged if we insert independent signs : .
- Split the supremum: , and the distribution of is the same as that of . So this is at most .
- Combine: with probability at least , , which is the claim.
- Application: for binary classification, take with the - loss. Then , giving the generalisation bound .
Common mistakes
- Treating the sign insertion as a trick without checking exchangeability. It depends on and being identically distributed and independent.
- Moving the supremum inside the expectation in the wrong direction at the ghost-sample step. , which is the useful direction here.
- Forgetting that the final bound uses the expected Rademacher complexity. The empirical one needs a second application of McDiarmid and a union bound, which changes to .
How long your answer should be
One and a half pages; 10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: How do you prove the no free lunch theorem: for any learning algorithm for binary classification with the - loss over a domain , and any training size , there is a distribution and a labelling function with such that with probability at least over , ?
Next in Learning theory: How do you prove Massart's finite class lemma: for a finite set with for all , . How do you use it with Sauer's lemma to bound the Rademacher complexity of a class of VC dimension ?