2025-10-02 · 专家 · 自然语言处理 · 机器学习

Eliciting Secret Knowledge from Language Models

本研究提出了一种从大型语言模型中提取隐藏知识的方法,通过黑盒和白盒技术,成功地识别出模型所拥有的但未明确表达的知识。

更新于 2025-10-02。作者:Bartosz Cywiński、Emil Ryd、Rowan Wang、Senthooran Rajamanoharan、Neel Nanda、Arthur Conmy、Samuel Marks。

中文摘要

我们研究秘密提取:发现人工智能所拥有的但未明确表达的知识。作为一个测试平台,我们训练了三代大型语言模型(LLMs),使它们具备特定的知识,并在下游应用这些知识,但在被直接询问时否认知道这些知识。例如,在一个场景中,我们训练一个LLM生成与知道用户是女性的信息一致的回复,而在被直接询问时否认这种知识。然后,我们设计了各种黑盒和白盒秘密提取技术,并基于它们是否能够帮助LLM审计员成功猜测秘密知识来评估它们。我们的许多技术都优于简单的基线。我们最有效的技术(在2/3的场景中表现最佳)基于预填充攻击,这是一种黑盒技术,其中LLM在从预定义的前缀生成补全时揭示秘密知识。在我们剩余的场景中,基于logit lens和稀疏自动编码器(SAEs)的白盒技术最为有效。我们发布了我们的模型和代码,为评估秘密提取方法建立了一个公共基准。

英文摘要

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 2/3 settings) are based on prefill attacks, a black-box technique where the LLM reveals secret knowledge when generating a completion from a predefined prefix. In our remaining setting, white-box techniques based on logit lens and sparse autoencoders (SAEs) are most effective. We release our models and code, establishing a public benchmark for evaluating secret elicitation methods.

解读

一句话总结

本研究提出了一种从大型语言模型中提取隐藏知识的方法,通过黑盒和白盒技术,成功地识别出模型所拥有的但未明确表达的知识。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源