Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models
Mickel Liu, Liwei Jiang, Yancheng Liang, Simon Du, Yejin Choi, Tim Althoff, Natasha Jaques
摘要
Conventional large language model (LLM) safety alignment relies on a reactive, disjoint loop: attackers exploit a static model, then defenders patch exposed vulnerabilities. This sequential setup leads to attackers overfitting obsolete exploits while defenders perpetually lag behind emerging threats. To address this, we introduce SELF-REDTEAM, the first fully online self-play multi-agent reinforcement learning (MARL) algorithm that continuously co-evolves attacker and defender for robust safety alignment. A single policy self-plays as both attacker and defender, generating adversarial prompts and defending against them, with a reward model adjudicating outcomes. Each role uses hidden chain-of-thought for strategic planning. Grounded in two-player zero-sum game theory, we establish a theoretical safety guarantee: if the game converges to Nash Equilibrium, the defender produces safe responses against any adversarial input. Empirically, SELF-REDTEAM generalizes across five models from the Llama and Qwen families, uncovering more diverse attacks (+17.80% SBERT) and improving safety of RLHF-trained models by up to 95% across 14 benchmarks. Our work motivates a shift from reactive patching to proactive co-evolution, enabling LLM safety self-improvement via online self-play MARL. Link to Code
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Search Self-Play: Pushing the Frontier of Agent Capability without Supervision 引用了 DAPO: An Open-Source LLM Reinforcement Learning System at Scale
- Search Self-Play: Pushing the Frontier of Agent Capability without Supervision 引用了 Absolute Zero: Reinforced Self-play Reasoning with Zero Data
- Search Self-Play: Pushing the Frontier of Agent Capability without Supervision 引用了 Training language models to follow instructions with human feedback
- DAPO: An Open-Source LLM Reinforcement Learning System at Scale 引用了 Training language models to follow instructions with human feedback
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM Safety 引用了 Measuring Massive Multitask Language Understanding
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM Safety 引用了 Training language models to follow instructions with human feedback
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 Measuring Massive Multitask Language Understanding
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 Training language models to follow instructions with human feedback
- Absolute Zero: Reinforced Self-play Reasoning with Zero Data 引用了 DAPO: An Open-Source LLM Reinforcement Learning System at Scale
- Absolute Zero: Reinforced Self-play Reasoning with Zero Data 引用了 Training language models to follow instructions with human feedback
- Absolute Zero: Reinforced Self-play Reasoning with Zero Data 引用了 SPIRAL: Self-Play on Zero-Sum Games Incentivizes Reasoning via Multi-Agent Multi-Turn Reinforcement Learning
- SPIRAL: Self-Play on Zero-Sum Games Incentivizes Reasoning via Multi-Agent Multi-Turn Reinforcement Learning 引用了 Absolute Zero: Reinforced Self-play Reasoning with Zero Data
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- The Alignment Waltz: Jointly Training Agents to Collaborate for Safety 引用了 Measuring Massive Multitask Language Understanding
- SPIRAL: Self-Play on Zero-Sum Games Incentivizes Reasoning via Multi-Agent Multi-Turn Reinforcement Learning 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
- SPIRAL: Self-Play on Zero-Sum Games Incentivizes Reasoning via Multi-Agent Multi-Turn Reinforcement Learning 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper12
- Absolute Zero: Reinforced Self-play Reasoning with Zero DataAndrew Zhao, Yiran Wu, Tong Wu, Quentin Xu 等NeurIPS 2025 · 361 次引用
- SPIRAL: Self-Play on Zero-Sum Games Incentivizes Reasoning via Multi-Agent Multi-Turn Reinforcement LearningBo Liu, Simon Yu, Zichen Liu, Leon Guertler 等ICLR 2026 · 88 次引用
- Search Self-Play: Pushing the Frontier of Agent Capability without SupervisionHongliang Lu, Yuhang Wen, Pengyu Cheng, Ruijin Ding 等ICLR 2026 · 35 次引用
- The Alignment Waltz: Jointly Training Agents to Collaborate for SafetyJingyu Zhang, Haozhu Wang, Eric Michael Smith, Sid Wang 等ICLR 2026 · 11 次引用
- MAGIC: A Co-Evolving Attacker–Defender Adversarial Game for Robust LLM SafetyXiaoyu Wen, Zhida He, Han Qi, Ziyu Wan 等ICML 2026 · 10 次引用
它引用的 Paper35
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
- DAPO: An Open-Source LLM Reinforcement Learning System at ScaleQiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan 等NeurIPS 2025 · 2,828 次引用
相关 Paper
- Safety Alignment of LMs via Non-cooperative GamesAnselm Paulus, Ilia Kulikov, Brandon Amos, REMI MUNOS 等ICML 2026 · 4 次引用
- Be Your Own Red Teamer: Safety Alignment via Self-Play and Reflective Experience ReplayHao Wang, Yanting Wang, Hao Li, Rui Li 等ACL Findings 2026 · 1 次引用
- TriPlay-RL: Tri-Role Self-Play Reinforcement Learning for LLM Safety AlignmentZhewen Tan, Wenhan Yu, Jianfeng Si, Tongxin Liu 等ACL 2026 · 2 次引用
- MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teamingWeiyang Guo, Jing Li, Wenya Wang, Yu Li 等ACL 2025
- ARES: Adaptive Red-Teaming and End-to-End Repair of Policy-Reward SystemJiacheng Liang, Yao Ma, Tharindu Kumarage, Satyapriya Krishna 等ACL 2026
