Linear classifiers with are trained on points with . A classifier has margin at least on of the training points. Using with , what true-error bound do you get? What if 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 and which do not depend on the dimension.
Key idea
The true error is bounded by the empirical margin loss (the fraction of training points failing margin ) plus a capacity term plus a confidence term. The feature dimension does not appear.
Steps
- Read off the empirical margin loss: since of training points achieve margin at least , the remaining fraction failing margin is .
- Compute the capacity term: .
- Compute the confidence term: .
- Sum the three terms: with probability at least .
- Scale to : doubles from to , so the capacity term halves to and the confidence term halves to , giving .
- Note the insight: the bound depends on , not on the number of features, which is why a large-margin classifier can generalise even in very high dimension.
Common mistakes
- Using the fraction with margin above () instead of the fraction below (); counts the margin violations.
- Expecting the bound to be tight; it is an upper bound and is often far above actual test error.
- Forgetting that the margin assumes ; if the weight vector has larger norm, the margin must be rescaled by .
How long your answer should be
6–7 lines of arithmetic; 3 minutes.
Read this
Previous in Learning theory: Why is for a finite class , and is the bound tight?
Next in Learning theory: A coin is tossed times and is the fraction of heads. Using Chebyshev with variance at most , and Hoeffding, bound for and . Which bound is tighter in each case? Also, for a non-negative with mean 50, what does Markov say about ?