What You See May Not Be What You Get: UCB Bandit Algorithms Robust to ε-Contamination

Laura Niss, Ambuj Tewari

In real-world machine learning, data is often far from perfect. Whether due to sensor noise, inattentive users, or malicious actors, reward signals in multi-armed bandit (MAB) problems can be "poisoned." This paper, authored by Laura Niss and Ambuj Tewari from the University of Michigan, introduces a robust framework for handling such scenarios, specifically focusing on the $\epsilon$-contamination model.

The Challenge of $\epsilon$-Contamination

In a standard stochastic multi-armed bandit (sMAB) problem, an agent pulls arms and receives rewards sampled from fixed distributions. The goal is to minimize "regret"—the difference between the rewards obtained and those from the optimal arm. However, real-world data often suffers from $\epsilon$-contamination: while most data points are clean, a small fraction ($\epsilon$) are either garbage or maliciously chosen to mislead the algorithm.

Standard algorithms like UCB1 are highly sensitive to outliers and fail in these environments. While existing robust solutions exist, they often assume rewards are strictly bounded (e.g., in $[0, 1]$) or that the adversary is "oblivious." This research tackles the more challenging case of unbounded rewards and a fully adaptive adversary who can react to the learner's history.

Methodology: The crUCB Algorithm

The authors propose crUCB (contamination-robust Upper Confidence Bound), which replaces the standard empirical mean with robust estimators. Two primary estimators are explored:

  1. $\alpha$-Trimmed Mean: This estimator discards the smallest and largest $\alpha$-fraction of data points, calculating the mean of the remainder to mitigate the impact of extreme outliers.
  2. $\alpha$-Shorth Mean: This identifies the shortest interval containing a $(1-\alpha)$ fraction of the points and takes its mean. This is particularly effective against asymmetric attacks where an adversary shifts the mean without creating obvious outliers.

By deriving new finite-sample concentration inequalities for these estimators under sub-Gaussian distributions, the authors calculate a robust upper confidence bound that accounts for both natural variance and potential adversarial bias.

Theoretical Insights

A key theoretical contribution is the identification of the "Gap" Constraint. The authors prove that if the contamination rate $\epsilon$ exceeds the gap between the best and second-best arm ($\Delta_{min}$), it is statistically impossible to distinguish them perfectly. Thus, sublinear regret is only achievable when the signal (the gap) is stronger than the noise (the contamination).

Unlike previous work, crUCB is robust to unbounded rewards, requiring only an estimate of the sub-Gaussian variance parameter ($\sigma$). Furthermore, the algorithm is relatively insensitive to the exact choice of $\alpha$, provided it serves as an upper bound for the true contamination rate $\epsilon$.

Empirical Performance

The paper evaluates crUCB using synthetic simulations mimicking educational settings (e.g., a 1-10 Likert scale). The algorithms were tested against various adversarial models, including Bernoulli adversaries (random contamination) and cluster adversaries (early-game "front-loading" attacks).

Cumulative regret across different contamination levels (ε=0, 0.05, 0.1). sUCB and tUCB maintain low regret as contamination increases, significantly outperforming standard and 'best of both worlds' baselines.

Key Results

As shown in the experimental results, crUCB (implemented as sUCB and tUCB) significantly outperforms standard UCB1 and "best of both worlds" algorithms like EXP3++ and TsallisInf in contaminated environments. While standard algorithms see their regret skyrocket as $\epsilon$ increases, the robust variants maintain performance near that of a clean environment.

Performance under high contamination (ε=0.1). The robust estimators (sUCB, tUCB) show resilience where standard UCB1 and adversarial-focused algorithms fail.

Notably, crUCB proved much more resilient to "cluster attacks" compared to adversarial-focused algorithms like EXP3. The algorithm's ability to maintain sublinear regret even under significant contamination (10%) demonstrates its practical utility for real-world applications where data integrity cannot be guaranteed.

Conclusion and Future Work

The crUCB framework provides a practical and theoretically grounded approach to robust bandit optimization. While it requires prior knowledge of an upper bound on the contamination rate and variance, its performance gains in noisy environments are substantial. Future research directions include developing "Robust Thompson Sampling" and exploring scenarios where contamination is correlated with the rewards themselves.

Summary updated

BibTeX
@inproceedings{niss2020what,
  author = {Laura Niss and Ambuj Tewari},
  title = {{What You See May Not Be What You Get: UCB Bandit Algorithms Robust to ε-Contamination}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=OWQLykywgg0},
}
Figure