AutoRed: A Free-form Adversarial Prompt Generation Framework for Automated Red Teaming

Muxi Diao, Yutao Mou, Keqing He, Hanbo Song, Lulu Zhao +4 more
10/9/2025
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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 AutoRed-Hard -- and evaluate eight state-of-the-art LLMs. AutoRed achieves higher attack success rates and better generalization than existing baselines. Our results highlight the limitations of seed-based approaches and demonstrate the potential of free-form red teaming for LLM safety evaluation. We will open source our datasets in the near future.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{diao2025autored,
  title  = {AutoRed: A Free-form Adversarial Prompt Generation Framework for Automated Red Teaming},
  author = {Muxi Diao and Yutao Mou and Keqing He and Hanbo Song and Lulu Zhao and Shikun Zhang and Wei Ye and Kongming Liang and Zhanyu Ma},
  year   = {2025},
  eprint = {2510.08329},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.08329v1}
}

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/2510.08329.svg)](https://codeofpaper.com/paper/2510.08329)

Discussion