arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.17623cs.CL
收藏

大型语言模型知识编辑的邻近扰动

Neighboring Perturbations of Knowledge Editing on Large Language Models

University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Jun-Yu Ma, Zhen-Hua Ling, Ningyu Zhang, Jia-Chen Gu

AI总结:

本研究针对知识编辑对邻近知识的扰动问题,提出可加性度量与PEAK基准,并设计APP框架以减轻扰动,实验验证其在多个LLMs上的有效性。

摘要:

尽管大型语言模型(LLMs)具有卓越的能力,但由于错误或过时的知识,它们容易生成非预期的文本。鉴于重新训练LLMs的资源密集型特性,知识编辑的发展显著增加。然而,当前的方法和评估很少探讨编辑对邻近知识的扰动。本文研究向LLMs更新新知识是否会扰动其内部封装的邻近知识。具体而言,我们试图弄清楚,将一个新答案附加到事实问题的答案列表中,是否会导致该列表中原始正确答案的灾难性遗忘,以及错误答案的非预期包含。我们引入了一个可加性度量,并构建了一个名为“附加知识扰动评估”(PEAK)的基准,以评估在附加新知识时对邻近知识的扰动程度。此外,我们提出了一种即插即用的框架,称为“通过保留和预防进行附加”(APP),通过维护答案列表的完整性来减轻邻近扰动。实验表明,APP与四种编辑方法在四个LLMs上结合的有效性。代码和数据可在https://github.com/mjy1111/PEAK获取。

英文摘要:

Despite their exceptional capabilities, large language models (LLMs) are prone to generating unintended text due to false or outdated knowledge. Given the resource-intensive nature of retraining LLMs, there has been a notable increase in the development of knowledge editing. However, current approaches and evaluations rarely explore the perturbation of editing on neighboring knowledge. This paper studies whether updating new knowledge to LLMs perturbs the neighboring knowledge encapsulated within them. Specifically, we seek to figure out whether appending a new answer into an answer list to a factual question leads to catastrophic forgetting of original correct answers in this list, as well as unintentional inclusion of incorrect answers. A metric of additivity is introduced and a benchmark dubbed as Perturbation Evaluation of Appending Knowledge (PEAK) is constructed to evaluate the degree of perturbation to neighboring knowledge when appending new knowledge. Besides, a plug-and-play framework termed Appending via Preservation and Prevention (APP) is proposed to mitigate the neighboring perturbation by maintaining the integrity of the answer list. Experiments demonstrate the effectiveness of APP coupling with four editing methods on four LLMs. The code and data are available at https://github.com/mjy1111/PEAK.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