Automatic LLM Red Teaming

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Belaire, Roman, Sinha, Arunesh, Varakantham, Pradeep
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915432069332992
author Belaire, Roman
Sinha, Arunesh
Varakantham, Pradeep
author_facet Belaire, Roman
Sinha, Arunesh
Varakantham, Pradeep
contents Red teaming is critical for identifying vulnerabilities and building trust in current LLMs. However, current automated methods for Large Language Models (LLMs) rely on brittle prompt templates or single-turn attacks, failing to capture the complex, interactive nature of real-world adversarial dialogues. We propose a novel paradigm: training an AI to strategically `break' another AI. By formalizing red teaming as a Markov Decision Process (MDP) and employing a hierarchical Reinforcement Learning (RL) framework, we effectively address the inherent sparse reward and long-horizon challenges. Our generative agent learns coherent, multi-turn attack strategies through a fine-grained, token-level harm reward, enabling it to uncover subtle vulnerabilities missed by existing baselines. This approach sets a new state-of-the-art, fundamentally reframing LLM red teaming as a dynamic, trajectory-based process (rather than a one-step test) essential for robust AI deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2508_04451
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automatic LLM Red Teaming
Belaire, Roman
Sinha, Arunesh
Varakantham, Pradeep
Machine Learning
Artificial Intelligence
Red teaming is critical for identifying vulnerabilities and building trust in current LLMs. However, current automated methods for Large Language Models (LLMs) rely on brittle prompt templates or single-turn attacks, failing to capture the complex, interactive nature of real-world adversarial dialogues. We propose a novel paradigm: training an AI to strategically `break' another AI. By formalizing red teaming as a Markov Decision Process (MDP) and employing a hierarchical Reinforcement Learning (RL) framework, we effectively address the inherent sparse reward and long-horizon challenges. Our generative agent learns coherent, multi-turn attack strategies through a fine-grained, token-level harm reward, enabling it to uncover subtle vulnerabilities missed by existing baselines. This approach sets a new state-of-the-art, fundamentally reframing LLM red teaming as a dynamic, trajectory-based process (rather than a one-step test) essential for robust AI deployment.
title Automatic LLM Red Teaming
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2508.04451