What is the mistake-bound (online learning) model, and how is it different from PAC learning? If a secret rule is one of 8 candidate rules and each mistake lets you throw away at least half of the candidates, how many mistakes can you make at most?

Learning theory, Mistake-bound model
Level L1 Beginner. Length Short. Nature Th+Mat Both.

What's being asked

Whether you understand learning as a repeated guessing game that is scored by the number of mistakes, and not by accuracy on a fixed test set.

Key idea

In the mistake-bound model, examples arrive one at a time. For each one the learner first predicts the label, then is told the true label, then may update. The score is the total number of mistakes ever made, and we want a guarantee such as 'at most M mistakes, however the examples are ordered'. There is no train/test split and no random sampling.

Steps

  1. Describe one round with an everyday game: a friend thinks of a rule (for example 'the shop is open on this day'), shows you a day, you guess yes or no, then your friend reveals the answer. Then the next day comes.
  2. Say what is counted: only the rounds where your guess was wrong. A mistake-bound guarantee says the total stays below a number M forever, even if the friend picks the days in the nastiest order.
  3. Contrast with PAC learning. PAC trains on a random sample, then judges the final model on fresh random data, with error and failure probabilities ϵ and δ. The mistake-bound model has no randomness assumption, and the learner is judged while it is learning.
  4. Do the tiny count. Start with 8 candidate rules. Guess by majority vote of the rules still alive. After any mistake, at least half of them voted wrongly and are thrown away, so the number alive goes 8→4→2→1.
  5. That is at most log⁡28=3 mistakes. Once only one rule is left it is the secret one, and it never errs again. This is the idea of the halving algorithm; the bank's later questions make it precise and extend it.

Common mistakes

How long your answer should be

About 2 minutes: the guessing-game picture, one contrast with PAC, then the 8-to-4-to-2-to-1 count.

Read this

Previous in Learning theory: What does the no free lunch theorem say, and why does it not mean that learning is impossible?
Next in Learning theory: What does it mean for a hypothesis class to be PAC (probably approximately correct) learnable, and what roles do ϵ and δ play?