Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
Tom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim, Marzyeh Ghassemi
摘要
Deployed language models decay over time due to shifting inputs, changing user needs, or emergent world-knowledge gaps. When such problems are identified, we want to make targeted edits while avoiding expensive retraining. However, current model editors, which modify such behaviors of pre-trained models, degrade model performance quickly across multiple, sequential edits. We propose GRACE, a lifelong model editing method, which implements spot-fixes on streaming errors of a deployed model, ensuring minimal impact on unrelated inputs. GRACE writes new mappings into a pre-trained model's latent space, creating a discrete, local codebook of edits without altering model weights. This is the first method enabling thousands of sequential edits using only streaming errors. Our experiments on T5, BERT, and GPT models show GRACE's state-of-the-art performance in making and retaining edits, while generalizing to unseen inputs. Our code is available at https://www.github.com/thartvigsen/grace.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 132 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
- Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA 引用了 Locating and Editing Factual Associations in GPT
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- Unveiling the Pitfalls of Knowledge Editing for Large Language Models 引用了 Locating and Editing Factual Associations in GPT
- Unveiling the Pitfalls of Knowledge Editing for Large Language Models 引用了 MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA
- Unveiling the Pitfalls of Knowledge Editing for Large Language Models 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
- Editing Large Language Models: Problems, Methods, and Opportunities 引用了 Locating and Editing Factual Associations in GPT
- Editing Large Language Models: Problems, Methods, and Opportunities 引用了 Language Models are Few-Shot Learners
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 Locating and Editing Factual Associations in GPT
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 Language Models are Few-Shot Learners
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- BadEdit: Backdooring Large Language Models by Model Editing 引用了 Locating and Editing Factual Associations in GPT
- BadEdit: Backdooring Large Language Models by Model Editing 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper132
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language ModelsPeng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu 等NeurIPS 2024 · 125 次引用
- BadEdit: Backdooring Large Language Models by Model EditingYanzhou Li, Tianlin Li, Kangjie Chen, Jian Zhang 等ICLR 2024 · 116 次引用
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRALang Yu, Qin Chen, Jie Zhou, Liang HeAAAI 2024 · 96 次引用
- Editing Large Language Models: Problems, Methods, and OpportunitiesYunzhi Yao, Peng Wang, Bozhong Tian, Siyuan Cheng 等EMNLP 2023 · 83 次引用
- Unveiling the Pitfalls of Knowledge Editing for Large Language ModelsZhoubo Li, Ningyu Zhang, Yunzhi Yao, Mengru Wang 等ICLR 2024 · 47 次引用
它引用的 Paper25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen 等ICLR 2021 · 1,731 次引用
相关 Paper
- Grace: Language Models Meet Code EditsPriyanshu Gupta, Avishree Khare, Yasharth Bajpai, Saikat Chakraborty 等FSE 2023 · 15 次引用
- Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn 等ICLR 2022 · 527 次引用
- MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMsKe Wang, Yiming Qin, Nikolaos Dimitriadis, Alessandro Favero 等NeurIPS 2025 · 15 次引用
- Improving Sequential Model Editing with Fact RetrievalXiaoqi Han, Ru Li, Hongye Tan, Yuanlong Wang 等EMNLP Findings 2023 · 2 次引用
- ELDER: Enhancing Lifelong Model Editing with Mixture-of-LoRAJiaang Li, Quan Wang, Zhongnan Wang, Yongdong Zhang 等AAAI 2025 · 6 次引用
