Skip to content

Week 5 Lecture 1

Generalization bounds

Think of it as a confidence interval for empirical loss

Single hypothesis

𝐿(β„Ž)=𝔼(𝑋,π‘Œ)βˆΌπ‘[β„“(β„Ž(𝑋),π‘Œ)]

Since we don’t know 𝑝 precisely, we can’t know 𝐿(β„Ž) precisely either.

Let’s collect some i.i.d. elements from 𝑝 into 𝑆

𝐿̂(β„Ž,𝑆)⏟Empirical loss=1π‘›βˆ‘π‘–=1𝑛ℓ(β„Ž(𝑋𝑖),π‘Œπ‘–)

𝐿̂ is an unbiased estimator of 𝐿

𝐿(β„Ž)≀𝐿̂(β„Ž,𝑆)+12𝑛log(1𝛿)with probabilityβ‰₯1βˆ’π›Ώ

It would also be possible to give a lower bound BUT!!!!

Giving a lower bound as well as an upper one decreases precision, without being necessarily useful (with what we have now, we can see the worst-case scenario loss with high probability)

Finite hypothesis class

Learning by selection

We fix a single sample set 𝑆, but have multiple hypotheses: β„‹οΈ€={β„Ž1,β„Ž2,…,β„Žπ‘€}

We would like to find an β„Žβˆ—βˆˆβ„‹οΈ€, that has minimal loss from all of β„‹οΈ€. Unfortunately, since we can’t calculate the loss, we have to use empirical loss instead:

β„Žπ‘†βˆ—Μ‚=argminβ„Žβˆˆβ„‹οΈ€πΏΜ‚(β„Ž,𝑆)