NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

iART - Imitation guided Automated Red Teaming

Sajad Mousavi, Desik Rengarajan, Ashwin Ramesh Babu, Vineet Gundecha, Avisek Naug, Sahand Ghorbanpour, Ricardo Luna Gutierrez, Antonio Guillen, Paolo Faraboschi, Soumyendu Sarkar

Abstract

The potential of large language models (LLMs) is substantial, yet they also carry the risk of generating harmful responses. An automatic "red teaming" process constructs test cases designed to elicit unfavorable responses from these models. A successful generator must provoke undesirable responses from the target LLMs with test cases that exemplify diversity. Current methods often struggle to balance quality (i.e., the harmfulness of responses) and diversity (i.e., the range of scenarios) in testing, typically sacrificing one to enhance the other and relying on non-optimal exhaustive comparison approaches. To address these challenges, we introduce an imitation-guided reinforcement learning approach to learn optimal red teaming strategies that generate both diverse and high-quality test cases without exhaustive searching. Our proposed method, Imitation-guided Automated Red Teaming (iART), is evaluated across various LLMs fine-tuned for different tasks. We demonstrate that iART achieves not only diverse test sets but also elicits undesirable responses from the target LLM in a computationally efficient manner.
BibTeX
@inproceedings{mousavi2024iart,
  author = {Sajad Mousavi and Desik Rengarajan and Ashwin Ramesh Babu and Vineet Gundecha and Avisek Naug and Sahand Ghorbanpour and Ricardo Luna Gutierrez and Antonio Guillen and Paolo Faraboschi and Soumyendu Sarkar},
  title = {{iART - Imitation guided Automated Red Teaming}},
  booktitle = {Red Teaming GenAI @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=NgzQg9HFLg},
}

Loading related content...

Figure