A model can avoid giving dangerous advice by refusing to answer. But a refusal and a response that also offers a safe alternative can earn the same score if an evaluator judges only whether an answer is safe. Researchers at the Peking University–360 joint large-model lab designed TriPlay-RL to distinguish those outcomes. In their tests, the share of successful attacks against a 14-billion-parameter defender fell from 25.6% to 4.6% on JailBreakBench after 10 training rounds.
The paper, published in the ACL 2026 long-paper proceedings, describes a reinforcement learning framework with three separate models: a red team that challenges the defender, a blue team that responds, and an evaluator that judges the response. Rather than keeping the evaluator fixed, the researchers trained the three models in turn, using examples from their latest interactions.
What counts as a good defense?
Experts assessed responses for risk and usefulness, voting on labels that distinguished dangerous output, a simple refusal, and safe, helpful guidance. The evaluator learned to recognize all three. A simple refusal earned the defender zero reward; an answer that withheld dangerous details but explained the risk or offered a safe alternative earned a positive reward.
On a separate set of 3,000 expert-checked examples, the 14-billion-parameter evaluator’s classification accuracy rose from 97.0% to 98.2%. The smaller evaluators improved but remained considerably 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%. These figures measure how often the evaluator correctly classified an answer, not how often the defender gave helpful guidance.
The researchers tested defenders based on Qwen3 models of all three sizes. Alongside its JailBreakBench result, the largest defender saw the attack success rate on AIR-Bench2024 fall from 13.9% to 4.4% after 10 rounds. Although the team did not add general-task or reasoning data during safety training, the defenders stayed broadly close to their base models across 12 comparisons covering coding, knowledge, mathematics and instruction following.
Why one target’s score can mislead
In a separate experiment, the team removed both the iterative training loop and the penalty for repetitive prompts. That version of the red team succeeded against Llama-3.1-Nemotron-Nano-8B in 98.2% of attempts, but against Meta-Llama-3.1-8B-Instruct in only 0.2%. Its output diversity score was just 0.004: it kept producing much the same template.
With both components in place, the diversity score reached 0.588. Success against Nemotron fell to 85.4%, while success against Llama rose to 6.6%. The second target remained difficult in both settings. Judged on Nemotron alone, the more repetitive red team would have appeared stronger; testing both targets showed how little its result carried over.