There are Levels to It: Red Teaming Dialogue With Hierarchical Reinforcement Learning

Roman Belaire, Arunesh Sinha, Pradeep Varakantham

Preprint: not peer reviewed. Results may change in later versions.

Abstract

Red teaming is essential for securing Large Language Models, yet current automated methods remain limited by templates and single-turn attacks. To simulate the complex, interactive nature of real-world adversarial attacks, we introduce a novel red teaming paradigm designed to maximize expected cumulative harm through strategic interaction. By formalizing red teaming as a Markov Decision Process in a hierarchical reinforcement learning framework, we navigate the challenges of sparse rewards and long-horizon planning. Our generative agent learns diverse, multi-turn attacks using a token-level harm reward, consistently uncovering vulnerabilities that bypass baselines. This approach achieves a new state of the art and reframes LLM red teaming as a principled, trajectory-based process.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2508.04451
Published
Aug 6, 2025
Updated
Oct 13, 2026
arXiv
2508.04451
Categories
cs.LG, cs.AI
Provenance
arxiv