In the world of Best Arm Identification (BAI), we usually assume the environment is a calm, stationary pond. We pull a lever, get a reward from a fixed distribution, and repeat until we’re sure which lever is best. But real-world data—like website click-through rates or stock performance—is rarely that cooperative. Global trends, seasonality, and sudden events can shift the performance of every option simultaneously.
This paper, "Best Arm Identification for Bandits with Shifting Means," introduces a robust framework for these "noisy" environments, proving that we can still find the best option even when an adversary is constantly moving the goalposts.
TL;DR
The authors introduce the "Shifting Means" setting, where arm rewards are subject to common, adversarial shifts while their relative gaps remain constant. They propose a new algorithm, Importance Weights for Shifting Means (ISM), which is the first to provide high-confidence guarantees in this non-stationary environment where traditional methods fail.
What Problem Does This Paper Address?
Standard BAI algorithms rely on the assumption that observations are independent and identically distributed (i.i.d.). If a global trend (like a holiday weekend) suddenly makes all arms perform better, a standard algorithm might mistake this temporary boost for the intrinsic quality of a specific arm, or it might fail to stop because the variance appears massive.
The authors formalize this as the Shifting Means problem. In each round $t$, the mean reward of arm $a$ is $\mu_{t,a} = B_t - \Delta_a$. Here, $B_t$ is a latent "shift" determined by an adversary, and $\Delta_a$ is the fixed gap relative to the best arm. The learner never sees $B_t$; they only see the resulting rewards.
Crucially, the authors show that the "gold standard" for BAI—the Track-and-Stop (TAS) algorithm and the Generalized Likelihood Ratio Test (GLRT)—completely break down here. TAS loses its correctness guarantees, and a naive GLRT overfits the shifts so badly that it never stops.
Methods
To solve this, the authors propose Importance Weights for Shifting Means (ISM).
The core innovations include:
- Importance-Weighted Evidence: Instead of simple averages, ISM uses an evidence measure $z_{t,a,b}$ that employs importance weighting. This allows the algorithm to "cancel out" the common shift $B_t$ by comparing arms sampled in the same round.
- Supermartingale Stopping Rule: The stopping condition is built on Ville’s inequality. By ensuring the evidence measure is a supermartingale, the algorithm guarantees $\delta$-correctness (identifying the best arm with probability $1-\delta$) even against an adaptive adversary.
- Maximin Drift Optimization: The algorithm dynamically tunes its sampling weights and hyperparameters by solving a convex optimization problem. It aims to maximize the "drift" (the rate at which evidence accumulates) while staying within a "safety constraint" that prevents false positives.
Datasets
The authors evaluated ISM using synthetic bandit instances designed to mimic the challenges of real-world non-stationarity:
- K=4 arms: Bernoulli rewards with fixed gaps (e.g., [0, 0.05, 0.07, 0.1]).
- Adversarial Shifts: The common shift $B_t$ was drawn i.i.d. from a uniform distribution $U[0.1, 1.0]$ each round.
- Comparison: They compared ISM's performance against the theoretical limits of stationary bandits to quantify the "cost" of robustness.
Key Insights and Ideas
- The Cost of Robustness: The complexity of the problem shifts from depending on the reward variance $\sigma^2$ to $(\sigma^2 + U^2)$, where $U$ is the bound on the mean. Essentially, the potential range of the adversarial shift acts as additional noise that the learner must overcome.
- Fisher Information and the Raised Cosine: To prove the lower bound (the minimum samples needed), the authors used a "raised cosine" distribution for the shifts. This specific distribution is the "least informative" possible on a bounded interval, providing the toughest challenge for any learner.
- Randomization is Mandatory: In a stationary world, you can often get away with deterministic sampling. In Shifting Means, if your sampling is deterministic, an adversary can set the shift $B_t$ to perfectly mask the gaps $\Delta_a$. ISM uses randomized arm selection to stay one step ahead.
Key Results
- Theoretical Optimality: The authors proved that ISM achieves a sample complexity of $O\left( \frac{K(\sigma^2 + U^2)}{\Delta_{min}^2} \ln \frac{1}{\delta} \right)$. They also provided a matching lower bound, showing that ISM is optimal up to constant factors.
- Empirical Validation: In experiments, ISM maintained its $\delta$-correctness where other methods failed. While it requires more samples than a stationary-only algorithm (roughly 7x more in their specific setup with $\delta=0.1$), the "overhead" of the algorithm relative to the theoretical limit decreases as the required confidence $\delta$ becomes stricter.
- Robustness to Misspecification: The algorithm proved empirically robust even when the bound $U$ was slightly misspecified, still finding the correct arm in the vast majority of cases.
Limitations and Future Work
- Fixed Gaps Assumption: The current model assumes that while the absolute means shift, the gaps between arms are constant. The authors note that extending this to cases where gaps also change (but the best arm remains the same) is a significant open challenge.
- Asymptotic Bounds: The sample complexity guarantees are currently asymptotic (as $\delta \to 0$). Developing non-asymptotic bounds would be a valuable next step.
- Parameter Knowledge: ISM requires knowing the bounds $U$ and $\sigma^2$ upfront. Future work could explore how to estimate these parameters on the fly.
Summary updated