Safety Alignment of LMs via Non-cooperative Games
Anselm Paulus, Ilia Kulikov, Brandon Amos, REMI MUNOS, Ivan Evtimov, Kamalika Chaudhuri, Arman Zharmagambetov
Abstract
Ensuring the safety of language models (LMs) while maintaining their usefulness remains a critical challenge in AI alignment. Current approaches rely on sequential adversarial training: generating adversarial prompts and fine-tuning LMs to defend against them. We introduce a different paradigm: framing safety alignment as a non-zero-sum game between an Attacker LM and a Defender LM trained jointly via online reinforcement learning. Each LM continuously adapts to the other's evolving strategies, driving iterative improvement. Our method uses a preferencebased reward signal derived from pairwise comparisons instead of point-wise scores, providing more robust supervision and potentially reducing reward hacking. Our RL recipe, AdvGame, shifts the Pareto frontier of safety and utility, yielding a Defender LM that is simultaneously more helpful and more resilient to adversarial attacks. In addition, the resulting Attacker LM converges into a strong, general-purpose red-teaming agent that can be directly deployed to probe arbitrary target models. Code at github.com/ facebookresearch/advgame.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM Safety cites Measuring Massive Multitask Language Understanding
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM Safety cites Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM Safety cites Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
- Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models cites Measuring Massive Multitask Language Understanding
- Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models cites Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
- Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- Tree of Attacks: Jailbreaking Black-Box LLMs Automatically cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- TruthfulQA: Measuring How Models Mimic Human Falsehoods cites Measuring Massive Multitask Language Understanding
- Safety Game: Inference-Time Alignment of Black-Box LLMs via Constrained Optimization cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Safety Game: Inference-Time Alignment of Black-Box LLMs via Constrained Optimization cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
Cited by top-tier papers3
- Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language ModelsMickel Liu, Liwei Jiang, Yancheng Liang, Simon Du et al.ICML 2026 · 34 citations
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM SafetyXiaoyu Wen, Zhida He, Han Qi, Ziyu Wan et al.ICML 2026 · 10 citations
- Safety Game: Inference-Time Alignment of Black-Box LLMs via Constrained OptimizationTuan Nguyen, Long Tran-ThanhICML 2026
Builds on19
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou et al.ICML 2024 · 1,031 citations
- Tree of Attacks: Jailbreaking Black-Box LLMs AutomaticallyAnay Mehrotra, Manolis Zampetakis, Paul Kassianik, Blaine Nelson et al.NeurIPS 2024 · 835 citations
Related papers
- TriPlay-RL: Tri-Role Self-Play Reinforcement Learning for LLM Safety AlignmentZhewen Tan, Wenhan Yu, Jianfeng Si, Tongxin Liu et al.ACL 2026 · 2 citations
- Be Your Own Red Teamer: Safety Alignment via Self-Play and Reflective Experience ReplayHao Wang, Yanting Wang, Hao Li, Rui Li et al.ACL Findings 2026 · 1 citation
- Adversarial Preference Optimization: Enhancing Your Alignment via RM-LLM GamePengyu Cheng, Yifan Yang, Jian Li, Yong Dai et al.ACL Findings 2024 · 6 citations
- Toward Optimal LLM Alignments Using Two-Player GamesRui Zheng, Hongyi Guo, Zhihan Liu, Xiaoying Zhang et al.EMNLP Findings 2025
- The Alignment Waltz: Jointly Training Agents to Collaborate for SafetyJingyu Zhang, Haozhu Wang, Eric Michael Smith, Sid Wang et al.ICLR 2026 · 11 citations
