How do you show that no online algorithm can guarantee regret o(T) against even N=2 experts, by constructing a loss sequence for which every algorithm has expected regret at least T/8?

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 T2, while the best expert has T2−12E∣∑tσt∣, and E∣∑tσt∣≥T/2.

Steps

  1. Let ξ1,…,ξT be independent fair bits. In round t, expert 1 has loss ξt and expert 2 has loss 1−ξt. The bits are generated independently of what the algorithm does.
  2. Algorithm's loss: in round t it plays pt∈[0,1] (the weight on expert 1), which depends only on past bits. Its expected loss is ptEξt+(1−pt)E(1−ξt)=12. So ELalg=T2 for every algorithm.
  3. Best expert: L1=∑tξt and L2=T−L1. With signs σt=2ξt−1, L1=T2+12∑tσt. So min⁡(L1,L2)=T2−12∣∑tσt∣.
  4. Expected regret: E[Lalg−min⁡(L1,L2)]=12E∣∑t=1Tσt∣.
  5. By Khintchine's inequality (with the optimal constant due to Szarek), E∣∑tσt∣≥T2. So the expected regret is at least 12T2=T8≈0.354T.
  6. An expectation over random losses is at least T/8, so there exists a particular loss sequence with at least that regret. Compare with Hedge's upper bound Tln⁡22≈0.589T for N=2. The rate T is therefore optimal. (For general N the same idea gives Ω(Tln⁡N).)

Common mistakes

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 A⊂Rm with ∥a∥2≤r for all a∈A, Eσsup⁡a∈A1m∑iσiai≤r2ln⁡∣A∣m. How do you use it with Sauer's lemma to bound the Rademacher complexity of a class of VC dimension d?
Next in Learning theory: none