Abstract
We consider the problem of online aggregation of expert predictions with the quadratic loss function. We propose an algorithm for aggregating expert predictions which does not require a prior knowledge of the upper bound on the losses. The algorithm is based on the exponential reweighing of expert losses.
Introduction
In the classic "Prediction with Expert Advice" framework, a learner (the "player") aims to combine the predictions of $N$ experts to perform as well as the best expert in hindsight. When employing the quadratic loss function—a standard metric in regression and forecasting—traditional algorithms like the Exponentially Weighted Forecaster rely on a critical assumption: the existence of a known bound $B$ such that all losses are guaranteed to be less than $B^2$.
This bound is essential for setting the "learning rate" ($\eta$), which determines how aggressively the player shifts weight toward better-performing experts. However, in many real-world scenarios, such as volatile financial markets or complex physical systems, this bound is either unknown or theoretically non-existent. Setting $\eta$ too high risks a single outlier ruining the aggregation, while setting it too low results in sluggish adaptation. This paper introduces a novel online algorithm that dynamically adjusts to the scale of observed data, eliminating the need for prior knowledge of loss bounds.
Problem Formulation
The player observes $N$ expert predictions at each time step $t$. The goal is to output a prediction $\gamma_t$ that minimizes the cumulative quadratic loss relative to the best expert. The quadratic loss is defined as $l_t^n = \|\gamma_t^n - y_t\|^2$, where $\gamma_t^n$ is the prediction of expert $n$ and $y_t$ is the actual outcome. Standard approaches require $\eta \leq 1/(2B^2)$ to ensure the loss function is exponentially concave, a property necessary for achieving logarithmic regret. Without a known $B$, maintaining this property becomes the primary challenge.
The Proposed Algorithm
The authors propose Algorithm 1, which utilizes exponential reweighting with a dynamic scaling mechanism. Unlike static forecasters, this algorithm adapts its parameters based on the observed discrepancies between experts and the actual losses encountered.
Dynamic Learning Rate and Scaling
The algorithm's learning rate $\eta_t$ is updated at each step $t$ based on $B_t$, a value representing the maximum distance between any two expert predictions observed thus far. This "spread" serves as a local proxy for the scale of the problem.
The Doubling Logic
To handle potentially unbounded losses, the algorithm maintains a tracking variable $B_t^\dagger$. If an expert's loss suddenly exceeds the current estimated bound, the algorithm increases the bound by a factor of $\sqrt{2}$. This "doubling" (or scaling) logic allows the algorithm to catch up to the true scale of the environment's volatility without requiring an initial guess. The weights $w_t^n$ for each expert are then calculated as: $$w_t^n \propto \exp(-\eta_t L_{t-1}^n)$$ where $L_{t-1}^n$ is the cumulative loss of expert $n$. The player’s final prediction is a convex combination (weighted average) of the experts' predictions.
Key Insights
- Self-Tuning via Prediction Spread: By using the maximum distance between expert predictions ($\max \|\gamma_t^n - \gamma_t^{n'}\|$) to help set the learning rate, the algorithm effectively senses the local geometry of the expert pool.
- Eliminating Prior Knowledge: The paper proves that it is possible to achieve performance nearly identical to algorithms that know the bound $B$ in advance, simply by reacting to the environment when current bounds are breached.
- Robustness to Outliers: The resulting regret bound depends on the actual maximum loss encountered ($\max l_t^n$) rather than a theoretical, worst-case maximum. This makes the algorithm naturally more robust in environments where losses are typically small but prone to occasional spikes.
Theoretical Results
The primary contribution of the work is Theorem 1, which establishes the regret bound for the proposed algorithm. The total regret $R_T$—the difference between the player's cumulative loss and the best expert's cumulative loss—is shown to be:
$$R_T \leq O\left(\max_{t,n} l_t^n \cdot (\ln N + 1)\right)$$
This bound is significant because it is essentially time-independent; it does not grow linearly with $T$. If the losses eventually stabilize within some bound $B^2$, the regret remains proportional to $B^2 \ln N$, matching the optimal performance of informed algorithms up to a small constant factor.
Discussion and Limitations
While the algorithm provides a robust solution for unbounded quadratic loss, several considerations remain for practical implementation:
- Sensitivity to Extremes: Because the regret bound is determined by the maximum loss encountered across all experts and all time steps, a single extreme outlier can significantly loosen the regret guarantee for the remainder of the process.
- Geometric Constraints: The proof relies on the properties of Hilbert spaces and the specific exponential concavity of the quadratic loss. Extending this logic to other loss functions, such as absolute or logarithmic loss, may require different mathematical frameworks.
- Computational Complexity: The algorithm requires calculating pairwise distances between all experts at each step to update the spread $B_t$. This results in a computational complexity of $O(N^2)$ per step, which may become a bottleneck for applications involving a very large number of experts.
Summary updated