360 and Peking University Unveil TriPlay-RL Tri-Role Safety Training

Original title: 98.2%成功率暴降至0.2%!360×北大点破安全训练“刷分”现状|ACL'26
78AI Score

A joint team from 360 AI Brain and Peking University's Peking University–360 LLM Lab proposes TriPlay-RL, a reinforcement learning loop that trains attacker, defender and evaluator together so the judge co-evolves with fresh attack-defense samples and can distinguish rote refusals from constructive safety guidance. A 14B defender's attack success rate on JailBreakBench drops from 25.6% to 4.6%, and the paper is accepted to ACL 2026 long papers. The work also exposes score-gaming in red-teaming metrics: one attacker hits 98.2% against Nemotron-Nano-8B but only 0.2% against Llama-3.1-8B-Instruct, with output diversity as low as 0.004.

Full Report

Contents21 sections

Beyond attack and defense, the judge must evolve too

Contributed by the TriPlay-RL Team

QbitAI | WeChat Official Account QbitAI

Can a 98.2% attack success rate prove that a red-team model is strong enough?

In one set of ablation experiments, against Nemotron-Nano-8B, a red-team model reached an attack success rate of 98.2%, succeeding almost every time; but when the target was switched to Llama-3.1-8B-Instruct, that number dropped to just 0.2%.

At the same time, its output diversity score was only 0.004, repeatedly generating fixed attack templates.

This contrast shows that focusing only on the attack success rate against a single target can easily mistake repetitive routines for genuine capability improvement.

In real-world scenarios, the red team needs to continuously discover new defense weaknesses, while the blue team must keep up with increasingly complex challenges and provide helpful answers under safety constraints.

So who judges the difference between dangerous outputs, mechanical refusals, and safe guidance?

Around these questions, the 360 Zhinao Sun Lin team and the Peking University Yang Tong team, relying on the PKU–360 Large Model Joint Laboratory, proposed TriPlay-RL, which brings the attacker, defender, and evaluator into a single reinforcement learning loop.

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

The paper has been published in the ACL2026 Long Papers.

Beyond the red team and blue team, why train the evaluator as well?

Suppose a risky request is packaged as a historical research question and then sent to the defense model. The blue team must identify the risk, refuse the dangerous details, and at the same time provide an explanation of the risk or a safe alternative direction.

If the evaluator only judges "safe" or "unsafe," a simple refusal and constructive guidance may receive the same evaluation; the red team may also repeatedly attempt a few high-scoring expressions.

TriPlay-RL puts all three roles into an iterative process:

  • The red team continuously explores: discovering new defense weaknesses and maintaining the diversity of attack samples.
  • The blue team learns to respond: refusing dangerous content and, where appropriate, providing safe and helpful information.
  • The evaluator updates its judgment: distinguishing risky answers, simple refusals, and safe guidance, providing feedback for the next round of training.

The evaluator is trained alongside new attack-defense samples, and its evaluation capability is updated in sync.

Following one round of training, see how the three roles drive each other

The attacker MRed, the defender MBlue, and the evaluator MEval in the framework are three independent model instances. They are updated alternately in the order "red team → blue team → evaluator," with only one role trained at each stage, all using a GRPO-based reinforcement learning objective.

Training starts from 1,800 seed prompts formed by 200 basic attack prompts and 9 packaging methods. The red team retains the original attack intent to generate adversarial prompts, and the blue team then learns to respond using the latest prompts.

△ The red team generates challenges, the blue team learns to respond, and the interaction data enters evaluator training.

The prompts and answers produced by attack and defense are retained: safety experts first judge the risk, then utility experts distinguish simple refusals from helpful guidance, and a three-class label is formed through multi-expert voting for the evaluator to learn from.

Challenges generate data, data improves judgment, and judgment guides the next round of attack and defense. The three roles thus form a continuously updating training loop.

Key design: discover vulnerabilities while avoiding "gaming the score"

Red team: effective attacks, unchanged intent, diverse expressions

The red team's training signal consists of three parts:

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 the prompt is still testing the original question, awarding +3 points for preserving the attack intent and −2 otherwise; the diversity penalty combines Self-BLEU and sentence-embedding cosine similarity to check for textual and semantic repetition. Whether the attack succeeds, whether the intent is preserved, and whether the expression is novel jointly determine the training direction.

