大型语言模型(LLM)中存储的信息会很快过时,而从头开始重新训练通常并不可行。这最近催生了一系列通过更新模型权重来注入新事实的技术。当前的评估范式极其有限,主要验证对已编辑事实的回忆,但改变一个事实应当引发模型相关信念的连锁变化。如果我们将英国首相编辑为现在是Rishi Sunak,那么对于“谁与英国首相结婚?”这一问题,我们应当得到不同的答案。在本文中,我们提出了一个名为MQuAKE(Multi-hop Question Answering for Knowledge Editing,面向知识编辑的多跳问答)的基准,其中包含多跳问题,用于评估经过编辑的模型能否正确回答那些答案应作为已编辑事实的必然推论而发生改变的问题。尽管我们发现当前的知识编辑方法能够准确回忆已编辑事实,但它们在构造出的多跳问题上会遭遇灾难性失败。因此,我们提出了一种简单的基于记忆的方法MeLLo,该方法将所有已编辑事实外部存储,同时迭代地提示语言模型生成与已编辑事实一致的答案。尽管MQuAKE仍具挑战性,但我们表明MeLLo能够随LLM(例如OpenAI GPT-3.5-turbo)良好扩展,并大幅优于以往的模型编辑器。
英文摘要:
The information stored in large language models (LLMs) falls out of date quickly, and retraining from scratch is often not an option. This has recently given rise to a range of techniques for injecting new facts through updating model weights. Current evaluation paradigms are extremely limited, mainly validating the recall of edited facts, but changing one fact should cause rippling changes to the model's related beliefs. If we edit the UK Prime Minister to now be Rishi Sunak, then we should get a different answer to Who is married to the British Prime Minister? In this work, we present a benchmark, MQuAKE (Multi-hop Question Answering for Knowledge Editing), comprising multi-hop questions that assess whether edited models correctly answer questions where the answer should change as an entailed consequence of edited facts. While we find that current knowledge-editing approaches can recall edited facts accurately, they fail catastrophically on the constructed multi-hop questions. We thus propose a simple memory-based approach, MeLLo, which stores all edited facts externally while prompting the language model iteratively to generate answers that are consistent with the edited facts. While MQuAKE remains challenging, we show that MeLLo scales well with LLMs (e.g., OpenAI GPT-3.5-turbo) and outperforms previous model editors by a large margin.
Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QA
Shanghai Jiao Tong University(上海交通大学);The University of Sydney(悉尼大学);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Nanyang Technological University(南洋理工大学)
REACT: Representation Extraction And Controllable Tuning to Overcome Overfitting in LLM Knowledge Editing
NLPR, MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所国家信息处理实验室、人工智能研究所);Cuiying Honors College, Lanzhou University(兰州大学萃英荣誉学院);Department of Mathematics, The Chinese University of Hong Kong(香港中文大学数学系);Tencent(腾讯)
Reason-KE++: Aligning the Process, Not Just the Outcome, for Faithful LLM Knowledge Editing
Shanghai Jiao Tong University(上海交通大学);The University of Sydney(悉尼大学);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Nanyang Technological University(南洋理工大学)
Investigating Multi-Hop Factual Shortcuts in Knowledge Editing of Large Language Models
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);School of Cyberspace Security, Southeast University(东南大学网络空间安全学院)
ACE: Attribution-Controlled Knowledge Editing for Multi-hop Factual Recall
HKUST(GZ) Deep Interdisciplinary Intelligence Lab(香港科技大学(广州)深 interdisciplinary 智能实验室);BUAA(北京航空航天大学);HKUST(GZ) Institute of Deep Perception Technology, JITRI Deep Interdisciplinary Intelligence Lab(香港科技大学(广州)深度感知技术研究所,JITRI 深 interdisciplinary 智能实验室)
Locate-then-edit for Multi-hop Factual Recall under Knowledge Editing
Peking University(北京大学);Provable Responsible AI and Data Analytics (PRADA) Lab(可验证负责任人工智能与数据分析(PRADA)实验室);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);South China University of Technology(华南理工大学)
MQA-KEAL: Multi-hop Question Answering under Knowledge Editing for Arabic Language
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);King AbdulAziz University(阿卜杜勒阿齐兹国王大学);University of Science and Technology, China(中国科学技术大学);Shenzhen University(深圳大学)
Uncovering Overfitting in Large Language Model Editing
Shandong University(山东大学);School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院);New Laboratory of Pattern Recognition (NLPR) State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS) Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
University of Chinese Academy of Sciences(中国科学院大学);New Laboratory of Pattern Recognition (NLPR), CASIA(中国科学院自动化研究所模式识别国家重点实验室);Harbin Institute of Technology(哈尔滨工业大学);Shandong University(山东大学)
Knowledge Updating? No More Model Editing! Just Selective Contextual Reasoning
School of Economics and Management, East China Normal University(华东师范大学经济与管理学部);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
MILA - Quebec AI Institute(MILA - 魁北克人工智能研究所);Microsoft(微软公司);UNC Chapel Hill(北卡罗来纳大学教堂山分校);North Carolina State University(北卡罗来纳州立大学);Massachusetts Institute of Technology(麻省理工学院);Google DeepMind(谷歌DeepMind)
LLM-Based Multi-Hop Question Answering with Knowledge Graph Integration in Evolving Environments
Institute of High Performance Computing (IHPC)(高性能计算研究所);Nanyang Technological University(南洋理工大学);Centre for Frontier AI Research(前沿人工智能研究中心);Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局);Texas A&M University(德克萨斯农工大学);University of Stuttgart(斯图加特大学);University of California San Diego(加利福尼亚大学圣迭戈分校)
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(佐治亚大学)
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
The Hong Kong Polytechnic University(香港理工大学);Hangzhou Diagens Biotechnology Co., Ltd(杭州迪安基因生物技术有限公司);University of Science and Technology of 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(可信赖负责任人工智能与数据分析实验室)
MEMLA: Enhancing Multilingual Knowledge Editing with Neuron-Masked Low-Rank Adaptation
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
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(医疗数据科学国家研究院,南京大学,中国)
Aligning Language Models with Real-time Knowledge Editing
National Key Laboratory for Multimedia Information Processing, Peking University School of Computer Science, Peking University(国家多媒体信息处理重点实验室,北京大学计算机学院,北京大学)
VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark
University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所);Nanjing University(南京大学)
COMPKE: Complex Question Answering under Knowledge Editing
Provable Responsible AI and Data Analytics (PRADA) Lab(可证明负责任的人工智能与数据分析实验室);King Abdullah University of Science and Technology(卡布斯大学);Peking University(北京大学);South China University of Technology(华南理工大学);Sun Yat-sen University(中山大学)
ADS-Edit: A Multimodal Knowledge Editing Dataset for Autonomous Driving Systems
Zhejiang University,\ University - Ant \ Joint Laboratory of Knowledge Graph Hangzhou China;Zhejiang University,\ University - Ant \ Joint Laboratory of Knowledge Graph