How do you derive the mistake bound of the weighted majority algorithm, with N experts, penalty factor β∈(0,1), and an expert that makes m mistakes, so that the algorithm makes at most ln⁡N+mln⁡(1/β)ln⁡21+β 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 W shrinks by a factor at most 1+β2 at each algorithm mistake, but it never falls below the weight βm of the best expert.

Steps

  1. Start with all weights 1, so W0=N. Predict the label with larger total weight. After each round, multiply the weight of each wrong expert by β.
  2. 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 W2+βW2=1+β2W.
  3. After M algorithm mistakes: W≤N(1+β2)M.
  4. Lower bound: the best expert made m mistakes, so its weight is βm. The total weight is at least this: W≥βm.
  5. Combine: βm≤N(1+β2)M. Take logs: −mln⁡1β≤ln⁡N−Mln⁡21+β.
  6. Rearrange: M≤ln⁡N+mln⁡(1/β)ln⁡21+β. For β=12 we have ln⁡43≈0.288 and ln⁡2≈0.693, so M≤2.41 m+3.48ln⁡N approximately. The algorithm makes at most a constant times m mistakes, plus a term in ln⁡N.

Common mistakes

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 H has VC dimension d, then every deterministic online learner can be forced to make at least d mistakes even in the realisable setting?
Next in Learning theory: Show that for m≥d≥1, ∑i=0d(mi)≤(emd)d. Why does this bound matter for generalisation?