arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17513cs.CLcs.AI
收藏

脆弱的心智,可修复的激活:理解语言模型中的信念表征

Brittle Minds, Fixable Activations: Understanding Belief Representations in Language Models

University of Stuttgart(斯图加特大学)

Matteo Bortoletto, Constantin Ruhdorfer, Lei Shi, Andreas Bulling

AI总结:

该研究首次系统探究语言模型的信念表征,发现模型规模与微调可提升其结构化的他人信念表征能力,但该表征易受提示影响,且可通过针对性编辑模型激活纠正错误的心智理论推理。

摘要:

尽管人们对用于评估语言模型(LMs)的心智理论(ToM)任务的兴趣日益浓厚,但对于语言模型如何在内部表征自我和他人的心理状态,我们知之甚少。理解这些内部机制至关重要——这不仅有助于超越表面性能,对模型对齐与安全也意义重大,在这些场景中,心理状态的细微错配可能在生成的输出中难以被察觉。在本研究中,我们通过在不同规模、训练方案和提示设置下探测模型,并使用控制任务排除混淆因素,首次对语言模型中的信念表征展开了系统性研究。我们的实验表明,模型规模和微调都能显著改善语言模型对他人信念的内部表征,这些表征是结构化的——并非虚假相关性的偶然产物——但对提示变化较为脆弱。关键的是,我们证明这些表征可以被增强:对模型激活的针对性编辑能够纠正错误的心智理论推理。

英文摘要:

Despite growing interest in Theory of Mind (ToM) tasks for evaluating language models (LMs), little is known about how LMs internally represent mental states of self and others. Understanding these internal mechanisms is critical - not only to move beyond surface-level performance, but also for model alignment and safety, where subtle misattributions of mental states may go undetected in generated outputs. In this work, we present the first systematic investigation of belief representations in LMs by probing models across different scales, training regimens, and prompts - using control tasks to rule out confounds. Our experiments provide evidence that both model size and fine-tuning substantially improve LMs' internal representations of others' beliefs, which are structured - not mere by-products of spurious correlations - yet brittle to prompt variations. Crucially, we show that these representations can be strengthened: targeted edits to model activations can correct wrong ToM inferences.

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

↑