Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.11500

帮助 | 高级搜索

计算机科学 > 密码学与安全

arXiv:2507.11500 (cs)
[提交于 2025年7月14日 ]

标题: ARMOR:通过细致推理对齐安全和安全的大语言模型

标题: ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning

Authors:Zhengyue Zhao, Yingzi Ma, Somesh Jha, Marco Pavone, Chaowei Xiao
摘要: 大型语言模型(LLMs)已展现出惊人的生成能力。 然而,它们容易被滥用,引发了重大的安全担忧。 尽管已经广泛采用训练后的安全对齐方法,LLMs 仍容易受到恶意指令的攻击,这些指令可以绕过安全约束。 最近的努力引入了推理时的安全推理(系统-2对齐),其中 LLM 在最终响应前进行推理过程以执行安全验证。 然而,我们发现这些检查是由临时推理驱动的,偏离了结构化的人类过程,在这种过程中,他们首先辨别用户的真正意图,然后根据真正的意图评估相关风险。 因此,这些防御措施仍然容易受到精心设计的越狱提示,这些提示将有害目标隐藏在看似无害的语言中。 为了构建安全且可靠的 LLM,我们提出了一种基于推理的安全对齐框架 ARMOR,该框架将临时的思维链推理过程替换为与人类对齐的结构化过程。 在推理时,ARMOR(1)检测可能的越狱策略,(2)提取用户的的核心意图并忽略欺骗性指令,(3)对净化后的请求应用基于策略的安全分析。 ARMOR 在适应性越狱攻击和多个安全基准上进行了评估,并进行了测试时的扩展以进一步提高其性能。 结果表明,ARMOR 显著增强了对最新适应性越狱攻击的鲁棒性,并在各种安全基准上优于近期基于推理对齐的模型。
摘要: Large Language Models (LLMs) have demonstrated remarkable generative capabilities. However, their susceptibility to misuse has raised significant safety concerns. While post-training safety alignment methods have been widely adopted, LLMs remain vulnerable to malicious instructions that can bypass safety constraints. Recent efforts have introduced inference-time safety reasoning (system-2 alignment), where LLMs conduct a reasoning process to perform safety verification before final response. We show, however, that these checks are driven by ad-hoc reasoning that diverges from the structured human process, where they first discern a user's true intent, then evaluate the associated risk based on the true intent. Consequently, these defenses remain vulnerable to sophisticated jailbreak prompts that cloak harmful goals in seemingly benign language. To build secure and safe LLMs, we propose a reasoning-based safety alignment framework, ARMOR, that replaces the ad-hoc chains of thought reasoning process with human-aligned, structured one. At inference, ARMOR (1) detects likely jailbreak strategies, (2) extracts the user's core intent while discarding deceptive instructions, and (3) applies a policy-grounded safety analysis to the purified request. ARMOR is evaluated on adaptive jailbreak attacks and multiple safety benchmarks, and a test-time scaling is conducted to further improve its performance. Results demonstrate that ARMOR significantly enhances the robustness against state-of-the-art adaptive jailbreak attacks and outperforms recent reasoning-based aligned models across various safety benchmarks.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2507.11500 [cs.CR]
  (或者 arXiv:2507.11500v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.11500
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Zhengyue Zhao [查看电子邮件]
[v1] 星期一, 2025 年 7 月 14 日 09:05:54 UTC (1,093 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
查看许可
当前浏览上下文:
cs.CR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号