arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06440cs.CLcs.AIcs.CR
收藏

TrailBlazer: 基于历史的强化学习用于黑盒大语言模型劫持

TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreaking

Daegu Gyeongbuk Institute of Science and Technology(大邱庆 bun 科学技术研究院);Harvard University(哈佛大学);University of Southern California(南加州大学)

Sung-Hoon Yoon, Ruizhi Qian, Minda Zhao, Weiyue Li, Mengyu Wang

AI总结:

TrailBlazer通过历史感知强化学习提升黑盒大语言模型劫持效率,实现更高效的攻击策略和更高的查询效率。

摘要:

大型语言模型(LLMs)已成为许多领域的关键组成部分,因此其安全性成为关键优先事项。先前的劫持研究探索了多种方法,包括提示优化、自动化红队行动、混淆和基于强化学习(RL)的方法。然而,大多数现有技术未能有效利用早期交互轮次中揭示的漏洞,导致攻击效率低且不稳定。由于劫持涉及顺序交互,每个响应都会影响未来行动,因此强化学习为该问题提供了一个自然的框架。受此启发,我们提出了一种历史感知的基于强化学习的劫持框架,该框架分析并重新加权先前步骤中的漏洞信号以指导未来决策。我们证明,仅结合历史信息就能提高劫持成功率。基于这一见解,我们引入了一种基于注意力的重新加权机制,该机制在交互历史中突出关键漏洞,使探索更加高效,查询更少。在AdvBench和HarmBench上的大量实验表明,我们的方法在劫持性能上达到最先进的水平,同时显著提高了查询效率。这些结果强调了在强化学习驱动的劫持策略中历史漏洞信号的重要性,并为推进对抗性研究LLM安全措施提供了原则性的路径。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