Challenges and Countermeasures for Adversarial Attacks on Deep Reinforcement Learning

Inaam Ilahi, Muhammad Usama, Junaid Qadir, Muhammad Umar Janjua, Ala I. Al-Fuqaha, Dinh Thai Hoang, Dusit NiyatoIEEE Trans. Artif. Intell 2020 · DOI

Abstract

Deep Reinforcement Learning (DRL) has numerous applications in the real world thanks to its outstanding ability in quickly adapting to the surrounding environments. Despite its great advantages, DRL is susceptible to adversarial attacks, which precludes its use in real-life critical systems and applications (e.g., smart grids, traffic controls, and autonomous vehicles) unless its vulnerabilities are addressed and mitigated. Thus, this paper provides a comprehensive survey that discusses emerging attacks in DRL-based systems and the potential countermeasures to defend against these attacks. We first cover some fundamental backgrounds about DRL and present emerging adversarial attacks on machine learning techniques. We then investigate more details of the vulnerabilities that the adversary can exploit to attack DRL along with the state-of-the-art countermeasures to prevent such attacks. Finally, we highlight open issues and research challenges for developing solutions to deal with attacks for DRL-based intelligent systems.

Introduction: The Fragility of Sequential Decision-Making

While Deep Learning has revolutionized computer vision and natural language processing, Deep Reinforcement Learning (DRL) introduces a unique layer of complexity: sequential decision-making. Unlike static models that classify a single input, a DRL agent interacts with an environment over time to maximize a cumulative reward. This interactive nature, while powerful, creates significant security gaps.

Most existing research focuses on adversarial examples in static classification (e.g., misidentifying a panda as a gibbon). However, in DRL, an attacker can manipulate the agent’s sensors, interfere with its actuators, corrupt its feedback signals, or even steal its underlying logic. Without addressing these vulnerabilities, DRL cannot be safely deployed in critical infrastructure like autonomous vehicles or smart grids.

A Taxonomy of DRL Vulnerabilities

To systematically address these threats, we propose a DRL-specific attack taxonomy based on which part of the Markov Decision Process (MDP) is targeted.

A comprehensive taxonomy of attacks on DRL, categorizing threats into Reward, Action, State, and Model spaces.
  1. State Space Attacks: These involve adding "noise" to observations—such as flickering pixels in a camera feed—to mislead the agent's perception of its environment.
  2. Action Space Attacks: Adversaries force the agent to take sub-optimal actions, often through "myopic" or "look-ahead" optimization strategies that disrupt the agent's policy.
  3. Reward Function Attacks: This involves poisoning the training process by "flipping" reward signals, effectively training the agent to believe that harmful behavior is beneficial.
  4. Model Space Attacks: These include "imitation learning" to extract a private DRL policy (model stealing) or injecting "Trojans" into the training data that remain dormant until triggered by a specific real-world event.

The Adversarial Process

Attacking a DRL agent is an iterative process. As shown in the figure below, an adversary must observe the current state, use an adversarial policy to find a disruptive action, craft a perturbation to induce that action, and then apply it to the input revealed to the target.

The iterative loop of an adversary attacking a target DQN agent in a Pong environment.

One of the most sophisticated strategies is the "Enchanting" Attack, where an adversary strategically lures the agent into a specific, dangerous "target state" through a sequence of subtle, timed perturbations rather than a single obvious error. This exploits the temporal consistency of DRL: because agents rely on the relationship between consecutive frames, attackers can time their interference to maximize long-term damage while remaining nearly invisible to human observers.

Key Results and Defense Strategies

Quantitative findings from current literature highlight the extreme fragility of undefended systems:

  • Multi-agent Fragility: In environments like StarCraft II, attacking a single agent can drop a team's win rate from 98.9% to 0%.
  • Attack Efficiency: "Strategically timed" attacks can degrade performance to near-zero by perturbing only 25% of input frames.

Countermeasures range from Adversarial Training (incorporating malicious examples into the training set) to Game-Theoretic Approaches that model the agent and attacker as players in a minimax game. However, a significant trade-off exists: defenses often improve robustness at the cost of peak performance in clean, non-adversarial environments.

Future Research Directions

Several "open frontiers" remain for the research community. First is the need for Universal Robustness; current defenses are often specialized for one attack type (e.g., pixel noise) and fail against others (e.g., reward flipping). Second, Explainable DRL (XRL) is crucial for identifying why an agent failed and patching those specific vulnerabilities. Finally, the field lacks standardized metrics; we propose the adoption of "Adversarial Regret"—the difference between the reward of a clean agent and a perturbed one—as a benchmark for resilience across different environments like Atari, MuJoCo, and TORCS.

Summary updated

BibTeX
@article{ilahi2020challenges,
  author = {Inaam Ilahi and Muhammad Usama and Junaid Qadir and Muhammad Umar Janjua and Ala I. Al-Fuqaha and Dinh Thai Hoang and Dusit Niyato},
  title = {{Challenges and Countermeasures for Adversarial Attacks on Deep Reinforcement Learning}},
  journal = {IEEE Trans. Artif. Intell},
  year = {2020},
  doi = {10.1109/tai.2021.3111139},
}
Figure