Online Learning with Optimism and Delay

Genevieve Flaspohler, Francesco Orabona, Judah Cohen, Soukayna Mouatadid, Miruna Oprescu, Paulo Orenstein, Lester Mackey

Abstract Inspired by the demands of real-time climate and weather forecasting, this research develops optimistic online learning algorithms that require no parameter tuning and have optimal regret guarantees under delayed feedback.

The Challenge of Delayed Feedback

In standard online learning, a model makes a prediction and receives immediate feedback to improve its next move. However, in fields like subseasonal climate forecasting, feedback is inherently delayed. If you predict the temperature for three weeks from now, you won't know if you were right for at least twenty-one days. During that gap, you must continue making daily predictions without knowing how your recent forecasts performed.

Existing solutions for delayed feedback have major drawbacks:

  1. Replication strategies: They split the problem into $D+1$ independent learners (where $D$ is the delay), which is inefficient for short horizons because each learner sees very little data.
  2. Manual Tuning: Many algorithms require a learning rate parameter ($\eta$ or $\lambda$) that is notoriously difficult to set correctly without knowing the future.
  3. Conservative Bounds: Standard methods often use overly cautious settings that lead to sluggish adaptation in practice.

Delay as Optimism

To address these issues, the authors bridge the gap between delayed learning and optimistic learning. In optimistic learning, a model uses a "hint" about the future to improve its current play. The authors prove a formal "delay-as-optimism" reduction: a delayed learner is essentially an optimistic learner dealing with a "bad" hint (the missing data). Instead of just guessing the future loss, a delayed learner should use hints to estimate the sum of all currently unobserved losses caused by the delay.

Building on this, the paper introduces a new suite of algorithms designed to handle the "double whammy" of delayed feedback and short prediction horizons:

  • DORM & DORM+ (Delayed Optimistic Regret Matching): Generalizations of popular Regret Matching algorithms. They are tuning-free, meaning their performance is independent of the choice of regularization parameter. DORM+ is particularly adept at handling non-stationarity, exhibiting small "tracking regret" when following a competitor that changes its best strategy over time.
  • AdaHedgeD: A self-tuning version of Follow-the-Regularized-Leader (FTRL) that automatically adjusts its learning rate based on observed performance, without needing prior bounds on the losses.
  • Learning to Hint: A meta-algorithm that combines multiple hint sources (e.g., a "recent" hint vs. a "mean" hint) to find the best strategy in real-time.

A key theoretical contribution is the use of the Huber penalty for regret analysis. This reveals that optimistic algorithms are surprisingly robust: if the hint is accurate, the algorithm gains significantly; if the hint is completely wrong, the Huber term ensures performance does not drop below the minimax optimal rate for delayed learning.

Real-World Performance: Subseasonal Forecasting

The algorithms were evaluated on a real-world subseasonal forecasting dataset encompassing 514 locations across the Western United States. The tasks involved predicting temperature and precipitation at 3-4 week and 5-6 week horizons. The learner ensembles predictions from six different input models (a mix of physics-based and machine learning models) over a short horizon of $T=26$ (semimonthly forecasts over one year), making efficient data use critical.

Average RMSE across different tasks. DORM+ consistently tracks or beats the best individual input models.

The proposed algorithms were benchmarked against state-of-the-art forecasting models over a 10-year period (2011-2020). As shown in the table above, DORM+ consistently matched or outperformed the best individual input models across various tasks.

Furthermore, the online learners frequently achieved negative regret, meaning they outperformed the best single forecasting model in the ensemble over time. DORM+ also outperformed "replicated" versions of itself, proving that using all available data in a single learner is far more effective than splitting the task.

Yearly cumulative regret for the Precipitation 3-4w task. DORM+ consistently maintains low or negative regret relative to the best input model.

Limitations and Future Directions

While highly effective, the primary theoretical results assume a constant delay $D$, though extensions for variable delays are provided. Additionally, while the algorithms are robust to bad hints, their true potential is unlocked when hints are accurate. Incorporating domain-specific meteorological expertise into the hinting strategy represents a promising next step. Future work also aims to develop adaptive, self-tuning versions of other popular frameworks like Online Mirror Descent.

Summary updated

BibTeX
@inproceedings{flaspohler2021online,
  author = {Genevieve Flaspohler and Francesco Orabona and Judah Cohen and Soukayna Mouatadid and Miruna Oprescu and Paulo Orenstein and Lester Mackey},
  title = {{Online Learning with Optimism and Delay}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=1WCx4HOOETn},
}
Figure