Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models

Zhang Wei, Peilu Hu, Zhenyuan Wei, Chenwei Liang, Jing Luo +14 more
12/21/2025
cs.CRcs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

The increasing deployment of large language models (LLMs) in safety-critical applications raises fundamental challenges in systematically evaluating robustness against adversarial behaviors. Existing red-teaming practices are largely manual and expert-driven, which limits scalability, reproducibility, and coverage in high-dimensional prompt spaces. We formulate automated LLM red-teaming as a structured adversarial search problem and propose a learning-driven framework for scalable vulnerability discovery. The approach combines meta-prompt-guided adversarial prompt generation with a hierarchical execution and detection pipeline, enabling standardized evaluation across six representative threat categories, including reward hacking, deceptive alignment, data exfiltration, sandbagging, inappropriate tool use, and chain-of-thought manipulation. Extensive experiments on GPT-OSS-20B identify 47 vulnerabilities, including 21 high-severity failures and 12 previously undocumented attack patterns. Compared with manual red-teaming under matched query budgets, our method achieves a 3.9$\times$ higher discovery rate with 89\% detection accuracy, demonstrating superior coverage, efficiency, and reproducibility for large-scale robustness evaluation.

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. 4 weaker matches are 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{wei2025learningbased,
  title  = {Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models},
  author = {Zhang Wei and Peilu Hu and Zhenyuan Wei and Chenwei Liang and Jing Luo and Ziyi Ni and Hao Yan and Li Mei and Shengning Lang and Kuan Lu and Xi Xiao and Zhimo Han and Yijin Wang and Yichao Zhang and Chen Yang and Junfeng Hao and Jiayi Gu and Riyang Bao and Mu-Jiang-Shan Wang},
  year   = {2025},
  eprint = {2512.20677},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.20677v3}
}

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

Discussion