Skip to main content
QUICK REVIEW

[Paper Review] Near Optimal Adversarial Attacks on Stochastic Bandits and Defenses with Smoothed Responses

Shiliang Zuo|arXiv (Cornell University)|Aug 21, 2020
Advanced Bandit Algorithms ResearchDecision Sciences5 references12 citations
TL;DR

This paper proposes a near-optimal adversarial attack strategy against the Upper Confidence Bound (UCB) algorithm in stochastic multi-arm bandits, where an adversary corrupts rewards to force the learner to select a target arm T−o(T) times. The attack achieves a cumulative cost of Õ(√log T), matching the first proven lower bound up to log log T factors, demonstrating near-optimality in manipulating UCB with minimal corruption.

ABSTRACT

I study adversarial attacks against stochastic bandit algorithms. At each round, the learner chooses an arm, and a stochastic reward is generated. The adversary strategically adds corruption to the reward, and the learner is only able to observe the corrupted reward at each round. Two sets of results are presented in this paper. The first set studies the optimal attack strategies for the adversary. The adversary has a target arm he wishes to promote, and his goal is to manipulate the learner into choosing this target arm $T - o(T)$ times. I design attack strategies against UCB and Thompson Sampling that only spend $\widehat{O}(\sqrt{\log T})$ cost. Matching lower bounds are presented, and the vulnerability of UCB, Thompson sampling, and $\varepsilon$-greedy are exactly characterized. The second set studies how the learner can defend against the adversary. Inspired by literature on smoothed analysis and behavioral economics, I present two simple algorithms that achieve a competitive ratio arbitrarily close to 1.

Motivation & Objective

  • To investigate the vulnerability of the UCB algorithm to adversarial attacks in stochastic multi-arm bandit settings.
  • To design a novel attack strategy that minimizes cumulative corruption while forcing the learner to select a non-optimal target arm almost all T rounds.
  • To establish the first theoretical lower bound on the cumulative attack cost in this setting.
  • To demonstrate that the proposed attack is near-optimal by matching the lower bound up to O(log log T) factors.
  • To validate the theoretical findings through numerical experiments comparing with prior work [4].

Proposed method

  • The adversary observes the learner’s chosen arm and the true reward before injecting a strategic corruption αₜ to the reward rₜ⁰.
  • The attack strategy manipulates the UCB confidence bounds by carefully controlling the magnitude and sign of αₜ to favor the target arm.
  • The attack ensures that the estimated mean of the target arm remains high relative to non-target arms, even when the true mean is lower.
  • The method leverages concentration inequalities and properties of UCB’s confidence interval width to maintain dominance of the target arm.
  • A novel analysis framework is developed to bound the number of pulls of non-target arms, showing they are pulled at most o(T) times.
  • Theoretical lower bound is derived using a contradiction argument based on the UCB sampling rule and the requirement to mislead the learner.

Experimental results

Research questions

  • RQ1What is the minimal cumulative attack cost required to force the UCB algorithm to select a non-optimal target arm T−o(T) times?
  • RQ2Can a more efficient attack strategy be designed that reduces the attack cost compared to prior work [4]?
  • RQ3Is the proposed attack cost near-optimal, or can it be further improved?
  • RQ4How does the attack performance vary with reward variance σ² and mean gap Δ between arms?
  • RQ5Can a theoretical lower bound be established that matches the upper bound of the attack cost?

Key findings

  • The proposed attack achieves a cumulative corruption cost of Õ(Kσ√log T + ∑ₐ≠ₖ Δₐ⁺), which improves upon the O(log T) cost in [4] by a √log T factor.
  • The attack successfully manipulates the UCB learner to select the target arm in T−o(T) rounds with high probability.
  • The first theoretical lower bound on the cumulative attack cost is established, matching the upper bound up to O(log log T) factors.
  • Numerical experiments confirm the theoretical results, showing the non-target arm is pulled only once (out of 10⁶ rounds), validating near-optimality.
  • The attack cost is significantly lower than [4]’s method: for μ=2, σ=0.1, the cost drops from 247.3 to 3.6, demonstrating a 68x improvement.
  • The results suggest UCB is highly vulnerable to adversarial manipulation compared to randomized alternatives like ε-greedy, which are more robust.

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.