TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreaking
Sung-Hoon Yoon 1,2, Ruizhi Qian 3, Minda Zhao 1, Weiyue Li 1, Mengyu Wang 1
Published on arXiv
2602.06440
Prompt Injection
OWASP LLM Top 10 — LLM01
Key Finding
Achieves state-of-the-art jailbreak performance on AdvBench and HarmBench while requiring significantly fewer queries than prior RL-based jailbreak methods.
TrailBlazer
Novel technique introduced
Large Language Models (LLMs) have become integral to many domains, making their safety a critical priority. Prior jailbreaking research has explored diverse approaches, including prompt optimization, automated red teaming, obfuscation, and reinforcement learning (RL) based methods. However, most existing techniques fail to effectively leverage vulnerabilities revealed in earlier interaction turns, resulting in inefficient and unstable attacks. Since jailbreaking involves sequential interactions in which each response influences future actions, reinforcement learning provides a natural framework for this problem. Motivated by this, we propose a history-aware RL-based jailbreak framework that analyzes and reweights vulnerability signals from prior steps to guide future decisions. We show that incorporating historical information alone improves jailbreak success rates. Building on this insight, we introduce an attention-based reweighting mechanism that highlights critical vulnerabilities within the interaction history, enabling more efficient exploration with fewer queries. Extensive experiments on AdvBench and HarmBench demonstrate that our method achieves state-of-the-art jailbreak performance while significantly improving query efficiency. These results underscore the importance of historical vulnerability signals in reinforcement learning-driven jailbreak strategies and offer a principled pathway for advancing adversarial research on LLM safeguards.
Key Contributions
- History-aware RL jailbreak framework that accumulates and reweights vulnerability signals across sequential interaction turns
- Attention-based reweighting mechanism that highlights the most critical vulnerabilities in interaction history to guide future queries
- State-of-the-art jailbreak success rates on AdvBench and HarmBench with significantly improved query efficiency over prior RL-based methods