Who Is the Strongest Enemy? Towards Optimal and Efficient Evasion Attacks in Deep RL

Yanchao Sun, Ruijie Zheng, Yongyuan Liang, Furong Huang
6/9/2021
cs.LGcs.CR
rl

Official code: umd-huang-lab/paad_adv_rl (10 stars, Python, last commit 2024-08-31).

Abstract

Evaluating the worst-case performance of a reinforcement learning (RL) agent under the strongest/optimal adversarial perturbations on state observations (within some constraints) is crucial for understanding the robustness of RL agents. However, finding the optimal adversary is challenging, in terms of both whether we can find the optimal attack and how efficiently we can find it.

Show full abstract

Existing works on adversarial RL either use heuristics-based methods that may not find the strongest adversary, or directly train an RL-based adversary by treating the agent as a part of the environment, which can find the optimal adversary but may become intractable in a large state space. This paper introduces a novel attacking method to find the optimal attacks through collaboration between a designed function named "actor" and an RL-based learner named "director". The actor crafts state perturbations for a given policy perturbation direction, and the director learns to propose the best policy perturbation directions. Our proposed algorithm, PA-AD, is theoretically optimal and significantly more efficient than prior RL-based works in environments with large state spaces. Empirical results show that our proposed PA-AD universally outperforms state-of-the-art attacking methods in various Atari and MuJoCo environments. By applying PA-AD to adversarial training, we achieve state-of-the-art empirical robustness in multiple tasks under strong adversaries. The codebase is released at https://github.com/umd-huang-lab/paad_adv_rl.

View on arXivView PDF

Code Implementations(1)

Code for ICLR 2022 publication: Who Is the Strongest Enemy? Towards Optimal and Efficient Evasion Attacks in Deep RL. https://openreview.net/forum?id=JM2kFbJvvI

102Python, ShellApr 17, 20222 years ago

Similar Papers

Cite this paper

@article{sun2021strongest,
  title  = {Who Is the Strongest Enemy? Towards Optimal and Efficient Evasion Attacks in Deep RL},
  author = {Yanchao Sun and Ruijie Zheng and Yongyuan Liang and Furong Huang},
  year   = {2021},
  eprint = {2106.05087},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.05087}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.05087.svg)](https://codeofpaper.com/paper/2106.05087)

Discussion