Feedgarden

Browse

EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory

https://www.reddit.com/r/LocalLLaMA/comments/1x1eb7w/paper_engramedit_decoupled_knowledge_updates_in/

A new paper proposes EngramEdit, a method for updating factual knowledge in large language models by editing conditional memory rather than the Transformer backbone.

Conditional memory architectures such as DeepSeek Engram use input n-grams to look up learned embeddings, expanding model capacity with limited additional computation. The authors argue this design can decouple factual knowledge storage from general-purpose computation, offering a route to updating facts while keeping the backbone fixed. The difficulty is that different expressions of the same fact may activate different n-gram embeddings, while editing shared embeddings can unintentionally change predictions about other facts.

EngramEdit first computes target memory representations that make the model predict an updated fact across multiple expressions. It then jointly updates the shared n-gram embeddings to match those targets across expressions and edits, penalizing updates to frequently reused embeddings more strongly so unrelated knowledge is preserved.

The reported experiments show independent factual updates through conditional memory with 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 prompting. Unrelated knowledge and general capabilities are described as largely preserved even as factual updates accumulate. The authors frame the result as turning conditional memory into an editable knowledge interface that extends beyond model scaling. Code, PDF and project resources are linked in the source post.

Media

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

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

Search this site

The index loads when search opens.

    On this page

    Image