potentialpaper

Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Models

Mickel Liu, Liwei Jiang, Yancheng Liang, Simon Shaolei Du, Yejin Choi, Tim Althoff, Natasha Jaques

ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Conventional large language model (LLM) safety alignment relies on a reactive, disjoint procedure: attackers exploit a static model, followed by defensive fine-tuning to patch exposed vulnerabilities. This sequential approach creates a mismatch: attackers overfit to obsolete exploits, while defenders perpetually lag behind emerging threats. To address this, we propose Self-RedTeam, an online self-play reinforcement learning (RL) algorithm, where a single model alternates between co-evolving attacker and defender roles---generating adversarial prompts and safeguarding against them---while a reward model adjudicates outcomes. Each role uses hidden Chain-of-Thought, which enables agents to reason about how to formulate and defend against attacks. Grounded in the game-theoretic framework of two-player zero-sum games, we establish a theoretical safety guarantee that motivates our method: if self-play converges to a Nash Equilibrium, the defender is assured to generate safe responses against any adversarial input. Empirically, Self-RedTeam demonstrates strong generalizability across four model sizes from both the Llama and Qwen families. We not only uncovering more diverse attacks (e.g., +17.80% SBERT), but improve the safety of models trained with industry-standard safety fine-tuning procedures like RL from Human Feedback (RLHF) by as much as 95% across 12 safety benchmarks.Our results motivate a shift from reactive patching to proactive co-evolution, enabling scalable and autonomous self-improvement of LMs via MARL.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
18 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
22 Jan 2026ICML 2026submittedICML 2026Accepted—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…