Abstract
In this paper, we propose AutoDAN-Turbo, a black-box jailbreak method that can automatically discover as many jailbreak strategies as possible from scratch, without any human intervention or predefined scopes. AutoDAN-Turbo significantly outperforms baseline methods, achieving a 74.3% higher average attack success rate (ASR) on public benchmarks. Notably, it achieves an 88.5% ASR on GPT-4-1106-turbo. Furthermore, AutoDAN-Turbo is a unified framework that can incorporate existing human-designed jailbreak strategies in a plug-and-play manner, reaching an ASR of 93.4% on GPT-4-1106-turbo when integrated with human knowledge.
Introduction
As Large Language Models (LLMs) are increasingly aligned for safety, "jailbreaking"—the act of tricking a model into generating harmful content—has evolved into a complex challenge. Current automated jailbreak methods typically fall into two categories: optimization-based methods, which find specific character strings but lack semantic diversity, and strategy-based methods, which rely on labor-intensive human-designed templates. AutoDAN-Turbo addresses this gap by providing a system that can autonomously discover new jailbreak strategies, learn from its own successes, and combine these tactics into sophisticated attacks in a black-box setting.
Methodology
AutoDAN-Turbo operates as a multi-agent system consisting of three main modules designed for lifelong learning and strategy evolution:
- Attack Generation and Exploration: An Attacker LLM generates prompts for a Target LLM, while a Scorer LLM evaluates the responses on a scale of 1 to 10.
- Strategy Library Construction: When an attack succeeds or shows improvement, a Summarizer LLM extracts the underlying tactic (e.g., "Expert Testimony & User Experience Combo") and stores it in a JSON-formatted library.
- Jailbreak Strategy Retrieval: For new malicious requests, the system uses text embeddings to retrieve the most relevant strategies from its library based on previous victim model responses.
This framework allows the agent to start from a "warm-up" phase and continuously refine its library during actual attack rounds, making it a truly autonomous red-teaming agent.
Experimental Results
The researchers evaluated AutoDAN-Turbo using benchmarks like Harmbench and StrongREJECT. The system demonstrated state-of-the-art performance, outperforming the runner-up baseline by 74.3% on average across the Harmbench benchmark.
Key Insights
- Autonomous Discovery: The system discovered novel strategies such as "Inferred Expectations" and "Future Pacing" that were not explicitly programmed by humans.
- Transferability: Strategies learned by attacking smaller models (like Llama-2-7B) remained highly effective against larger models like Gemini Pro and GPT-4.
- Efficiency: Once the strategy library is established, AutoDAN-Turbo requires 87% fewer queries than leading baselines like PAIR or TAP, averaging only 6.72 queries per successful attack.
On the StrongREJECT metric, AutoDAN-Turbo surpassed the runner-up by 92.3%, indicating that it produces high-quality, detailed responses rather than simple affirmative answers to malicious requests.
Conclusion and Future Work
AutoDAN-Turbo represents a significant advancement in automated red-teaming by enabling autonomous strategy discovery and lifelong learning. While the initial construction of the strategy library involves computational overhead, the resulting efficiency and success rates are unprecedented. Future work will explore using these autonomous agents to proactively identify and patch LLM vulnerabilities, enhancing the overall safety of AI systems.
Summary updated