Model editing aims to correct outdated or erroneous knowledge in large language models (LLMs) without the need for costly retraining. Lifelong model editing is the most challenging task that caters to the continuous editing requirements of LLMs. Prior works primarily focus on single or batch editing; nevertheless, these methods fall short in lifelong editing scenarios due to catastrophic knowledge forgetting and the degradation of model performance. Although retrieval-based methods alleviate these issues, they are impeded by slow and cumbersome processes of integrating the retrieved knowledge into the model. In this work, we introduce RECIPE, a RetriEval-augmented ContInuous Prompt lEarning method, to boost editing efficacy and inference efficiency in lifelong learning. RECIPE first converts knowledge statements into short and informative continuous prompts, prefixed to the LLM's input query embedding, to efficiently refine the response grounded on the knowledge. It further integrates the Knowledge Sentinel (KS) that acts as an intermediary to calculate a dynamic threshold, determining whether the retrieval repository contains relevant knowledge. Our retriever and prompt encoder are jointly trained to achieve editing properties, i.e., reliability, generality, and locality. In our experiments, RECIPE is assessed extensively across multiple LLMs and editing datasets, where it achieves superior editing performance. RECIPE also demonstrates its capability to maintain the overall performance of LLMs alongside showcasing fast editing and inference speed.
Knowledge in Superposition: Unveiling the Failures of Lifelong Knowledge Editing for Large Language Models
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Beijing University of Posts and Telecommunications(北京邮电大学);University of Science and Technology of China(中国科学技术大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);National University of Singapore(新加坡国立大学)
HiEdit: Lifelong Model Editing with Hierarchical Reinforcement Learning
Harbin Institute of Technology(哈尔滨工业大学);Beidahuang Information Co., Ltd.(北大荒信息有限公司);State Key Laboratory of Smart Farm Technologies and Systems(智慧农场技术与系统全国重点实验室);AI Research Center, Midea Group (Shanghai) Co., Ltd.(美的集团(上海)有限公司人工智能研究中心)
WikiBigEdit: Understanding the Limits of Lifelong Knowledge Editing in LLMs
Tübingen AI Center, University of Tübingen(图宾根人工智能中心,图宾根大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University, Munich(慕尼黑技术大学);University of Virginia(弗吉尼亚大学)
Edit Less, Achieve More: Dynamic Sparse Neuron Masking for Lifelong Knowledge Editing in LLMs
Key Lab of Intell. Info. Process., Inst. of Comput. Tech., CAS(智能信息处理重点实验室,计算技术研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Agriculture Information Institute, CAAS(农业信息研究所,中国农业科学院)
LadderEdit: Edit-Level Residual Compression for Memory-Efficient Lifelong Editing of LLMs
Yale University(耶鲁大学);Washington University in St. Louis(圣路易斯华盛顿大学);Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院);Arizona State University(亚利桑那州立大学)
REPAIR: Robust Editing via Progressive Adaptive Intervention and Reintegration
Engineering Center for Space Utilization of Chinese Academy of Sciences(中国科学院空间利用工程技术中心);University of Chinese Academy of Sciences(中国科学院大学);School of Computer Science and Engineering(计算机科学与工程学院);Northeastern University(东北大学);New York University(纽约大学);School of Computing(计算机学院);National University of Singapore(新加坡国立大学);The Chinese University of Hong Kong(香港中文大学);Technical University of Munich(慕尼黑技术大学)
Better Call SAUL: Fluent and Consistent Language Model Editing with Generation Regularization
Bosch Center for Artificial Intelligence (BCAI)(博世人工智能中心);LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Hochschule der Medien, Stuttgart(斯图加特媒体大学);Karlsruhe University of Applied Sciences(卡尔斯鲁厄应用技术大学)
Learning to Edit Knowledge via Instruction-based Chain-of-Thought Prompting
Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学);Huawei Technologies Ltd.(华为技术有限公司);Chongqing University of Posts and Telecommunications(重庆邮电大学)
University of Chinese Academy of Sciences(中国科学院大学);New Laboratory of Pattern Recognition (NLPR), CASIA(中国科学院自动化研究所模式识别国家重点实验室);Harbin Institute of Technology(哈尔滨工业大学);Shandong University(山东大学)
LLMs Meet Multimodal Generation and Editing: A Survey
The Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);Tencent AI Lab(腾讯AI实验室)
Lifelong Evolution: Collaborative Learning between Large and Small Language Models for Continuous Emergent Fake News Detection
School of Cyber Science and Technology, Beihang University(信息科学与技术学院,北京航空航天大学);School of Cyber Science and Technology, Beijing University of Posts and Telecommunications(信息科学与技术学院,北京邮电大学);Department of Computer Science, University of Illinois at Chicago(计算机科学系,伊利诺伊大学芝加哥分校)
PokeMQA: Programmable knowledge editing for Multi-hop Question Answering
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);North Carolina State University(北卡罗来纳州立大学);Texas A&M University(德克萨斯农工大学);University of Georgia(佐治亚大学)
Avoiding Knowledge Edit Skipping in Multi-hop Question Answering with Guided Decomposition
State Key Laboratory for Novel Software Technology, Nanjing University, China(新型软件技术国家重点实验室,南京大学,中国);National Institute of Healthcare Data Science, Nanjing University, China(医疗数据科学国家研究院,南京大学,中国)
Multi-hop Question Answering under Temporal Knowledge Editing
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);South China University of Technology(华南理工大学);Ant Group(蚂蚁集团);SDAIA-KAUST AI(沙特数据与人工智能局-阿卜杜拉国王科技大学人工智能项目);Provable Responsible AI and Data Analytics (PRADA) Lab(可信赖负责任人工智能与数据分析实验室)
SPARK: Adaptive Parametric Knowledge Participation for Faithful Retrieval-Augmented Generation
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,沈阳,中国);Department of Computer Science and Technology, Tsinghua University, Beijing, China(清华大学计算机科学与技术系,北京,中国)