arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.01286cs.CLcs.AIcs.CVcs.HCcs.LG
收藏

大型语言模型知识编辑的综合研究

A Comprehensive Study of Knowledge Editing for Large Language Models

Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);University of California, Los Angeles(加州大学洛杉矶分校);Ant Group(蚂蚁集团);Alibaba Group(阿里巴巴集团)
Ningyu Zhang, Yunzhi Yao, Bozhong Tian, Peng Wang, Shumin Deng, Mengru Wang, Zekun Xi, Shengyu Mao, Jintian Zhang, Yuansheng Ni, Siyuan Cheng, Ziwen Xu, Xin Xu,… 展开作者

Ningyu Zhang, Yunzhi Yao, Bozhong Tian, Peng Wang, Shumin Deng, Mengru Wang, Zekun Xi, Shengyu Mao, Jintian Zhang, Yuansheng Ni, Siyuan Cheng, Ziwen Xu, Xin Xu, Jia-Chen Gu, Yong Jiang, Pengjun Xie, Fei Huang, Lei Liang, Zhiqiang Zhang, Xiaowei Zhu, Jun Zhou, Huajun Chen

AI总结:

本文全面综述了大型语言模型的知识编辑技术,提出将方法分为借助外部知识、合并知识到模型和编辑内在知识三类的统一标准,并引入新基准KnowEdit进行实证评估与知识定位分析。

摘要:

大型语言模型(LLMs)在理解和生成高度贴近人类交流的文本方面展现出了非凡的能力。然而,其主要局限性在于训练期间因庞大的参数化而产生的巨大计算需求。由于世界的动态特性,这一挑战进一步加剧,需要频繁更新LLMs以纠正过时信息或整合新知识,从而确保其持续的相关性。请注意,许多应用要求在训练后进行持续的模型调整,以解决缺陷或不良行为。人们对用于即时模型修改的高效、轻量级方法的兴趣日益浓厚。为此,近年来LLMs的知识编辑技术蓬勃发展,旨在高效修改LLMs在特定领域内的行为,同时保持其在各种输入上的整体性能。在本文中,我们首先定义了知识编辑问题,然后对前沿方法进行了全面回顾。借鉴教育和认知研究理论的启发,我们提出了一个统一的分类标准,将知识编辑方法分为三组:借助外部知识、将知识合并到模型中以及编辑内在知识。此外,我们引入了一个新的基准,KnowEdit,用于对代表性的知识编辑方法进行全面的实证评估。另外,我们对知识定位进行了深入分析,这有助于更深入地理解LLMs固有的知识结构。最后,我们讨论了知识编辑的几个潜在应用,概述了其广泛而深远的影响。

英文摘要:

Large Language Models (LLMs) have shown extraordinary capabilities in understanding and generating text that closely mirrors human communication. However, a primary limitation lies in the significant computational demands during training, arising from their extensive parameterization. This challenge is further intensified by the dynamic nature of the world, necessitating frequent updates to LLMs to correct outdated information or integrate new knowledge, thereby ensuring their continued relevance. Note that many applications demand continual model adjustments post-training to address deficiencies or undesirable behaviors. There is an increasing interest in efficient, lightweight methods for on-the-fly model modifications. To this end, recent years have seen a burgeoning in the techniques of knowledge editing for LLMs, which aim to efficiently modify LLMs' behaviors within specific domains while preserving overall performance across various inputs. In this paper, we first define the knowledge editing problem and then provide a comprehensive review of cutting-edge approaches. Drawing inspiration from educational and cognitive research theories, we propose a unified categorization criterion that classifies knowledge editing methods into three groups: resorting to external knowledge, merging knowledge into the model, and editing intrinsic knowledge. Furthermore, we introduce a new benchmark, KnowEdit, for a comprehensive empirical evaluation of representative knowledge editing approaches. Additionally, we provide an in-depth analysis of knowledge location, which can give a deeper understanding of the knowledge structures inherent within LLMs. Finally, we discuss several potential applications of knowledge editing, outlining its broad and impactful implications.

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

↑