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 T rounds minus the total loss of the single best expert in hindsight. Having sublinear regret means that extra loss grows slower than T (for example like T), so your *average* extra loss per round shrinks toward zero as rounds go on.

Steps

  1. Describe the setup: over T rounds (say, predicting daily rain using N weather forecasters), your algorithm makes a prediction each round, sees the actual losses of all experts, and updates its trust in them.
  2. Define regret: it equals your total loss across all T rounds minus the total loss of whichever *single* expert ended up best over those T rounds.
  3. Define sublinear regret: regret grows more slowly than T, so dividing regret by T goes to 0 as T grows large — meaning your average per-round loss approaches that of the best expert.
  4. 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

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 0.02 of its true error with probability at least 95%?