Introduction
Deep Reinforcement Learning (DRL) has demonstrated remarkable success in virtual environments, yet its deployment in real-world Cyber-Physical Systems (CPS)—such as autonomous vehicles and power grids—remains hindered by inherent fragility. While significant research has addressed "perception attacks" targeting input sensors, control systems are equally vulnerable to "actuator attacks" where an adversary perturbs the agent's actions directly.
Because DRL agents are trajectory-driven, even minor adversarial "nudges" in the action space can lead to cascading errors, causing the agent to deviate into unsafe states and ultimately fail. This work proposes a method to "robustify" DRL agents by training them against worst-case perturbations in their action space, bridging the gap between classical robust control theory and modern DRL.
Methodology
The core of the proposed approach is a robust optimization framework formulated as a min-max problem. The objective is to optimize policy parameters $\theta$ to maximize expected rewards while a "virtual adversary" simultaneously attempts to minimize those rewards by applying perturbations to the agent's actions.
The training process, termed MAS-Adversarial Training, utilizes Projected Gradient Descent (PGD) to identify the most damaging action perturbation within a defined budget (constrained by $\ell_1$ or $\ell_2$ norms). Unlike standard PGD, this algorithm iterates until the adversarial actions saturate, ensuring the agent encounters a truly "worst-case" scenario. Following the application of these perturbations, the agent's policy is updated using Proximal Policy Optimization (PPO).
Experimental Setup
The methodology was evaluated using the OpenAI Gym Lunar Lander environment. In this task, an agent must land a craft on a designated pad using continuous control of a main engine (upward thrust) and side thrusters (lateral movement). The state space consists of eight continuous variables, including coordinates, velocities, and orientation. Success requires balancing fuel efficiency with precise landing accuracy under the threat of malicious interference.
Results and Discussion
Comparative analysis between "Nominal" agents (standard training) and "Robust" agents (adversarial training) revealed significant differences in resilience. Under normal conditions, both agents performed similarly, achieving average rewards of approximately 2.21. However, when subjected to adversarial attacks, the nominal agent's performance collapsed to 0.74, often resulting in catastrophic crashes. In contrast, the robust agent maintained high performance, with rewards often exceeding its nominal baseline.
Interestingly, robust training appeared to provide an "exploration bonus." In some instances, the robust agent outperformed the nominal agent even in the absence of attacks. This suggests that defending against adversarial perturbations forces the agent to explore a broader range of trajectories, potentially discovering more optimal paths. Furthermore, the study noted that $\ell_2$ robustness was more challenging to achieve than $\ell_1$ robustness, requiring approximately 9,000 episodes to converge compared to 4,500 for $\ell_1$.
Conclusion
This research demonstrates that action-space adversarial training can significantly enhance the reliability of DRL agents in the face of actuator-level interference. By incorporating a virtual adversary into the training loop, agents learn to navigate perturbed trajectories that would otherwise lead to failure. While currently validated on the Lunar Lander environment, future work will focus on scaling this approach to higher-dimensional systems and investigating the computational efficiency of the inner optimization loop.
Summary updated