A second-order bound with excess losses

Pierre Gaillard, Gilles Stoltz, Tim van Erven

Abstract

We study the online aggregation of expert predictions, introducing new second-order regret bounds in the standard setting. These bounds are achieved through a specialized version of the Prod algorithm, termed ML-Prod, and a polynomial-weight variant, ML-Poly. By focusing on excess losses—the difference between the learner's performance and an expert's performance—we derive bounds that are expert-dependent and bypass the "impossible tuning" problem. Our results demonstrate that it is possible to adapt to individual expert volatility with only a logarithmic penalty in the number of experts, even in settings with "sleeping experts" or non-adversarial loss sequences.

Introduction

Prediction with Expert Advice is a foundational problem in machine learning. In this setting, a learner must aggregate advice from a pool of $K$ experts to perform nearly as well as the best expert in hindsight. The performance metric is regret: the difference between the learner's cumulative loss and that of the best single expert. While standard algorithms achieve regret bounds of $O(\sqrt{T \ln K})$, these bounds are often pessimistic, failing to account for the specific dynamics of the losses or the varying quality of experts.

This paper, originally presented at the Conference on Learning Theory (COLT) in 2014, introduces a family of algorithms that achieve "second-order" regret bounds based on excess losses. These bounds are more sensitive than traditional first-order bounds, providing tighter guarantees when the learner's predictions are close to the expert's predictions.

The Problem: Uniformity and Impossible Tuning

Previous attempts to improve regret bounds faced two primary obstacles:

  1. Uniformity: Many existing second-order bounds were "uniform," meaning the performance guarantee for a high-performing expert was constrained by the volatility of the worst experts in the pool.
  2. Impossible Tuning: Achieving optimal theoretical results often required the learner to know the total loss or variance in advance to set the "learning rate." Standard methods to adapt this rate sequentially typically introduced significant performance penalties.

The ML-Prod and ML-Poly Frameworks

The authors propose two algorithmic solutions to address these hurdles:

ML-Prod (Multi-Learning Rate Prod)

ML-Prod is a variation of the classic "Prod" algorithm. Its defining innovation is the assignment of a separate learning rate ($\eta_k$) to every expert. By allowing each expert to have its own "speedometer," the algorithm can adapt to the individual volatility of each expert.

To make this sequentially achievable, the authors developed Adapt-ML-Prod. This version updates multiple learning rates simultaneously over time. Crucially, the analysis shows that this can be done with only a minor $O(\ln \ln T)$ penalty, effectively solving the tuning problem without requiring prior knowledge of the time horizon or loss distribution.

ML-Poly

ML-Poly utilizes polynomial weights instead of the exponential weights found in Prod-based algorithms. While it offers a simpler geometric interpretation, the authors note it has a slightly less tight dependency on the number of experts $K$ compared to ML-Prod.

Key Insights: The Power of Excess Losses

The core mathematical shift in this work is the focus on excess loss $(\hat{\ell}_t - \ell_{k,t})$, rather than the raw loss $\ell_{k,t}$. This term captures the relative performance of an expert against the learner's current average. Squaring this term leads to a "variance-like" bound that is highly sensitive to the actual competition between the learner and the expert.

Key theoretical breakthroughs include:

  • Bypassing the $O(\sqrt{K})$ Penalty: Typically, tracking $K$ different parameters (like individual learning rates) incurs a cost that grows with $\sqrt{K}$. The authors demonstrate a method to keep this cost logarithmic ($O(\ln K)$), allowing the algorithm to scale to thousands of experts.
  • Translation Invariance: Because the bounds rely on the difference between the learner and the expert, they are robust to shifts in loss values (e.g., negative losses). The "baseline" of the loss does not affect the regret bound.

Results and Performance

The paper establishes several significant bounds:

  • Expert-Dependent Bounds: The regret against any expert $k$ is bounded by $O(\sqrt{V_{k,T} \ln K})$, where $V_{k,T}$ is the sum of squared excess losses. This is the first bound that is both expert-dependent and sequentially achievable.
  • Optimal Confidence Scaling: In the "sleeping experts" setting—where experts may only be active for certain rounds—the regret scales linearly with the expert's confidence. If an expert is active only 10% of the time, the bound is appropriately reduced.
  • Constant Regret in Easy Settings: If losses are independent and identically distributed (i.i.d.) rather than adversarial, the regret remains constant over time ($O(\ln K)$). This indicates that the learner quickly converges to the best expert's performance without continuing to accumulate mistakes.

Limitations and Future Directions

While providing a significant leap in regret analysis, the authors identify several areas for further research. The ML-Poly algorithm's scaling with $K$ remains less efficient than ML-Prod, and a general analysis for higher-order polynomial potentials is still missing. Additionally, while the bounds are translation-invariant, they are currently optimized for losses within a bounded interval (e.g., [0, 1]). Extending these second-order excess loss bounds to unbounded or heavy-tailed distributions remains an open challenge in the field of online learning.

Summary updated

BibTeX
@inproceedings{gaillard2014second,
  author = {Pierre Gaillard and Gilles Stoltz and Tim van Erven},
  title = {{A second-order bound with excess losses}},
  booktitle = {Conference on Learning Theory},
  year = {2014},
  url = {https://openreview.net/forum?id=sv5Xt2QuH3},
}
Figure