TL;DR
MARLSafe is the first comprehensive framework designed to stress-test the robustness of cooperative multi-agent reinforcement learning (c-MARL) algorithms. By systematically attacking the three pillars of the multi-agent Markov Decision Process—state, action, and reward—the researchers demonstrate that state-of-the-art algorithms like QMIX and MAPPO are alarmingly vulnerable to adversarial perturbations, often seeing win rates plummet from 100% to zero.
What Problem Does This Paper Address?
As deep reinforcement learning moves from research labs to safety-critical real-world applications—like autonomous drone swarms, smart power grids, and automated traffic management—security becomes paramount. In these cooperative settings, multiple agents must work together to achieve a goal. However, deep neural networks are notoriously fragile when faced with adversarial examples.
While previous research has looked at attacking single-agent RL or focused on a single vulnerability (like blurring an agent's vision), real-world hackers aren't so limited. They might hijack a reward signal during training or subvert a single "traitor" agent within a team. The authors argue that for a c-MARL system to be considered "secure," it must be robust across all possible attack vectors. MARLSafe fills this gap by providing a unified testing suite to uncover these hidden weaknesses.
Methods
The authors propose a three-pronged testing strategy based on the Multi-agent Markov Decision Process (MMDP) framework:
- State Test (Test-time): This targets the agents' observations. Using the Fast Gradient Sign Method (FGSM), the framework adds calculated noise to what the agents "see," aiming to minimize the probability of them choosing the optimal action.
- Reward Test (Training-time): This is a "poisoning" attack. During the training phase, the framework flips the sign of the top $k\%$ of rewards. This misleads the agents into learning corrupted policies that actively avoid the intended goal.
- Action Test (Test-time): This introduces a "traitor." The framework takes control of one agent in the team and trains it as an adversary whose sole goal is to maximize the failure of its teammates.
Datasets
The researchers evaluated their framework using the StarCraft II Multi-Agent Challenge (SMAC), a popular benchmark for cooperative RL. They focused on two specific scenarios:
- 2s3z: A battle involving 2 Stalkers and 3 Zealots.
- 11m: A larger-scale battle with 11 Marines (modified from the original SMAC to ensure a fair "action test" environment).
They tested two heavyweights of the c-MARL world: QMIX (a value-based algorithm) and MAPPO (a policy-gradient-based algorithm).
Key Insights and Ideas
- Diverse Failure Modes: One of the most fascinating findings is how different attacks manifest as distinct agent behaviors.
- State attacks lead to "chaotic" and non-cooperative behavior; agents look like they are trying to fight but are simply incompetent.
- Reward attacks turn agents into "cowards"; because the highest rewards for damaging enemies were flipped to punishments, the agents learn to flee from combat entirely to avoid "earning" those negative points.
- Action attacks create a "saboteur" who hides behind the team, subtly influencing teammates' decisions until they are defeated.
- The Robustness Gap: Even though QMIX and MAPPO achieve near-perfect win rates against standard AI, they have almost zero resilience against targeted reward and action attacks.
- MAPPO's Slight Edge: In state-based tests, MAPPO proved more resilient than QMIX. The authors hypothesize that the policy-gradient training process or the specific centralized critic architecture might inherently provide a small buffer against observational noise.
Key Results
The quantitative results highlight a severe vulnerability in current c-MARL standards:
- Baseline: Both QMIX and MAPPO achieved ~100% win rates without attacks.
- Reward & Action Attacks: Win rates for both algorithms dropped to 0% in almost every scenario. Even flipping just 10% of rewards during training was enough to completely break the learned policy.
- State Attacks: QMIX was hit hardest, with win rates dropping to 0-9%. MAPPO fared better but still saw significant degradation, falling to 31-65% win rates.
Limitations and Future Work
The paper primarily focuses on discovery rather than defense. While it provides a powerful "sword" to find holes in c-MARL armor, it does not propose a "shield." The authors note that their findings point to an urgent need for the community to develop comprehensive defense mechanisms—such as adversarial training or robust centralized mixers—that can handle multi-aspect perturbations simultaneously. Additionally, the current action test assumes the attacker can fully control one agent; exploring "partial" subversion or communication-based attacks could be a fruitful next step.
Summary updated