Prediction with Corrupted Expert Advice

Idan Amir, Idan Attias, Tomer Koren, Yishay Mansour, Roi Livni

This paper explores a fascinating middle ground in online learning: what happens when your data is mostly "nice" (stochastic) but has been tampered with by a "mean" (adversarial) actor? The authors provide a rigorous analysis of the Multiplicative Weights algorithm, proving it is surprisingly robust to these corruptions. In doing so, they uncover a fundamental theoretical rift between two of the most popular frameworks in the field.

TL;DR

The researchers prove that a simple, adaptive version of the Multiplicative Weights algorithm achieves optimal performance in environments where stochastic data is subject to adversarial corruption. Crucially, they demonstrate that the "Follow the Regularized Leader" (FTRL) framework is strictly superior to "Online Mirror Descent" (OMD) in this corrupted regime, despite the two often being treated as interchangeable.

The Problem: Bridging the Adversarial and Stochastic Divide

In the classic "prediction with expert advice" problem, a learner tries to perform as well as the best expert in a group. Traditionally, researchers look at two extremes:

  1. The Adversarial Setting: The environment is hostile. Regret (the gap between the learner and the best expert) grows at a rate of $O(\sqrt{T})$.
  2. The Stochastic Setting: Losses are drawn from a fixed distribution. Here, learners can achieve "fast rates," where regret is constant or logarithmic ($O(\log N)$), independent of the time horizon $T$.

Real-world data, however, is rarely purely one or the other. This paper addresses the adversarially-corrupted stochastic setting. The underlying process is stochastic, but an adversary can inject a total amount of corruption $C$. The challenge is to design an algorithm that achieves the "fast" stochastic rates when $C$ is small, without knowing the value of $C$ or the difficulty of the problem (the "gap" between experts) in advance.

Methods: Multiplicative Weights and Meta-Algorithms

The authors focus on the Multiplicative Weights (MW) algorithm, analyzing two main versions:

  • Fixed Step Size: A "warm-up" analysis where the learner knows the gap $\Delta$ between the best and second-best expert.
  • Adaptive Step Size: A more practical version where the step size $\eta_t$ decreases over time ($\approx 1/\sqrt{t}$). This version doesn't require prior knowledge of the corruption level or the stochastic gap.

Technically, the paper compares two meta-algorithms used to derive MW:

  1. Follow the Regularized Leader (FTRL): Picks the distribution that minimizes the total seen loss plus a regularization term.
  2. Online Mirror Descent (OMD): Performs a gradient-style update from the current distribution.

Using a "self-bounding" regret analysis, the authors show that the second-order terms in the regret bound can be controlled by the regret itself, leading to the desired constant regret bounds.

Key Insights: The FTRL vs. OMD Divorce

  • Robustness is "Free": The adaptive MW algorithm (using FTRL) naturally handles corruption. Its regret scales as $O(\frac{\log N}{\Delta} + C)$. This means the corruption $C$ only adds a linear penalty to the regret, rather than destroying the algorithm's ability to learn the best expert.
  • The FTRL vs. OMD Divorce: In many standard settings, FTRL and OMD are mathematically equivalent. However, this paper reveals a surprising disparity. In the corrupted stochastic regime, OMD's regret is significantly worse—scaling as $\Omega(C/\Delta)$. This makes FTRL the clear winner for robust online learning.
  • Stability Matters: The reason FTRL wins is its stability. When an adversary injects corruption early on, OMD can be "tricked" into a state that is hard to recover from. FTRL's reliance on the entire history of losses makes it far more resilient to temporary bursts of bad data.

Key Results and Numerical Confirmation

The authors prove that adaptive MW achieves $O(\frac{\log N}{\Delta} + C)$ regret. This is optimal because $\Omega(\frac{\log N}{\Delta})$ is the known lower bound for the stochastic case, and $\Omega(C)$ is the unavoidable cost of corruption. Furthermore, the algorithm achieves these bounds without needing to be told the corruption budget $C$ or the sub-optimality gap $\Delta$.

To validate their mathematical proofs, the authors use synthetic simulations with Bernoulli losses and adversarial injection.

Comparison of FTRL and OMD regret under varying corruption levels.

As illustrated in the simulations above, the theory holds up perfectly in practice. In corrupted scenarios, the FTRL-based regret curve flattens out (indicating constant regret), while the OMD-based curve continues to climb linearly as the corruption budget $C$ increases.

Limitations and Future Work

  • Full Information Only: This work assumes the learner sees the losses of all experts every round. A natural extension is the Bandit Setting, where the learner only sees the loss of the expert they actually chose. A unified optimal theory for the corrupted bandit case remains a high-interest area.
  • The Nature of $\Delta$: The bounds depend on $1/\Delta$. If the gap between the best and second-best expert is extremely small, the "constant" regret can still be quite large.
  • Beyond Entropy: The paper uses entropic regularization (which leads to MW). Exploring whether other types of regularization (like Tsallis entropy) offer even better robustness in corrupted settings is a potential path for future research.

Summary updated

BibTeX
@inproceedings{amir2020prediction,
  author = {Idan Amir and Idan Attias and Tomer Koren and Yishay Mansour and Roi Livni},
  title = {{Prediction with Corrupted Expert Advice}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=4l0BSNc8TV},
}
Figure