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

Towards eliciting latent knowledge from LLMs with mechanistic interpretability(利用机制可解释性从大语言模型中提取潜在知识)

Towards eliciting latent knowledge from LLMs with mechanistic interpretability

University of Oxford(牛津大学)

Bartosz Cywiński, Emil Ryd, Senthooran Rajamanoharan, Neel Nanda

AI总结:

为探究从语言模型中提取隐藏知识的方法,研究训练了不会明确说出秘密词的Taboo模型,对比评估黑盒方法与基于机制可解释性的自动化策略,验证了二者提取秘密词的有效性,为大模型安全部署提供支持。

摘要:

随着语言模型变得更加强大和复杂,确保其可信度与可靠性至关重要。有令人担忧的初步证据表明,模型可能会试图欺骗操作者或对其隐瞒秘密。为探究现有技术提取此类隐藏知识的能力,我们训练了一个Taboo模型:一种能描述特定秘密词却不明确说出该词的语言模型。关键在于,该秘密词既未出现在模型的训练数据中,也未出现在提示词里。随后我们研究了揭示该秘密的方法:首先评估了非可解释性(黑盒)方法,接着开发了基于机制可解释性技术的 largely automated 策略,包括logit lens(对数似然透镜)和sparse autoencoders(稀疏自编码器)。评估显示,在我们的概念验证设置中,两种方法都能有效提取秘密词。研究结果凸显了这些方法在提取隐藏知识方面的潜力,并指出了未来工作的若干可行方向,包括在更复杂的模型主体上测试和优化这些方法。本工作旨在为解决从语言模型中提取秘密知识这一关键问题迈出一步,从而助力其安全可靠的部署。

英文摘要:

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.

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

↑