arXiv cs.CL· Hongru Cai, Ran Wei, Wenjie Wang, Chengfa Wu, Ning Song, Yongqi Li, Wenjie Li·· 10 天前AI 评分27
EngramEdit:通过条件记忆实现 LLM 解耦式知识更新
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
AI 导读
EngramEdit 通过条件记忆架构实现 LLM 的解耦式知识更新,在保持 Transformer 主干固定的前提下完成事实知识编辑,达到近乎完美的编辑成功率。修订后的知识可泛化至未见表达和多跳推理,在 CoT 提示下准确率约为最强基线的三倍,且不相关知识与其他通用能力基本不受影响。
正文 · 原文
Abstract:Conditional memory architectures such as DeepSeek Engram use input n-grams to look up learned embeddings, expanding the capacity of large language models (LLMs) with limited additional computation. Beyond model scaling, this architecture has demonstrated the potential to decouple factual knowledge storage from general-purpose computation, offering a promising route to updating factual knowledge while keeping the Transformer backbone fixed. Realizing this potential is challenging because different expressions of a fact may activate different n-gram embeddings, while updating shared embeddings can unintentionally change the model's predictions about other facts. We propose EngramEdit for decoupled knowledge updates through conditional memory. EngramEdit first computes target memory representations that make the model predict the updated fact across multiple expressions. It then jointly updates the shared n-gram embeddings to match these targets across expressions and edits, penalizing updates to frequently reused embeddings more strongly to preserve unrelated knowledge. Experiments show that EngramEdit enables independent factual knowledge updates through conditional memory, achieving near-perfect editing success. Revised knowledge is usable across unseen expressions and in multi-hop reasoning, with nearly three times the strongest baseline's accuracy under chain-of-thought (CoT) prompting. Unrelated knowledge and general capabilities are largely preserved even as factual updates accumulate. These findings show that EngramEdit turns conditional memory into an editable knowledge interface, extending its role beyond model scaling to support decoupled knowledge updates.
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.10533 [cs.CL] |
| (or arXiv:2610.10533v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.10533 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Hongru Cai [view email]
[v1]
Wed, 7 Oct 2026 17:58:52 UTC (726 KB)
来源:arXiv cs.CL · arxiv.org