NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Enhancing the Robustness of QMIX against State-adversarial Attacks

Weiran Guo, Guanjun Liu, Ziyuan Zhou, Ling Wang, Jiacun Wang · DOI

Abstract

Deep reinforcement learning (DRL) performance is generally impacted by state-adversarial attacks, a perturbation applied to an agent's observation. Most recent research has concentrated on robust single-agent reinforcement learning (SARL) algorithms against state-adversarial attacks. Still, there has yet to be much work on robust multi-agent reinforcement learning. Using QMIX, one of the popular cooperative multi-agent reinforcement algorithms, as an example, we discuss four techniques to improve the robustness of SARL algorithms and extend them to multi-agent scenarios. To increase the robustness of multi-agent reinforcement learning (MARL) algorithms, we train models using a variety of attacks in this research. We then test the models taught using the other attacks by subjecting them to the corresponding attacks throughout the training phase. In this way, we organize and summarize techniques for enhancing robustness when used with MARL.

Introduction

While Deep Reinforcement Learning (DRL) has demonstrated significant potential in complex decision-making tasks, it remains vulnerable to state-adversarial attacks. These attacks involve subtle, often imperceptible perturbations to an agent's observations that can lead to catastrophic failures. In Multi-Agent Reinforcement Learning (MARL), particularly in cooperative settings, this vulnerability is exacerbated. Because agents often rely on a shared global objective or interconnected value functions, a successful attack on a single agent can compromise the entire team's performance. This paper investigates methods to enhance the robustness of the QMIX algorithm, a cornerstone of cooperative MARL, against such adversarial threats.

Methodology

The study focuses on QMIX, which decomposes a joint action-value function into individual agent utilities combined via a monotonic mixing network. This architecture, while effective for coordination, creates a "one-for-all" vulnerability where a single compromised agent can degrade the joint Q-value of the entire collective.

The QMIX architecture combines individual agent utilities through a mixing network to calculate a global Q-value.

To improve robustness, four defensive training strategies were adapted from single-agent RL:

  1. FGSM (Fast Gradient Sign Method): A gradient-based approach where the model is trained on adversarial examples generated during the training process.
  2. Policy Regularization: A hinge-like regularizer is added to the loss function to penalize significant policy shifts resulting from input perturbations.
  3. ATLA (Alternating Training with Learned Adversaries): A competitive framework where an adversary (trained via MAPPO) learns to generate the most damaging perturbations.
  4. PA-AD (Policy Adversarial Actor-Director): A refined adversarial training method where a "Director" identifies the optimal attack direction and an "Actor" executes it, reducing the search space complexity compared to ATLA.

Experimental Evaluation

The proposed methods were evaluated using the StarCraft Multi-Agent Challenge (SMAC) benchmark across four maps of varying complexity: 2m_vs_1z, 3m, 3s_vs_3z, and 2s3z. The robustness was tested through "cross-attacks," where models trained with one defense were subjected to various types of adversarial perturbations.

Results and Discussion

The experimental results highlight the extreme fragility of standard MARL. Vanilla QMIX models consistently saw win rates drop to 0% when subjected to any targeted attack (FGSM, ATLA, or PA-AD).

Performance comparison of various training methods against different adversarial attacks across StarCraft II maps.

Key findings include:

  • Superiority of PA-AD and FGSM: Models trained with PA-AD and FGSM demonstrated the highest resilience. For instance, on the 3s_vs_3z map, the PA-AD trained model maintained a 90% win rate against its corresponding attack, while the vanilla model failed completely.
  • The Robustness-Performance Trade-off: Robust training often incurs a small penalty in "clean" (non-attacked) scenarios. In the 3m map, the FGSM-trained model's win rate was 0.92 compared to the vanilla model's 0.98 in the absence of attacks.
  • Policy Regularization Limitations: While helpful for general stability, this method performed poorly against sophisticated, learned adversaries, suggesting that simple action-change penalties are insufficient against dedicated attackers.

Conclusion

This research demonstrates that while cooperative MARL algorithms like QMIX are highly susceptible to state-adversarial attacks, their robustness can be significantly improved through adversarial training techniques. PA-AD emerged as a particularly effective strategy due to its efficient search for damaging policy directions. Future work will focus on scaling these defenses to larger agent populations and exploring their applicability to actor-critic MARL architectures.

Summary updated

BibTeX
@article{guo2024enhancing,
  author = {Weiran Guo and Guanjun Liu and Ziyuan Zhou and Ling Wang and Jiacun Wang},
  title = {{Enhancing the Robustness of QMIX against State-adversarial Attacks}},
  journal = {Neurocomputing},
  year = {2024},
  doi = {10.1016/j.neucom.2023.127191},
}
Figure