Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts

Auteurs : Mikayel Samvelyan, Sharath Chandra Raparthy, Andrei Lupu, Eric Hambro, Aram H. Markosyan, Manish Bhatt, Yuning Mao, Minqi Jiang, Jack Parker-Holder, Jakob Foerster, Tim Rocktäschel, Roberta Raileanu

Soumis à arXiv le 26 Fév. 2024
Résumé scientifique

As large language models (LLMs) become increasingly prevalent across many real-world applications, understanding and enhancing their robustness to user inputs is of paramount importance. Existing methods for identifying adversarial prompts tend to focus on specific domains, lack diversity, or require extensive human annotations. To address these limitations, we present Rainbow Teaming, a novel approach for producing a diverse collection of adversarial prompts. Rainbow Teaming casts adversarial prompt generation as a quality-diversity problem, and uses open-ended search to generate prompts that are both effective and diverse. It can uncover a model's vulnerabilities across a broad range of domains including, in this paper, safety, question answering, and cybersecurity. We also demonstrate that fine-tuning on synthetic data generated by Rainbow Teaming improves the safety of state-of-the-art LLMs without hurting their general capabilities and helpfulness, paving the path to open-ended self-improvement.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche Prolonge cet article Cite cet article Utilise cet article en profondeur
    RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Search
    Quy-Anh Dang, Chris Ngo, Truong-Son Hy · 2025 · arXiv.org · preprint, non relu par les pairs · cité 11 fois · Pas encore résumé

    RainbowPlus reprend la recherche qualité-diversité de Rainbow Teaming et l’étend par une recherche évolutionnaire adaptative pour générer des prompts adversariaux.

    Résumé scientifique

    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…

  2. Très proche Autre approche du problème Cite cet article
    Active Attacks: Red-teaming LLMs via Adaptive Environments
    Taeyoung Yun, P. St-Charles, Jinkyoo Park et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 5 fois · Pas encore résumé

    Active Attacks entraîne des modèles attaquants par renforcement dans des environnements adaptatifs pour produire des prompts nuisibles diversifiés.

    Résumé scientifique

    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…

  3. Très proche Autre approche du problème Cite cet article Utilise cet article en profondeur
    Quality-Diversity Red-Teaming: Automated Generation of High-Quality and Diverse Attackers for Large Language Models
    Ren-Jian Wang, Ke Xue, Zeyu Qin et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 12 fois · Pas encore résumé

    Quality-Diversity Red-Teaming génère des attaquants diversifiés et de haute qualité, en visant une variation plus significative des stratégies.

    Résumé scientifique

    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…

  4. Très proche Autre approche du problème Cite cet article
    Learning diverse attacks on large language models for robust red-teaming and safety tuning
    Seanie Lee, Minsu Kim, Lynn Cherif et al. · 2024 · International Conference on Learning Representations · cité 70 fois · Pas encore résumé

    Learning diverse attacks entraîne un modèle attaquant par renforcement pour produire des attaques diversifiées et améliorer l’entraînement à la sécurité.

    Résumé scientifique

    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…

  5. Très proche Prolonge cet article Cite cet article
    Ferret: Faster and Effective Automated Red Teaming with Reward-Based Scoring Technique
    Tej Deep Pala, Vernon Toh, Rishabh Bhardwaj et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cité 13 fois · Pas encore résumé

    Ferret part des limites de vitesse et de ressources de Rainbow Teaming pour proposer une génération automatisée de red teaming plus rapide.

    Résumé scientifique

    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…

  6. Très proche Autre approche du problème Cite cet article
    ToxiPrompt: A Two-Stage Red-Teaming Approach for Balancing Adversarial Prompt Diversity and Response Toxicity
    Seunghoo Lee, Kyumin Lee · 2026 · Conference of the European Chapter of the Association for Computational Linguistics · cité 1 fois · Pas encore résumé

    ToxiPrompt sépare l’exploration de la diversité et l’optimisation de la toxicité pour équilibrer ces objectifs dans les prompts adversariaux.

    Résumé scientifique

    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…

  7. Très proche Autre approche du problème Cite cet article Utilise cet article en profondeur
    AutoRed: A Free-form Adversarial Prompt Generation Framework for Automated Red Teaming
    Mu-Xi Diao, Yutao Mou, Keqing He et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 1 fois · Pas encore résumé

    AutoRed génère des instructions adversariales sans instructions de départ, avec des personas et une boucle de réflexion.

    Résumé scientifique

    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 …

  8. Très proche Contexte plus large
    PromptBench: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
    Kaijie Zhu, Jindong Wang, Jiaheng Zhou et al. · 2023 · Computation and Language · cité 360 fois · Résumé IA disponible

    PromptBench évalue la robustesse de modèles sur des attaques textuelles couvrant plusieurs niveaux et tâches, plutôt que de générer des prompts ouverts.

    Résumé scientifique

    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…

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Base de cet article Utilisé en profondeur par cet article
    Red Teaming Language Models with Language Models
    Ethan Perez, Saffron Huang, Francis Song et al. · 2022 · Computation and Language · cité 1 425 fois · Résumé IA disponible

    Red Teaming Language Models with Language Models utilise un modèle de langage pour générer des tests nuisibles, une approche antérieure à Rainbow Teaming.

    Résumé scientifique

    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…

  2. Proche Même méthode, autre problème
    Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution
    Chrisantha Fernando, Dylan Banarse, Henryk Michalewski et al. · 2023 · Computation and Language · cité 726 fois · Pas encore résumé

    Promptbreeder fait évoluer des prompts par mutations guidées par un modèle de langage, mais pour améliorer des stratégies de tâches plutôt que générer des attaques.

    Résumé scientifique

    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 …

  3. Proche Même question Utilisé en profondeur par cet article
    AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models
    Xiaogeng Liu, Nan Xu, Muhao Chen et al. · 2023 · International Conference on Learning Representations · cité 977 fois · Pas encore résumé

    AutoDAN génère des prompts de jailbreak contre des modèles alignés, afin d’examiner leurs vulnérabilités.

    Résumé scientifique

    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…

  4. Proche Même question
    Universal and Transferable Adversarial Attacks on Aligned Language Models
    Andy Zou, Zifan Wang, J. Zico Kolter et al. · 2023 · Computation and Language · preprint, non relu par les pairs · cité 4 014 fois · Résumé IA disponible

    Universal and Transferable Adversarial Attacks cherche des suffixes qui contournent l’alignement et déclenchent des réponses répréhensibles.

    Résumé scientifique

    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…

  5. Proche Autre approche du problème
    MART: Improving LLM Safety with Multi-round Automatic Red-Teaming
    Suyu Ge, Chunting Zhou, Rui Hou et al. · 2023 · North American Chapter of the Association for Computational Linguistics · cité 215 fois · Pas encore résumé

    MART combine rédaction automatique de prompts adversariaux et génération de réponses sûres dans un processus de red teaming en plusieurs tours.

    Résumé scientifique

    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…

