Three nested hypothesis classes have VC dimensions d=3, 10, 40 and the best training errors on m=1000 examples are 0.12, 0.06, 0.04. Using the penalised bound L^+dln⁡(m/d)+ln⁡(1/δ)m with δ=0.05, which class does structural risk minimisation pick? Why is picking the lowest training error wrong?

Learning theory, Structural risk minimisation
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can apply a complexity-penalised bound to choose a model class and explain the trade-off behind it.

Key idea

SRM (structural risk minimisation) picks the class that minimises (training error + complexity penalty), where the penalty grows with VC (Vapnik–Chervonenkis) dimension. The bound is a high-probability upper bound on true error, so minimising it controls the true error.

Steps

  1. Write the penalty as pen(d)=dln⁡(m/d)+ln⁡(1/δ)m, with ln⁡(1/0.05)=ln⁡20≈2.996.
  2. For d=3: dln⁡(m/d)=3ln⁡(1000/3)≈3(5.809)=17.43. Adding 2.996 gives 20.42, dividing by 1000 gives 0.02042, and the root is 0.143.
  3. For d=10: 10ln⁡100≈46.05. Adding 2.996 gives 49.05, so the root of 0.04905 is 0.221.
  4. For d=40: 40ln⁡25≈128.76. Adding 2.996 gives 131.75, so the root of 0.13175 is 0.363.
  5. Compute total bounds: 0.12+0.143=0.263, 0.06+0.221=0.281, and 0.04+0.363=0.403.
  6. Pick the winner: SRM selects d=3, which has the smallest bound 0.263. Training error falls as d grows, but the penalty rises faster here.
  7. Explain why lowest training error fails: picking the lowest training error chooses d=40, whose bound on true error is 0.403. Richer classes can fit noise so their training error is optimistic; SRM trades fit against capacity, just like regularisation.

Common mistakes

How long your answer should be

Half a page with a small table; 4 minutes.

Read this

Previous in Learning theory: For a learning algorithm A and a training set of m i.i.d. examples, let the leave-one-out error be L^loo=1m∑i=1mℓ(A(S∖i),zi). Prove that its expectation equals the expected true risk of A trained on m−1 examples. Why is it not an unbiased estimate of the risk for m examples, and why can its variance still be large?
Next in Learning theory: A PAC-Bayes bound says that, with probability at least 1−δ over m examples, every posterior Q satisfies L(Q)≤L^(Q)+KL(Q∥P)+ln⁡(2m/δ)2m. Take P=N(0,I100) and Q=N(w,I100) with ∥w∥2=100. Compute the KL, and the bound for m=10000, δ=0.05 and L^(Q)=0.08. Why does the bound beat a naive one for a large network?