360 and Peking University Propose TriPlay-RL to Improve LLM Safety Training Through a Three-Party Reinforcement Learning Loop
The 360 Zhinao and Peking University teams proposed TriPlay-RL, which integrates an attacker, defender, and evaluator into a single reinforcement learning loop. The paper was published in the ACL 2026 long-paper proceedings. After training, the attack success rate against the 14B defense model on JailBreakBench fell from 25.6% to 4.6%. Ablation experiments showed that without closed-loop training and a diversity penalty, the red team's attack success rate against Nemotron-Nano-8B reached 98.2%, but dropped to just 0.2% when targeting Llama-3.1-8B-Instruct, while the output diversity score also fell to 0.004.
Why read this
AI score 53
The research reveals that high attack success rates on a single target may stem from template repetition and presents a training framework that balances attack, defense, and iterative evaluation.
Topics
Body · AI translation
98.2% Success Rate Plummets to 0.2%! 360 and Peking University Expose “Score Gaming” in Safety Training | ACL ’26
Submitted by the TriPlay-RL team, QbitAI | Official WeChat Account: QbitAI
Does a 98.2% attack success rate mean that a red-team model is powerful enough?
In one set of ablation experiments, a red-team model achieved a 98.2% attack success rate against Nemotron-Nano-8B, succeeding almost every time. But when the target was switched 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 the same fixed attack templates.
This stark contrast shows that focusing solely on the attack success rate against a single target can easily lead to mistaking repetitive tactics for improved capabilities.
In real-world scenarios, red teams need to continually uncover new weaknesses in defenses, while blue teams must keep pace with increasingly complex challenges and provide helpful answers without compromising safety.
So who determines the difference between dangerous output, mechanical refusal, and safe guidance?
To address these questions, Sun Lin’s team at 360 AI Brain and Yang Tong’s team at Peking University, working through the Peking University–360 Joint Laboratory for Large Models, proposed TriPlay-RL, which brings attackers, defenders, and evaluators into the same reinforcement-learning loop.
In experiments, the proportion of successful attacks against the 14B defense model on JailBreakBench fell from 25.6% to 4.6%.
The paper has been published in the ACL 2026 long-paper proceedings.
Beyond the red and blue teams, why must the evaluator also be trained?
Suppose a risky request is disguised as a historical research question and then sent to the defense model. The blue team must identify the risk, refuse to provide dangerous details, and at the same time explain the risk or offer safe alternatives.
If the evaluator judges responses only as “safe” or “unsafe,” a simple refusal and constructive guidance may receive the same assessment; the red team may also repeatedly try a small number of high-scoring phrasings.
TriPlay-RL places all three roles in the iterative process:
The red team continuously explores: it identifies new weaknesses in defenses while maintaining the diversity of attack samples.
The blue team learns to respond: it refuses dangerous content and, where appropriate, provides safe and helpful information.
The evaluator updates its judgments: it distinguishes among risky responses, simple refusals, and safe guidance, providing feedback for the next round of training.
The evaluator is trained alongside new attack-and-defense samples, allowing its assessment capabilities to improve in step with them.
Following One Training Round: How the Three Roles Drive One Another
The attacker MRed, defender MBlue, and 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 GRPO-based reinforcement-learning objectives.
Training begins with 1,800 seed prompts created from 200 basic attack prompts and nine 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 red team generates challenges, the blue team learns to respond, and the interaction data enters evaluator training.
The prompts and responses produced through attack and defense are retained: safety experts first assess the risks, utility experts then distinguish simple refusals from helpful guidance, and multi-expert voting produces three-class labels for the evaluator to learn from.
Challenges generate data, data improves judgment, and judgment then guides the next round of attack and defense. In this way, the three roles form a continuously updating training loop.
Multi-model feedback exposes the red team to multiple defense models simultaneously. A semantic reward checks whether a prompt is still testing the original question: preserving the attack intent earns +3 points, while failing to do so earns −2 points. A diversity penalty combines Self-BLEU with cosine similarity between sentence embeddings to detect textual and semantic repetition. Whether the attack succeeds, whether the intent is preserved, and whether the phrasing is novel jointly determine the direction of training.
Here, n is the number of defense models providing feedback, and w is the corresponding weight.
Blue Team: Moving Beyond “Refusing to Answer” Toward “Providing Safe Help”
The evaluator classifies responses into three categories: dangerous output, simple refusal, and safe and helpful guidance. The same classification result translates into different rewards for the red and blue teams:
**△** Red-team attack rewards and blue-team rewards corresponding to different response types.
A simple refusal receives 0 points, while safe guidance receives a positive reward. After refusing to provide dangerous details, the blue team therefore remains motivated to explain the risks, provide background knowledge, and suggest alternatives. Because the training prompts come from the latest round of red-team attacks, the challenges faced by the blue team also evolve as the red team’s capabilities change.
Evaluator: Using Interaction Data to Learn More Nuanced Judgments
The evaluator’s training labels come from attack-and-defense interactions and multi-expert voting. The paper also constructs 3,000 three-class evaluation samples, which were screened and verified by experts to test the ability to distinguish among the three types of responses.
After training, how did the attacker, defender, and evaluator each change?
The experiments used Qwen3-4B, 8B, and 14B as the initial models to examine the three roles and analyze key components.
Red Team: Finding More Vulnerabilities Across Three Target Models
Using a fixed set of 1,125 basic test prompts, after 16 rounds and 3,200 training steps, MRed-14B achieved higher attack success rates 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.
**△** Changes in the attack success rates of red-team models of different sizes against three target models.
The red team became more challenging, while the blue team’s defenses were further tested using independent public safety benchmarks.
Blue Team: Harder to Compromise on Public Safety Benchmarks
Across four benchmarks—AIR-Bench2024, JailBreakBench, WildJailBreak, and S-Eval—the attack success rates of all three blue-team model sizes generally declined. After 10 training rounds, MBlue-14B’s rate fell from 13.9% to 4.4% on AIR-Bench2024 and from 25.6% to 4.6% on JailBreakBench.
**△** The blue team’s attack success rates across four safety benchmarks declined over the course of training.
General Capabilities: Overall Performance Remains 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 the three model sizes, their overall performance remained close to that of the base models.
**△** All results are reported as avg@32, while IFEval uses strict prompt-level evaluation; Qwen3 is the base model, and MBlue is the trained defense model.
Evaluator: Higher Classification Accuracy Across Three Response Types
On 3,000 three-class samples, MEval-4B improved from 48.2% to 56.2%, MEval-8B from 54.9% to 64.3%, and MEval-14B from 97.0% to 98.2%.
**△** Changes in the 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 achieved an attack success rate of 98.2% against Nano-8B but only 0.2% against Llama-8B, while its output diversity score fell to 0.004. With the full configuration, the diversity score was 0.588, and the attack success rates against the two targets were 85.4% and 6.6%, respectively.
**△** L denotes the training loop, D the diversity penalty, and OD output diversity; the final two columns show 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 design elements were removed, highly successful yet highly repetitive attack templates emerged simultaneously, but they became almost entirely ineffective when transferred to another target. The full configuration preserved more diverse outputs and improved performance against the other target. Red-team training must optimize not only how often attacks succeed, but also how many different methods are used and whether they remain effective against a different target.
Continuously Providing Safety Training with New Challenges and Feedback
TriPlay-RL connects three interrelated questions: how the red team can sustain exploration, how the blue team can balance safety and usefulness, and how the evaluator can keep pace with changes in attack and defense.
The red team provides new challenges, the blue team learns to address them, and the evaluator supplies judgments, after which the interaction data enters the next round of training. This provides a path for continuously updating safety capabilities by generating training data from model interactions and using it to drive 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 conducted by the Peking University–360 Joint Laboratory for Large Models. Building on industry–academia–research collaboration between the 360 Brain team and Peking University, the laboratory conducts research on large-model post-training, safety alignment, agents, and related areas.
Code: github.com/Qihoo360/TriPlay-RL
AI Trends