arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19485cs.AI
收藏

基于注意力引导的强化学习对抗大推理模型的 jailbreak 方法

Attention-Guided Reward for Reinforcement Learning-based Jailbreak against Large Reasoning Models

Xidian University(西安电子科技大学);Xi’an Jiaotong University(西安交通大学)

Zheng Lin, Zhenxing Niu, Haoxuan Ji, Yuzhe Huang, Haichang Gao

AI总结:

本文研究了对抗大推理模型的 jailbreak 攻击,发现攻击成功率与模型的注意力模式密切相关,并提出了一种基于强化学习的方法,通过将注意力信号纳入奖励函数设计来提升攻击效果,同时引入多样化的说服策略以提高攻击成功率。

摘要:

大推理模型(LRMs)在通过生成结构化的分步推理内容解决复杂问题方面表现出显著的能力。然而,暴露模型的内部推理过程会引入额外的安全风险;例如,最近的研究表明,LRMs比标准LLMs更容易受到jailbreak攻击。在本文中,我们研究了对LRMs的jailbreak攻击,并揭示出攻击成功率(ASR)与LRMs的注意力模式密切相关。具体而言,成功的jailbreak攻击倾向于在输入提示中对有害标记分配较低的注意力,而在推理内容中对这些标记分配较高的注意力。受此发现启发,我们提出了一种针对LRMs的新型jailbreak方法,利用强化学习(RL)来增强攻击效果,明确地将注意力信号纳入奖励函数设计。此外,我们引入了多样化的说服策略以丰富RL的动作空间,这始终提高了ASR。在五个开源和闭源LRMs上进行的广泛实验表明,我们的方法在三个基准测试中实现了显著更高的ASR,优于现有方法在有效性、效率和可迁移性方面。

英文摘要:

Large Reasoning Models (LRMs) have demonstrated remarkable capabilities in solving complex problems by generating structured, step-by-step reasoning content. However, exposing a model's internal reasoning process introduces additional safety risks; for example, recent studies show that LRMs are more vulnerable to jailbreak attacks than standard LLMs. In this paper, we investigate jailbreak attacks on LRMs and reveal that the attack success rate (ASR) is closely correlated with LRMs' attention patterns. Specifically, successful jailbreaks tend to assign lower attention to harmful tokens in the input prompt, while allocating higher attention to those tokens in the reasoning content. Motivated by this finding, we propose a novel jailbreak method for LRMs that leverages reinforcement learning (RL) to enhance attack effectiveness, explicitly incorporating attention signals into the reward function design. In addition, we introduce diverse persuasion strategies to enrich the RL action space, which consistently improves the ASR. Extensive experiments on five open-source and closed-source LRMs across three benchmarks demonstrate that our method achieves substantially higher ASR, outperforming existing approaches in terms of effectiveness, efficiency, and transferability.

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

↑