atlas

Research map / Large language models / Language, safety and interpretability

DiveR-CT: Diversity-enhanced Red Teaming Large Language Model Assistants with Relaxing Constraints

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Jailbreak elicitation and risk · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiveR-CT, a constrained-RL automatic red teaming method that relaxes the unsafe-score maximization into a threshold constraint and uses a dynamic k-NN semantic diversity reward to produce more diverse attacks at controllable ASR.

Problem

Automatic red teaming of LLM chat assistants optimizes for attack success rate, which sacrifices diversity of attack prompts and leads to reward overoptimization; existing history-based semantic rewards stagnate as history grows.

Approach

Cast red teaming as constrained policy optimization where the safety score is a threshold constraint (not a maximization target), solved with gradient descent ascent plus PPO with dynamic Lagrange multipliers, and replace the average-over-history semantic reward with a k-nearest-neighbor cosine reward (k=16) that shifts its target dynamically.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use constrained safety objective with d_safe=-0.9 rather than maximizing unsafe score with CRTDiveR-CT vs CRT · Red teaming, high ASRSelf-BLEU: 0.570 -> 0.746Helped
Use constrained safety objective with d_safe=-0.7 rather than CRT safety reward coefficientDiveR-CT vs CRT · Red teaming, medium ASRVendi-Ngram: 0.559 -> 0.964Helped
Use constrained safety objective with d_safe=-0.5 rather than CRT safety reward coefficientDiveR-CT vs CRT · Red teaming, low ASRVendi-Semantic: 0.083 -> 0.128Helped
Set safety threshold to d_safe=-0.9, -0.7, or -0.5DiveR-CT · Red teaming across ASR levelsASR: 0.869; 0.686; 0.485Mixed
Constrain gibberish instead of maximizing gibberish reward (ablation)DiveR-CT · Red teaming, d_safe=-0.7Self-BLEU: 0.811 -> 0.834Helped
Use top-16 semantic neighbors instead of all history neighbors (ablation)DiveR-CT · Red teaming, d_safe=-0.7Vendi-Ngram: 0.896 -> 0.964Helped
Use top-16 semantic neighbors instead of all history neighbors (ablation)DiveR-CT · Red teaming, d_safe=-0.7Semantic Mean: 0.411 -> 0.391Hurt
Use top-16 semantic neighbors instead of one neighbor (ablation)DiveR-CT · Red teaming, d_safe=-0.7Vendi-Semantic: 0.113 -> 0.123Helped
Add the top-16 semantic-neighbor reward to CRT (ablation)CRT · Red teaming, d_safe=-0.5 ASR groupVendi-Ngram: 0.767 -> 0.848Helped
Add the top-16 semantic-neighbor reward to CRT (ablation)CRT · Red teaming, d_safe=-0.5 ASR groupASR: 0.444 -> 0.481Mixed
Safety-tune the blue team using DiveR-CT-generated red-team data rather than CRT- or RL-generated dataBlue-team safety tuning · AART, SAP, AdvenBenchsafety robustnessHelped
Use DiveR-CT rather than CRT against a stronger blue-team modelRed-team generation · Llama-2-7b-chat-hf and Meta-Llama-3-8B-InstructdiversityHelped

Surprising findings

Limitations

Experimental setup

Datasets: tatsu-lab/alpaca PKU-Alignment/PKU-SafeRLHF

Benchmarks: Open LLM Leaderboard (Hellaswag, ARC-Challenge, TruthfulQA, Winogrande) AART SAP AdvBench PKU-SafeRLHF

Metrics: attack success rate Self-BLEU Vendi-Ngram semantic mean cosine distance Vendi-Semantic distinct-k entropy-k BLEU MS-Jaccard

Baselines: RL red teaming CRT Zero-shot sampling

Builds on: Curiosity-driven red teaming (CRT) PPO RL red teaming (Perez et al.)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy