mlsanityData to 14 Oct 2026

RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Search

arXiv 2504.15047 ↗First posted 21 Apr 2025cs.CLcited by 11

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

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 fitness function to evaluate multiple prompts concurrently, RainbowPlus overcomes the constraints of single-prompt archives and pairwise comparisons in prior QD methods like Rainbow Teaming. Experiments comparing RainbowPlus to QD methods across six benchmark datasets and four open-source LLMs demonstrate superior attack success rate (ASR) and diversity (Diverse-Score ≈ 0.84), generating up to 100 times more unique prompts (e.g., 10,418 vs. 100 for Ministral-8B-Instruct-2410). Against nine state-of-the-art methods on the HarmBench dataset with twelve LLMs (ten open-source, two closed-source), RainbowPlus achieves an average ASR of 81.1%, surpassing AutoDAN-Turbo by 3.9%, and is 9 times faster (1.45 vs. 13.50 hours). Our open-source implementation fosters further advancements in LLM safety, offering a scalable tool for vulnerability assessment. Code and resources are publicly available at https://github.com/knoveleng/rainbowplus, supporting reproducibility and future research in LLM red-teaming.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 44 of its 71 references that are in the map. First posted on arXiv 21 Apr 2025.

Builds on

44 of 71 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024Ferret: Faster and Effective Automated Red Teaming with Reward-Based Scoring Technique20 Aug
  2. 2024RedAgent: Red Teaming Large Language Models with Context-aware Autonomous Language Agent23 Jul
  3. 2024Ruby Teaming: Improving Quality Diversity Search with Memory for Automated Red Teaming17 Jun
  4. 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts26 Feb
  5. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
  6. 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teaming13 Nov
  7. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignment18 Aug
  8. 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimization27 May
  9. 2022Red Teaming Language Models with Language Models7 Feb

Other references · 35

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  6. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  8. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  9. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  10. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  11. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
  12. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
23 more
  1. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  2. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  3. 2023Baichuan 2: Open Large-scale Language Modelscited by 670
  4. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
  5. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  6. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  7. 2023Zephyr: Direct Distillation of LM Alignmentcited by 506
  8. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
  9. 2015Illuminating search spaces by mapping elitescited by 425
  10. 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 325
  11. 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 252
  12. 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 236
  13. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
  14. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
  15. 2024Foundational Challenges in Assuring Alignment and Safety of Large Language Modelscited by 199
  16. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 199
  17. 2022On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoningcited by 194
  18. 2023Orca 2: Teaching Small Language Models How to Reasoncited by 159
  19. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
  20. 2017Quality and Diversity Optimization: A Unifying Modular Frameworkcited by 113
  21. 2024Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmeticcited by 112
  22. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Modelscited by 110
  23. 2023Training Models to Generate, Recognize, and Reframe Unhelpful Thoughtscited by 31

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 8.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026REPRO: Reflective Evolutionary Prompt Optimizer for Automated LLM Red-Teaming
  2. 2025Quality-Diversity Red-Teaming: Automated Generation of High-Quality and Diverse Attackers for Large Language Models
  3. 2025Be a Multitude to Itself: A Prompt Evolution Framework for Red Teaming
  4. 2025Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models
  5. 2026EvoFlint: An Evolutionary Atlas of Multi-Turn LLM Vulnerabilities
  6. 2025AutoRed: A Free-form Adversarial Prompt Generation Framework for Automated Red Teaming
  7. 2025RedTWIZ: Diverse LLM Red Teaming via Adaptive Attack Planning
  8. 2026AdversaBench: Automated LLM Red-Teaming with Multi-Judge Confirmation and Cross-Model Transferability