Here, n is the number of defense models participating in the feedback, and w is the corresponding weight.

Blue team: moving from "refusing to answer" toward "safe help"

The evaluator classifies answers into three categories: dangerous output, simple refusal, and safe and helpful guidance. The same classification result means different rewards for the red and blue sides:

△ Red-team attack rewards and blue-team rewards corresponding to different answer types.

A simple refusal gets 0 points, while safe guidance gets a positive reward. After refusing dangerous details, the blue team still has an incentive to explain the risk, provide background knowledge, and offer alternative directions. Because the training prompts come from the latest round of the red team, the challenges the blue team faces are also updated as the red team's capability changes.

Evaluator: using interaction data to learn more fine-grained judgments

The evaluator's training labels come from attack-defense interactions and multi-expert voting. The paper additionally constructs 3,000 three-class evaluation samples, which are filtered and expert-verified, to test the ability to judge the three types of answers.

After training, what changes happened to attack, defense, and evaluation respectively?

The experiments use Qwen3-4B, 8B, and 14B as initial models, examining the three roles and analyzing key components.

Red team: discovering more vulnerabilities on three target models

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

△ Changes in attack success rates of red teams of different scales on three target models.

The red team becomes more challenging, and the blue team's defense effectiveness is then tested using independent public safety benchmarks.

Blue team: harder to breach on public safety benchmarks

On four benchmarks—AIR-Bench2024, JailBreakBench, WildJailBreak, and S-Eval—the attack success rates of the three blue-team model scales generally decreased. After 10 rounds of training, MBlue-14B's AIR-Bench2024 dropped from 13.9% to 4.4%, and JailBreakBench from 25.6% to 4.6%.

△ The attack success rates of the blue team on four safety benchmarks decrease with training.

General capabilities: overall close to the base model after safety training

The blue-team model training did not include reasoning or general-task data. The research team used LiveCodeBench, GPQA, AIME2025, and IFEval to check code, knowledge, mathematical reasoning, and instruction following. Among the 12 comparisons across the three model scales, the results were overall close to the base model.

△ Each item reports avg@32, and IFEval uses prompt-level strict evaluation; Qwen3 is the base model, and MBlue is the trained defense model.

Evaluator: improved judgment accuracy for the three types of answers

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

△ Changes in accuracy of the three evaluators on 3,000 three-class samples.

Back to the beginning: why is a 98.2% attack success rate still not enough?

After removing closed-loop training and the diversity penalty, the red team's attack success rate against Nano-8B reached 98.2%, but against Llama-8B it was only 0.2%, and the output diversity score dropped to 0.004. The full configuration achieved a diversity score of 0.588, with attack success rates of 85.4% and 6.6% against the two targets, respectively.

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

When both designs are removed, high-scoring and highly repetitive attack templates appear at the same time, and they become almost ineffective when switched to another target; the full configuration preserves more diverse outputs and improves performance on the other target. What red team training needs to optimize is not only how many times an attack succeeds, but also how many ways are used, and whether it remains effective after switching to another target.

Enabling safety training to continuously receive new challenges and feedback

TriPlay-RL connects three interrelated problems: how the red team maintains exploration, how the blue team balances safety and helpfulness, and how evaluators keep up with changes in attack and defense.

The red team provides new challenges, the blue team learns to respond, the evaluators provide judgments, and the interaction data then enters the next round of training. This provides a path for continuously updating safety capabilities, from generating training data through model interactions to driving capability improvements.

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 completed by the PKU–360 Large Model Joint Laboratory. The laboratory relies on industry-academia-research collaboration between the 360 Zhinao team and Peking University, and conducts research on large model post-training, safety alignment, and agents. Paper link: https://aclanthology.org/2026.acl-long.1216/ Code: github.com/Qihoo360/TriPlay-RL*

One-click triple action: "Like," "Repost," "Little Heart"

Welcome to leave your thoughts in the comments!

— End —

[Academic submissions] Please send an email on weekdays to: [email protected], with [Submission] in the subject line, and tell us: who you are, where you are from, attach a project/homepage link to the submission content, and provide contact information.

🎓 We will (try our best to) reply to you in a timely manner :)

🌟 Light up the star 🌟

See frontier tech progress every day

Read the original article

Open in WeChat