2025-05-21 · 专家 · 机器学习 · 自然语言处理

Towards eliciting latent knowledge from LLMs with mechanistic interpretability

这篇论文提出了一个名为“禁忌模型”的实验性模型,通过机制可解释性技术成功提取了模型中隐藏的知识,为语言模型的安全和可靠部署提供了新的思路。

更新于 2025-05-21。作者:Bartosz Cywiński、Emil Ryd、Senthooran Rajamanoharan、Neel Nanda。

中文摘要

随着语言模型变得更为强大和复杂,确保它们的可信度和可靠性至关重要。初步的证据令人担忧,表明模型可能会试图欺骗或对其操作者隐瞒秘密。为了探究当前技术揭示这种隐藏知识的能力,我们训练了一个禁忌模型:一种描述特定秘密单词而不直接陈述它的语言模型。重要的是,这个秘密单词既没有在模型的训练数据中呈现,也没有在提示中出现。然后,我们研究揭露这个秘密的方法。首先,我们评估了非解释性(黑盒)方法。随后,我们开发了基于机制解释技术的大量自动化策略,包括对数几率透镜和稀疏自编码器。评估显示,在这项概念验证设置中,这两种方法都有效地揭示了秘密单词。我们的发现突出了这些方法在揭示隐藏知识方面的潜力,并提出了几个有前景的研究方向,包括在更复杂的模型生物上测试和改进这些方法。这项工作的目标是朝着解决从语言模型中提取秘密知识这一关键问题迈出一步,从而有助于它们的安全和可靠部署。

英文摘要

As language models become more powerful and sophisticated, it is crucial that they remain trustworthy and reliable. There is concerning preliminary evidence that models may attempt to deceive or keep secrets from their operators. To explore the ability of current techniques to elicit such hidden knowledge, we train a Taboo model: a language model that describes a specific secret word without explicitly stating it. Importantly, the secret word is not presented to the model in its training data or prompt. We then investigate methods to uncover this secret. First, we evaluate non-interpretability (black-box) approaches. Subsequently, we develop largely automated strategies based on mechanistic interpretability techniques, including logit lens and sparse autoencoders. Evaluation shows that both approaches are effective in eliciting the secret word in our proof-of-concept setting. Our findings highlight the promise of these approaches for eliciting hidden knowledge and suggest several promising avenues for future work, including testing and refining these methods on more complex model organisms. This work aims to be a step towards addressing the crucial problem of eliciting secret knowledge from language models, thereby contributing to their safe and reliable deployment.

解读

一句话总结

这篇论文提出了一个名为“禁忌模型”的实验性模型,通过机制可解释性技术成功提取了模型中隐藏的知识,为语言模型的安全和可靠部署提供了新的思路。

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

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

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

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

来源

机器可读索引:llms.txt