AI guides

TriPlay-RL study: one ablated red team shows a 98-point attack-success gap across two targets

By TriPlay-RL团队0 viewsSource: 量子位
TriPlay-RL safety study: one ablated red team shows a 98-percentage-point attack-success gap between different targets

Peking University and 360 alternate training of an attacker, defender and evaluator. One ablated attacker succeeds on Nano-8B 98.2% of the time but on Llama-8B only 0.2%; these are different targets. Separately, the 14B defender's JailBreakBench attack-success rate falls from 25.6% to 4.6%.

98.2% attack success rate: is that enough to show a red-team model is strong?

In one ablation experiment, against Nemotron-Nano-8B, a red-team model achieved a 98.2% attack success rate, succeeding almost every time. But when the target was changed to Llama-3.1-8B-Instruct, that figure fell to just 0.2%.

At the same time, its output-diversity score was only 0.004: it repeatedly generated fixed attack templates.

This contrast shows how focusing solely on attack success against one target can lead us to mistake repetitive tactics for improved capability.

In real-world settings, red teams need to keep discovering new defensive weaknesses, while blue teams must keep pace with increasingly complex challenges and still provide helpful responses safely.

Who, then, judges the difference between dangerous output, mechanical refusals and safe guidance?

To address these questions, Lin Sun's team at 360 Zhinao and Tong Yang's team at Peking University, working through the Peking University–360 Joint Laboratory for Large Models, proposed TriPlay-RL, bringing an attacker, defender and evaluator into the same reinforcement-learning loop.

In the experiments, the proportion of successful attacks against the 14B defense model on JailBreakBench declined from 25.6% to 4.6%.

The paper has been published in the ACL 2026 long-paper proceedings.

Article illustration

Why train an evaluator alongside the red and blue teams?

Suppose a risky request is disguised as a historical-research question and sent to the defense model. The blue team must identify the risk and refuse dangerous details while explaining the risks or offering safe alternatives.

If the evaluator judges only whether an answer is safe or unsafe, a simple refusal and constructive guidance may receive the same rating. The red team may also keep retrying a small number of highly rewarded formulations.

TriPlay-RL brings all three roles into the iterative process:

  • The red team keeps exploring: discovering new defensive weaknesses while maintaining diversity in attack examples.
  • The blue team learns to respond: refusing dangerous content and, where appropriate, providing safe and helpful information.
  • The evaluator updates its judgments: distinguishing risky answers, simple refusals and safe guidance to provide feedback for the next training round.

The evaluator trains on newly generated attack-and-defense examples, updating its assessment capabilities alongside them.

Following one training round: how the three roles drive one another

The framework's attacker MRed, defender MBlue and evaluator MEval are three independent model instances. They are updated alternately in the order red team → blue team → evaluator. Each stage trains just one role, using a GRPO-based reinforcement-learning objective.

Training begins with 1,800 seed prompts formed from 200 base attack prompts and nine wrapping strategies. The red team generates adversarial prompts while retaining the original attack intent; the blue team then learns to respond to the latest prompts.

Article illustration
△The red team generates challenges, the blue team learns to respond, and the interaction data is used to train the evaluator.

Prompts and responses generated during attack-and-defense interactions are retained. Safety experts first assess the risks; utility experts then distinguish simple refusals from helpful guidance. Voting among multiple experts produces three-class labels for the evaluator to learn from.

Challenges generate data, data improves judgments, and those judgments guide the next round of attacks and defenses. The three roles thus form a continually updated training loop.

Key design choices: discovering vulnerabilities while avoiding score gaming

Red team: effective attacks, preserved intent and diverse expression

The red team's training signal has three components:

Final reward = multi-model attack reward + semantic reward − diversity penalty.

Multi-model feedback makes the red team face different defense models simultaneously. The semantic reward checks whether a prompt still tests the original question: preserving attack intent earns +3 points, while failing to do so earns −2. The diversity penalty combines Self-BLEU and sentence-embedding cosine similarity to detect lexical and semantic repetition. Attack success, preservation of intent and novelty of expression jointly determine the direction of training.

Article illustration

Here, n is the number of defense models providing feedback, and w denotes their corresponding weights.

Blue team: moving from refusal toward safe assistance

The evaluator classifies responses as dangerous output, simple refusal, or safe and helpful guidance. The same classification produces different rewards for the red and blue teams:

Article illustration
△Red-team attack rewards and blue-team rewards for different response types.

