Tracing Attacker Diversity Reduction in Adaptive LLM Red Teaming
Abstract
Reinforcement learning can increase the success of automated red teaming but it also narrows the attack vector. This study asks where in the attacker-defender-judge learning loop does the narrowing begin and which mechanisms lead to a narrowing attack. Six mechanisms (defender adaptation, success edge, reward reinforcement, row cap, update size, and measurement) are tested across three experiment arms (co-trained, frozen defender, half learning rate) for twenty-four iterations. A frozen defender narrows attack diversity retention (ADR) earlier 0.496 relative to co-trained 0.891 at iteration twelve. Defender updates delay narrowing but dont prevent it. Successful attacks ("winners") have narrower attack diversity than the full set of generated attacks. Attacks closest to previous winners succeed 10-15 percentage points more often than those closest to previous failures. This winner-neighbor advantage holds after a defender update and for a fixed defender too. Attacks with a common opening have a common-opening advantage of 5-16 percentage points. The training row cap and update size account for little impact on ADR, and attack length accounts for only part of the ADR decrease. Narrowing appears to originate from the success only reward through the group-relative training advantage to the attacker update, with a persistent success edge setting the direction.
Figures & tables
| Mechanism | Place in the loop | Expected outcome if it were the main origin | Evidence considered |
|---|---|---|---|
| M1 Defender adaptation | Defender update | Narrowing is weaker or absent when the defender stays fixed. Onset follows defender updates. The defender fits the successful attacks. | Frozen-defender arm, defender fit, winner-neighbor advantage across defender updates |
| M2 Success edge | Judge and base defender | Some attacks succeed more often even when the defender stays fixed. Attacks similar to earlier winners also succeed more often. | Winner-neighbor advantage, common-opening advantage |
| M3 Reward reinforcement | Training advantage to attacker update | Winners are narrower than the distribution of generated attacks. Attack-family shares in the next iteration follow enrichment among winners. The training objective has no explicit diversity reward. | Winner dispersion ratio, family and opening shares, reward definition |
| M4 Row cap | Row selection | Selected rows are more concentrated, or enriched in one attack category, than all signal rows | Selected rows against all rows |
| M5 Update size | Attacker update | Narrowing tracks the size of transient updates. A halved learning rate prevents narrowing. | Half-step arm, mean KL and gradient norm per update |
| M6 Measurement | Diversity meter | The diversity reduction follows attack length or coarse label count. Length-adjusted and wording-based readings stay near 1. | ADR after length adjustment, word 3-gram distance, family mix |
| Setting | Value |
|---|---|
| Attacker | Qwen2.5-14B-Instruct [ 7 ] , LoRA [ 8 ] rank 16, |
| Defender | Phi-4-mini-instruct [ 9 ] , LoRA rank 16, , DPO [ 4 ] |
| Judge | HarmBench-Llama-2-13b classifier [ 10 ] |
| Embedder | bge-large-en-v1.5 [ 11 ] |
| Rollout | 16 attacks for each of 96 training behaviors, temperature 1.0, at most 300 new tokens |
| Reward | success flag, with quality and novelty weights set to 0 |
| Reading | Co-trained | Frozen defender | Half step |
|---|---|---|---|
| Pre-specified horizon: 12 iterations | |||
| ADR at iteration 12 | 0.891 | 0.496 | 0.995 |
| Change from untrained attacker | ( , ) | ( , ) | ( , ) |
| Slope per iteration, iterations 3–12 | ( , ) | ( , ) | ( , ) |
| Contrast, change | — | ( , ) | ( , ) |
| Contrast, slope | — | ( , ) | ( , ) |
| Record | Co-trained | Frozen defender | Half step |
|---|---|---|---|
| (M3) Winner dispersion ratio, iterations 1–12 | 0.70–0.82 | 0.79–0.92 | 0.72–0.87 |
| (M2) Winner-neighbor advantage, iterations 2–12 | (0.106, 0.159) | (0.108, 0.162) | (0.111, 0.163) |
| (M2) Relative risk, iterations 2–12 | 1.64 | 1.55 | 1.80 |
| (M2) Winner-neighbor advantage, iterations 13–24 | |||
| (M1) Winner-neighbor advantage after a defender update minus that between defender updates, iterations 2–12 | ( , ) | ( , ) | ( , ) |
| (M2) Common-opening share of training attacks, iterations 21–24 | 0.83–0.88 | 0.80–0.92 | 0.62–0.77 |
| Mechanism | What the records show | Standing |
|---|---|---|
| M1 Defender adaptation | The frozen arm narrows earlier and ends at the same level (0.519 against 0.552). The contrast is ( to ). Final pair accuracy is 1.00 from round 8. The winner-neighbor advantage is unchanged after and between defender updates, and the success share of training attacks holds at 0.57–0.65 against 0.51–0.67. | Defender updates delay narrowing by about six iterations in this setup, but are not required for it. Each update uses about 12 optimizer steps. |
| M2 Success edge | The winner-neighbor advantage is 0.10–0.15, and the common-opening advantage is 0.05–0.16 in every arm and window, including with a fixed defender. The edge could belong to the judge, the base defender or the content of the attacks. An audit of the judge decisions is uncollected. | Present in every arm. Source remains open. |
| M3 Reward reinforcement | Winners are narrower than attacks in 72 of 72 retained updates. The ratio ranges from 0.70 to 0.93 starting at iteration 1. The training objective has no explicit diversity reward. In the co-trained arm, mean training advantage is positive for attacks with the common opening first and negative for alternatives later. Likelihoods of fixed attacks are uncollected. | Consistent with every record. The likelihood link remains untested. |
| M4 Row cap | Enrichment of the common opening among selected rows is 0.99–1.20 and the diversity of selected rows is 0.98–1.01 of all valid attacks. The family mix differs by 1.57 percentage points on average. | Ruled out. |
| M5 Update size | Mean KL is below 3 at all but a few updates. The half-step arm has only small updates and narrows by 0.295. The arm with the largest transients narrows first. | Ruled out as the main driver. A head start remains open. |
| M6 Measurement | ADR after length adjustment is higher by 0.05 to 0.14 at iteration 24. Wording-based distance is saturated. In one retained run the family mix became more balanced (concentration index 0.400 to 0.277) while embedding spread fell. Within-behavior distance and opening share agree with ADR. | Length contributes in part. An independent encoder reading is uncollected. |
LLM Red Teaming
Large language model red teaming probes how models and agents can be induced to violate safety, security, or operational constraints.
See all 73 papers