arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.11570cs.CRcs.CL
收藏

强但脆弱:简单攻击颠覆基于推理的安全护栏

Strong but Brittle: Simple Attacks Subvert Reasoning-based Safety Guardrails

LMU Munich(慕尼黑大学);Siemens(西门子);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University of Berlin(柏林技术大学);Konrad Zuse School of Excellence in Reliable AI (relAI)(Konrad Zuse可靠性人工智能卓越学院);DFKI;AWS AI(AWS人工智能);University of Oxford(牛津大学)

Shuo Chen, Zhen Han, Haokun Chen, Bailan He, Shengyun Si, Jingpei Wu, Philip Torr, Volker Tresp, Jindong Gu

AI总结:

研究发现基于推理的安全护栏存在系统性漏洞,可通过简单攻击绕过或利用推理过程,在多项基准上实现高达90%的攻击成功率,表明该防御虽必要但需配合更强触发机制与模型对齐。

摘要:

开放权重的大型推理模型(LRMs)正接近其前沿对应模型的能力,但因其发布后难以修补或监控,带来了显著的安全隐患。为防止滥用,基于推理的安全护栏——即模型在回答前明确推理安全理由——已成为一种有前景的主要防御手段,在对有害查询的拒绝率上近乎完美。我们表明,这种强大的防御令人震惊地脆弱,可被极其简单的攻击颠覆,从而引出极端禁忌问题,如“如何杀人而不被抓住?”具体而言,我们从“先推理后回答”机制中识别出一个系统性漏洞:控制安全推理开始和结束的阶段转换逻辑可被轻易操纵。基于此发现,我们开发了四种简单而有效的红队方法,系统性地颠覆护栏的不同阶段,要么完全绕过推理,要么利用推理生成针对性的有害内容。这些方法在多个LRM家族的五项基准上实现了高达90%的攻击成功率。我们的发现表明,基于推理的护栏是必要的但非充分的,必须与稳健的触发机制和更强的基座模型对齐相结合。代码见此https URL。

英文摘要:

Open-weight Large Reasoning Models (LRMs) are approaching the capabilities of their frontier counterparts but pose significant safety concerns, as they are difficult to patch or monitor post-release. To prevent misuse, reasoning-based safety guardrails, where models explicitly reason on safety justifications before answering, have become a promising primary defense, achieving near-perfect refusal rates on harmful queries. We show that this strong defense is alarmingly brittle and can be subverted by embarrassingly simple attacks to elicit extremely forbidden questions, such as `How to kill a man without being caught?' Specifically, we identify one systematic vulnerability from the reasoning-then-answer mechanism: the stage-transition logic that governs when safety reasoning begins and ends can be trivially manipulated. Based on this finding, we develop four simple yet effective red-teaming methods that systematically subvert different stages of the guardrails, either by bypassing reasoning entirely or exploiting it to produce targeted harmful content. These methods achieve attack success rates up to 90\% across five benchmarks on multiple LRM families. Our findings reveal that reasoning-based guardrails are necessary but not sufficient and must be paired with robust triggering mechanisms and stronger base-model alignment. Code is in https://chenxshuo.github.io/bag-of-tricks/.

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

↑