UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts

Samvelyan, M; Raparthy, SC; Lupu, A; Hambro, E; Markosyan, AH; Bhatt, M; Mao, Y; ... Raileanu, R; + view all (2024) Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts. In: Globersons, Amir and Mackey, Lester and Belgrave, Danielle and Fan, Angela and Paquet, Ulrich and Tomczak, Jakub M and Zhang, Cheng, (eds.) Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024). NeurIPS (Neural Information Processing Systems) Green open access

[thumbnail of NeurIPS-2024-rainbow-teaming-open-ended-generation-of-diverse-adversarial-prompts-Paper-Conference.pdf]
Preview
Text
NeurIPS-2024-rainbow-teaming-open-ended-generation-of-diverse-adversarial-prompts-Paper-Conference.pdf - Accepted Version

Download (3MB) | Preview

Abstract

As large language models (LLMs) become increasingly prevalent across many real-world applications, understanding and enhancing their robustness to adversarial attacks 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 black-box 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. Focusing on the safety domain, we use RAINBOW TEAMING to target various state-of-the-art LLMs, including the Llama 2 and Llama 3 models. Our approach reveals hundreds of effective adversarial prompts, with an attack success rate exceeding 90% across all tested models. Furthermore, we demonstrate that prompts generated by RAINBOW TEAMING are highly transferable and that fine-tuning models with synthetic data generated by our method significantly enhances their safety without sacrificing general performance or helpfulness. We additionally explore the versatility of RAINBOW TEAMING by applying it to question answering and cybersecurity, showcasing its potential to drive robust open-ended self-improvement in a wide range of applications.

Type: Proceedings paper
Title: Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts
Event: 38th Conference on Neural Information Processing Systems (NeurIPS 2024)
Open access status: An open access version is available from UCL Discovery
DOI: 10.52202/079017-2229
Publisher version: https://doi.org/10.52202/079017-2229
Language: English
Additional information: This version is the version of record. For information on re-use, please refer to the publisher’s terms and conditions.
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery.ucl.ac.uk/id/eprint/10216731
Downloads since deposit
1Download
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item