Introduction
Deep Reinforcement Learning (DRL) has demonstrated remarkable success in complex control tasks, yet it remains notoriously vulnerable to adversarial perturbations in observations. Even minor, imperceptible changes to an agent's input can lead to catastrophic failure. Traditional defenses rely on adversarial training—a minimax game where an agent and an adversary are trained concurrently. However, state-of-the-art methods like ATLA are primarily on-policy, leading to poor sample efficiency and significant interaction overhead due to the alternating training cycles.
This paper introduces Virtual ALternative Training (VALT), an off-policy framework that achieves robustness without the need for an explicit adversarial training loop. By leveraging a "symmetric property" in policy evaluation, VALT enables agents to anticipate and counteract worst-case scenarios using their own value functions.
Methodology
The core innovation of VALT lies in the theoretical discovery of the Symmetric Property of policy evaluation. The authors demonstrate that the optimal adversary’s value function is essentially a mirror image of the agent’s own action-value function. This insight allows the agent to "virtually" calculate what a perfect adversary would do without needing to train a separate neural network to represent that adversary.
VALT is built upon the Soft Actor-Critic (SAC) algorithm and introduces two distinct approaches to handle perturbations via soft-constrained optimization:
- VALT-SOFT: This variant utilizes an analytical solution based on KL-divergence to model the adversary, treating the robustness objective as a soft-constrained optimization. This leads to a Quantal Response Equilibrium (QRE) rather than a sharp Nash Equilibrium, which stabilizes the learning process and avoids the oscillations often seen in competitive self-play.
- VALT-EPS: This variant employs a numerical approximation, such as Projected Gradient Descent (PGD), to address specific $\epsilon$-bounded perturbations.
By integrating these mechanisms into the SAC update rule, the agent learns a "soft worst-case" value function, effectively internalizing potential observation attacks during standard training.
Experimental Setup
The researchers evaluated VALT across four standard continuous control benchmarks from the OpenAI Gym MuJoCo suite:
- Hopper-v2
- HalfCheetah-v2
- Walker2d-v2
- Ant-v2
These environments are widely used to test locomotion and balance, providing a rigorous baseline for comparing sample efficiency and robustness against state-of-the-art on-policy and off-policy methods.
Key Results and Insights
1. Superior Sample Efficiency
VALT demonstrates a significant leap in efficiency compared to existing robust frameworks. While on-policy robust methods like ATLA-PPO typically require between 5M and 10M steps to reach peak performance, VALT variants achieve comparable or superior results in just 0.5M to 3M steps. This represents a 3x to 10x improvement in training speed, making robust RL more accessible for complex tasks.
2. Robustness Against Strong Attacks
In high-dimensional environments like HalfCheetah and Ant, VALT-SOFT and VALT-EPS significantly outperformed vanilla SAC and "Robust-SAC" (a version using simple regularization). When tested against a battery of attacks—including Random, PGD, SA-RL, and PA-AD—VALT maintained high episodic rewards where vanilla agents failed completely. For example, in the HalfCheetah environment, VALT-EPS maintained a score of ~4647 under attack, while the vanilla SAC agent's performance plummeted to -51.
3. Task-Dependent Robustness
The study reveals that while maximum entropy frameworks like SAC possess a natural, inherent robustness to small random noises, defending against "long-horizon" adversarial attacks requires the specific MDP-aware robustness that VALT provides.
Limitations and Future Work
Despite its advantages, VALT faces challenges common to off-policy methods, such as the distribution mismatch between the data stored in the replay buffer (collected with various noise levels) and the current policy. Refining how adversarial intensity is balanced in the replay buffer remains a key area for improvement.
Additionally, while the theoretical framework supports discrete domains (such as Atari), the current empirical study focuses on continuous action spaces. Finally, while VALT reduces environment interaction time, the internal gradient-based calculations (particularly the PGD steps in VALT-EPS) add some computational overhead per training step compared to non-robust agents.
Conclusion
VALT represents a significant step forward in robust reinforcement learning. By leveraging the symmetric properties of policy evaluation, it provides a sample-efficient, off-policy alternative to traditional adversarial training, paving the way for more resilient agents in real-world applications where observation noise and adversarial threats are prevalent.
Summary updated