Robust Reinforcement Learning on State Observations with Learned Optimal Adversary

Huan Zhang, Hongge Chen, Duane Boning, Cho-Jui Hsieh
1/21/2021
240 citations
cs.LGcs.AIstat.ML
rl

Official code: huanzhang12/ATLA_robust_RL (72 stars, Python, last commit 2021-01-26).

Abstract

We study the robustness of reinforcement learning (RL) with adversarially perturbed state observations, which aligns with the setting of many adversarial attacks to deep reinforcement learning (DRL) and is also important for rolling out real-world RL agent under unpredictable sensing noise. With a fixed agent policy, we demonstrate that an optimal adversary to perturb state observations can be found, which is guaranteed to obtain the worst case agent reward.

Show full abstract

For DRL settings, this leads to a novel empirical adversarial attack to RL agents via a learned adversary that is much stronger than previous ones. To enhance the robustness of an agent, we propose a framework of alternating training with learned adversaries (ATLA), which trains an adversary online together with the agent using policy gradient following the optimal adversarial attack framework. Additionally, inspired by the analysis of state-adversarial Markov decision process (SA-MDP), we show that past states and actions (history) can be useful for learning a robust agent, and we empirically find a LSTM based policy can be more robust under adversaries. Empirical evaluations on a few continuous control environments show that ATLA achieves state-of-the-art performance under strong adversaries. Our code is available at https://github.com/huanzhang12/ATLA_robust_RL.

View on arXivView PDF

Code Implementations(1)

Robust Reinforcement Learning with the Alternating Training of Learned Adversaries (ATLA) framework

7212Python, ShellJan 16, 20215 years ago
adversarial-examplesdeep-reinforcement-learningreinforcement-learningreinforcement-learning-algorithmsrobust-machine-learning+1 more

Similar Papers

Cite this paper

@article{zhang2021robust,
  title  = {Robust Reinforcement Learning on State Observations with Learned Optimal Adversary},
  author = {Huan Zhang and Hongge Chen and Duane Boning and Cho-Jui Hsieh},
  year   = {2021},
  eprint = {2101.08452},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.08452}
}

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/2101.08452.svg)](https://codeofpaper.com/paper/2101.08452)

Discussion