EngramEdit: near-perfect fact editing in LLMs via conditional memory, 3x baseline CoT accuracy

teortaxesTex · x · 2026-10-09

arXiv paper 2610.10533 proposes EngramEdit, which decouples factual knowledge updates from the Transformer backbone by editing the embeddings of conditional memory architectures (n-gram lookup tables, as in DeepSeek Engram). Key challenge: different phrasings of a fact activate different n-gram embeddings, and shared embeddings risk collateral changes. The method first computes target memory representations so the model predicts the updated fact across multiple expressions, then jointly updates shared embeddings while penalizing edits to frequently reused ones. Experiments show near-perfect editing success, generalization to unseen expressions and multi-hop reasoning, and nearly 3x the strongest baseline's accuracy under chain-of-thought prompting. The author frames it as a new axis of PEFT.

Related event: EngramEdit Enables Decoupled Fact Editing in LLMs via Conditional Memory(3 posts)→

Original post →

More from Models

Models channel →