Minimalistic Attacks: How Little it Takes to Fool a Deep Reinforcement Learning Policy

Xinghua Qu, Zhu Sun, Yew-Soon Ong, Pengfei Wei, Abhishek Gupta

Introduction

Deep Reinforcement Learning (DRL) has demonstrated impressive capabilities in complex environments, yet its robustness remains a critical concern. This paper demonstrates that DRL policies are startlingly fragile: they can be completely subverted by changing as little as a single pixel (0.01% of the input) in just 1% of the video frames. By moving away from unrealistic "white-box" assumptions, the authors show that highly effective, stealthy attacks are possible even when the attacker knows nothing about the model's internal architecture.

The Minimalistic Threat Model

Most research into adversarial attacks on DRL assumes a "white-box" scenario, where the attacker has full access to the model’s weights and architecture to calculate gradients. They also often assume "full-state" perturbations, meaning the attacker can change every pixel in every frame.

The authors argue these assumptions are too optimistic from a security standpoint. In the real world, an attacker likely only has "black-box" access (observing inputs and outputs) and wants to remain undetected. This paper explores the limits of minimalistic attacks: how little information and how few changes are actually required to cause a state-of-the-art RL agent to fail?

The standard DRL policy network setup mapping state input $s_t$ to action output $a_t$, which the attacker treats as a black box.

Methodology

The authors propose a framework based on three restrictive, realistic settings:

  1. Black-box Policy Access (BPA): The attacker treats the agent as an oracle, only seeing the input state and the resulting action probabilities. They do not require knowledge of the neural network's weights.
  2. Fractional-State Adversary (FSA): Instead of blurring the whole image, the attacker only perturbs a tiny fraction of pixels. They use a Genetic Algorithm (GA) to find the optimal coordinates and color values for these few pixels to maximize the discrepancy in the agent's predicted actions.
  3. Tactically-Chanced Attack (TCA): Instead of attacking every frame, the attacker only strikes "salient" frames. They use Shannon entropy to measure the agent's confidence; frames where the agent is highly confident (low entropy) are targeted, as disrupting these has a higher impact on the total reward.

Experimental Results

The researchers evaluated their attacks on six classic Atari 2600 games (Pong, Breakout, Space Invaders, Seaquest, Qbert, and Beam Rider) against four state-of-the-art DRL algorithms: DQN, PPO, A2C, and ACKTR.

Comparison of agent behavior between an original state and a perturbed state, showing how a single pixel flips the dominant action from 'RIGHT' to 'LEFT'.

Key Insights

  • The 1-Pixel Threat: In games like Breakout, changing just one pixel (0.01% of the state) can flip an agent's decision from 'Move Right' to 'Move Left,' leading to a missed ball and a lost life.
  • Stealth and Impact: The DQN policy in Breakout was totally defeated by attacking only 1% of the total frames in an episode. In Qbert, the accumulated reward for a DQN-trained policy dropped from 10,000 to 0 by perturbing only two pixels.
  • Efficiency via "Warm Starting": Using the adversarial pixel location from the previous frame as a starting point for the Genetic Algorithm (GA-WSI) drastically speeds up the attack, making real-time, on-the-fly adversarial generation a plausible threat.
  • Performance ≠ Robustness: An agent that achieves a higher score in a clean environment isn't necessarily more robust; in many cases, the "better" agents crashed harder and faster under minimalistic attacks than their lower-scoring counterparts.

Discussion and Future Work

The fragility of DRL agents suggests they rely on very specific, easily disrupted visual cues rather than a deep understanding of the environment. While the attack is "black-box," it still requires the ability to query the policy multiple times to run the Genetic Algorithm. Future work should focus on developing even more efficient initialization schemes to exploit temporal correlations and designing more robust DRL training methods that can withstand these minimalistic, high-leverage perturbations.

Summary updated

BibTeX
@article{qu2021minimalistic,
  author = {Xinghua Qu and Zhu Sun and Yew-Soon Ong and Pengfei Wei and Abhishek Gupta},
  title = {{Minimalistic Attacks: How Little it Takes to Fool a Deep Reinforcement Learning Policy}},
  journal = {IEEE Trans. Cogn. Dev. Syst.},
  year = {2021},
  doi = {10.1109/tcds.2020.2974509},
}
Figure