How do you prove the perceptron convergence theorem (Novikoff): if and some unit vector has for all , then the perceptron makes at most mistakes?
Learning theory, Mistake-bound model
Level L3 Intermediate. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can combine a lower bound on the growth of with an upper bound on the growth of .
Key idea
After mistakes, but . Cauchy–Schwarz gives .
Steps
- Setup: start with . On a mistake, meaning , update . Let be the weight vector after mistakes.
- Lower bound: . By induction .
- Upper bound: , because the middle term is on a mistake. By induction .
- Combine with Cauchy–Schwarz and : .
- Divide by (if ): , so .
- Remark: the bound does not depend on the dimension or on the number of examples, only on the margin.
Common mistakes
- Forgetting that the cross term is non-positive only because the update happens only on a mistake.
- Not using in the Cauchy–Schwarz step. If is not a unit vector, the margin must be divided by .
- Claiming the algorithm stops after examples. It makes at most that many mistakes, but data may be cycled through many times.
How long your answer should be
One page; 5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: What is the VC dimension of axis-aligned rectangles in , and how do you prove it?
Next in Learning theory: How do you show that if has VC dimension , then every deterministic online learner can be forced to make at least mistakes even in the realisable setting?