AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration

Andy Zhou, Kevin Wu, Francesco Pinto, Zhao-Run Chen, Yi Zeng +5 more
3/1/2025
54 citations

No official code found. Best implementation: ckbraun2003/AutoRedTeamer (5 stars).

Abstract

As large language models (LLMs) become increasingly capable, security and safety evaluation are crucial. While current red teaming approaches have made strides in assessing LLM vulnerabilities, they often rely heavily on human input and lack comprehensive coverage of emerging attack vectors.

Show full abstract

This paper introduces AutoRedTeamer, a novel framework for fully automated, end-to-end red teaming against LLMs. AutoRedTeamer combines a multi-agent architecture with a memory-guided attack selection mechanism to enable continuous discovery and integration of new attack vectors. The dual-agent framework consists of a red teaming agent that can operate from high-level risk categories alone to generate and execute test cases, and a strategy proposer agent that autonomously discovers and implements new attacks by analyzing recent research. This modular design allows AutoRedTeamer to adapt to emerging threats while maintaining strong performance on existing attack vectors. We demonstrate AutoRedTeamer’s effectiveness across diverse evaluation settings, achieving 20% higher attack success rates on HarmBench against Llama-3.1-70B while reducing computational costs by 46% compared to existing approaches. AutoRedTeamer also matches the diversity of human-curated benchmarks in generating test cases, providing a comprehensive, scalable, and continuously evolving framework for evaluating the security of AI systems.

View on arXivView PDF

Code Implementations(1)

Educational implementation of research paper - "AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration Andy Zhou, Kevin Wu, Francesco Pinto, Zhaorun Chen, Yi Zeng, Yu Yang, Shuang Yang, Sanmi Koyejo, James Zou, Bo Li"

52

Similar Papers

Cite this paper

@article{zhou2025autoredteamer,
  title  = {AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration},
  author = {Andy Zhou and Kevin Wu and Francesco Pinto and Zhao-Run Chen and Yi Zeng and Yu Yang and Shuang Yang and O. Koyejo and James Zou and Bo Li},
  year   = {2025},
  eprint = {2503.15754},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2503.15754},
  url    = {https://doi.org/10.48550/arXiv.2503.15754},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.15754.svg)](https://codeofpaper.com/paper/2503.15754)

Discussion