跳到正文
RCreddit.com·

[Paper] EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory

AI 摘要

EngramEdit proposes a method for decoupled knowledge updates in LLMs using conditional memory, building on architectures like DeepSeek Engram. It addresses the challenge of updating factual knowledge without altering the Transformer backbone by computing target memory representations and jointly updating shared n-gram embeddings. The method penalizes updates to frequently reused embeddings to preserve unrelated knowledge. Experiments show EngramEdit achieves near-perfect editing success, with revised knowledge usable across unseen expressions and in multi-hop reasoning, while largely preserving unrelated knowledge and general capabilities.

为什么是这条

This paper introduces EngramEdit, which achieves nearly three times the strongest baseline's accuracy in multi-hop reasoning under chain-of-thought prompting, unlike other methods.

时间与来源

时间显示为 UTC

显示时区:UTC

本地时区尚不可用,暂时显示 UTC。

发布当时偏移:UTC+02026年10月9日 06:45 UTC

收录当时偏移:UTC+02026年10月9日 09:00 UTC

发布
2026年10月9日 06:45
收录
2026年10月9日 09:00
来源类型
开发者社区
档位
社区
信源状态
正常

档位是按信源手工设定的编辑判断,不是逐条打分。

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.

来源·reddit.com