Skip to main content
QUICK REVIEW

[Paper Review] Detecting Adversarial Attacks on Neural Network Policies with Visual Foresight

Yen-Chen Lin, Ming-Yu Liu|arXiv (Cornell University)|Oct 2, 2017
Adversarial Robustness in Machine LearningComputer Science41 references34 citations
TL;DR

This paper proposes a defense mechanism that detects adversarial attacks on deep reinforcement learning policies by comparing action distributions from observed and predicted frames using an action-conditioned frame prediction model. The method achieves robust detection and maintains performance under attack by switching to predictions when adversarial inputs are detected, outperforming baselines in Atari 2600 environments.

ABSTRACT

Deep reinforcement learning has shown promising results in learning control policies for complex sequential decision-making tasks. However, these neural network-based policies are known to be vulnerable to adversarial examples. This vulnerability poses a potentially serious threat to safety-critical systems such as autonomous vehicles. In this paper, we propose a defense mechanism to defend reinforcement learning agents from adversarial attacks by leveraging an action-conditioned frame prediction module. Our core idea is that the adversarial examples targeting at a neural network-based policy are not effective for the frame prediction model. By comparing the action distribution produced by a policy from processing the current observed frame to the action distribution produced by the same policy from processing the predicted frame from the action-conditioned frame prediction module, we can detect the presence of adversarial examples. Beyond detecting the presence of adversarial examples, our method allows the agent to continue performing the task using the predicted frame when the agent is under attack. We evaluate the performance of our algorithm using five games in Atari 2600. Our results demonstrate that the proposed defense mechanism achieves favorable performance against baseline algorithms in detecting adversarial examples and in earning rewards when the agents are under attack.

Motivation & Objective

  • To address the vulnerability of DNN-based reinforcement learning policies to adversarial examples in safety-critical applications like autonomous driving.
  • To develop a defense mechanism that detects adversarial inputs in sequential decision-making tasks using temporal coherence and action-conditioned frame prediction.
  • To enable agents to continue performing tasks under attack by providing action suggestions based on predicted frames rather than corrupted observations.
  • To create a model-agnostic defense that does not require adversarial examples during training and is effective across diverse DNN-based policies.

Proposed method

  • Train an action-conditioned frame prediction model (visual foresight module) to predict the current frame from past frames and actions.
  • Use the predicted frame as input to the same policy and compare its action distribution with that from the observed frame.
  • Detect adversarial attacks when the action distributions from observed and predicted frames diverge significantly.
  • Switch from using the observed frame to the predicted frame when adversarial detection is triggered, allowing the agent to continue acting.
  • Leverage temporal coherence across multiple frames and actions to improve detection robustness against single-frame adversarial perturbations.
  • Use mean squared error (MSE) of frame predictions as a proxy for model accuracy, which correlates with detection performance.

Experimental results

Research questions

  • RQ1Can temporal coherence and action-conditioned frame prediction be used to detect adversarial examples in DRL policies?
  • RQ2How does the accuracy of the frame prediction model affect the detection performance of adversarial examples?
  • RQ3Can the agent maintain task performance under continuous adversarial attacks by relying on predicted frames?
  • RQ4How does the proposed method compare to existing image classification-based adversarial detection methods in sequential decision-making settings?
  • RQ5Is the defense effective against adaptive adversaries who are aware of the detection mechanism?

Key findings

  • The proposed defense achieves higher mean Average Precision (mAP) in detecting adversarial examples compared to strong baseline detectors in image classification.
  • Detection performance strongly correlates with frame prediction accuracy, as shown by improved mAP with lower MSE in frame prediction models.
  • In Atari 2600 environments, the agent maintained high reward performance even when a large proportion of time steps were under attack, by switching to predicted frames.
  • The method is effective even when previous frames are potentially corrupted, due to the frame prediction model's resilience to adversarial perturbations not targeting it.
  • The defense is model-agnostic and does not require adversarial examples during training, making it broadly applicable to various DNN-based policies.
  • Integration with existing defenses like adversarial training or defensive distillation is feasible and potentially synergistic due to orthogonal use of temporal information.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.