Illusory Attacks: Detectability Matters in Adversarial Attacks on Sequential Decision-Makers

Tim Franzmeyer, Stephen Marcus McAleer, Joao F. Henriques, Jakob Nicolaus Foerster, Philip Torr, Adel Bibi, Christian Schroeder de Witt

TL;DR

This paper introduces "illusory attacks," a new class of adversarial attacks on sequential decision-making agents that are designed to be temporally consistent and thus harder to detect. Unlike previous attacks that often create noticeable anomalies, illusory attacks aim to mimic the natural dynamics of the environment, making them statistically undetectable by both automated systems and humans, which is crucial for real-world AI safety.

What Problem Does This Paper Address?

Autonomous agents, like self-driving cars or robots, are increasingly relying on deep learning models that are vulnerable to adversarial attacks. These attacks can manipulate sensory inputs (e.g., camera feeds) to trick the agent into making incorrect decisions, potentially leading to dangerous situations. Existing adversarial attacks often achieve their goal by introducing perturbations that, while effective, create noticeable temporal inconsistencies in the agent's observations. This "detectability" is a weakness because it can alert the agent or a monitoring system, triggering security measures or evasive actions by the attacker. The authors argue that for AI systems operating in mixed-autonomy environments (where humans and AI interact), undetectability should be a primary concern for adversarial attacks, as it directly impacts the attacker's ability to operate covertly and avoid detection.

Methods

The paper introduces two main types of illusory attacks:

  • Perfect Illusory Attacks: These are theoretically designed to be statistically undetectable. They achieve this by ensuring that the sequence of observations generated by the attacked system is indistinguishable from the observations of a normal, unattacked system, even with unlimited data. This is achieved by carefully crafting the adversary's policy to align with the environment's underlying state-transition dynamics.
  • R-illusory Attacks: These are a more practical, learned relaxation of perfect illusory attacks. They aim to preserve temporal consistency to a significant degree, making them much harder to detect than existing methods, while still being learnable end-to-end using gradient-based optimization. This is achieved by formulating the attack as a trade-off between minimizing the victim's reward and maintaining observation consistency, using a Lagrangian relaxation.

The authors also propose an automated detector based on a learned world model of the environment's state-transition function, which they use to evaluate the detectability of various attacks.

Datasets

The experiments were conducted on four standard benchmark environments: CartPole, Pendulum, Hopper, and HalfCheetah. These environments are commonly used for evaluating reinforcement learning agents and their robustness. No new datasets were introduced.

Key Insights and Ideas

  • Temporal Consistency is Key to Undetectability: The core insight is that adversarial attacks that violate the natural temporal dynamics of an environment are inherently detectable. By mimicking these dynamics, attacks can become "illusory" and evade detection.
  • Detectability is a Critical Security Feature: The paper highlights that the ability to detect an attack is a crucial defense mechanism. If an attack is detected, the system can take countermeasures, rendering the attack ineffective.
  • Trade-off Between Performance and Undetectability: R-illusory attacks demonstrate that there's a trade-off. While perfect illusory attacks might not degrade performance as much, they are not always constructible. R-illusory attacks offer a practical way to balance attack effectiveness with undetectability.
  • Human Detectors are Also Limited: The study with human subjects shows that even humans struggle to distinguish R-illusory attacks from normal behavior, suggesting that these attacks are effective against both automated and human inspection.

Key Results

  • Existing Attacks are Detectable: The paper shows that state-of-the-art attacks like MNP and SA-MDP are highly detectable by both automated detectors and human observers, with detection rates close to 100% for automated detectors.
  • R-illusory Attacks are Significantly Harder to Detect: Empirically, R-illusory attacks were found to be significantly harder to detect, with automated detectors classifying them as attacked with very low probability.
  • Human Subjects Struggle with R-illusory Attacks: A small study with human participants indicated that they were unable to reliably distinguish R-illusory attacks from unattacked sequences, with detection rates comparable to unattacked sequences.
  • Detection-Adjusted Scores: When adversary scores were adjusted to account for detection rates, R-illusory attacks showed significantly higher scores (indicating better performance for the attacker) compared to existing attacks, which were effectively neutralized by detection.

Limitations and Future Work

  • Simulated Environments: The current evaluation is limited to simulated environments. Future work should explore the viability of illusory attacks and defense strategies in more complex, real-world domains.
  • Contingency Options: The paper assumes that victim agents have access to contingency options (like emergency shutdowns) when an attack is detected. This assumption might not always hold true in real-world scenarios.
  • Theoretical Analysis: While the paper introduces theoretical concepts like perfect illusory attacks, further theoretical analysis of the Nash equilibria in the proposed game framework is needed.
  • Human Perception: A deeper understanding of human capabilities in perceiving and identifying adversarial attacks is suggested as a future research direction.
  • Robustification Techniques: Developing more effective detection mechanisms and robustification techniques applicable to real-world mixed-autonomy systems is a key area for future work.

Summary updated

BibTeX
@inproceedings{franzmeyer2023illusory,
  author = {Tim Franzmeyer and Stephen Marcus McAleer and Joao F. Henriques and Jakob Nicolaus Foerster and Philip Torr and Adel Bibi and Christian Schroeder de Witt},
  title = {{Illusory Attacks: Detectability Matters in Adversarial Attacks on Sequential Decision-Makers}},
  booktitle = {AdvML-Frontiers @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=8kQBjQ6Dol},
}
Figure