Combining Online Learning Guarantees

Ashok Cutkosky

Abstract: We show how to take any two parameter-free online learning algorithms with different regret guarantees and obtain a single algorithm whose regret is the minimum of the two base algorithms. Our method involves a simple summing of iterates, providing a robust framework for optimism and multi-norm adaptation.

Introduction

In online learning, an agent faces a sequence of losses and must select a point $w_t$ at each time step $t$ to minimize regret—the difference between the agent's total loss and the loss of the best fixed point $u$ in hindsight. A recurring challenge is that different algorithms excel in different environments (e.g., sparse vs. dense data). Traditionally, practitioners had to choose a specific algorithm a priori or use complex meta-algorithms that often introduced significant computational overhead or degraded theoretical guarantees.

This paper, presented at COLT 2019, introduces an elegant solution for "parameter-free" algorithms: the best way to combine them is not to average their outputs, but simply to add them together.

The Summing Trick

The core contribution is a meta-algorithm for parameter-free online learning. These algorithms are unique because they do not require prior knowledge of the scale of the optimal solution $u$; they adapt automatically. Crucially, they are designed to have very low (constant) regret at the starting point (the origin).

The author proves that if you have two parameter-free algorithms, $A$ and $B$, and you set your prediction to be the sum of theirs ($w_t = w_t^A + w_t^B$), the resulting regret is essentially the minimum of the two individual regrets. This works because the "extra" algorithm stays near the origin (suffering minimal regret) while the "better" algorithm for the current environment performs the heavy lifting.

Optimistic Reduction

The paper applies this summing trick to create a black-box reduction for optimism. In optimistic online learning, the algorithm receives a "hint" $h_t$ about the next loss gradient $g_t$. While hints can significantly speed up learning, standard optimistic algorithms are fragile—if the hint is poor, performance can be worse than simple gradient descent.

Algorithm 1: Optimistic Reduction framework for incorporating hints into online learning.

The proposed reduction combines a standard algorithm with a 1D learner that finds the best scaling factor for the hint. As shown in Algorithm 1, if the hint is predictive of the gradient, the 1D learner reduces regret. If the hint is "garbage," the 1D learner stays near zero, and the summing trick ensures the meta-algorithm performs no worse than the original base algorithm.

Key Insights and Theoretical Results

The Power of Zero

The "secret sauce" of this approach is the property $R_T(0) \le \epsilon$. Because parameter-free algorithms are anchored at the origin, adding them does not cause predictions to drift uncontrollably. Instead, it allows them to act as a safety net for one another.

Robust Optimism and Multi-Norm Adaptation

  • Safety-First Optimism: This is the first work to provide optimistic guarantees in unconstrained domains. It makes optimism "safe," providing the upside of hints with zero theoretical downside.
  • Theorem 1 (The Summing Theorem): Formally proves that $R_T(u) \le \epsilon + \min(R_T^A(u), R_T^B(u))$. This serves as the foundation for the entire framework.
  • Multi-Norm Adaptation: By combining a grid of algorithms tuned to different $p$-norms, the author creates an algorithm that automatically adapts to the best norm for the data in $O(d \log d)$ time, a significant improvement over previous $O(d^2)$ approaches.

Conclusion

This theoretical work demonstrates that iterate addition is a powerful tool for combining online learning guarantees. While the method relies on the algorithms being parameter-free and involves some logarithmic factors in the regret bounds, it provides a robust path toward algorithms that are both optimistic and safe across diverse data environments.

Summary updated

BibTeX
@inproceedings{cutkosky2019combining,
  author = {Ashok Cutkosky},
  title = {{Combining Online Learning Guarantees}},
  booktitle = {Conference on Learning Theory},
  year = {2019},
  url = {https://openreview.net/forum?id=poXyGmtKAdq},
}
Figure