Robust Deep Reinforcement Learning Through Adversarial Attacks and Training : A Survey

Lucas Schott, Joséphine Delas, Hatem Hajri, Elies Gherbi, Reda Yaich, Nora Boulahia-Cuppens, Frédéric Cuppens, Sylvain LamprierarXiv 2024 · DOI

Abstract

Deep Reinforcement Learning (DRL) has achieved superhuman performance in various domains, yet these models remain notoriously brittle to adversarial perturbations. This survey provides a comprehensive unified framework and taxonomy for adversarial attacks and training in DRL. By categorizing how attackers manipulate observations and environment dynamics, we offer a roadmap for building robust agents capable of surviving the "reality gap" between simulation and real-world deployment.

Introduction: The Vulnerability of Sequential Decision Making

While the security community has extensively studied adversarial attacks on static data, DRL presents unique challenges due to its sequential nature. An attack at a single time step affects the entire future trajectory of the agent. This "reality gap"—the discrepancy between controlled simulations and stochastic real-world environments—often leads to catastrophic failures when agents encounter minor sensor noise or physical parameter changes.

The standard Reinforcement Learning loop highlighting potential points of adversarial intervention.

As illustrated in the standard RL loop, vulnerabilities exist at multiple interaction points: observations (1), actions (2), transitions (3), and rewards (4). This paper addresses the lack of a unified classification system for these vulnerabilities, providing a formal language to describe adversarial RL.

A Unified Taxonomy of Adversarial Attacks

The core contribution of this survey is a multi-dimensional taxonomy that organizes adversarial methods based on their alteration type, objective, and perturbation target.

Taxonomy of adversarial attacks in DRL categorized by alteration type, objective, and perturbation.

1. Alteration Type

  • Observation Alterations: These involve spoofing or adding noise to the agent's sensors (e.g., pixel-level perturbations on camera feeds).
  • Dynamics Alterations: These modify the "physics" of the environment, such as changing the transition function $T$ so that actions yield unexpected outcomes.

2. Adversarial Objectives

  • Short-term Divergence: Forcing the agent into an immediate, non-optimal decision.
  • Long-term Reward Minimization: Strategically nudging the agent toward a failure state over multiple steps.

Training Paradigms for Robustness

Adversarial training is formalized as a min-max optimization problem. The survey evaluates several training strategies:

  • Fixed Training: Training against a static, pre-defined attacker.
  • Continuous Training: Co-evolution of the agent and attacker, similar to Generative Adversarial Networks (GANs).
  • Alternate Training (ATLA): Alternating updates between the agent and attacker to maintain mathematical stability and prevent training collapse.

Key Insights and Results

The synthesis of existing literature reveals several critical findings:

  • The "Blinding" vs. "Tripping" Distinction: Defending against observation attacks (blinding) does not inherently protect against dynamics attacks (tripping).
  • Sequential Vulnerability: Attackers can exploit the history of a trajectory; small early perturbations can lead to unrecoverable states.
  • The Robustness-Performance Trade-off: Increasing robustness to extreme adversarial conditions often results in a slight degradation of peak performance in benign environments.
  • Effectiveness of Adversarial Training: Simply adding random noise is insufficient; agents must face malicious opponents during training to achieve true generalization.

Future Directions

The field faces several open challenges, including the non-stationarity of simultaneous training and the need for better explainability (XRL) to understand why certain agents are robust. Furthermore, there is a significant tooling gap; while libraries exist for supervised learning attacks, the DRL community lacks unified, "plug-and-play" adversarial training frameworks. Future work should also explore human-in-the-loop (RLHF) methods to define safety and the potential of Large Language Models (LLMs) to generate sophisticated semantic attacks.

Summary updated

BibTeX
@misc{schott2024robust,
  author = {Lucas Schott and Joséphine Delas and Hatem Hajri and Elies Gherbi and Reda Yaich and Nora Boulahia-Cuppens and Frédéric Cuppens and Sylvain Lamprier},
  title = {{Robust Deep Reinforcement Learning Through Adversarial Attacks and Training : A Survey}},
  year = {2024},
  eprint = {2403.00420},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.00420},
}
Figure