Introduction
Multi-Armed Bandits (MABs) serve as the foundational framework for sequential decision-making under uncertainty, powering critical systems in news recommendation, clinical trial design, and online advertising. The core objective of an MAB algorithm, such as Upper Confidence Bound (UCB1) or $\epsilon$-greedy, is to balance exploration and exploitation to maximize cumulative rewards. However, because these algorithms rely on external feedback, they are inherently susceptible to reward poisoning attacks. In these scenarios, an adversary manipulates the rewards observed by the learner to force the selection of a sub-optimal "target" arm.
While prior research has demonstrated that MAB algorithms can be manipulated with relatively low cost, this paper identifies a significant limitation in existing attack strategies: they are "loud." By aggressively depressing the rewards of non-target arms, these attacks violate the fundamental assumption that rewards are drawn from a stationary distribution. This paper introduces a novel detection framework and explores the feasibility of "stealthy" attacks that aim to remain invisible to statistical monitors.
The Detection Framework: Testing for Homogeneity
The authors propose that a vigilant defender can employ a test of homogeneity to monitor reward sequences. The detector treats the rewards from each arm as a time-series and evaluates whether the samples appear to originate from the same distribution over the entire horizon.
Specifically, the detector uses a threshold $\beta$ to monitor for distribution shifts. If an attacker modifies rewards to steer the learner, the resulting shift in the mean or variance of the reward distribution will likely trigger the detector. Under this framework, a "stealthy attack" is formally defined as one where the probability of detection does not exceed the detector's natural false-positive rate ($\delta$). This constraint forces the adversary to limit the magnitude of their manipulations, creating a trade-off between the effectiveness of the attack and its visibility.
Methodology and Theoretical Analysis
The research evaluates the vulnerability of two widely used algorithms—UCB1 and $\epsilon$-greedy—against stealthy adversaries. To broaden the scope, the authors also introduce a theoretical framework for "Effective under Reward Randomness" (ERR) algorithms.
The "Luck of the Draw" Phenomenon
A central finding of the paper is that the success of a stealthy attack is highly dependent on the initial realization of rewards. In algorithms like UCB1, the learner's initial pulls set a baseline for exploration. If the first arm pulled happens to return a high reward due to natural variance, a stealthy attacker may find it impossible to lower that arm's perceived value enough to favor the target arm without crossing the detection threshold. This suggests that MAB vulnerability is not a static property of the algorithm alone, but a dynamic interaction between the algorithm, the environment, and the specific sequence of random events.
Experimental Results and Key Insights
Using simulated environments with independent Gaussian reward distributions, the authors compared their stealthy attack strategy against the established baseline by Jun et al. (2018). The experiments yielded several critical insights:
- Detection of Baseline Attacks: The proposed homogeneity test proved highly effective, catching traditional "loud" attacks with nearly 100% probability. This confirms that current MAB deployments are only vulnerable if they lack basic statistical monitoring.
- Phase Transition in Attackability: The data reveals a distinct "phase transition" regarding an attacker's success. If the initial reward gap between the best arm and the target arm is smaller than the detection threshold $\beta$, the stealthy attack can successfully trap the victim into pulling the target arm for a linear number of rounds ($T - o(T)$). If the gap is too large, the attack fails.
- Algorithmic Robustness: Contrary to previous assumptions that all MABs are easily exploitable, this study shows that under stealth constraints, certain bandit instances are naturally robust. However, for highly randomized algorithms, the authors prove that a stealthy attack is almost always theoretically possible.
Conclusion and Future Directions
This research shifts the focus of adversarial machine learning in MABs from pure exploitability to the more realistic constraint of stealth. By demonstrating that simple statistical tests can thwart aggressive attacks, the paper highlights the importance of defensive monitoring in online learning systems.
Future work remains to be done in developing recovery strategies—determining how a learner should adapt once an attack is detected. Additionally, while this study focused on UCB1 and $\epsilon$-greedy, extending the analysis to Bayesian approaches like Thompson Sampling could reveal whether different exploration strategies offer inherent protection against stealthy manipulation.
Summary updated