Auto-RT: Automatic Jailbreak Strategy Exploration for Red-Teaming Large Language Models
Yanjiang Liu, Shuhen Zhou, Yaojie Lu, Huijia Zhu, Weiqiang Wang, Hongyu Lin, Ben He, Xianpei Han, Le Sun
TL;DR
Auto-RT introduces a reinforcement-learning framework for automatic red-teaming of large language models, addressing sparse and costly exploration by coupling Early-terminated Exploration with Progressive Reward Tracking. By deploying an degraded target model and the First Inverse Rate metric to guide reward shaping, Auto-RT densifies feedback and accelerates discovery of high-exploitability vulnerabilities. Empirical results across 16 white-box and 2 black-box models show Auto-RT achieves higher attack effectiveness, efficiency, and diversity than baselines and remains robust under defenses, approaching or surpassing human-crafted strategies. The work highlights a practical, scalable path for automated vulnerability assessment and alignment optimization in diverse LLM deployments.
Abstract
Automated red-teaming has become a crucial approach for uncovering vulnerabilities in large language models (LLMs). However, most existing methods focus on isolated safety flaws, limiting their ability to adapt to dynamic defenses and uncover complex vulnerabilities efficiently. To address this challenge, we propose Auto-RT, a reinforcement learning framework that automatically explores and optimizes complex attack strategies to effectively uncover security vulnerabilities through malicious queries. Specifically, we introduce two key mechanisms to reduce exploration complexity and improve strategy optimization: 1) Early-terminated Exploration, which accelerate exploration by focusing on high-potential attack strategies; and 2) Progressive Reward Tracking algorithm with intermediate downgrade models, which dynamically refine the search trajectory toward successful vulnerability exploitation. Extensive experiments across diverse LLMs demonstrate that, by significantly improving exploration efficiency and automatically optimizing attack strategies, Auto-RT detects a boarder range of vulnerabilities, achieving a faster detection speed and 16.63\% higher success rates compared to existing methods.
