Security of Deep Reinforcement Learning for Autonomous Driving: A Survey

Ambra Demontis, Srishti Gupta, Maura Pintor, Luca Demetrio, Kathrin Grosse, Hsiao-Ying Lin, Chengfang Fang, Battista Biggio, Fabio Roli

This survey paper provides a comprehensive look at the security landscape of Deep Reinforcement Learning (DRL) within the high-stakes domain of autonomous driving (AD). By analyzing 86 recent studies, the authors establish a unified threat model that categorizes how attackers can subvert driving policies and how engineers can build more resilient systems.

TL;DR

The paper systematically maps the vulnerabilities of reinforcement learning agents in autonomous vehicles, providing a taxonomy of attacks and defenses across single- and multi-agent settings. It highlights a critical gap between successful simulator-based attacks and the practical, real-world security measures needed for safe deployment on actual roads.

What Problem Does This Paper Address?

Reinforcement Learning (RL) is increasingly used for complex autonomous driving tasks like path planning and high-level decision-making. However, RL agents are notoriously "brittle" and susceptible to adversarial attacks that can induce crashes or traffic disruptions.

While the field of adversarial machine learning is mature for static classifiers (like image recognizers), RL introduces unique challenges: it is sequential, interactive, and often involves multiple agents. Existing literature was fragmented, often focusing only on specific attacks without providing a clear roadmap for defense. This paper addresses the need for a structured, application-specific framework that helps system designers understand which threats are relevant to autonomous driving and which protections are most effective.

Methods

The authors propose a unified threat model based on four key dimensions:

  1. Attacker Goal: Categorized into Integrity (causing unintended actions), Availability (denial of service/learning), and Privacy (stealing the model or data).
  2. Attacker Knowledge: Ranging from White-box (full access to model weights) to Black-box (only observing inputs/outputs).
  3. Attacker Capabilities: Distinguishing between Training-time (poisoning data/rewards) and Test-time (perturbing sensor inputs during operation).
  4. Attacker Action: Whether the attacker monitors ($m(x)$) or actively changes ($c(x)$) system components like observations, rewards, or actions.

The paper maps these RL-specific threats onto the standard autonomous driving pipeline—Perception, Planning, and Control—as illustrated in Figure 1.

![Fig.

  1. Major Components of Autonomous Driving Systems.](/figures/art_51c685247bf345c0a050c3d93e5fb23d)

Datasets

As a survey, this paper does not introduce a new dataset but reviews studies that utilize various simulation environments common in the RL and AD communities, such as:

  • CARLA and SUMO: For high-fidelity traffic and urban driving simulations.
  • MuJoCo and Atari: For fundamental RL security benchmarking.
  • Custom Simulators: Many reviewed papers use bespoke environments for specific tasks like lane-keeping or intersection crossing.

The authors explicitly note a significant limitation in the field: the vast majority of research relies on simulators, with almost no testing performed on real physical vehicles due to cost and safety concerns.

Key Insights and Ideas

  • The Sequential Challenge: Unlike standard ML attacks, RL attacks often need to be "sequential." An attacker must predict future states to effectively lure an agent into a dangerous situation over multiple time steps.
  • Multi-Agent Complexity: In autonomous driving, vehicles rarely act alone. The survey highlights that in Multi-Agent RL (MARL), an attacker can use a "malicious agent" to influence the victim's environment indirectly, making the attack harder to detect.
  • Backdoors in the Wild: One of the most concerning threats is the "Backdoor Poisoning Attack." An agent might behave perfectly in 99% of cases but act unpredictably when it encounters a specific trigger, such as a yellow sticker on a stop sign.
  • Defense Trade-offs: The authors categorize defenses into Proactive (e.g., adversarial training), Reactive (e.g., anomaly detection), and Hybrid. They note that while adversarial training is popular, it often incurs high computational overhead during the training phase.

The following table from the paper summarizes the different objectives an attacker might have depending on their access to data:

Table II. The objectives of state-of-the-art attacks against RL.

Key Results

  • Taxonomy of 86 Studies: The paper provides a definitive categorization of the current state of the art, identifying which RL models (on-policy, off-policy, model-based) are most vulnerable to specific attack types.
  • Identification of "Enchanting" Attacks: The survey highlights specific test-time integrity attacks, like the "Enchanting Attack," which lures a DRL agent to a pre-determined malicious target state using generative models.
  • Defense Mapping: It provides a guide for practitioners to select defenses (like sanitization or game-theoretic optimization) based on their specific threat model.

Limitations and Future Work

The authors identify several critical "open frontiers":

  • Real-World Feasibility: There is a lack of research on the computational costs of generating adversarial perturbations in real-time on vehicle hardware.
  • Privacy Vulnerabilities: Attacks like "model stealing" (extracting a proprietary driving policy) and "membership inference" (determining if specific data was used for training) are significantly underexplored in RL compared to standard ML.
  • Sponge Attacks: A new category of "availability" attacks that aim to slow down system response times—critical in a split-second driving environment—has yet to be thoroughly tested against RL agents.
  • Standardization: Future work must align RL security with industrial safety standards like ISO 26262 to move from academic proofs-of-concept to certified automotive components.

Summary updated

Abstract

Reinforcement learning (RL) enables agents to learn optimal behaviors through interaction with their environment and has been increasingly deployed in safety-critical applications, including autonomous driving. Despite its promise, RL is susceptible to attacks designed either to compromise policy learning or to induce erroneous decisions by trained agents. Although the literature on RL security has grown rapidly and several surveys exist, existing categorizations often fall short in guiding the selection of appropriate defenses for specific systems. In this work, we present a comprehensive survey of 86 recent studies on RL security, addressing these limitations by systematically categorizing attacks and defenses according to defined threat models and single- versus multi-agent settings. Furthermore, we examine the relevance and applicability of state-of-the-art attacks and defense mechanisms within the context of autonomous driving, providing insights to inform the design of robust RL systems.
BibTeX
@misc{demontis2022security,
  author = {Ambra Demontis and Srishti Gupta and Maura Pintor and Luca Demetrio and Kathrin Grosse and Hsiao-Ying Lin and Chengfang Fang and Battista Biggio and Fabio Roli},
  title = {{Security of Deep Reinforcement Learning for Autonomous Driving: A Survey}},
  year = {2022},
  eprint = {2212.06123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.06123},
}
Figure