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 mistakes, however the examples are ordered'. There is no train/test split and no random sampling.
Steps
- 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.
- Say what is counted: only the rounds where your guess was wrong. A mistake-bound guarantee says the total stays below a number forever, even if the friend picks the days in the nastiest order.
- 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.
- 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 .
- That is at most 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
- Thinking the learner needs a separate test set. In this model the guessing is the test.
- Saying the model needs random examples. The bound holds for any order of examples, which is why it is a strong guarantee.
- Counting rounds instead of mistakes. The learner can see many examples; only wrong guesses are counted.
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?