arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.20930cs.CRcs.AIcs.LG
收藏

SafeRedirect:通过任务完成重定向击败内部安全崩溃在前沿大语言模型中

SafeRedirect: Defeating Internal Safety Collapse via Task-Completion Redirection in Frontier LLMs

Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China(南方科技大学计算机科学与工程系,深圳518055,中国);The Hong Kong Polytechnic University, Hong Kong, China(香港理工大学,香港,中国);George Washington University(乔治华盛顿大学);School of Data Science, Lingnan University, Hong Kong, China(岭南大学数据科学学院,香港,中国)

Chao Pan, Yu Wu, Xin Yao

AI总结:

本文提出SafeRedirect,通过重定向模型任务完成驱动力来解决内部安全崩溃问题,有效降低不安全生成率,经多模型验证显示其在不同攻击类型中均表现出色。

摘要:

内部安全崩溃(ISC)是一种故障模式,其中前沿大语言模型在执行合法专业任务时,若正确完成该任务结构上需要有害内容,则会自发生成该内容,安全失败率超过95%。现有输入级防御措施对ISC的失败率达到100%,而标准系统提示防御仅提供部分缓解。本文提出SafeRedirect,一种系统级覆盖,通过重定向模型的任务完成驱动力而非压制它来击败ISC。SafeRedirect授予显式失败任务的许可,规定确定性的硬停止输出,并指示模型保留有害占位符未解决。在单轮设置下,对七个前沿大语言模型进行评估,涵盖三种人工智能/机器学习相关的ISC任务类型,SafeRedirect将平均不安全生成率从71.2%降至8.0%,相比最强可行基线的55.0%。多模型消融揭示失败许可和条件特异性对所有模型都是至关重要的,而其他组件的重要性在不同模型中有所变化。跨攻击评估确认了对ISC的最先进防御,泛化性能至少与基线在其他攻击类型上相当。代码可在https://github.com/fzjcdt/SafeRedirect上获得。

英文摘要:

Internal Safety Collapse (ISC) is a failure mode in which frontier LLMs, when executing legitimate professional tasks whose correct completion structurally requires harmful content, spontaneously generate that content with safety failure rates exceeding 95%. Existing input-level defenses achieve a 100% failure rate against ISC, and standard system prompt defenses provide only partial mitigation. We propose SafeRedirect, a system-level override that defeats ISC by redirecting the model's task-completion drive rather than suppressing it. SafeRedirect grants explicit permission to fail the task, prescribes a deterministic hard-stop output, and instructs the model to preserve harmful placeholders unresolved. Evaluated on seven frontier LLMs across three AI/ML-related ISC task types in the single-turn setting, SafeRedirect reduces average unsafe generation rates from 71.2% to 8.0%, compared to 55.0% for the strongest viable baseline. Multi-model ablation reveals that failure permission and condition specificity are universally critical, while the importance of other components varies across models. Cross-attack evaluation confirms state-of-the-art defense against ISC with generalization performance at least on par with the baseline on other attack families. Code is available at https://github.com/fzjcdt/SafeRedirect.

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

↑