TL;DR
Modern LLMs are pretty good at refusing blatantly harmful single-turn prompts, so automated red-teamers have turned to multi-turn conversations that gradually nudge a model past its guardrails. However, training an AI attacker to play this conversational "long game" fails when reinforcement learning algorithms give every turn in a dialogue the exact same score. This paper introduces Decomposed Credit GRPO (DC-GRPO), a clever way to split turn-by-turn rewards into immediate progress and future setup, pushing multi-turn attack success rates to over 98%—even against models protected by active safety filters.
What Problem Does This Paper Address?
Imagine playing chess, winning in 40 moves, and concluding that a random pawn push on move 12 was just as brilliant as the checkmate—or worse, giving move 38 credit for a queen you captured back on move 15.
When researchers train small, scalable attacker LLMs to "jailbreak" victim LLMs over multiple turns of dialogue, they run into this exact issue. Recently, Group Relative Policy Optimization (GRPO)—a critic-free reinforcement learning (RL) method popularized by DeepSeek—has become a favorite for training LLMs. GRPO works by sampling a group of outputs for the same prompt and scoring them relative to the group's average.
While great for single-turn tasks, standard GRPO treats an entire multi-turn conversation as one giant episode. Naive adaptations broadcast the final conversation outcome equally to every single turn. The authors call this the outcome broadcasting problem: it muddies the waters between turns that make immediate breakthroughs and turns that quietly lay benign-looking context for a payoff three turns later, while accidentally rewarding later turns for work done earlier in the chat.
Methods
To fix credit assignment without needing a separate, memory-heavy "critic" network (like PPO requires), the authors propose Decomposed Credit GRPO (DC-GRPO).
For a given target behavior (e.g., asking for something unsafe), an attacker model conducts a group of $G$ parallel, $T$-turn conversations with a victim LLM. A separate "judge" LLM scores the victim's response at every turn. Instead of lumping these scores together, DC-GRPO evaluates each turn $t$ against the group's performance at that exact same turn index, splitting the learning signal into two parts:
- Immediate Credit ($I_{i,t}$): How much progress did this specific prompt make right now, normalized against all other rollouts at turn $t$?
- Future Credit ($F_{i,t}$): How well did the rest of the conversation go from turn $t+1$ onward, normalized against the remaining returns of the other rollouts? (Notice past rewards from turns $< t$ are stripped out!)
The authors test two ways of blending these two signals:
- Static-Weighted ($\text{MJ}_{\text{SW}}$): Uses a fixed hyperparameter $\alpha$ to weight future credit ($I_{i,t} + \alpha F_{i,t}$).
- Dynamic-Weighted ($\text{MJ}_{\text{DW}}$): Normalizes the total remaining return directly, which mathematically equates to dynamically weighting immediate and future credit based on the variance of rewards in the current rollout group—requiring zero extra hyperparameters.
Datasets
Following prior multi-turn red-teaming protocols, the authors use existing safety benchmarks filtered to prevent data leakage between training and testing:
- Training: AdvBench is used to train the attacker policies.
- Evaluation: HarmBench (200 standard harmful prompts), StrongREJECT$^\dagger$ (288 prompts after removing AdvBench overlaps), and JailbreakBench / JBB$^\dagger$ (55 prompts after removing overlaps with both AdvBench and HarmBench).
- Utility Testing: Natural Questions (NQ) and TriviaQA are used to check whether hardening a victim model against these attacks hurts its general question-answering abilities.
Key Insights and Ideas
- Dropping past rewards prevents "prefix-credit misassignment": By ensuring turn $t$ only sees rewards from $t$ onward, later turns don't coast on the success of earlier turns.
- How you weight matters less than where you slice: Neither Static ($\text{MJ}_{\text{SW}}$) nor Dynamic ($\text{MJ}_{\text{DW}}$) weighting strictly dominates the other across every test. The real magic comes from doing group-relative normalization at the turn level rather than the trajectory level.
- Lightweight attackers punch way above their weight: Once trained against a single 8B or 20B model, a compact 3B or 4B attacker policy learns generalizable conversational strategies that zero-shot transfer to much larger, unseen frontier models.
- Red-teaming data makes great armor: Taking successful attack dialogues, swapping the victim's unsafe replies with safe refusals, and fine-tuning the victim alongside normal QA data slashes vulnerability without making the model overly paranoid on benign questions.
Key Results
Main attack success rates across four victim LLMs and three benchmarks
- State-of-the-art Jailbreaking: Using a Qwen3-4B attacker trained against Llama-3.1-8B, $\text{MJ}_{\text{DW}}$ and $\text{MJ}_{\text{SW}}$ hit 98.26% and 97.88% average $\text{ASR}_5@3$ (at least one successful jailbreak within 5 turns across 3 attempts) across four open-weight victim LLMs, handily beating prior RL methods like SEMA (86.58%) and TROJail (86.23%). Even with a smaller Qwen2.5-3B backbone, $\text{MJ}_{\text{SW}}$ reaches 92.89%.
- Faster Breakthroughs: On successful attacks, $\text{MJ}_{\text{DW}}$ breaks the victim model much earlier in the conversation—averaging 1.67 turns (under the HarmBench judge) compared to 3.06 turns for SEMA.
- Zero-Shot Transfer: When trained against GPT-OSS-20B, $\text{MJ}_{\text{SW}}$ transfers zero-shot to unseen proprietary models, achieving 98.45% average $\text{ASR}_5@3$ on GPT-4.1-mini and 98.26% on DeepSeek-V4-Pro.
- Bypassing Active Guardrails: Even when Llama-3.1-8B is wrapped in an active Llama-Guard-4 input/output filter, $\text{MJ}_{\text{DW}}$ still achieves 95.50% $\text{ASR}_5@3$ (vs. 74.07% for SEMA).
- Defensive Hardening: Fine-tuning a victim on patched DC-GRPO attack trajectories mixed with general data drops $\text{ASR}_5@3$ from 97.39% down to 36.44%, while slightly improving QA exact match from 44.75% to 47.20%.
Limitations and Future Work
The authors note two primary limitations: their experiments cap conversations at relatively short horizons (5 turns), leaving longer-horizon dynamics unexplored, and they rely entirely on automated LLM judges (like HarmBench, WildGuard, and Qwen3Guard) rather than blinded human evaluations. For future work, they suggest broader human validation and attacker–defender co-training—pitting the RL attacker and the victim LLM against each other in an iterative loop to continuously harden model safety.
Summary updated