In online prediction with expert advice, what is regret, and what does it mean for an algorithm to have sublinear regret?
Learning theory, Online learning and regret
Level L1 Beginner. Length Short. Nature Th Theoretical.
What's being asked
Whether you know what regret measures in sequential prediction and why sublinear growth means the learner catches up with the best expert on average.
Key idea
Regret is your algorithm's total loss over rounds minus the total loss of the single best expert in hindsight. Having sublinear regret means that extra loss grows slower than (for example like ), so your *average* extra loss per round shrinks toward zero as rounds go on.
Steps
- Describe the setup: over rounds (say, predicting daily rain using weather forecasters), your algorithm makes a prediction each round, sees the actual losses of all experts, and updates its trust in them.
- Define regret: it equals your total loss across all rounds minus the total loss of whichever *single* expert ended up best over those rounds.
- Define sublinear regret: regret grows more slowly than , so dividing regret by goes to as grows large — meaning your average per-round loss approaches that of the best expert.
- Note why it matters: sublinear regret guarantees the learner adapts well even when data are non-stationary or adversarial (algorithms and exact bounds come later).
Common mistakes
- Comparing against the best expert on *each* round separately; standard regret compares against the best *single* expert across the entire sequence.
- Confusing sublinear regret with small total loss; if every expert suffers loss every round, your total loss still grows linearly while your *regret* grows sublinearly.
How long your answer should be
3–4 sentences in plain words; about 1 minute.
Read this
Previous in Learning theory: In the bias–complexity trade-off, what are the approximation error and the estimation error, and how does each change as the hypothesis class gets richer?
Next in Learning theory: Using Hoeffding's inequality, how large must a test set be so that the measured error of a fixed classifier is within of its true error with probability at least 95%?