Abstract
We aim to design strategies for sequential decision making that adjust to the difficulty of the learning problem. We study this question both in the setting of prediction with expert advice, and for combinatorial games. We present Squint, an algorithm that achieves the first "best-of-both-worlds" regret bounds by simultaneously adapting to the variance of the data (second-order) and the distribution of good experts (quantile).
Introduction
In the classic "prediction with expert advice" framework, a learner aims to perform as well as the best expert in a pool of size $K$. While standard algorithms like Hedge guarantee a regret—the gap between the learner's loss and the best expert's loss—that grows with $O(\sqrt{T \ln K})$, these bounds are often pessimistic. In practice, many learning problems are "easy," and researchers seek adaptive algorithms that can exploit this structure to achieve significantly lower regret.
This paper addresses two primary forms of adaptivity that were previously considered difficult to reconcile:
- Second-order (Variance) Adaptivity: Regret should depend on the cumulative variance of the losses ($V_T$) rather than the time horizon $T$. This is crucial when losses are stable or one expert is consistently superior.
- Quantile Adaptivity: Regret should depend on the "mass" of good experts. If a large subset of experts performs well, the learner should identify them faster than if only a single expert were optimal.
The Squint Algorithm
The authors introduce Squint (Second-order QUantile INTegral), a framework that bridges the gap between these two forms of adaptivity. The fundamental challenge in combining them lies in the "learning rate paradox": the optimal learning rate $\eta$ for variance-adaptivity depends on the data, while for quantile-adaptivity, it depends on the prior mass of the experts.
Integrating Learning Rates
Squint bypasses the need to tune $\eta$ by integrating over a range of possible learning rates using a potential function. The core innovation is the use of an "improper" prior—specifically, a density proportional to $1/\eta$. While this integral technically diverges at zero, the authors demonstrate that the terms cancel out in the final prediction rule. This results in a closed-form solution that is not only theoretically powerful but also computationally efficient, requiring only $O(K)$ operations per round—the same complexity as the basic Hedge algorithm.
Properties of Squint
- Any-time and Timeless: Squint does not require prior knowledge of the time horizon $T$. Furthermore, it is "timeless," meaning its predictions are unaffected by "empty" rounds where no losses occur.
- Automatic Zooming: The $1/\eta$ prior acts as a neutral weight, allowing the algorithm to automatically "zoom in" on the most effective learning rate for the specific sequence of losses encountered.
Extension to Combinatorial Games
The paper extends these insights to combinatorial games, such as finding the shortest path in a graph where edge weights change over time. In these settings, the number of possible strategies (paths) is often exponential, making standard expert algorithms impractical.
The authors develop Component iProd, which avoids the "range factor problem"—a common issue where regret scales poorly with the size of the combinatorial structure. By maintaining statistics on individual components (e.g., edges) rather than every possible combination (e.g., paths), Component iProd achieves the first second-order quantile regret bound for combinatorial games.
Key Results and Theoretical Impact
The primary theoretical contribution is a combined regret bound for the expert setting: $$R_T \le \sqrt{V_T^\mathcal{K} (-\ln \pi(\mathcal{K}))}$$ where $V_T^\mathcal{K}$ represents the average variance of a subset of experts $\mathcal{K}$, and $\pi(\mathcal{K})$ is their prior mass. This is the first bound in the literature to feature both variance and quantile terms under the same square root, providing a unified guarantee for "easy" data.
Limitations and Future Directions
While Squint represents a significant step forward, some open questions remain:
- Loss Range: The current analysis assumes losses are normalized to a fixed range (e.g., $[0, 1]$). Adapting to the loss range automatically remains a challenge for future work.
- Lower Bounds: While the achieved bounds are intuitively tight, formal lower bounds for the simultaneous variance-quantile setting have yet to be established.
- General Principles: The success of the integration method suggests there may be a broader, more general principle of "learning rate adaptivity" yet to be discovered in online learning theory.
Summary updated