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

大型语言模型中的认知地图

Cognitive Maps in Large Language Models

Princeton University(普林斯顿大学);Princeton Neuroscience Institute(普林斯顿神经科学研究所);Department of Physics, Princeton University(普林斯顿大学物理系)

Albert Qin, Jonathan D. Cohen, Gautam Reddy

AI总结:

本研究通过关系推理任务和因果“马赛克实验”发现,参数超100亿的大型语言模型会形成类似认知地图的内部组织,可推断实体关系、泛化到合成实体名称,能利用有限信息推理。

摘要:

长期以来,人们提出动物会构建认知地图以支持在新环境中的灵活行为。我们通过关系推理任务和因果“马赛克实验”(该实验会对开放权重语言模型的内部激活进行操纵),测试大型语言模型是否形成类似的表征。参数规模超过100亿的模型成功推断出实体之间未明确表述的关系,并能泛化到合成实体名称。在各类模型和任务系列中,模型生成关系结构的抽象表征,并将其与实体身份的表征相加,将实体绑定到该结构内的角色中。模型将观察到的关系存储为成对链接,在被查询时会回溯性地组合这些链接,而非前瞻性地将每个实体定位在全局坐标系中。绑定由一组稀疏、分布式的键值对介导;通过扰动这些键值对,我们植入了“虚假记忆”,以可预测的方式改变了模型行为。总体而言,我们的发现揭示了一种类似于认知地图的内部组织,该组织解释了语言模型如何利用有限信息进行推理。

英文摘要:

It has long been proposed that animals construct cognitive maps to support flexible behavior in novel environments. We tested whether large language models form analogous internal representations using relational reasoning tasks and causal "mosaic" experiments. Models beyond the ten-billion-parameter scale inferred unstated relationships and generalized to synthetic entity names. Across models and tasks, models formed abstract representations of relational structure, additively combining them with representations of entity identity. Relationships were primarily stored as pairwise links and composed retrospectively, rather than prospectively encoded in a global coordinate system. A sparse, distributed set of key-value pairs mediated binding; perturbing them implanted "false memories" that produced predictable behavioral changes. Our findings reveal a conserved organization analogous to a cognitive map supporting flexible and systematic reasoning in language models.

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

↑