How do you show that no online algorithm can guarantee regret against even experts, by constructing a loss sequence for which every algorithm has expected regret at least ?
Learning theory, Online learning and regret
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can build a random adversary, compute the algorithm's expected loss exactly, and bound the best expert's loss with a random walk.
Key idea
Give the two experts complementary random losses. Every algorithm has expected loss , while the best expert has , and .
Steps
- Let be independent fair bits. In round , expert has loss and expert has loss . The bits are generated independently of what the algorithm does.
- Algorithm's loss: in round it plays (the weight on expert ), which depends only on past bits. Its expected loss is . So for every algorithm.
- Best expert: and . With signs , . So .
- Expected regret: .
- By Khintchine's inequality (with the optimal constant due to Szarek), . So the expected regret is at least .
- An expectation over random losses is at least , so there exists a particular loss sequence with at least that regret. Compare with Hedge's upper bound for . The rate is therefore optimal. (For general the same idea gives .)
Common mistakes
- Letting the adversary see the algorithm's random choices. Here the losses are drawn independently, so the argument holds even against randomised algorithms.
- Forgetting that regret is measured against the best expert after seeing all the bits, which gives the term. Without it the regret would be zero.
- Citing " by the central limit theorem" without the non-asymptotic constant. The Khintchine bound is non-asymptotic: it holds for every .
How long your answer should be
One page; 7–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: How do you prove Massart's finite class lemma: for a finite set with for all , . How do you use it with Sauer's lemma to bound the Rademacher complexity of a class of VC dimension ?
Next in Learning theory: none