Rethinking Adversarial Attacks in Reinforcement Learning from Policy Distribution Perspective
Tianyang Duan, Zongyuan Zhang, Zheng Lin, Yue Gao, Ling Xiong, Yong Cui, Hongbin Liang, Xianhao Chen, Heming Cui, Dong Huang
TL;DR
DRL agents are vulnerable to observation disturbances, but existing attacks focus on single sampled actions and may miss vulnerabilities in the full policy distribution, especially in continuous action spaces. The authors propose Distribution-Aware Projected Gradient Descent (DAPGD), which maximizes a Bhattacharyya-distance-based distribution similarity loss under an $L_p$ constraint to perturb states and influence the entire policy distribution rather than individual actions. They formalize the attack within a policy-distribution framework and derive a gradient-based update rule, demonstrating superior attack performance compared with seven baselines on three Safety Gym navigation tasks and under both benign and defended models. The results indicate that distribution-aware perturbations provide a more robust and realistic assessment of DRL robustness, with significant potential impact on safety-critical AI systems.
Abstract
Deep Reinforcement Learning (DRL) suffers from uncertainties and inaccuracies in the observation signal in realworld applications. Adversarial attack is an effective method for evaluating the robustness of DRL agents. However, existing attack methods targeting individual sampled actions have limited impacts on the overall policy distribution, particularly in continuous action spaces. To address these limitations, we propose the Distribution-Aware Projected Gradient Descent attack (DAPGD). DAPGD uses distribution similarity as the gradient perturbation input to attack the policy network, which leverages the entire policy distribution rather than relying on individual samples. We utilize the Bhattacharyya distance in DAPGD to measure policy similarity, enabling sensitive detection of subtle but critical differences between probability distributions. Our experiment results demonstrate that DAPGD achieves SOTA results compared to the baselines in three robot navigation tasks, achieving an average 22.03% higher reward drop compared to the best baseline.
