[Paper Review] Who Is the Strongest Enemy? Towards Optimal and Efficient Evasion Attacks in Deep RL
This paper proposes PA-AD, a novel collaborative framework that jointly optimizes policy perturbations and state-level adversarial attacks to find the strongest evasion adversary in deep reinforcement learning. By introducing a Policy Adversary MDP (PAMDP) and a director-actor architecture, PA-AD achieves theoretical optimality and significantly higher efficiency than prior RL-based methods, outperforming state-of-the-art attacks across Atari and MuJoCo environments while enabling state-of-the-art robustness via adversarial training.
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. 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.
Motivation & Objective
- To address the challenge of finding the strongest, optimal adversarial perturbations for DRL agents under bounded constraints.
- To overcome the inefficiency of direct RL-based adversaries in high-dimensional state spaces.
- To develop a method that achieves theoretical optimality while reducing the computational burden of adversarial attack search.
- To improve the robustness of DRL agents through effective adversarial training using the proposed attack.
Proposed method
- Introduces a Policy Adversary MDP (PAMDP) where the optimal policy induces the strongest state-level adversary.
- Employs a collaborative two-agent framework: a 'director' that learns optimal policy perturbation directions and an 'actor' that generates corresponding state perturbations.
- Uses off-the-shelf RL algorithms to train the director on PAMDP, significantly reducing the size and exploration burden compared to full-state-space adversaries.
- The actor maps policy perturbation directions to state-space perturbations, enabling efficient and targeted attack generation.
- The method is generalizable across deterministic and stochastic policies, vectorized and pixel-based observations, and discrete and continuous action spaces.
- Theoretical analysis proves that the optimal policy in PAMDP yields the optimal state adversary under any given attack budget ε.
Experimental results
Research questions
- RQ1Can we find the optimal evasion adversary for a DRL agent under a bounded perturbation budget, rather than relying on heuristic or suboptimal methods?
- RQ2How can we efficiently search for the strongest adversary in high-dimensional state spaces where direct RL-based adversaries become intractable?
- RQ3Can we decouple the search for optimal policy perturbations from direct state-space optimization to reduce computational complexity?
- RQ4Does a collaborative director-actor framework enable better attack performance and robustness improvement than existing methods?
Key findings
- PA-AD universally outperforms state-of-the-art attacking methods across diverse Atari and MuJoCo environments, achieving superior attack success rates with smaller attack budgets.
- In environments like Pong and LunarLander, PA-AD achieves 100% targeted attack success rates with an l∞ perturbation radius of 0.005, significantly outperforming image classifiers trained on CIFAR-10.
- The method reduces the size of the attacker’s RL problem compared to prior work, enabling efficient learning even in high-dimensional state spaces.
- Adversarial training using PA-AD achieves state-of-the-art empirical robustness across multiple DRL tasks, demonstrating the method’s effectiveness in improving agent resilience.
- PA-AD maintains theoretical optimality while being significantly more efficient than prior RL-based adversaries, especially in large state spaces.
- The framework is general and applicable to both discrete and continuous action spaces, as well as vectorized and pixel-based observations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.