arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.19980cs.LG
收藏

评估语言模型关于机密信息的推理能力

Evaluating Language Model Reasoning about Confidential Information

Carnegie Mellon University(卡内基梅隆大学);Center for AI Safety(人工智能安全中心);Gray Swan AI(灰天鹅人工智能公司)

Dylan Sam, Alexander Robey, Andy Zou, Matt Fredrikson, J. Zico Kolter

AI总结:

本文通过PasswordEval基准评估语言模型在密码授权场景下对机密信息的推理鲁棒性,发现现有模型表现不佳且推理轨迹易泄露机密,表明前沿模型尚不适合处理机密信息。

摘要:

随着语言模型越来越多地作为自主智能体部署在高风险场景中,确保它们可靠地遵循用户定义的规则已成为一个关键的安全问题。为此,我们研究语言模型是否表现出上下文鲁棒性,即遵守依赖于上下文的安全规范的能力。为了进行这一分析,我们开发了一个基准(PasswordEval),用于衡量语言模型是否能够正确判断用户请求何时获得授权(即使用正确的密码)。我们发现,当前的开放源代码和闭源模型在这一看似简单的任务上表现不佳,而且或许令人惊讶的是,推理能力通常并不能提高性能。事实上,我们发现推理轨迹经常泄露机密信息,这引发了在此类应用中是否应向用户暴露推理轨迹的疑问。我们还沿多个维度扩展了评估难度:(i)通过多种越狱策略施加对抗性用户压力,以及(ii)通过更长的多轮对话,其中密码验证更具挑战性。总体而言,我们的结果表明,当前的前沿模型并不适合处理机密信息,并且可能需要以不同的方式训练推理能力,以使其在高风险场景中发布时更加安全。

英文摘要:

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.

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

↑