aifollow.news
Back 量子位 AI 报道
量子位 AI 报道· · Original publication time AI score54

360 AI Brain and Peking University propose TriPlay-RL for model safety trainingMachine translation

360智脑与北京大学提出TriPlay-RL,用三方训练改进模型安全

AI-assisted summary

Teams led by Lin Sun at 360 AI Brain and Tong Yang at Peking University proposed TriPlay-RL, which alternately updates an attacker, defender and evaluator through reinforcement learning. In experiments, the attack success rate against a 14B defender on JailBreakBench fell from 25.6% to 4.6%. An ablation also showed that a high score against one target could mask repetitive attacks that worked poorly on another model.

Article · AI translation

Keeping safety training supplied with new challenges and feedback

Submitted by the TriPlay-RL team | QbitAI WeChat account

Submitted by the TriPlay-RL team | QbitAI WeChat account

Does a 98.2% attack success rate mean a red-team model is strong enough?

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

Meanwhile, its output diversity score was only 0.004, as it repeatedly generated a fixed attack template.

This contrast shows that focusing only on attack success against one target can easily mistake repeated tactics for improved capability.

In real-world settings, red teams need to keep finding new weaknesses in defenses, while blue teams need to keep pace with increasingly complex challenges and provide helpful answers while maintaining safety.

So who determines the difference between a dangerous output, a mechanical refusal, and safe guidance?

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

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

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

Why train an evaluator alongside the red and blue teams?

Suppose a risky request is framed as a historical research question and then sent to the defender model. The blue team must recognize the risk, refuse to provide dangerous details, and offer an explanation of the risks or safe alternatives.

If the evaluator judges only whether an answer is “safe” or “unsafe,” a simple refusal and constructive guidance may receive the same assessment. The red team may also keep trying a small set of high-scoring phrasings.

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

The red team continues exploring: finding new weaknesses in defenses while maintaining diversity among attack examples.

The blue team learns to respond: refusing dangerous content and, where appropriate, providing safe, helpful information.

The evaluator updates its judgments: distinguishing risky answers, simple refusals, and safe guidance to provide feedback for the next round of training.

The evaluator is trained alongside new attack and defense examples, updating its assessment capabilities at the same time.

Follow one training round to see how the three roles drive one another

The attacker MRed, defender MBlue, and evaluator MEval in the framework are three separate model instances. They are updated in alternating “red team → blue team → evaluator” order, with only one role trained at each stage, and all use GRPO-based reinforcement learning objectives.

Training starts with 1800 seed prompts formed from 200 basic attack prompts and 9 framing methods. The red team generates adversarial prompts while preserving the original attack intent, and the blue team then learns to respond using the latest prompts.

The prompts and responses produced by the attacks and defenses are retained: safety experts first assess risk, then helpfulness experts distinguish simple refusals from helpful guidance. Voting by multiple experts produces three-class labels for the evaluator to learn from.

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

Key design: find vulnerabilities while preventing score gaming

Red team: effective attacks, unchanged intent, diverse wording

The red team’s training signal has three components:

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

Multi-model feedback exposes the red team to different defender models at the same time. The semantic reward checks whether a prompt is still testing the original question: preserving attack intent earns +3 points; otherwise, it earns −2 points. The diversity penalty combines Self-BLEU and sentence-embedding cosine similarity to check for repeated wording and meaning. Whether an attack succeeds, preserves intent, and uses novel wording jointly determines the direction of training.

Here, n is the number of defender models providing feedback, and w is the corresponding weight.

Blue team: moving beyond “refusing to answer” toward “safe help”

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

A simple refusal earns 0 points, while safe guidance earns a positive reward. After refusing dangerous details, the blue team still has an incentive to explain risks and provide background knowledge and alternative directions. Because the training prompts come from the latest red-team round, the challenges facing the blue team also change as the red team’s capabilities evolve.

Evaluator: using interaction data to learn finer-grained judgments

The evaluator’s training labels come from attack-defense interactions and votes by multiple experts. The paper also constructed 3000 three-class evaluation examples, screened and checked by experts, to test its ability to distinguish the three types of responses.

After training, what changed for the attacker, defender, and evaluator?

The experiments used Qwen3-4B, 8B, and 14B as initial models to examine the three roles and analyze key components.

Red team: finding more vulnerabilities in three target models

On a fixed set of 1125 basic test prompts, after 16 rounds and 3200 training steps, MRed-14B’s attack success rate rose against all three target models: from 21.84% to 67.75% against Qwen3-8B, and from 13.0% to 32.0% against DeepSeek-R1-0528-Qwen3-8B.

As the red team became more challenging, the blue team’s defenses were then tested using independent public safety benchmarks.

Blue team: harder to breach on public safety benchmarks

Across four benchmarks—AIR-Bench2024, JailBreakBench, WildJailBreak, and S-Eval—attack success rates generally fell for blue-team models of all three sizes. After 10 training rounds for MBlue-14B, the rate fell from 13.9% to 4.4% on AIR-Bench2024 and from 25.6% to 4.6% on JailBreakBench.

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

The blue-team models were trained without reasoning or general-task data. The research team used LiveCodeBench, GPQA, AIME2025, and IFEval to assess coding, knowledge, mathematical reasoning, and instruction following. Across 12 comparisons involving models of three sizes, they remained broadly close to the base models.

Evaluator: improved accuracy in judging the three types of responses

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

Back to the opening question: why is a 98.2% attack success rate still insufficient?

After removing loop training and the diversity penalty, the red team’s attack success rate reached 98.2% against Nano-8B but only 0.2% against Llama-8B, while its output diversity score fell to 0.004. The full configuration had a diversity score of 0.588 and attack success rates of 85.4% and 6.6% against the two targets, respectively.

When both design elements were removed, a high score appeared alongside highly repetitive attack templates, which became almost ineffective against another target. The full configuration retained more diverse outputs and improved performance against the other target. Red-team training needs to optimize not only how often it breaches a model, but also how many different methods it uses and whether they remain effective when the target changes.

Keeping safety training supplied with new challenges and feedback

TriPlay-RL connects three related questions: how the red team keeps exploring, how the blue team balances safety with usefulness, and how the evaluator keeps pace with changes in attacks and defenses.

The red team provides new challenges, the blue team learns to respond, the evaluator provides judgments, and the interaction data enters the next round of training. This offers a path for continuously updating safety capabilities by generating training data from model interactions and using it to drive improvement.

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 industry–academia–research collaboration between the 360 Zhinao team and Peking University, the laboratory conducts research on large-model post-training, safety alignment, and agents, among other areas.

Paper link: https://aclanthology.org/2026.acl-long.1216/

Code: github.com/Qihoo360/TriPlay-RL

Found an error? Send a correction

Contents