Robust Deep Reinforcement Learning with Adaptive Adversarial Perturbations in Action Space

Qianmei Liu, Yufei Kuang, Jie Wang
5/20/2024
cs.LGcs.AI

Official code: Lqm00/A2P-SAC (2 stars, last commit 2025-05-20).

Abstract

Deep reinforcement learning (DRL) algorithms can suffer from modeling errors between the simulation and the real world. Many studies use adversarial learning to generate perturbation during training process to model the discrepancy and improve the robustness of DRL. However, most of these approaches use a fixed parameter to control the intensity of the adversarial perturbation, which can lead to a trade-off between average performance and robustness. In fact, finding the optimal parameter of the perturbation is challenging, as excessive perturbations may destabilize training and compromise agent performance, while insufficient perturbations may not impart enough information to enhance robustness. To keep the training stable while improving robustness, we propose a simple but effective method, namely, Adaptive Adversarial Perturbation (A2P), which can dynamically select appropriate adversarial perturbations for each sample. Specifically, we propose an adaptive adversarial coefficient framework to adjust the effect of the adversarial perturbation during training. By designing a metric for the current intensity of the perturbation, our method can calculate the suitable perturbation levels based on the current relative performance. The appealing feature of our method is that it is simple to deploy in real-world applications and does not require accessing the simulator in advance. The experiments in MuJoCo show that our method can improve the training stability and learn a robust policy when migrated to different test environments. The code is available at https://github.com/Lqm00/A2P-SAC.

View on arXivView PDF

Code Implementations(1)

Lqm00/A2P-SACOfficial100%
20PythonApr 4, 20241 years ago

Similar Papers

Cite this paper

@article{liu2024robust,
  title  = {Robust Deep Reinforcement Learning with Adaptive Adversarial Perturbations in Action Space},
  author = {Qianmei Liu and Yufei Kuang and Jie Wang},
  year   = {2024},
  eprint = {2405.11982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11982v1}
}

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

Discussion