Following the Leader and Fast Rates in Linear Prediction: Curved Constraint Sets and Other Regularities.

Ruitong Huang, Tor Lattimore, András György, Csaba Szepesvári

This paper, published in 2017 by researchers from the University of Alberta and Imperial College London, explores a fascinating geometric shortcut to achieving fast learning rates in online linear prediction.

TL;DR

While the simple "Follow the Leader" (FTL) algorithm usually requires curved loss functions to achieve logarithmic regret, this paper proves that a curved constraint set (the domain of possible predictions) can provide the same benefit for linear losses. By exploiting the geometry of the decision space, the authors show FTL can achieve $O(\log n)$ or even finite regret in "lucky" settings, while remaining robust through new adaptive variants.

What Problem Does This Paper Address?

In online learning, a learner repeatedly makes predictions and suffers losses. The goal is to minimize regret: the difference between the learner's total loss and the loss of the best single fixed prediction in hindsight.

Standard results show that for general convex losses, regret grows at a rate of $O(\sqrt{n})$. However, if the loss functions are "curved" (e.g., strongly convex), algorithms like FTL can achieve much faster $O(\log n)$ regret. The problem is that many fundamental tasks, like prediction with expert advice, involve linear losses, which have zero curvature. Traditionally, this meant accepting $O(\sqrt{n})$ regret unless the data was perfectly stochastic. The authors ask: Are there other "lucky" regularities in the problem structure—specifically in the shape of the constraint set—that allow FTL to achieve these fast rates even with linear losses?

Methods

The authors employ differential geometry to analyze the relationship between the constraint set $W$ and the FTL algorithm.

  1. Geometric Analysis: They represent regret using the Bregman divergence of the support function of the constraint set. This allows them to link learning performance directly to the geometric properties of the set's boundary.
  2. Curvature Quantification: They use the concept of principal curvatures of the boundary of $W$. A "strongly convex set" (like a ball or an ellipsoid) has positive principal curvatures everywhere.
  3. Algorithm Design:
    • FTL: The basic algorithm that simply picks the best-performing prediction based on all past data.
  4. FTSL (Follow the Shrunken Leader): A new adaptive variant for spherical constraint sets that pulls the FTL prediction slightly toward the center (shrinkage) to maintain stability.
  5. Meta-Algorithms: They use the "(A, B)-prod" framework to create a hybrid algorithm that adaptively switches between FTL (for "easy" data) and FTRL (Follow the Regularized Leader, for "hard" adversarial data).

Datasets

The paper relies on synthetic datasets designed to test specific theoretical regimes:

  • Stochastic Data: Loss vectors drawn from a 4D normal distribution with a non-zero mean.
  • "Half-Adversarial" Data: A sequence designed to be the optimal strategy for an adversary against a linear learner in a unit ball.
  • Worst-Case Data: Deterministic sequences specifically engineered to make FTL suffer linear regret (the "unlucky" setting).
  • Constraint Sets: The primary evaluation uses a 4D ellipsoid, chosen to have a volume matching a 4D unit ball but with varying curvature.

Key Insights and Ideas

  • Set Curvature as a Surrogate for Loss Curvature: The most significant insight is that the boundary curvature of the constraint set $W$ acts mathematically like curvature in the loss function. If the set is "pointy" or curved enough, the optimal prediction doesn't jump wildly when the average loss vector changes slightly.
  • The Non-Singularity Condition: For curvature to help, the average loss vector must stay away from zero. Geometrically, if the average loss is zero, the "leader" has no clear direction to follow and becomes unstable.
  • Quadratic Excess Loss: Figure 2 illustrates why curvature helps. In a flat domain, a small error in estimating the mean loss leads to a linear increase in excess loss. In a curved domain, that same estimation error only leads to a quadratic (much smaller) increase in excess loss.
Figure 2: Illustration of how curva- ture helps to keep the regret small.
  • Polytopes and Finite Regret: When the constraint set is a polytope (flat sides, like a simplex), the "leader" tends to "lock onto" a specific vertex. In stochastic settings, this can lead to finite expected regret, meaning the learner eventually stops making mistakes relative to the best fixed prediction.

Key Results

  • Logarithmic Regret: Theorem 3.3 proves that if the constraint set boundary has principal curvatures $\ge \lambda_0 > 0$ and the average loss vector stays at least $L$ away from zero, FTL achieves $O(\frac{1}{\lambda_0 L} \log n)$ regret.
  • Optimality: Theorem 3.7 provides a matching lower bound, showing that $O(\log n)$ is the best possible rate in this curved-set setting.
  • Adaptivity: The proposed adaptive algorithms (AB and FTSL) successfully achieve $O(\log n)$ regret on "easy" curved data while maintaining the robust $O(\sqrt{n})$ worst-case guarantee on adversarial data.
  • Simulation Confirmation: Experiments on 4D ellipsoids confirmed that when the mean loss $L > 0$, FTL's regret grows logarithmically, significantly outperforming the standard $O(\sqrt{n})$ FTRL.

Limitations and Future Work

  • Dependence on $L$: The logarithmic bound is sensitive to how close the average loss vector gets to zero. If the mean loss is very small, the "fast rate" constant becomes very large, making the bound vacuous.
  • Known Curvature: The current analysis assumes the curvature $\lambda_0$ is known or fixed. Developing algorithms that adapt to unknown local curvature of the boundary is a potential next step.
  • Beyond Linear Prediction: While this paper focuses on linear prediction, the authors suggest that the principle of "set curvature as a regularity" could be extended to other online learning and optimization settings.

Summary updated

BibTeX
@inproceedings{huang2016following,
  author = {Ruitong Huang and Tor Lattimore and András György and Csaba Szepesvári},
  title = {{Following the Leader and Fast Rates in Linear Prediction: Curved Constraint Sets and Other Regularities.}},
  booktitle = {NeurIPS},
  year = {2016},
  url = {https://openreview.net/forum?id=LAqgkDODE1hS},
}
Figure