mlsanityData to 7 Oct 2026

Learning to Attack and Defend: Adaptive Red Teaming of Language Models via GRPO

arXiv 2606.09701 ↗First posted 8 Jun 2026cs.CL cs.AI cs.LGcited by 4

On the map: LLM reasoning → Reinforcement learning for reasoning

also in 1 more
Abstract (arXiv)

Language model safety must continually adapt to evolving attacks. Recent works have demonstrated that reinforcement learning can be used to train stronger attacker and defender models in tandem by applying PPO-style self-play and DPO-style online preference optimization. In this work, we explore the efficacy of GRPO in this setting. Co-training can be challenging because it requires jointly optimizing multiple properties of both the attacker and defender. We therefore shape model outputs using multiple LLM judge-based reward channels and compute advantages with GDPO, which prevents any single channel from dominating. Our method uses a curriculum that progresses from attacker-only single-turn and multi-turn training to co-training, where attacker and defender models are updated in alternation. We show that this method produces highly effective and transferable attacks, and that co-trained defenders reach competitive safety while preserving general utility. Through a controlled ablation, we further identify which components of our training pipeline most affect the resulting balance between safety and utility. Finally, we find that GRPO tends to collapse attacker diversity over training and discuss possible ways to address this limitation.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 32 of its 40 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

32 of 40 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026GDPO: Group reward-Decoupled Normalization Policy Optimization for Multi-reward RL Optimization8 Jan
  2. 2025SCOPE-RL: Stable and Quantitative Control of Policy Entropy in RL Post-Training9 Oct
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
  4. 2017Proximal Policy Optimization Algorithms20 Jul

Other references · 28

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  5. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  7. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  8. 2022Red Teaming Language Models with Language Modelscited by 983
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  10. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
  11. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
  12. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
16 more
  1. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 364
  2. 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 189
  3. 2025Generalizing Verifiable Instruction Followingcited by 178
  4. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 108
  5. 2024Automated Red Teaming with GOAT: the Generative Offensive Agent Testercited by 41
  6. 2025Chasing Moving Targets with Online Self-Play Reinforcement Learning for Safer Language Modelscited by 33
  7. 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injectioncited by 32
  8. 2024PyRIT: A Framework for Security Risk Identification and Red Teaming in Generative AI Systemcited by 29
  9. 2024Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learningcited by 23
  10. 2025Jailbreak-R1: Exploring the Jailbreak Capabilities of LLMs via Reinforcement Learningcited by 21
  11. 2026Learning to Inject: Automated Prompt Injection via Reinforcement Learningcited by 14
  12. 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
  13. 2025TROJail: Trajectory-Level Optimization for Multi-Turn Large Language Model Jailbreaks with Process Rewardscited by 11
  14. 2026SEMA: Simple yet Effective Learning for Multi-Turn Jailbreak Attackscited by 10
  15. 2025Safety Alignment of LMs via Non-cooperative Gamescited by 6
  16. 2026GRP-Obliteration: Unaligning LLMs With a Single Unlabeled Promptcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026CHASE: Adversarial Red-Blue Teaming for Improving LLM Safety using Reinforcement Learning
  2. 2025Strategize Globally, Adapt Locally: A Multi-Turn Red Teaming Agent with Dual-Level Learning
  3. 2026A Red Teaming Framework for Evaluating Robustness of AI-enabled Security Orchestration, Automation, and Response Systems
  4. 2025Hail to the Thief: Exploring Attacks and Defenses in Decentralised GRPO
  5. 2026Be Your Own Red Teamer: Safety Alignment via Self-Play and Reflective Experience Replay
  6. 2026GPT-Red: Automated Red Teaming via Self-Play at Scale
  7. 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
  8. 2026CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement