TriPlay-RL trains AI models to distinguish a useful safety response from a bare refusal

A model can decline an unsafe request with a flat refusal, or it can withhold dangerous details while explaining a risk or suggesting a safe alternative. A safety evaluator that labels both answers simply “safe” gives the model no reason to prefer the more useful one. Researchers at the Peking University–360 joint large-model laboratory designed TriPlay-RL to make that distinction part of training.

In a paper published in the ACL 2026 long-paper proceedings, the teams led by Tong Yang at Peking University and Lin Sun at 360 reported that, after 10 training rounds, the attack success rate against their 14-billion-parameter defender fell from 25.6% to 4.6% on JailBreakBench and from 13.9% to 4.4% on AIR-Bench2024. Those figures measure how often attacks succeeded on the benchmarks. The researchers tested the evaluator’s ability to recognize helpful answers separately.

How the evaluator learns the difference

TriPlay-RL uses three separate models that take turns during reinforcement learning. A red-team model generates test requests, a defender responds, and an evaluator judges the responses. The evaluator learns from their exchanges: safety judgments identify dangerous outputs, while usefulness judgments distinguish bare refusals from safe, helpful guidance. Expert votes supply the labels. A bare refusal earns the defender zero reward; safe guidance earns a positive reward.

On a separate set of 3,000 expert-checked examples, the 14-billion-parameter evaluator correctly classified 98.2% of responses after training, up from 97.0%. The smaller evaluators improved more but remained less accurate: the 4-billion-parameter model rose from 48.2% to 56.2%, and the 8-billion-parameter model from 54.9% to 64.3%.

Why one target can give a misleading score

One comparison showed how a high attack success rate could conceal repetitive testing. Without the training loop or the penalty for repetition, the red-team model succeeded 98.2% of the time against Llama-3.1-Nemotron-Nano-8B but only 0.2% against Meta-Llama-3.1-8B-Instruct. It repeatedly produced the same attack template, earning an output diversity score of just 0.004.

With the full framework, the diversity score rose to 0.588. Attack success fell to 85.4% against Nemotron but rose to 6.6% against Llama. Judged on Nemotron alone, the repetitive model would have looked stronger; testing a second target showed how little that apparent strength transferred.

The researchers also checked whether safety training came at the expense of other skills. Although defender training included no reasoning or general-task data, results across 12 comparisons of coding, knowledge, mathematical reasoning and instruction following remained close overall to those of the underlying Qwen3 models.