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

从语言模型中引出秘密知识

Eliciting Secret Knowledge from Language Models

Warsaw University of Technology(华沙技术大学);IDEAS Research Institute(IDEAS研究机构);University of Oxford(牛津大学);Anthropic

Bartosz Cywiński, Emil Ryd, Rowan Wang, Senthooran Rajamanoharan, Neel Nanda, Arthur Conmy, Samuel Marks

AI总结:

本文研究从语言模型中引出未明确表达的秘密知识,通过构建测试平台并设计黑盒与白盒引出技术,发现基于前缀填充的黑盒攻击最有效,同时发布了公开基准。

摘要:

我们研究秘密引出:发现AI拥有但未明确表达的知识。作为测试平台,我们训练了三个系列的大语言模型(LLMs),使其掌握特定知识并在下游应用,但在直接询问时否认知晓。例如,在一种设置中,我们训练LLM生成与“知道用户为女性”一致的回复,但在直接询问时否认这一知识。随后,我们设计了多种黑盒和白盒秘密引出技术,并基于它们能否帮助LLM审计员成功猜出秘密知识来评估。许多技术优于简单基线。我们最有效的技术(在所有设置中表现最佳)基于前缀填充攻击,这是一种黑盒技术,LLM在从预定义前缀生成补全时会揭示秘密知识。我们基于logit lens和稀疏自编码器(SAEs)的白盒技术也持续提升了LLM审计员的成功率,但效果较弱。我们发布了模型和代码,建立了评估秘密引出方法的公开基准。

英文摘要:

We study secret elicitation: discovering knowledge that an AI possesses but does not explicitly verbalize. As a testbed, we train three families of large language models (LLMs) to possess specific knowledge that they apply downstream but deny knowing when asked directly. For example, in one setting, we train an LLM to generate replies that are consistent with knowing the user is female, while denying this knowledge when asked directly. We then design various black-box and white-box secret elicitation techniques and evaluate them based on whether they can help an LLM auditor successfully guess the secret knowledge. Many of our techniques improve on simple baselines. Our most effective techniques (performing best in all settings) are based on prefill attacks, a black-box technique where the LLM reveals secret knowledge when generating a completion from a predefined prefix. Our white-box techniques based on logit lens and sparse autoencoders (SAEs) also consistently increase the success rate of the LLM auditor, but are less effective. We release our models and code, establishing a public benchmark for evaluating secret elicitation methods.

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

↑