How do you derive the mistake bound of the weighted majority algorithm, with experts, penalty factor , and an expert that makes mistakes, so that the algorithm makes at most mistakes?
Learning theory, Mistake-bound model
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can track the total weight with an upper bound and a lower bound and combine them.
Key idea
The total weight shrinks by a factor at most at each algorithm mistake, but it never falls below the weight of the best expert.
Steps
- Start with all weights , so . Predict the label with larger total weight. After each round, multiply the weight of each wrong expert by .
- Upper bound: if the algorithm makes a mistake, at least half of the total weight was on the wrong label. That weight is multiplied by , so the new total is at most .
- After algorithm mistakes: .
- Lower bound: the best expert made mistakes, so its weight is . The total weight is at least this: .
- Combine: . Take logs: .
- Rearrange: . For we have and , so approximately. The algorithm makes at most a constant times mistakes, plus a term in .
Common mistakes
- Multiplying the weights of all experts by after an algorithm mistake. Only the experts that were wrong are penalised, and the shrinkage factor is for the total weight.
- Not noting that the factor applies only on rounds where the algorithm errs.
- Dividing by without checking its sign. It is positive because .
How long your answer should be
Half a page; 4 minutes.
Last checked on 4 December 2026.
Read this
Previous 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?
Next in Learning theory: Show that for , . Why does this bound matter for generalisation?