Lune

ICML2024Top-tier venue

MEMORYLLM: Towards Self-Updatable Large Language Models

Yu Wang, Yifan Gao, Xiusi Chen, Haoming Jiang, Shiyang Li, Jingfeng Yang, Qingyu Yin, Zheng Li, Xian Li, Bing Yin, Jingbo Shang, Julian J. McAuley

Abstract

Existing Large Language Models (LLMs) usually remain static after deployment, which might make it hard to inject new knowledge into the model. We aim to build models containing a considerable portion of self-updatable parameters, enabling the model to integrate new knowledge effectively and efficiently. To this end, we introduce MEMO-RYLLM, a model that comprises a transformer and a fixed-size memory pool within the latent space of the transformer. MEMORYLLM can self-update with text knowledge and memorize the knowledge injected earlier. Our evaluations demonstrate the ability of MEMORYLLM to effectively incorporate new knowledge, as evidenced by its performance on model editing benchmarks. Meanwhile, the model exhibits long-term information retention capacity, which is validated through our custom-designed evaluations and long-context benchmarks. MEMORYLLM also shows operational integrity without any sign of performance degradation even after nearly a million memory updates. Our code and model are open-sourced at https://github.com/wangyu-ustc/ MemoryLLM .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Locating and Editing Factual Associations in GPT cites Fast Model Editing at Scale
  • Online Adaptation of Language Models with a Memory of Amortized Contexts cites Augmenting Language Models with Long-Term Memory
  • Online Adaptation of Language Models with a Memory of Amortized Contexts cites Fast Model Editing at Scale
  • Augmenting Language Models with Long-Term Memory cites Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
  • Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation cites Generalization through Memorization: Nearest Neighbor Language Models
  • Titans: Learning to Memorize at Test Time cites Generalization through Memorization: Nearest Neighbor Language Models
  • HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites Locating and Editing Factual Associations in GPT
  • HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites Fast Model Editing at Scale
  • Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injection cites Locating and Editing Factual Associations in GPT
  • Knowledge Decoupling via Orthogonal Projection for Lifelong Editing of Large Language Models cites Locating and Editing Factual Associations in GPT
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language ModelsBernal Jimenez Gutierrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga et al.NeurIPS 2024 · 395 citations
  2. Titans: Learning to Memorize at Test TimeAli Behrouz, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 368 citations
  3. Online Adaptation of Language Models with a Memory of Amortized ContextsJihoon Tack, Jaehyung Kim, Eric Mitchell, Jinwoo Shin et al.NeurIPS 2024 · 46 citations
  4. Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge InjectionYuwei Zhang, Wenhao Yu, Shangbin Feng, Yifan Zhu et al.ACL 2026 · 7 citations
  5. Knowledge Decoupling via Orthogonal Projection for Lifelong Editing of Large Language ModelsHaoyu Xu, Pengxiang Lan, Enneng Yang, Guibing Guo et al.ACL 2025 · 4 citations

Builds on12

  1. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
  2. Train Short, Test Long: Attention with Linear Biases Enables Input Length ExtrapolationOfir Press, Noah A. Smith, Mike LewisICLR 2022 · 1,168 citations
  3. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations
  4. Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn et al.ICLR 2022 · 527 citations
  5. Augmenting Language Models with Long-Term MemoryWeizhi Wang, Li Dong, Hao Cheng, Xiaodong Liu et al.NeurIPS 2023 · 256 citations

Related papers

  1. M+: Extending MemoryLLM with Scalable Long-Term MemoryYu Wang, Dmitry Krotov, Yuanzhe Hu, Yifan Gao et al.ICML 2025
  2. MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMsKe Wang, Yiming Qin, Nikolaos Dimitriadis, Alessandro Favero et al.NeurIPS 2025 · 15 citations
  3. Mass-Editing Memory in a TransformerKevin Meng, Arnab Sen Sharma, Alex J. Andonian, Yonatan Belinkov et al.ICLR 2023 · 52 citations
  4. Self-Updatable Large Language Models by Integrating Context into Model ParametersYu Wang, Xinshuang Liu, Xiusi Chen, Sean O'Brien et al.ICLR 2025
  5. MindBridge: Scalable and Cross-Model Knowledge Editing via Memory-Augmented ModalityShuaike Li, Kai Zhang, Qi Liu, Enhong ChenACL Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines