For convex losses with gradients satisfying , online gradient descent plays , where projects onto the ball . Prove that regret against any in the ball is at most . What are the best and the resulting bound for , , ?
Learning theory, Online learning and regret
Level L4 Advanced. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can derive the regret bound for online gradient descent using convexity and a telescoping sum.
Key idea
Convexity turns regret into a sum of linear terms . One step of projected gradient descent controls each term by the change in squared distance to , and these changes telescope.
Steps
- Convexity: . So regret .
- Projection onto a convex set does not increase the distance to any point in the set. So .
- Rearrange: .
- Sum over . The first terms telescope to . The second terms sum to at most .
- So regret . Take and , giving .
- Minimise over : set the derivative to zero, , so . The bound becomes .
- Numbers: and regret . Average regret is , which goes to 0 like , so the algorithm is no-regret.
Common mistakes
- Skipping convexity. Without it is not bounded by the linear term.
- Forgetting that projection does not increase distance to points inside the set.
- Using a fixed independent of . Then the two terms do not balance and the regret is linear.
- Mixing up the cumulative regret with the average regret .
How long your answer should be
One page; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: Let be a ball in an RKHS, with . Show that , where is the kernel matrix of the sample. Why is this significant for the Gaussian kernel?
Next in Learning theory: Cover's counting function says that points in general position in have dichotomies realisable by a hyperplane through the origin. Derive it from the recurrence , and compute the fraction of the labellings that are separable for and . What does this say about capacity?