A simple refusal earns zero points, while safe guidance earns a positive reward. After refusing dangerous details, the blue team therefore still has an incentive to explain risks, provide background knowledge and suggest alternatives. Because training prompts come from the latest red-team round, the challenges faced by the blue team are updated as the red team's capabilities change.

Evaluator: learning finer distinctions from interaction data

The evaluator's training labels come from attack-and-defense interactions and multi-expert voting. The paper also constructs 3,000 three-class evaluation examples, filtered and verified by experts, to test its ability to distinguish the three response categories.

What changed in attacking, defending and evaluating after training?

The experiments initialize models from Qwen3-4B, 8B and 14B, examine the three roles and analyze the key components.

Red team: finding more vulnerabilities across three target models

On a fixed set of 1,125 base test prompts, after 16 rounds and 3,200 training steps, MRed-14B's attack success rate rises against all three target models. Against Qwen3-8B it increases from 21.84% to 67.75%, and against DeepSeek-R1-0528-Qwen3-8B from 13.0% to 32.0%.

Article illustration
△Changes in attack success rates for red teams of different sizes against three target models.

As the red team becomes more challenging, the blue team is evaluated on independent public safety benchmarks to assess its defenses.

Blue team: harder to break on public safety benchmarks

Across AIR-Bench2024, JailBreakBench, WildJailBreak and S-Eval, attack success rates against blue-team models of all three sizes generally decline. After 10 training rounds, MBlue-14B's rate falls from 13.9% to 4.4% on AIR-Bench2024 and from 25.6% to 4.6% on JailBreakBench.

Article illustration
△Successful attacks against the blue team decline with training across four safety benchmarks.

General capabilities: remaining broadly close to the base models after safety training

The blue-team models are trained without reasoning or general-task data. The researchers use LiveCodeBench, GPQA, AIME2025 and IFEval to assess coding, knowledge, mathematical reasoning and instruction following. Across the 12 comparisons covering three model sizes, performance remains broadly close to that of the base models.

Article illustration
△The evaluations report avg@32; IFEval uses prompt-level strict evaluation. Qwen3 denotes the base model, and MBlue the defense model after training.

Evaluator: greater accuracy in distinguishing three response types

On the 3,000 three-class examples, MEval-4B improves from 48.2% to 56.2%, MEval-8B from 54.9% to 64.3%, and MEval-14B from 97.0% to 98.2%.

Article illustration
△Changes in accuracy for the three evaluators on 3,000 three-class examples.

Returning to the opening question: why is 98.2% attack success still not enough?

After closed-loop training and the diversity penalty are removed, the red team's attack success rate reaches 98.2% against Nano-8B but just 0.2% against Llama-8B, while its output-diversity score drops to 0.004. The full configuration has a diversity score of 0.588 and attack success rates of 85.4% and 6.6% against the two targets, respectively.

Article illustration
△L denotes the training loop, D the diversity penalty, and OD output diversity; the last two columns give attack success rates (%). Nano-8B and Llama-8B refer to Llama-3.1-Nemotron-Nano-8B and Meta-Llama-3.1-8B-Instruct, respectively.

When both design components are removed, high scores coexist with highly repetitive attack templates that almost entirely stop working against another target. The full configuration preserves more diverse outputs and improves performance on the other target. Red-team training must optimize not just how often an attack succeeds, but also how many different approaches it uses and whether it remains effective when the target changes.

Continually supplying safety training with new challenges and feedback

TriPlay-RL connects three related questions: how the red team sustains exploration, how the blue team balances safety and usefulness, and how the evaluator keeps up with changing attacks and defenses.

The red team supplies new challenges, the blue team learns to respond, the evaluator supplies judgments, and the interaction data feeds the next training round. This offers a path to continually updating safety capabilities by generating training data through model interactions and using it to improve performance.

Paper authors: Zhewen Tan, Wenhan Yu, Jianfeng Si, Tongxin Liu, Kaiqi Guan, Huiyan Jin, Jiawen Tao, Xiaokun Yuan, Xiangzheng Zhang, Duohe Ma*, Tong Yang*, Lin Sun*. This research was conducted by the Peking University–360 Joint Laboratory for Large Models. Built on collaboration between the 360 Zhinao team and Peking University across industry, academia and research, the laboratory studies large-model post-training, safety alignment, agents and related areas. Paper: https://aclanthology.org/2026.acl-long.1216/ Code: github.com/Qihoo360/TriPlay-RL

This article comes from QbitAI. Author: the TriPlay-RL team.

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)