Robust Deep Reinforcement Learning with Adaptive Adversarial Perturbations in Action Space
Qianmei Liu, Yufei Kuang, Jie Wang
TL;DR
This work tackles the challenge of achieving both high nominal performance and robustness in deep reinforcement learning under model mismatch. It introduces Adaptive Adversarial Perturbation (A2P), which dynamically adjusts perturbation strength in the action space through an adaptive coefficient driven by training dynamics, eliminating the need for pre-access to simulators. The proposed A2P-MDP framework and its SAC-based instantiation (A2P-SAC) demonstrate that adaptive perturbations improve training stability and policy robustness across MuJoCo tasks with varying masses and frictions, outperforming fixed-perturbation baselines. The results highlight the practical potential of adaptive, action-space adversarial training for real-world DRL deployments where simulator access is limited or unavailable. The approach is supported by theoretical guarantees of contraction for the adaptive Bellman operator and a clear strategy for updating perturbation strength based on observed action-distance dynamics.
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.
