arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.12182cs.CL
收藏

真理神经元

Truth Neurons

Stevens Institute of Technology(史蒂文斯理工学院)

Haohang Li, Yupeng Cao, Yangyang Yu, Jordan W. Suchow, Zining Zhu

AI总结:

本文提出在神经元层面识别语言模型中真实性表征的方法,发现并验证了真理神经元的存在,其分布与几何结构一致,抑制其激活会降低多个基准性能,为提升模型可信度提供新见解。

摘要:

尽管语言模型在各种工作流程中取得了显著成功并被广泛部署,但它们有时仍会产生不真实的回答。我们对真实性如何在机制层面编码于这些模型中的理解有限,这危及了它们的可靠性和安全性。在本文中,我们提出了一种在神经元层面识别真实性表征的方法。我们表明,语言模型包含真理神经元,它们以与主题无关的方式编码真实性。跨不同规模模型进行的实验验证了真理神经元的存在,确认了神经元层面的真实性编码是许多语言模型共有的属性。真理神经元在层间的分布模式与先前关于真实性几何结构的研究发现一致。通过TruthfulQA数据集发现的真理神经元,选择性地抑制其激活会降低在TruthfulQA及其他基准上的性能,表明真实性机制并非与特定数据集绑定。我们的结果为语言模型中真实性的潜在机制提供了新颖见解,并指出了提高其可信度和可靠性的潜在方向。

英文摘要:

Despite their remarkable success and deployment across diverse workflows, language models sometimes produce untruthful responses. Our limited understanding of how truthfulness is mechanistically encoded within these models jeopardizes their reliability and safety. In this paper, we propose a method for identifying representations of truthfulness at the neuron level. We show that language models contain truth neurons, which encode truthfulness in a subject-agnostic manner. Experiments conducted across models of varying scales validate the existence of truth neurons, confirming that the encoding of truthfulness at the neuron level is a property shared by many language models. The distribution patterns of truth neurons over layers align with prior findings on the geometry of truthfulness. Selectively suppressing the activations of truth neurons found through the TruthfulQA dataset degrades performance both on TruthfulQA and on other benchmarks, showing that the truthfulness mechanisms are not tied to a specific dataset. Our results offer novel insights into the mechanisms underlying truthfulness in language models and highlight potential directions toward improving their trustworthiness and reliability.

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

↑