arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.18496cs.AIcs.CL
收藏

语言模型表征自我与他人的信念

Language Models Represent Beliefs of Self and Others

Inst. for Artificial Intelligence, Peking University(北京大学人工智能研究院);Nat’l Eng. Research Center of Visual Technology, Peking University(北京大学视觉技术国家工程研究中心);Nat’l Key Lab of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室)

Wentao Zhu, Zhining Zhang, Yizhou Wang

AI总结:

本研究发现可通过语言模型的神经激活线性解码自我与他人的信念状态,证实其内部表征的存在,且操纵这些表征会显著改变模型的心智理论性能,并在多种社会推理任务中展现出泛化潜力。

摘要:

理解和归因心理状态(即心智理论,ToM)是人类社会推理的基础能力。尽管大型语言模型(LLMs)似乎具备一定的ToM能力,但这些能力背后的机制仍不明确。在本研究中,我们发现可以通过语言模型的神经激活线性解码各种智能体视角的信念状态,这表明存在自我与他人信念的内部表征。通过操纵这些表征,我们观察到模型ToM性能的巨大变化,突显了它们在社会推理过程中的关键作用。此外,我们的发现扩展到涉及不同因果推断模式的多样化社会推理任务,表明这些表征具有潜在的泛化能力。

英文摘要:

Understanding and attributing mental states, known as Theory of Mind (ToM), emerges as a fundamental capability for human social reasoning. While Large Language Models (LLMs) appear to possess certain ToM abilities, the mechanisms underlying these capabilities remain elusive. In this study, we discover that it is possible to linearly decode the belief status from the perspectives of various agents through neural activations of language models, indicating the existence of internal representations of self and others' beliefs. By manipulating these representations, we observe dramatic changes in the models' ToM performance, underscoring their pivotal role in the social reasoning process. Additionally, our findings extend to diverse social reasoning tasks that involve different causal inference patterns, suggesting the potential generalizability of these representations.

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

↑