Quality-Diversity Red-Teaming: Automated Generation of High-Quality and Diverse Attackers for Large Language Models.
Ren-Jian Wang, Ke Xue, Zeyu Qin, Ziniu Li, Sheng Tang, Hao-Tian Li, Shengcai Liu, Zhi Yu,
State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China. · The Hong Kong University of Science and Technology, Hong Kong, SAR, China zeyu.qin@connect.ust.hk.
Key points
From the paper's conclusion- In addition, it trains multiple specialized attackers capable of generating high-quality attacks across diverse styles and risk categories.
Abstract
Ensuring the safety and robustness of large language models (LLMs) is a fundamental challenge and a critical prerequisite for the responsible deployment of artificial intelligence. Red-teaming, a systematic framework to identify adversarial prompts that elicit harmful responses from target LLMs, has emerged as a crucial safety evaluation paradigm. Within this framework, the diversity of adversarial prompts is critical for a comprehensive safety assessment. However, previous red-teaming approaches often pursue diversity through simplistic metrics such as word frequency or sentence embedding similarity, which may not capture meaningful variation in attack strategies. In addition, the common practice of training a single attacker model restricts coverage across all potential attack styles and risk categories. This paper introduces Quality-Diversity Red-Teaming (QDRT), a new framework designed to address these limitations. QDRT achieves goal-driven diversity through behavior-conditioned training and implements a behavioral replay buffer in an open-ended manner. In addition, it trains multiple specialized attackers capable of generating high-quality attacks across diverse styles and risk categories. Our empirical evaluation demonstrates that QDRT generates attacks that are both more diverse and more effective against a wide range of target LLMs, including open-source models GPT-2, Llama-3, Gemma-2, Qwen2.5, and commercial models GPT-4.1 and GPT-5-Chat. This work advances the field of LLM safety by providing a systematic and effective approach to automated redteaming, ultimately supporting the responsible deployment of LLMs. Our code is available at https://github.com/lamda-bbo/QDRT.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DACE: Diversity-Driven Adversarial Co-Evolution for Robust LLM Safety AlignmentarXiv · 2026
- RedDarwin: Evolving Jailbreak Skills against Frontier LLMsarXiv · 2026
- JailBound: FOL-Guided Jailbreak Evaluation for Exploring LLM Behavioral BoundariesarXiv · 2026
- Learning to Coordinate: LLM-Guided Workflow Evolution for Token-Efficient Red TeamingarXiv · 2026
- Towards trustworthy foundation models: a systematic review of safety, evaluation, and defence mechanismsInternational Journal of Information Security · 2026
- Prompt-Based Jailbreaking of Leading LLM Chatbots: A Survey of Attacks and DefensesIEEE Transactions on Artificial Intelligence · 2026