Reasons and Solutions for the Decline in Model Performance after Editing
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Xiusheng Huang, Jiaxiang Liu, Yequan Wang, Kang Liu
知识编辑技术因可低成本更新大语言模型中的错误或过时知识而受到广泛关注。然而,近期研究发现,编辑后的模型往往会出现不同程度的性能下降,这一现象背后的原因及潜在解决方案尚未被阐明。为探究编辑后模型性能下降的原因并优化编辑方法,本工作从数据和模型两个维度挖掘深层原因。具体而言:1)数据层面,为明确数据对编辑模型性能的影响,本文首先构建了多问题数据集(Multi-Question Dataset, MQD),用于评估不同类型编辑数据对模型性能的影响。实验证实,编辑模型的性能主要受编辑目标的多样性和序列长度影响。2)模型层面,本文探究了影响编辑模型性能的因素,结果表明编辑模型层的L1范数与编辑准确率之间存在强相关性,并明确这是导致编辑性能瓶颈的重要因素。最后,为提升编辑模型的性能,本文进一步提出了序列转储(Dump for Sequence, D4S)方法,该方法通过降低编辑层的L1范数成功突破了以往的编辑瓶颈,支持用户进行多次有效编辑,同时将对模型的损害降至最低。我们的代码可在https://github.com/nlpkeg/D4S获取。
英文摘要:
Knowledge editing technology has received widespread attention for low-cost updates of incorrect or outdated knowledge in large-scale language models. However, recent research has found that edited models often exhibit varying degrees of performance degradation. The reasons behind this phenomenon and potential solutions have not yet been provided. In order to investigate the reasons for the performance decline of the edited model and optimize the editing method, this work explores the underlying reasons from both data and model perspectives. Specifically, 1) from a data perspective, to clarify the impact of data on the performance of editing models, this paper first constructs a Multi-Question Dataset (MQD) to evaluate the impact of different types of editing data on model performance. The performance of the editing model is mainly affected by the diversity of editing targets and sequence length, as determined through experiments. 2) From a model perspective, this article explores the factors that affect the performance of editing models. The results indicate a strong correlation between the L1-norm of the editing model layer and the editing accuracy, and clarify that this is an important factor leading to the bottleneck of editing performance. Finally, in order to improve the performance of the editing model, this paper further proposes a Dump for Sequence (D4S) method, which successfully overcomes the previous editing bottleneck by reducing the L1-norm of the editing layer, allowing users to perform multiple effective edits and minimizing model damage. Our code is available at https://github.com/nlpkeg/D4S.
Shanghai Jiao Tong University(上海交通大学);Renmin University of China(中国人民大学);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,BIGAI)
InEdit-Bench: Benchmarking Intermediate Logical Pathways for Intelligent Image Editing Models
State Key Laboratory of Optical Field Manipulation Science and Technology, Institute of Optics and Electronics, Chinese Academy of Sciences(光学场操控科学与技术国家重点实验室,光学电子研究所,中国科学院);National Laboratory on Adaptive Optics(自适应光学国家实验室);University of Chinese Academy of Sciences(中国科学院大学)
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(中国科学院大学人工智能学院)
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(南洋理工大学计算与数据科学学院)
StruEdit: Structured Outputs Enable the Fast and Accurate Knowledge Editing for Large Language Models
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Science and Technology of China(中国科学技术大学)
KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models
Zhejiang University(浙江大学);State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD&CG国家重点实验室);Hong Kong University of Science and Technology(香港科技大学);School of Software Engineering, South China University of Technology(华南理工大学软件学院);School of Software Technology, Zhejiang University(浙江大学软件学院)