Abstract
Cooperative multi-agent reinforcement learning (c-MARL) is increasingly applied to critical systems, yet its robustness against adversarial attacks remains under-explored. This paper introduces a novel two-step attack framework that leverages an adversarial policy to identify sabotaging actions and a dynamic saliency-based generator to craft subtle observation perturbations. Experiments on the StarCraft Multi-Agent Challenge (SMAC) demonstrate that perturbing a single agent can collapse a team's win rate from nearly 100% to 0%, highlighting significant vulnerabilities in collaborative RL systems.
Introduction
As reinforcement learning (RL) transitions from gaming environments to critical infrastructure—such as autonomous driving fleets and smart power grids—robustness becomes a fundamental safety requirement. While individual RL agents are known to be vulnerable to adversarial examples (small, often imperceptible perturbations to input data), the scaling of these vulnerabilities in cooperative multi-agent settings (c-MARL) is not fully understood.
Attacking a cooperative team presents unique challenges compared to attacking isolated agents:
- Non-Differentiability: Team reward functions often utilize "max" operations that disrupt standard gradient-based attack methods.
- Long-term Impact: Effective sabotage requires forcing actions that compromise long-term team objectives rather than causing isolated errors.
- Low-Dimensional Inputs: Unlike high-dimensional image data, many RL agents operate on small feature vectors, providing limited "room" to hide adversarial perturbations.
Methodology: The "Lure and Strike" Attack
The authors propose a two-step framework designed to overcome these challenges by first identifying a target sabotaging action and then generating the necessary observation perturbation.
Step 1: Learning the Adversarial Policy (The Lure)
Instead of relying on analytical gradients to find the worst possible action, the researchers train an adversarial policy using RL. This policy learns which action by a "victim" agent will most effectively minimize the total team reward. They introduce Optimized Worst with Regularization (OWR), a technique that ensures the identified "bad" action is realistically achievable through small perturbations in the subsequent step.
Step 2: Crafting the Adversarial Example (The Strike)
With a target action identified, the attack employs Dynamic Jacobian-based Saliency Map Attack (d-JSMA). Traditional attacks often fail in low-dimensional spaces because single-feature changes can shift all action values uniformly. d-JSMA addresses this by perturbing two features simultaneously and utilizing a dynamic budget ($\theta$) to find the minimal change required to trigger the sabotaging action.
Experimental Evaluation
The attack was evaluated on the StarCraft Multi-Agent Challenge (SMAC) using the "2s3z" map (2 Stalkers and 3 Zealots). This benchmark requires precise coordination between agents to defeat an AI opponent.
Key Results
The d-JSMA+OWR attack proved devastatingly effective. The team's win rate plummeted from 98.9% to 0%, and the average team reward dropped from 20 to 9.4. These results were achieved with a relatively subtle average L1 norm perturbation of 8.33 across 96 features.
Qualitatively, the attack induced "behavioral sabotage." The victim agent was lured into cowardly behavior—fleeing from combat and hiding while teammates were eliminated—only to be easily defeated once isolated.
Discussion and Conclusion
The findings reveal a "one bad apple" effect: manipulating the observations of just a single agent can cause the entire team's coordination to collapse. This suggests that cooperation itself may be a vulnerability; because c-MARL agents are trained to rely on the predictable, optimal behavior of teammates, they are exceptionally fragile when a teammate begins acting erratically.
Future work will explore defense mechanisms, such as using Inverse Reinforcement Learning to help agents identify and ignore malicious teammates. While the current attack assumes white-box access to model parameters, the authors suggest that transferability or finite-difference methods could enable black-box variants.
Summary updated