Abstract
We consider prediction with expert advice when data are generated from distributions varying arbitrarily within an unknown constraint set. This semi-adversarial setting includes (at the extremes) the classical i.i.d. setting, when the unknown constraint set is restricted to be a singleton, and the unconstrained adversarial setting, when the constraint set is the set of all distributions. The Hedge algorithm -- long known to be minimax (rate) optimal in the adversarial regime -- was recently shown to be simultaneously minimax optimal for i.i.d. data. In this work, we propose to relax the i.i.d. assumption by seeking adaptivity at all levels of a natural ordering on constraint sets. We provide matching upper and lower bounds on the minimax regret at all levels, show that Hedge with deterministic learning rates is suboptimal outside of the extremes, and prove that one can adaptively obtain minimax regret at all levels. We achieve this optimal adaptivity using the follow-the-regularized-leader (FTRL) framework, with a novel adaptive regularization scheme that implicitly scales as the square root of the entropy of the current predictive distribution, rather than the entropy of the initial predictive distribution. Finally, we provide novel technical tools to study the statistical performance of FTRL along the semi-adversarial spectrum.
Introduction
In sequential decision-making, specifically prediction with expert advice, algorithms are traditionally optimized for one of two extremes: the I.I.D. setting, where data comes from a fixed distribution, or the Adversarial setting, where data is chosen by an opponent. While the I.I.D. setting allows for low regret (logarithmic in the number of experts), the adversarial setting demands a higher regret tolerance (scaling with the square root of time).
However, real-world data often falls between these poles. It may exhibit occasional shifts or be constrained in ways that are neither perfectly stable nor fully malicious. This paper addresses the "gap in the middle," revealing that standard algorithms like Hedge—while optimal at the endpoints—are suboptimal across the vast "semi-adversarial" spectrum.
The Semi-Adversarial Spectrum
The authors formalize this spectrum using convex constraint sets. The hardness of a specific setting is characterized by $N_0$ (the number of "effective" experts) and $\Delta_0$ (the stochastic gap between the best expert and others).
As shown in Figure 1, the I.I.D. case restricts data to a single point (singleton set), while the adversarial case allows data to be any point within the simplex. The semi-adversarial case introduces intermediate constraints, where distributions vary within a restricted convex set.
Methodology: FTRL-CARE and Meta-CARE
To achieve optimality across this spectrum, the paper introduces two primary innovations:
- FTRL-CARE (Constraint-Adaptive Root-Entropic): This algorithm utilizes the Follow-the-Regularized-Leader framework with a novel root-entropic regularizer, $\sqrt{H(u)}$, instead of the standard entropy $H(u)$. This allows the algorithm to implicitly adjust its learning rate based on the entropy of its current predictive distribution. Effectively, the square root of entropy acts as a "speedometer": low entropy (concentrated distribution) signals an easy regime, while high entropy (spread distribution) signals an adversarial regime.
- Meta-CARE: Since FTRL-CARE is optimal for $N_0 > 1$ but slightly less efficient than Hedge when $N_0 = 1$, the authors create Meta-CARE. This meta-algorithm adaptively combines Hedge and FTRL-CARE as "meta-experts" to ensure optimal performance across all values of $N_0$ and $\Delta_0$ without prior knowledge of these parameters.
Additionally, the authors developed new concentration of measure inequalities for data generated from time-homogeneous convex constraints to facilitate their theoretical analysis.
Theoretical Results and Empirical Validation
The paper identifies the fundamental minimax regret limit for the semi-adversarial spectrum as: $$R_T \approx \sqrt{T \log N_0} + \frac{\log N}{\Delta_0}$$
Key findings include:
- Hedge Suboptimality: The authors prove that any standard parametrization of Hedge incurs at least $\sqrt{T \log N}$ regret in certain semi-adversarial settings, failing to achieve the $\sqrt{T \log N_0}$ rate.
- Meta-CARE Optimality: Meta-CARE is proven to achieve the minimax rate adaptively.
Synthetic simulations validate these results. In a Stochastic Scenario ($N_0 = 1$), Meta-CARE matches the performance of algorithms specialized for I.I.D. data. In an Adversarial Scenario ($N_0 = 2$), where two experts alternate being the best, Meta-CARE successfully adapts while Hedge remains suboptimal.
Discussion and Future Work
This work demonstrates that being optimal at the boundaries of data complexity does not imply optimality in the interior. The "root-entropic" approach provides a robust mechanism for sensing and adapting to data hardness.
Future research directions include:
- Uniform-in-T Adaptivity: Extending the current "eventual" bounds to hold uniformly for all time steps $T$.
- Refined Gap Analysis: Moving beyond the single effective gap $\Delta_0$ to consider the individual gaps of all experts.
- Bandit Feedback: Applying the root-entropic logic to settings where only the loss of the chosen action is observed, rather than full-information feedback.
Summary updated