Linear classifiers x↦sign⁡(w⋅x) with ∥w∥≤1 are trained on m=104 points with ∥x∥≤R=1. A classifier has margin at least ρ=0.1 on 95% of the training points. Using LD≤L^ρ+2Rρm+ln⁡(1/δ)2m with δ=0.05, what true-error bound do you get? What if m were four times larger?

Learning theory, Margin bounds
Level L2 Elementary. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can evaluate a margin bound and see which terms shrink with m and which do not depend on the dimension.

Key idea

The true error LD is bounded by the empirical margin loss L^ρ (the fraction of training points failing margin ρ) plus a capacity term 2Rρm plus a confidence term. The feature dimension does not appear.

Steps

  1. Read off the empirical margin loss: since 95% of training points achieve margin at least ρ, the remaining fraction failing margin ρ is L^ρ=1−0.95=0.05.
  2. Compute the capacity term: 2Rρm=2×10.1×100=0.2.
  3. Compute the confidence term: ln⁡(1/0.05)2×104=ln⁡2020000≈1.498×10−4≈0.0122.
  4. Sum the three terms: LD≤0.05+0.2+0.0122≈0.262 with probability at least 1−δ=95%.
  5. Scale to m=4×104: m doubles from 100 to 200, so the capacity term halves to 0.1 and the confidence term halves to 0.0061, giving 0.05+0.1+0.0061≈0.156.
  6. Note the insight: the bound depends on R/ρ, not on the number of features, which is why a large-margin classifier can generalise even in very high dimension.

Common mistakes

How long your answer should be

6–7 lines of arithmetic; 3 minutes.

Read this

Previous in Learning theory: Why is VCdim⁡(H)≤log⁡2∣H∣ for a finite class H, and is the bound tight?
Next in Learning theory: A coin is tossed n=100 times and p^ is the fraction of heads. Using Chebyshev with variance at most 1/4, and Hoeffding, bound P(∣p^−p∣≥ϵ) for ϵ=0.1 and ϵ=0.2. Which bound is tighter in each case? Also, for a non-negative X with mean 50, what does Markov say about P(X≥100)?