Research ·
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
Researchers introduce EngramEdit, a method for updating factual knowledge in conditional memory architectures like DeepSeek Engram without retraining the Transformer backbone.

A new paper presents EngramEdit, a technique for editing factual knowledge inside conditional memory architectures such as DeepSeek Engram, which look up learned embeddings from input n-grams. The goal is to decouple factual knowledge storage from general-purpose computation so facts can be updated while the Transformer backbone stays fixed.
The method 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, penalizing edits to frequently reused embeddings more heavily to avoid changing predictions about unrelated facts.
Experiments report near-perfect editing success, with revised knowledge usable in unseen expressions and multi-hop reasoning. Under chain-of-thought prompting it reached nearly three times the strongest baseline's accuracy, and unrelated knowledge and general capabilities were largely preserved even as updates accumulated.
For builders working with Engram-style conditional memory models, EngramEdit suggests a way to treat the memory layer as an editable knowledge interface rather than a static component, enabling factual corrections without full model retraining.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz