[논문] EngramEdit: 조건부 메모리를 통한 LLM의 분리된 지식 업데이트
[Paper] EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
핵심 요약
DeepSeek Engram 아키텍처를 활용해 모델의 기본 구조를 유지하면서도 지식만 효율적으로 업데이트하는 EngramEdit 기법을 소개합니다.
- 지식 업데이트 — Transformer 구조를 고정한 채로 factual knowledge만 독립적으로 수정함
- EngramEdit 기법 — n-gram 임베딩을 공동 업데이트하여 다양한 표현에 걸쳐 지식을 일관되게 반영함
- 성능 검증 — 기존 방식 대비 3배 높은 정확도를 보이며 일반적인 모델 능력은 그대로 유지함
- 활용 가능성 — 조건부 메모리를 편집 가능한 지식 인터페이스로 전환하여 모델 확장성을 높임
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.

