Online Quantile Omniprediction for Proper Losses

Hyunsuk Kim, Isaac Gibbs, Michael W. Mahoney, Ryan TibshiraniNeurIPS 2026

TL;DR

When forecasting uncertain future events—like tomorrow’s energy demand or next month’s hospital admissions—different downstream decision-makers care about wildly different error metrics. Instead of training a separate model for every user’s custom loss function, this paper introduces an online algorithm that aggregates expert quantile forecasts into a single master prediction. Remarkably, this forecast performs nearly as well as the best expert across all well-behaved ("proper") loss functions simultaneously, achieving fast, practical error rates previously only seen in simple binary classification.

What Problem Does This Paper Address?

Probabilistic forecasts give decision-makers a rich picture of uncertainty rather than a single point guess. To train and evaluate these forecasts, we use proper losses—scoring rules whose expected value is minimized when you predict the true underlying probability distribution.

Here is the catch: while all proper losses agree on the perfect truth, they penalize mistakes asymmetrically. A model trained to minimize one proper loss can fail miserably when judged by another. If you are publishing a public forecast (like a national weather or epidemiological bulletin), you don't know the specific cost–benefit ratios of every person reading it.

Omniprediction solves this by building one unified predictor that competes with the best baseline model across a whole family of loss functions at once. For binary outcomes (rain vs. no rain), we already know how to do this with optimal sample efficiency—an error rate scaling as $\tilde{O}(\sqrt{1/T})$ over $T$ timesteps. However, extending omniprediction to continuous or multiclass targets has hit a wall: existing methods either restrict you to narrow loss families or suffer from exponentially slow error rates as the number of outcomes grows.

Methods

To break the continuous-target bottleneck, the authors represent probabilistic forecasts as a dense grid of $N$ quantiles (e.g., predicting the 10th, 50th, and 90th percentiles) in an online, adversarial setting where data distributions shift over time.

Their approach hinges on three steps:

  1. Structural Decomposition & Discretization: Drawing on classical forecasting theory, any smooth, bounded proper loss over multiple quantiles can be written as a sum and mixture of simple, two-parameter elementary losses (which essentially ask: did both the forecast and outcome cross threshold $\theta$?). By rounding outcomes and forecasts to a discrete grid of size $m$, an infinite space of proper losses collapses into a finite set of elementary losses.
  2. A Two-Player Game: Using a standard multi-objective learning framework, the algorithm pits two players against each other at each timestep $t$. Player 1 uses the classic Hedge algorithm to upweight the specific elementary losses and baseline forecasters where our predictor has struggled most. Player 2 solves a minmax linear program to output a randomized, ordered quantile forecast that minimizes worst-case regret against Player 1's mixture.
  3. Fast Computation & Dynamic Grids (What's New): Naively solving Player 2's minmax program requires optimizing over $\binom{m+N}{N} - 1$ variables—completely intractable. The authors prove a clever structural shortcut that solves this in $\tilde{O}(mNB)$ time (for $B$ base forecasters). They also introduce a dynamic grid trick: you don't need to know the min/max range of future data in advance; expanding the grid on the fly yields the exact same predictions as an oracle that knew the bounds from day one.

Datasets

The authors evaluate their method on two real-world online forecasting benchmarks (no new datasets are introduced):

  • US COVID-19 Forecast Hub: 127 weeks of real-time forecasts (Dec 2020 – June 2023) predicting weekly COVID-19 hospitalizations across the aggregated US and 51 state-level jurisdictions, spanning 1- to 4-week horizons, $N=23$ quantile levels, and $B=18$ expert research groups as base forecasters.
  • HEFTCom2024: Day-ahead renewable energy forecasting data from the Hybrid Energy Forecasting and Trading Competition 2024 (detailed in the appendix).

Key Insights and Ideas

  • Quantiles unlock binary-like rates: Because proper quantile losses decompose linearly across quantile levels into 1D mixtures of step-like elementary losses, the authors bypass the curse of dimensionality, achieving an online omniprediction error rate of $\tilde{O}(\sqrt{(\log mNB)/T})$.
  • Direct link to decision-making: Each elementary loss corresponds to a concrete preventative-action game (e.g., paying cost $C$ to expand hospital beds vs. suffering loss $L$ if cases exceed capacity $\theta$). Omniprediction guarantees good decisions simultaneously for every user, regardless of their capacity threshold $\theta$ or cost-loss ratio $C/L$.
  • Crisp randomized forecasts: Even though Player 2 outputs a probability distribution over quantile vectors, the authors prove that each marginal quantile forecast only randomizes between at most two adjacent grid points, keeping predictions interpretable and low-variance.
  • Omniprediction beats specialized learners on their own turf: Surprisingly, the Two-player omnipredictor often achieves lower standard pinball/quantile loss than running Hedge directly on quantile loss (Hedge-QL). Visually, Two-player produces tighter inner quantile bands with heavier tails, better capturing the bulk of the distribution.

Key Results

Omni-error over time on US-agg data across 1- to 4-week horizons

Figure 2: Omni-error (Eq. (12)) over time for 1- to 4-week-ahead forecasting horizons (left to right panels) on the US-agg data for *Two-player (blue), *Hedge-QL (green) and the COVIDhub-Ens and JHUAPL-SLPEns ensembles (both black). The red line shows the results of Two-player with a fixed learning rate constant cO = 1. Lower values indicate better performance.
  • Beating Pandemic Ensembles: On aggregated US hospitalization data (shown above) and state-level series, Two-player consistently achieves lower approximate omniprediction error ("omni-error") and cumulative quantile loss than official pandemic ensembles (COVIDhub-Ens and JHUAPL-SLPEns), even when using a fixed, untuned theoretical learning rate ($c_O = 1$).
  • Thriving on Hard Tasks: Across 204 state-horizon time series, Two-player beats the specialized Hedge-QL baseline on 70% of all series in total quantile loss—and on 82% of the hardest third of series (such as 3- and 4-week-ahead forecasts).

Limitations and Future Work

Because the theoretical guarantees rely on bounded proper losses defined over a finite set of quantiles, the framework cannot handle unbounded metrics or losses that require a full probability density function—most notably, the log-loss ($\ell(f, y) = -\log f(y)$). Developing tractable representations and fast omniprediction algorithms for density-based and unbounded proper losses remains an open frontier.

Summary updated

Abstract

The task of constructing a predictor that is simultaneously accurate under multiple evaluation metrics has been popularized recently under the name omniprediction. Prior work in this area has largely focused on binary prediction tasks, and existing results for multiclass and continuous outcomes typically suffer from slow error rates. In this paper, we consider forecasts expressed as a set of quantiles over a discrete but otherwise arbitrary set of probability levels. We work in an online setting where the data-generating distribution is allowed to vary over time and develop sample-efficient algorithms for constructing forecasts that are accurate simultaneously across all proper losses that satisfy mild regularity conditions. As an example, we demonstrate how our procedure can be used to improve quantile forecasts of COVID-19 hospitalizations made by experts during the pandemic.
BibTeX
@inproceedings{kim2026online,
  author = {Hyunsuk Kim and Isaac Gibbs and Michael W. Mahoney and Ryan Tibshirani},
  title = {{Online Quantile Omniprediction for Proper Losses}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kCmdx0LpMU},
}
Figure