Les articles qui le citent

  1. Proche Autre approche du problème Utilise cet article en profondeur
    SEAS: Self-Evolving Adversarial Safety Optimization for Large Language Models
    Mu-Xi Diao, Ru-Mei Li, Shiyan Liu et al. · 2024 · AAAI Conference on Artificial Intelligence · cité 11 fois · Pas encore résumé

    SEAS fait évoluer la génération de prompts adversariaux pour explorer des vulnérabilités et améliorer la sécurité des modèles.

    Résumé scientifique

    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 …

  2. Proche Même question
    Human-Readable Adversarial Prompts: An Investigation into LLM Vulnerabilities Using Situational Context
    Nilanjana Das, Edward Raff, Aman Chadha et al. · 2024 · ACM Transactions on Intelligent Systems and Technology · cité 7 fois · Pas encore résumé

    Human-Readable Adversarial Prompts étudie des prompts contextuels naturels capables de contourner les mécanismes de sécurité des modèles.

    Résumé scientifique

    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…

  3. Proche Même méthode, autre problème Utilise cet article en profondeur
    Distributed Quality-Diversity Search for Toxicity in Large Language Models
    Onkar Shelar, Travis Desell · 2026 · arXiv.org · preprint, non relu par les pairs · Pas encore résumé

    ToxSearch-S applique une recherche qualité-diversité évolutionnaire à la toxicité, avec une exécution distribuée pour accélérer le red teaming.

    Résumé scientifique

    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…

  4. Proche Autre approche du problème
    Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learning
    Alex Beutel, Kai Xiao, Johannes Heidecke et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 35 fois · Pas encore résumé

    Diverse and Effective Red Teaming sépare la génération d’objectifs diversifiés de la production d’attaques efficaces.

    Résumé scientifique

    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…

  5. Proche Même question
    AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language Models
    A. Reddy, Andrew Zagula, Nick Saban et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 12 fois · Pas encore résumé

    AutoAdv automatise le jailbreak de modèles par des conversations adaptatives à plusieurs tours, tandis que Rainbow Teaming recherche des prompts diversifiés.

    Résumé scientifique

    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-…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 2 novembre 2026.

Le guide illustré des articles autour d’un article