RAT: Adversarial Attacks on Deep Reinforcement Agents for Targeted Behaviors
Fengshuo Bai, Runze Liu, Yali Du, Ying Wen, Yaodong Yang
TL;DR
RAT addresses robustness evaluation and targeted manipulation of DRL agents by learning a human-aligned intention policy through preference-based RL and guiding an adversary to enforce that target via state perturbations. A weighting function rebalances the replay buffer to focus training on important states, and the method is formalized as a bi-level optimization with provable convergence properties. Empirically, RAT outperforms baselines in manipulating SAC-based DRL agents on Meta-world tasks and can induce human-preferred behaviors in Decision Transformer agents on MuJoCo tasks; it also enables robust-training variants (RAT-ATLA, RAT-WocaR) that improve resilience. The work demonstrates significant implications for safety and robustness, and points to extensions to LLMs and VLA models as future directions.
Abstract
Evaluating deep reinforcement learning (DRL) agents against targeted behavior attacks is critical for assessing their robustness. These attacks aim to manipulate the victim into specific behaviors that align with the attacker's objectives, often bypassing traditional reward-based defenses. Prior methods have primarily focused on reducing cumulative rewards; however, rewards are typically too generic to capture complex safety requirements effectively. As a result, focusing solely on reward reduction can lead to suboptimal attack strategies, particularly in safety-critical scenarios where more precise behavior manipulation is needed. To address these challenges, we propose RAT, a method designed for universal, targeted behavior attacks. RAT trains an intention policy that is explicitly aligned with human preferences, serving as a precise behavioral target for the adversary. Concurrently, an adversary manipulates the victim's policy to follow this target behavior. To enhance the effectiveness of these attacks, RAT dynamically adjusts the state occupancy measure within the replay buffer, allowing for more controlled and effective behavior manipulation. Our empirical results on robotic simulation tasks demonstrate that RAT outperforms existing adversarial attack algorithms in inducing specific behaviors. Additionally, RAT shows promise in improving agent robustness, leading to more resilient policies. We further validate RAT by guiding Decision Transformer agents to adopt behaviors aligned with human preferences in various MuJoCo tasks, demonstrating its effectiveness across diverse tasks.
