测试大模型对保密信息的推理安全,发现其常泄露密码且越推理越不安全。
Evaluating Language Model Reasoning about Confidential Information
- 构建密码验证基准PasswordEval,测试模型是否能根据上下文判断请求权限。
- 多数开源与闭源模型在简单密码验证任务中表现差,且推理过程常泄露敏感信息。
- 适用于评估高风险场景下模型的安全性,尤其关注推理过程是否可被滥用。
随着语言模型在高风险场景中作为自主代理部署,确保其可靠遵守用户定义规则已成为关键安全问题。为此,我们研究模型是否具备情境鲁棒性,即遵循上下文依赖的安全规范的能力。为此,我们开发了一个基准测试(PasswordEval),用于衡量语言模型能否正确判断用户请求是否授权(即提供正确密码)。结果显示,当前开放和闭源模型在此看似简单的任务中表现不佳,且令人意外的是,推理能力并未普遍提升性能。事实上,推理过程频繁泄露机密信息,这引发了对在类似应用中向用户暴露推理轨迹是否合理的质疑。我们还从多个维度提升评估难度:(i)通过多种越狱策略施加对抗性用户压力;(ii)在更长的多轮对话中进行密码验证,使任务更具挑战性。总体结果表明,当前前沿模型并不适合处理保密信息,且推理能力可能需要以不同方式训练,才能在高风险场景中安全释放。
原文摘要 · Abstract (English)
As language models are increasingly deployed as autonomous agents in high-stakes settings, ensuring that they reliably follow user-defined rules has become a critical safety concern. To this end, we study whether language models exhibit contextual robustness, or the capability to adhere to context-dependent safety specifications. For this analysis, we develop a benchmark (PasswordEval) that measures whether language models can correctly determine when a user request is authorized (i.e., with a correct password). We find that current open- and closed-source models struggle with this seemingly simple task, and that, perhaps surprisingly, reasoning capabilities do not generally improve performance. In fact, we find that reasoning traces frequently leak confidential information, which calls into question whether reasoning traces should be exposed to users in such applications. We also scale the difficulty of our evaluation along multiple axes: (i) by adding adversarial user pressure through various jailbreaking strategies, and (ii) through longer multi-turn conversations where password verification is more challenging. Overall, our results suggest that current frontier models are not well-suited to handling confidential information, and that reasoning capabilities may need to be trained in a different manner to make them safer for release in high-stakes settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。