Introduction
Deep Reinforcement Learning (DRL) has demonstrated remarkable success in complex control tasks, from mastering Atari games to robotic manipulation. However, these policies often exhibit significant vulnerability to adversarial perturbations. While previous research has largely relied on heuristic, gradient-based methods borrowed from supervised learning (such as FGSM), this work formalizes the adversarial attack as an optimization problem within a Markov Decision Process (MDP) framework. By treating the attacker as an agent seeking to minimize the victim's long-term reward, the authors identify "optimal attacks" that significantly outperform traditional methods.
Methodology: The Attack as an RL Problem
The core contribution of this research is the formulation of the Attack MDP. In this framework, the adversary's actions are perturbations applied to the agent's observations. This shift from immediate misclassification to long-term reward minimization represents a fundamental change in how RL robustness is evaluated.
White-Box and Black-Box Attacks
In white-box scenarios, where the attacker has full knowledge of the agent's policy and environment dynamics, the optimal attack can be computed using value or policy iteration. In more realistic black-box scenarios, the authors employ Deep Deterministic Policy Gradient (DDPG) to learn the attack policy. This approach allows the attacker to optimize for cumulative damage over time.
To handle high-dimensional inputs like Atari frames, feature extraction is utilized to reduce the state space. Additionally, a hybrid exploration strategy incorporates policy gradients (when available) to guide the DDPG agent toward effective perturbations more efficiently.
Theoretical Insights
The paper provides a theoretical foundation for policy robustness, proving that the potential damage from an attack is upper-bounded by the Lipschitz smoothness of the agent's policy. Policies that exhibit small changes in action distribution for small changes in input are inherently more robust. Furthermore, the authors frame the attacked agent's experience as a Partially Observable MDP (POMDP), where the agent must make decisions based on corrupted observations rather than the true state.
Experimental Results
The proposed optimal attacks were evaluated against standard gradient-based methods across various OpenAI Gym environments, including MountainCar, Cartpole, and Pong.
Superiority of Optimal Attacks
Across all benchmarks, the DDPG-trained optimal attacks caused substantially greater performance degradation than heuristic methods. As shown in Figure 1, the performance loss increases significantly with the perturbation magnitude ($\epsilon$), with optimal attacks consistently leading to lower rewards than gradient-based alternatives.
Memory as a Defense
A significant discovery is the inherent robustness of Deep Recurrent Q-Networks (DRQN). By maintaining an internal state (memory), DRQN agents can "see through" adversarial noise better than memoryless DQN agents. In the Cartpole environment, for instance, DQN performance dropped by nearly 50% under attack, whereas DRQN only saw a ~17% decrease. This suggests that temporal consistency is a vital component of adversarial defense in RL.
Conclusion
This work shifts the paradigm of RL security from simple heuristics to a rigorous MDP-based optimization. By demonstrating that the most effective way to attack an RL agent is with another RL agent, the authors highlight a critical vulnerability in current DRL systems. The results suggest that future defense mechanisms should focus on increasing policy smoothness and leveraging recurrent architectures to mitigate the impact of adversarial observations.
Summary updated