Improved Strongly Adaptive Online Learning using Coin Betting

Kwang-Sung Jun, Francesco Orabona, Stephen J. Wright, Rebecca Willett

Abstract

This paper describes a new parameter-free online learning algorithm for changing environments. In comparing against algorithms with the same time complexity as ours, we obtain a strongly adaptive regret bound that is a factor of at least $\sqrt{\log(T)}$ better, where $T$ is the time horizon. Empirical results show that our algorithm outperforms state-of-the-art methods in learning with expert advice and metric learning scenarios.

Introduction

Most online learning algorithms assume a static environment, aiming to perform as well as the single best fixed decision in hindsight. However, in real-world applications like stock market prediction or consumer preference modeling, the "best" decision often changes over time. To address this non-stationarity, researchers utilize Strongly Adaptive Regret (SA-Regret), which measures performance over any contiguous interval of time. Existing algorithms with strong theoretical guarantees are often either computationally expensive or possess "loose" regret bounds. This paper introduces CBCE (Coin Betting for Changing Environment), a parameter-free meta-algorithm that provides tighter regret bounds while maintaining efficient computational complexity.

The CBCE Algorithm

CBCE is designed around three primary pillars to achieve high adaptability and efficiency:

  1. Coin Betting (CB): A framework for "Learning with Expert Advice" that is inherently parameter-free. Unlike standard algorithms that require manual tuning of a learning rate, Coin Betting treats the problem as a wealth-allocation strategy, avoiding the "Goldilocks" problem of selecting a rate that is neither too erratic nor too slow.
  2. Sleeping Experts: The meta-algorithm manages a pool of "black-box" learners that are activated at different time intervals. These learners are "asleep" until their specific interval begins, allowing the system to adapt to new trends as they emerge.
  3. Geometric Covering (GC) Intervals: To ensure computational efficiency, CBCE does not start a new learner at every time step. Instead, it utilizes a specific pattern of overlapping intervals, reducing time complexity from $O(T)$ per step to $O(\log T)$.

Theoretical Analysis

The core theoretical contribution of CBCE is the improvement of the SA-Regret bound. The authors prove that CBCE achieves an SA-Regret order of $O(\sqrt{(I_2 - I_1) \log(I_2)})$, which is a factor of $\sqrt{\log(I_2)}$ better than the previous state-of-the-art algorithm, SAOL.

Comparison of SA-Regret bounds and time complexity for various algorithms.

As shown in the table above, CBCE maintains the same $O(\log T)$ time factor as its predecessors while offering a more refined theoretical guarantee.

Empirical Evaluation

The authors evaluated CBCE across two scenarios to test its practical performance:

  • Learning with Expert Advice (LEA): A synthetic setup with 1,000 experts where the optimal choice shifts abruptly every 200 steps.
  • Metric Learning: A task involving the learning of a Mahalanobis distance from pairwise comparisons in a 25-dimensional space with shifting data distributions.
Performance comparison in Learning with Expert Advice (a) and Metric Learning (b).

In empirical tests, CBCE "caught up" to environmental shifts significantly faster than SAOL or Fixed Share. In the metric learning task, CBCE consistently achieved lower overall loss, confirming that the tighter theoretical bounds translate into superior real-world performance.

Conclusion

CBCE represents a significant step forward in adaptive online learning, providing a parameter-free solution that is both theoretically robust and practically efficient. While the $O(\log T)$ overhead is manageable, future research may focus on reaching $O(1)$ complexity per step while maintaining strong adaptability. Additionally, extending these principles to broader Online Convex Optimization (OCO) settings remains an open and promising direction.

Summary updated

BibTeX
@inproceedings{jun2017improved,
  author = {Kwang-Sung Jun and Francesco Orabona and Stephen J. Wright and Rebecca Willett},
  title = {{Improved Strongly Adaptive Online Learning using Coin Betting}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
  url = {https://openreview.net/forum?id=EKUmG6SoTJU},
}
Figure