Characterizing Attacks on Deep Reinforcement Learning

Chaowei Xiao, Xinlei Pan, Warren He, Jian Peng, Mingjie Sun, Jinfeng Yi, Mingyan Liu, Bo Li, Dawn SongarXiv 2019

Introduction

Deep Reinforcement Learning (DRL) has demonstrated remarkable capabilities in complex domains ranging from strategic games to autonomous robotics. However, its susceptibility to adversarial perturbations remains a significant barrier to safe deployment. While previous research has largely focused on white-box scenarios or computationally intensive digital noise, this work expands the understanding of DRL vulnerabilities by introducing efficient black-box attacks targeting both agent observations and environment dynamics. Crucially, the study presents the first successful physical-world adversarial attack on a DRL-powered robot using printed patches, moving beyond theoretical simulations to real-world safety concerns.

Overview of potential vulnerabilities in Deep Reinforcement Learning, including observation, sequential, environment, and physical attacks.

Methodology

The authors propose a suite of realistic and efficient attack vectors designed for black-box settings where the attacker has limited queries and no knowledge of the model's internal parameters.

Adaptive Sampling Finite Difference (SFD)

Traditional black-box attacks estimate gradients by perturbing every pixel, a process that is prohibitively slow for real-time applications. SFD leverages the sparsity of features in DRL observations. By sampling a subset of pixels and adaptively focusing on neighbors of high-gradient areas, SFD drastically reduces the query count required to find effective perturbations.

Online Sequential Attacks

Recognizing the temporal consistency of video frames in DRL, the authors developed sequential attacks. Instead of re-calculating perturbations for every frame, a single perturbation is generated based on a window of "important" frames—identified by high Q-value variance—and applied across subsequent frames, enabling real-time disruption.

Environment Dynamics Attacks (env-search-bb)

This novel approach shifts the focus from pixel-level noise to the physics of the environment. Using a separate RL agent to search for worst-case parameters, the attack identifies combinations of physical properties (e.g., mass, friction) that lead to catastrophic failure, such as causing a robot to lose balance or flip.

Physical Adversarial Patches

To bridge the "reality gap," the authors generated robust printed patches for an Anki Vector robot. These patches were optimized using a Transformation-Invariant method, ensuring effectiveness across varying lighting conditions, camera noise, and mounting angles.

Experimental Setup and Results

The proposed methods were evaluated across diverse benchmarks, including Atari games (Pong, Enduro), MuJoCo simulations (HalfCheetah, Hopper), the TORCS driving simulator, and a real-world Anki Vector robot.

Real-world physical attack setup on an Anki Vector robot, demonstrating the robustness of adversarial patches at various angles.

Key Findings

  • Efficiency: The SFD method achieved attack success comparable to standard methods while requiring only 1k–6k queries, a significant improvement over the ~14k queries needed for standard Finite Difference.
  • Real-time Viability: Sequential attacks proved effective in high-speed environments like TORCS, where previous black-box methods were too slow to be practical.
  • Physical Robustness: The adversarial patches achieved a 50-55% success rate in the real world, successfully causing the Anki Vector to fail its navigation task despite physical noise and varying perspectives.
  • Dynamics Vulnerability: The env-search-bb method consistently identified environment parameters leading to failure with much higher precision than random search, highlighting physics as a potent attack vector.

Conclusion

This research demonstrates that DRL agents are vulnerable to highly efficient and physically realizable attacks. By exploiting temporal correlations and environmental dynamics, attackers can compromise systems with minimal information and resources. These findings underscore the urgent need for defensive mechanisms, such as adversarial training specifically tailored to sequential and physical perturbations, to ensure the resilience of future autonomous systems.

Summary updated

BibTeX
@misc{xiao2019characterizing,
  author = {Chaowei Xiao and Xinlei Pan and Warren He and Jian Peng and Mingjie Sun and Jinfeng Yi and Mingyan Liu and Bo Li and Dawn Song},
  title = {{Characterizing Attacks on Deep Reinforcement Learning}},
  year = {2019},
  eprint = {1907.09470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.09470},
}
Figure