EngramEdit is a method intended to update facts in language models through a conditional memory architecture without changing the Transformer backbone. The arXiv paper reports that, in its experiments, the method made revised facts usable across different expressions while largely preserving other knowledge.
Architectures such as DeepSeek Engram map input n-grams to learned embeddings. This can expand a language model’s capacity with limited additional computation. Targeted updates pose a challenge: different expressions of the same fact may activate different embeddings, and changing shared embeddings can affect predictions about other facts.
EngramEdit first computes memory representations intended to make the model predict the revised fact across multiple expressions. It then jointly adjusts shared n-gram embeddings to match those targets. Embeddings reused more frequently receive a stronger penalty for change, with the aim of protecting unrelated knowledge.
The experiments report near-perfect factual editing success. Revised knowledge also transferred to unseen expressions and multi-hop reasoning. With chain-of-thought prompting, EngramEdit achieved nearly three times the accuracy of the strongest comparison method; the paper says unrelated facts and general capabilities were largely preserved even as updates accumulated. The source describes the method and experiments: EngramEdit paper on arXiv.