Abstract
Adversarial attacks and robustness in Deep Reinforcement Learning (DRL) have been widely studied in various threat models; however, few consider environmental state perturbations, which are natural in embodied scenarios. To improve the robustness of DRL agents, we formulate the problem of environmental state perturbation, introducing a preliminary non-targeted attack method as a calibration adversary, and then propose a defense framework, named Boosted Adversarial Training (BAT), which first tunes the agents via supervised learning to avoid catastrophic failure and subsequently adversarially trains the agent with reinforcement learning. Extensive experimental results substantiate the vulnerability of mainstream agents under environmental state perturbations and the effectiveness of our proposed attack. The defense results demonstrate that while existing robust reinforcement learning algorithms may not be suitable, our BAT framework can significantly enhance the robustness of agents against environmental state perturbations across various situations.
Introduction
Most research on Deep Reinforcement Learning (DRL) robustness focuses on "adversarial noise"—tiny, often invisible changes to pixels (Lp-norm perturbations) or random jitters in actions. However, in real-world robotics and embodied AI, the environment itself is inherently messy. A chair might be moved, or a tool might be placed on a different counter.
This paper identifies a critical gap: DRL agents are incredibly brittle when faced with semantic environmental changes. Unlike random noise, these perturbations are semantically restricted (representing valid world states), static (occurring at the start of a task), and reachable (states the agent could naturally encounter). Current agents often fail catastrophically because these perturbed initial states are "out-of-distribution" (OOD), leading to behaviors that prevent the agent from ever receiving the rewards necessary to learn recovery strategies.
Methodology
The authors address this vulnerability by developing both a novel attack method to identify weaknesses and a defense framework to mitigate them.
1. Non-targeted White-box Perturbation
To test agent resilience, the researchers designed an algorithm to find the most damaging environmental changes. Instead of relying on slow simulations, they utilize a first-order derivative approach. This method estimates how much a change in the initial state causes the agent’s actions to deviate from its optimal trajectory. By maximizing this deviation, they identify specific object placements that most effectively confuse the agent.
2. Boosted Adversarial Training (BAT)
Standard adversarial training often fails in DRL because a successful attack can leave an agent with zero reward, providing no signal for learning. The proposed Boosted Adversarial Training (BAT) framework overcomes this "zero reward trap" through a two-phase process:
- Phase 1: Supervised Kickstarting: The original vulnerable agent acts as a "teacher." A "student" policy is trained via supervised learning to mimic the teacher's logic even in perturbed states. By using a higher Softmax temperature, the student captures general task logic without inheriting specific OOD errors.
- Phase 2: RL Fine-tuning: Once the agent possesses baseline competence in messy environments, it undergoes standard Reinforcement Learning fine-tuning on a mixture of pristine and perturbed states to reach expert-level robustness.
Experimental Results
The framework was evaluated using the Overcooked environment across six distinct layouts: Coordination Ring, Cross, Double Rings, Double Counters, Matrix, and Clear Division. Perturbations involved placing items like onions or dishes on reachable empty counters.
Key Findings
- Extreme Vulnerability: The proposed attack was devastating. In layouts like Double Counters and Matrix, the performance of standard Self-Play (SP) agents dropped to near zero with only minor object displacements.
- BAT Effectiveness: BAT significantly outperformed existing robust DRL methods. In the Clear Division layout, a BAT-enhanced Fictitious Co-play (FCP) agent achieved a score of 289.4 under attack, whereas the standard FCP agent plummeted to 5.1.
- Diversity as a Shield: Agents trained with diverse partners (FCP) were found to be naturally more robust than those trained via Self-Play, suggesting that data diversity helps handle OOD states.
- Robustness as Regularization: Interestingly, agents trained with BAT often performed better in the original, un-perturbed environments than standard agents, indicating that training for environmental robustness acts as a powerful regularizer.
Conclusion
This research highlights the significant threat environmental state perturbations pose to embodied DRL agents. While standard agents are highly susceptible to simple semantic changes, the Boosted Adversarial Training (BAT) framework provides a viable path toward robustness. By combining supervised kickstarting with adversarial RL fine-tuning, BAT ensures agents can maintain performance even when their initial environment is perturbed. Future work will look toward extending these findings to 3D environments and dynamic, mid-task perturbations.
Summary updated