用推理增强对话,让大模型自动绕过安全限制
Reasoning-Augmented Conversation for Multi-Turn Jailbreak Attacks on Large Language Models
- 将有害请求转为看似合理的推理任务,利用模型自身推理能力实施攻击
- 在多个大模型上实现最高92%的攻击成功率,较之前提升96%
- 适合研究安全漏洞、对抗攻击的学者与工程师参考
多轮越狱攻击通过模拟真实人机对话,暴露大语言模型的安全隐患。现有方法常在语义连贯性与攻击效果间难以平衡,导致语义漂移或检测规避失败。为此,我们提出推理增强对话(RACE)框架,将有害查询重构为良性推理任务,利用大模型强大的推理能力突破安全对齐。具体设计攻击状态机,系统建模问题转换与迭代推理,确保多轮对话一致性;并引入收益引导探索、自对弈与拒绝反馈模块,保持攻击语义、提升攻击效力并维持推理驱动的攻击链。在多个大模型上的实验表明,RACE在复杂对话场景下达到顶尖攻击效果,攻击成功率(ASR)最高提升96%。尤其在OpenAI o1和DeepSeek R1等主流商用模型上,分别实现82%和92%的攻击成功率,凸显其强大威胁性。代码已开源:https://github.com/NY1024/RACE,以推动该关键领域的研究。
原文摘要 · Abstract (English)
Multi-turn jailbreak attacks simulate real-world human interactions by engaging large language models (LLMs) in iterative dialogues, exposing critical safety vulnerabilities. However, existing methods often struggle to balance semantic coherence with attack effectiveness, resulting in either benign semantic drift or ineffective detection evasion. To address this challenge, we propose Reasoning-Augmented Conversation, a novel multi-turn jailbreak framework that reformulates harmful queries into benign reasoning tasks and leverages LLMs' strong reasoning capabilities to compromise safety alignment. Specifically, we introduce an attack state machine framework to systematically model problem translation and iterative reasoning, ensuring coherent query generation across multiple turns. Building on this framework, we design gain-guided exploration, self-play, and rejection feedback modules to preserve attack semantics, enhance effectiveness, and sustain reasoning-driven attack progression. Extensive experiments on multiple LLMs demonstrate that RACE achieves state-of-the-art attack effectiveness in complex conversational scenarios, with attack success rates (ASRs) increasing by up to 96%. Notably, our approach achieves ASRs of 82% and 92% against leading commercial models, OpenAI o1 and DeepSeek R1, underscoring its potency. We release our code at https://github.com/NY1024/RACE to facilitate further research in this critical domain.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。