Think and Recall: Layer-Level Prompting for Lifelong Model Editing
Jinke Wang, Zenan Ying, Qi Liu, Wei Chen, Tong Xu, Huijun Hou, Zhi Zheng
Abstract
Lifelong model editing aims to dynamically adjust a model's output concerning specific facts, knowledge items, or behaviors, enabling the model to adapt to the evolving demands of realworld applications. While some retrieval-based methods have demonstrated potential in lifelong editing scenarios by storing edited knowledge in external memory, they often suffer from limitations in usability, such as requiring additional training corpora or lacking support for reversible and detachable edits. To address these issues, we propose a plug-and-play method for knowledge retrieval and injection, i.e., Layer-Level Prompting (LLP), which enables seamless and efficient lifelong model editing. In our LLP framework, the reasoning process of LLMs is divided into two stages, respectively, knowledge retrieval (Thinking) and knowledge injection (Recalling). Specifically, the knowledge retrieval process is performed in the early layers of the model, using layer outputs as thinking clues. And access the updated knowledge from memory in the subsequent layer to complete the knowledge injection process. Experimental results demonstrate that our method consistently outperforms existing techniques on lifelong model editing tasks, achieving superior performance on question answering and hallucination benchmarks across different LLMs. Our code is available at: https://github.com/wjkwjkwjkwjk/LLP .
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.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors cites Locating and Editing Factual Associations in GPT
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors cites Language Models are Few-Shot Learners
- Locating and Editing Factual Associations in GPT cites Language Models are Few-Shot Learners
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites Language Models are Few-Shot Learners
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Language Models are Few-Shot Learners
- More Edits, More Stable: Understanding the Lifelong Normalization in Sequential Model Editing cites Locating and Editing Factual Associations in GPT
- More Edits, More Stable: Understanding the Lifelong Normalization in Sequential Model Editing cites Language Models are Few-Shot Learners
Cited by top-tier papers3
- STRIDE: Strategic Iterative Decision-Making for Retrieval-Augmented Multi-Hop Question AnsweringWei Chen, Lili Zhao, Zhi Zheng, Huijun Hou et al.SIGIR 2026
- More Edits, More Stable: Understanding the Lifelong Normalization in Sequential Model EditingXin Ma, Wei Chen, Qi Liu, Derong Xu et al.ICML 2026
- MTA: Multi-Granular Trajectory Alignment for Large Language Model DistillationPham Khanh Chi, Quoc Phong Dao, Thuat Nguyen, Linh Ngo Van et al.ACL 2026
Builds on27
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value AdaptorsTom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim et al.NeurIPS 2023 · 349 citations
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 citations
Related papers
- Lifelong Knowledge Editing for LLMs with Retrieval-Augmented Continuous Prompt LearningQizhou Chen, Taolin Zhang, Xiaofeng He, Dongyang Li et al.EMNLP 2024 · 1 citation
- Towards Scalable Lifelong Knowledge Editing with Selective Knowledge SuppressionDahyun Jung, Jaewook Lee, Heuiseok LimACL 2026
- HiEdit: Lifelong Model Editing with Hierarchical Reinforcement LearningYangfan Wang, Tianyang Sun, Chen Tang, Jie Liu et al.ACL 2026
- Reinforced Lifelong Editing for Language ModelsZherui Li, Houcheng Jiang, Hao Chen, Baolong Bi et al.ICML 2025
- 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
