Skip to content

MAGIC: A co-evolutionary adversarial game for robust LLM safetyMAGIC: A Co-Evolving Attacker-Defender Adversarial Game for Robust LLM Safety

arXiv· arXiv:2602.01539· ICML 2026· Xiaoyu Wen, Zhida He, Han Qi, Ziyu Wan, Zhongtian Ma, Ying Wen, Tianhang Zheng, Xingcheng Xu, Chaochao Lu, Qiaosheng Zhang·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

Researchers propose the MAGIC framework, which models LLM safety alignment as an asymmetric adversarial game between an attacker and a defender, and uses multi-round multi-agent reinforcement learning to let both sides co-evolve. The attacker agent learns to iteratively rewrite original queries into deceptive prompts, while the defender agent simultaneously optimizes its policy to recognize and refuse such inputs. The authors claim that attackers with initial reasoning ability evolve previously unseen compositional strategies through iterative reinforcement learning, and the paper also theoretically analyzes more robust game equilibria and derives safety guarantees. Experiments show that the framework achieves higher defense success rates without harming model usefulness, and the code is open-sourced on GitHub.

Read originalICML 2026