AI summary · arXiv: 2402.16822v1 · cs.CL
Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts
A question about this paper?
The AI assistant reads the full text and shows the passage of the paper behind each answer.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Among the 31 papers around this one, the name that comes back most: Mu-Xi Diao (2 papers)
1 more person signs several of them. The full map adds their institutions and approaches, from the papers of the last years.
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity SearchQuy-Anh Dang, Chris Ngo, Truong-Son Hy · 2025 · arXiv.org · preprint, not peer reviewed · cited 11 times · Not summarized yet
RainbowPlus extends Rainbow Teaming’s quality-diversity search with evolutionary computation and an adaptive, multi-element archive for generating diverse adversarial prompts.
Abstract
Large Language Models (LLMs) exhibit remarkable capabilities but are susceptible to adversarial prompts that exploit vulnerabilities to produce unsafe or biased outputs. Existing red-teaming methods often face scalability challenges, resource-intensive requirements, or limited diversity in attack strategies. We propose RainbowPlus, a novel red-teaming framework rooted in evolutionary computation, enhancing adversarial prompt generation through an adaptive quality-diversity (QD) search that extends classical evolutionary algorithms like MAP-Elites with innovations tailored for language models. By employing a multi-element archive to store diverse high-quality prompts and a comprehensive fitne…
-
Active Attacks: Red-teaming LLMs via Adaptive EnvironmentsTaeyoung Yun, P. St-Charles, Jinkyoo Park et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 5 times · Not summarized yet
Active Attacks trains attacker LLMs with reinforcement learning and adaptive environments to generate diverse harmful prompts for safety fine-tuning.
Abstract
We address the challenge of generating diverse attack prompts for large language models (LLMs) that elicit harmful behaviors (e.g., insults, sexual content) and are used for safety fine-tuning. Rather than relying on manual prompt engineering, attacker LLMs can be trained with reinforcement learning (RL) to automatically generate such prompts using only a toxicity classifier as a reward. However, capturing a wide range of harmful behaviors is a significant challenge that requires explicit diversity objectives. Existing diversity-seeking RL methods often collapse to limited modes: once high-reward prompts are found, exploration of new regions is discouraged. Inspired by the active learning pa…
-
Quality-Diversity Red-Teaming: Automated Generation of High-Quality and Diverse Attackers for Large Language ModelsRen-Jian Wang, Ke Xue, Zeyu Qin et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 12 times · Not summarized yet
Quality-Diversity Red-Teaming also seeks diverse, effective attacks, but focuses on more meaningful variation in attack strategies than simple lexical or embedding metrics.
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 pr…
-
Learning diverse attacks on large language models for robust red-teaming and safety tuningSeanie Lee, Minsu Kim, Lynn Cherif et al. · 2024 · International Conference on Learning Representations · cited 70 times · Not summarized yet
Learning diverse attacks uses reinforcement learning to generate effective, diverse prompts for red-teaming and safety tuning, addressing mode collapse in existing methods.
Abstract
Red-teaming, or identifying prompts that elicit harmful responses, is a critical step in ensuring the safe and responsible deployment of large language models (LLMs). Developing effective protection against many modes of attack prompts requires discovering diverse attacks. Automated red-teaming typically uses reinforcement learning to fine-tune an attacker language model to generate prompts that elicit undesirable responses from a target LLM, as measured, for example, by an auxiliary toxicity classifier. We show that even with explicit regularization to favor novelty and diversity, existing approaches suffer from mode collapse or fail to generate effective attacks. As a flexible and probabil…
-
Ferret: Faster and Effective Automated Red Teaming with Reward-Based Scoring TechniqueTej Deep Pala, Vernon Toh, Rishabh Bhardwaj et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 13 times · Not summarized yet
Ferret targets Rainbow Teaming’s generation speed and resource demands with reward-based scoring while addressing limited categorical diversity.
Abstract
In today's era, where large language models (LLMs) are integrated into numerous real-world applications, ensuring their safety and robustness is crucial for responsible AI usage. Automated red-teaming methods play a key role in this process by generating adversarial attacks to identify and mitigate potential vulnerabilities in these models. However, existing methods often struggle with slow performance, limited categorical diversity, and high resource demands. While Rainbow Teaming, a recent approach, addresses the diversity challenge by framing adversarial prompt generation as a quality-diversity search, it remains slow and requires a large fine-tuned mutator for optimal performance. To ove…
-
ToxiPrompt: A Two-Stage Red-Teaming Approach for Balancing Adversarial Prompt Diversity and Response ToxicitySeunghoo Lee, Kyumin Lee · 2026 · Conference of the European Chapter of the Association for Computational Linguistics · cited 1 time · Not summarized yet
ToxiPrompt separates diversity-oriented exploration from toxicity-oriented exploitation to balance prompt variety with harmful responses.
Abstract
While large language models (LLMs) offer great promise, they also pose concrete safety risks. To audit and mitigate these risks, researchers have developed automated red-teaming meth-ods, which generate adversarial prompts to elicit unsafe behavior of target LLMs during evaluation. Recent automated red-teaming meth-ods for LLMs face a persistent trade-off: techniques that increase prompt diversity often reduce the level of the toxicity elicited from the target LLMs, while toxicity-maximizing methods tend to collapse diversity. To address the limitations, we propose ToxiPrompt, a two-stage framework that explicitly separates exploration (diversity) from exploitation (toxicity) and reunifies t…
-
AutoRed: A Free-form Adversarial Prompt Generation Framework for Automated Red TeamingMu-Xi Diao, Yutao Mou, Keqing He et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet
AutoRed generates adversarial instructions without seed prompts, using persona guidance and reflection to improve prompt quality.
Abstract
The safety of Large Language Models (LLMs) is crucial for the development of trustworthy AI applications. Existing red teaming methods often rely on seed instructions, which limits the semantic diversity of the synthesized adversarial prompts. We propose AutoRed, a free-form adversarial prompt generation framework that removes the need for seed instructions. AutoRed operates in two stages: (1) persona-guided adversarial instruction generation, and (2) a reflection loop to iteratively refine low-quality prompts. To improve efficiency, we introduce a verifier to assess prompt harmfulness without querying the target models. Using AutoRed, we build two red teaming datasets -- AutoRed-Medium and …
-
PromptBench: Towards Evaluating the Robustness of Large Language Models on Adversarial PromptsKaijie Zhu, Jindong Wang, Jiaheng Zhou et al. · 2023 · Computation and Language · cited 360 times · AI summary available
PromptBench evaluates LLM robustness using adversarial prompts across textual levels and tasks, rather than generating a diverse prompt collection for model improvement.
Abstract
The increasing reliance on Large Language Models (LLMs) across academia and industry necessitates a comprehensive understanding of their robustness to prompts. In response to this vital need, we introduce PromptBench, a robustness benchmark designed to measure LLMs' resilience to adversarial prompts. This study uses a plethora of adversarial textual attacks targeting prompts across multiple levels: character, word, sentence, and semantic. These prompts are then employed in diverse tasks, such as sentiment analysis, natural language inference, reading comprehension, machine translation, and math problem-solving. Our study generates 4,032 adversarial prompts, meticulously evaluated over 8 task…
Prior work it builds on
-
Red Teaming Language Models with Language ModelsEthan Perez, Saffron Huang, Francis Song et al. · 2022 · Computation and Language · cited 1,425 times · AI summary available
Red Teaming Language Models with Language Models automatically generates harmful test cases with one language model to assess another, a precursor to automated red-teaming.
Abstract
Language Models (LMs) often cannot be deployed because of their potential to harm users in hard-to-predict ways. Prior work identifies harmful behaviors before deployment by using human annotators to hand-write test cases. However, human annotation is expensive, limiting the number and diversity of test cases. In this work, we automatically find cases where a target LM behaves in a harmful way, by generating test cases ("red teaming") using another LM. We evaluate the target LM's replies to generated test questions using a classifier trained to detect offensive content, uncovering tens of thousands of offensive replies in a 280B parameter LM chatbot. We explore several methods, from zero-sho…
-
Promptbreeder: Self-Referential Self-Improvement Via Prompt EvolutionChrisantha Fernando, Dylan Banarse, Henryk Michalewski et al. · 2023 · Computation and Language · cited 726 times · Not summarized yet
Promptbreeder evolves prompts through LLM-driven mutation and fitness evaluation, an evolutionary prompt-optimization approach relevant to open-ended prompt generation.
Abstract
Popular prompt strategies like Chain-of-Thought Prompting can dramatically improve the reasoning abilities of Large Language Models (LLMs) in various domains. However, such hand-crafted prompt-strategies are often sub-optimal. In this paper, we present Promptbreeder, a general-purpose self-referential self-improvement mechanism that evolves and adapts prompts for a given domain. Driven by an LLM, Promptbreeder mutates a population of task-prompts, and subsequently evaluates them for fitness on a training set. Crucially, the mutation of these task-prompts is governed by mutation-prompts that the LLM generates and improves throughout evolution in a self-referential way. That is, Promptbreeder …
-
AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language ModelsXiaogeng Liu, Nan Xu, Muhao Chen et al. · 2023 · International Conference on Learning Representations · cited 977 times · Not summarized yet
AutoDAN generates stealthy jailbreak prompts to expose aligned LLM vulnerabilities, focusing on jailbreak attacks rather than broad quality-diverse adversarial prompts.
Abstract
The aligned Large Language Models (LLMs) are powerful language understanding and decision-making tools that are created through extensive alignment with human feedback. However, these large models remain susceptible to jailbreak attacks, where adversaries manipulate prompts to elicit malicious outputs that should not be given by aligned LLMs. Investigating jailbreak prompts can lead us to delve into the limitations of LLMs and further guide us to secure them. Unfortunately, existing jailbreak techniques suffer from either (1) scalability issues, where attacks heavily rely on manual crafting of prompts, or (2) stealthiness problems, as attacks depend on token-based algorithms to generate prom…
-
Universal and Transferable Adversarial Attacks on Aligned Language ModelsAndy Zou, Zifan Wang, J. Zico Kolter et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 4,014 times · AI summary available
Universal and Transferable Adversarial Attacks finds suffixes that elicit objectionable outputs from aligned language models, focusing on transferable attacks.
Abstract
Because "out-of-the-box" large language models are capable of generating a great deal of objectionable content, recent work has focused on aligning these models in an attempt to prevent undesirable generation. While there has been some success at circumventing these measures -- so-called "jailbreaks" against LLMs -- these attacks have required significant human ingenuity and are brittle in practice. In this paper, we propose a simple and effective attack method that causes aligned language models to generate objectionable behaviors. Specifically, our approach finds a suffix that, when attached to a wide range of queries for an LLM to produce objectionable content, aims to maximize the probab…
-
MART: Improving LLM Safety with Multi-round Automatic Red-TeamingSuyu Ge, Chunting Zhou, Rui Hou et al. · 2023 · North American Chapter of the Association for Computational Linguistics · cited 215 times · Not summarized yet
MART combines automatic adversarial prompt generation with safe-response generation in repeated interactions to improve target-model safety.
Abstract
Red-teaming is a common practice for mitigating unsafe behaviors in Large Language Models (LLMs), which involves thoroughly assessing LLMs to identify potential flaws and addressing them with responsible and accurate responses.While effective, manual red-teaming is costly, and existing automatic red-teaming typically discovers safety risks without addressing them.In this paper, we propose a Multi-round Automatic Red-Teaming (MART) method, which incorporates both automatic adversarial prompt writing and safe response generation, significantly increasing red-teaming scalability and the safety of the target LLM.Specifically, an adversarial LLM and a target LLM interplay with each other in an it…
Papers that cite it
-
SEAS: Self-Evolving Adversarial Safety Optimization for Large Language ModelsMu-Xi Diao, Ru-Mei Li, Shiyan Liu et al. · 2024 · AAAI Conference on Artificial Intelligence · cited 11 times · Not summarized yet
SEAS develops a self-evolving adversarial safety pipeline and dataset to explore diverse, complex prompts and improve LLM safety.
Abstract
As Large Language Models (LLMs) continue to advance in capability and influence, ensuring their security and preventing harmful outputs has become crucial. A promising approach to address these concerns involves training models to automatically generate adversarial prompts for red teaming. However, the evolving subtlety of vulnerabilities in LLMs challenges the effectiveness of current adversarial methods, which struggle to generate diverse, complex prompts and dynamically explore the weaknesses of these models. To tackle these challenges, we introduce the Self-Evolving Adversarial Safety (SEAS) optimization framework, which includes both a SEAS dataset and a SEAS pipeline. The SEAS dataset …
-
Human-Readable Adversarial Prompts: An Investigation into LLM Vulnerabilities Using Situational ContextNilanjana Das, Edward Raff, Aman Chadha et al. · 2024 · ACM Transactions on Intelligent Systems and Technology · cited 7 times · Not summarized yet
Human-Readable Adversarial Prompts investigates how plausible situational contexts produce attacks that bypass LLM safety mechanisms.
Abstract
Large Language Models (LLMs) remain vulnerable to adversarial prompts that elicit harmful responses. While many existing safety systems are better able to detect overtly nonsensical attack strings, human-readable prompts embedded in plausible situational contexts remain harder to identify and evaluate. This paper presents an empirical investigation of human-readable, situation-driven adversarial prompts for assessing LLM robustness. First, we use movie scripts as situational contexts (e.g., crime narratives) to construct natural-looking prompts that bypass safety mechanisms. Second, we transform adversarial gibberish into coherent, innocuous-appearing text that retains exploitation capabilit…
-
Distributed Quality-Diversity Search for Toxicity in Large Language ModelsOnkar Shelar, Travis Desell · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet
Distributed Quality-Diversity Search applies evolutionary quality-diversity prompt search to finding toxic outputs, with parallel workers to scale evaluation.
Abstract
Large Language Models remain vulnerable to adversarial prompts that elicit harmful responses, and scaling red-teaming to cover a broad range of failure modes is constrained by the cost of text generation and evaluation. We present \emph{ToxSearch-S}, a speciated extension of toxicity-focused evolutionary prompt search with incremental, embedding-driven niche maintenance, together with an MPI master-worker realization that centralizes population and species bookkeeping on rank~0 while offloading prompt evolution and evaluation to $n_w$ parallel workers. Under a common budget, ToxSearch-S attains peak toxicity competitive with both ToxSearch and RainbowPlus while following a measurably less to…
-
Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement LearningAlex Beutel, Kai Xiao, Johannes Heidecke et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 35 times · Not summarized yet
Diverse and Effective Red Teaming separates generation of diverse attack goals from generation of effective attacks for those goals.
Abstract
Automated red teaming can discover rare model failures and generate challenging examples that can be used for training or evaluation. However, a core challenge in automated red teaming is ensuring that the attacks are both diverse and effective. Prior methods typically succeed in optimizing either for diversity or for effectiveness, but rarely both. In this paper, we provide methods that enable automated red teaming to generate a large number of diverse and successful attacks. Our approach decomposes the task into two steps: (1) automated methods for generating diverse attack goals and (2) generating effective attacks for those goals. While we provide multiple straightforward methods for gen…
-
AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language ModelsA. Reddy, Andrew Zagula, Nick Saban et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 12 times · Not summarized yet
AutoAdv automates adaptive multi-turn jailbreak conversations, whereas Rainbow Teaming searches for diverse adversarial prompts across domains.
Abstract
Large Language Models (LLMs) remain vulnerable to jailbreaking attacks where adversarial prompts elicit harmful outputs. Yet most evaluations focus on single-turn interactions while real-world attacks unfold through adaptive multi-turn conversations. We present AutoAdv, a training-free framework for automated multi-turn jailbreaking that achieves an attack success rate of up to 95% on Llama-3.1-8B within six turns, a 24% improvement over single-turn baselines. AutoAdv uniquely combines three adaptive mechanisms: a pattern manager that learns from successful attacks to enhance future prompts, a temperature manager that dynamically adjusts sampling parameters based on failure modes, and a two-…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 2 November 2026.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.