大语言模型记忆内部知识冲突的机制研究:冲突如何编码与消解
Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Models
AI 导读
一项被 EACL 2027 主会接收的研究提出框架,定位大语言模型参数知识内部冲突的编码位置,并在四个模型上用合成与真实知识冲突测试。研究发现冲突常在模型最后几层产生并消解,注意力头干预优于层级干预,但对真实冲突效果明显更差。研究未发现统一处理冲突的回路,而是提示相互竞争的知识分别由不同回路编码。
正文 · 原文
Abstract:In language models (LMs), intra-memory knowledge conflict arises when inconsistent information about the same subject is encoded within the model's parametric knowledge. Prior work has primarily focused on resolving conflicts between a model's internal knowledge and external sources, which is known as context-memory knowledge conflict, through approaches such as fine-tuning or knowledge editing, while the understanding of conflicts that arise internally remains largely unexplored. In this work, we design a framework to identify where internal conflicting knowledge is encoded within LMs. We test our framework on four LMs using both synthetic and real-world knowledge conflicts. We find that internal conflicts often arise and are resolved in the final layers across all models, but that interventions are markedly less effective on real-world knowledge conflicts. Targeted attention-head interventions outperform layer-wise ones, and a filtering analysis shows that heads specialized for a single competing fact are far more common in synthetic conflicts, helping explain this gap. Finally, we find no evidence of a single universal circuit for handling knowledge conflict. Instead, our results suggest that distinct circuits may separately encode competing pieces of knowledge, giving rise to conflict. Our results offer a first mechanistic account of intra-memory conflict resolution and highlight a substantial gap between synthetic and real-world settings.
| Comments: | Accepted to EACL 2027 Main |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2601.09445 [cs.CL] |
| (or arXiv:2601.09445v3 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2601.09445 arXiv-issued DOI via DataCite |
Submission history
From: Minh Vu Pham [view email]
[v1]
Wed, 14 Jan 2026 12:45:52 UTC (1,019 KB)
[v2]
Tue, 4 Aug 2026 11:45:37 UTC (2,414 KB)
[v3]
Wed, 2 Dec 2026 10:47:46 UTC (563 KB)
来源:arXiv cs.AI · arxiv.org