Skip to main content
QUICK REVIEW

[Paper Review] Data Poisoning Attacks on Stochastic Bandits

Fang Liu, Ness B. Shroff|arXiv (Cornell University)|May 16, 2019
Advanced Bandit Algorithms ResearchDecision Sciences30 citations
TL;DR

This paper proposes a novel framework for data poisoning attacks on stochastic multi-armed bandits, introducing both offline and online attack strategies. It demonstrates that attackers can force bandit algorithms to select a target arm with high probability using minimal reward manipulation—achieving linear regret for the victim at only logarithmic cost to the attacker, even without prior knowledge of the bandit algorithm.

ABSTRACT

Stochastic multi-armed bandits form a class of online learning problems that have important applications in online recommendation systems, adaptive medical treatment, and many others. Even though potential attacks against these learning algorithms may hijack their behavior, causing catastrophic loss in real-world applications, little is known about adversarial attacks on bandit algorithms. In this paper, we propose a framework of offline attacks on bandit algorithms and study convex optimization based attacks on several popular bandit algorithms. We show that the attacker can force the bandit algorithm to pull a target arm with high probability by a slight manipulation of the rewards in the data. Then we study a form of online attacks on bandit algorithms and propose an adaptive attack strategy against any bandit algorithm without the knowledge of the bandit algorithm. Our adaptive attack strategy can hijack the behavior of the bandit algorithm to suffer a linear regret with only a logarithmic cost to the attacker. Our results demonstrate a significant security threat to stochastic bandits.

Motivation & Objective

  • To address the critical gap in understanding adversarial attacks on stochastic bandit algorithms, which are widely used in real-world applications like recommendation systems and medical treatment.
  • To develop an offline attack framework that manipulates historical reward data to force bandit algorithms to favor a target arm.
  • To design an online adaptive attack strategy that works against any bandit algorithm without requiring knowledge of the victim’s algorithm.
  • To evaluate the effectiveness and cost-efficiency of these attacks through theoretical analysis and numerical experiments.

Proposed method

  • Formulates offline attacks as convex optimization problems to determine minimal reward perturbations that force the bandit algorithm to select a target arm with high probability.
  • Applies the optimization framework to three popular bandit algorithms: ε-greedy, UCB, and Thompson Sampling, deriving algorithm-specific attack strategies.
  • Proposes an adaptive, universal online attack strategy (ACE) that observes bandit decisions in real time and manipulates feedback rewards to mislead the algorithm.
  • Uses the poisoning effort ratio as a metric to quantify attack cost: $ \frac{||\vec{\epsilon}||_{2}}{||\vec{y}||_{2}} $, measuring the relative magnitude of perturbations.
  • Employs a time-horizon-dependent attack cost model, showing that ACE maintains $ O(\log T) $ cost even as $ T \to \infty $, while inducing linear regret.
  • Validates the attack strategies via simulations across multiple bandit algorithms and reward distributions, using $ \delta = 0.05 $ as the error tolerance for success.

Experimental results

Research questions

  • RQ1Can data poisoning attacks be effectively formulated as convex optimization problems in the offline setting to manipulate bandit learning behavior?
  • RQ2How effective are algorithm-specific offline attacks on ε-greedy, UCB, and Thompson Sampling in forcing selection of a target arm?
  • RQ3Can a universal online attack strategy be designed that works against any bandit algorithm without prior knowledge of its internal mechanism?
  • RQ4What is the trade-off between attack cost and the resulting regret for the victim bandit algorithm in online settings?
  • RQ5How does the attack cost scale with the reward gap $ \Delta $ and time horizon $ T $ in online attacks?

Key findings

  • The offline attack framework successfully forces ε-greedy, UCB, and Thompson Sampling to select the target arm with probability at least $ 1 - \delta $, using only small perturbations.
  • The poisoning effort ratio for ε-greedy, UCB, and Thompson Sampling attacks is less than 10%, 2%, and 5% respectively, indicating low-cost manipulation.
  • The proposed ACE attack strategy induces linear regret in the victim bandit algorithm while maintaining an attack cost of $ O(\log T) $, even without knowledge of the victim’s algorithm.
  • In online attacks, ACE dramatically increases target arm pulls over time—especially when $ \Delta = 1 $, confirming the theoretical linear regret outcome.
  • The ACE attack cost is higher than algorithm-specific attacks on UCB but remains effective universally, offering a trade-off between generality and efficiency.
  • Thompson Sampling and ε-greedy show lower attack costs than UCB due to faster convergence to the optimal arm, making them more sensitive to reward manipulation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.