arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16218cs.CLcs.AI
收藏

大型语言模型的知识编辑:综述

Knowledge Editing for Large Language Models: A Survey

University of Virginia(弗吉尼亚大学)

Song Wang, Yaochen Zhu, Haochen Liu, Zaiyi Zheng, Chen Chen, Jundong Li

AI总结:

本综述系统梳理了基于知识的模型编辑(KME)技术,旨在精准更新大型语言模型知识而不损害无关能力,涵盖方法分类、评估指标、数据集及应用,并展望未来研究方向。

摘要:

大型语言模型(LLMs)最近因其基于海量知识和推理能力的出色文本理解、分析和生成能力,同时改变了学术界和工业界的格局。然而,LLMs的一个主要缺点是,由于其前所未有的参数数量,预训练的计算成本巨大。当需要频繁地将新知识引入预训练模型时,这一缺点更加突出。因此,开发有效且高效的技术来更新预训练的LLMs势在必行。传统方法通过直接微调将新知识编码到预训练的LLMs中。然而,天真地重新训练LLMs可能计算密集,并且有使模型中与更新无关的宝贵预训练知识退化的风险。近年来,基于知识的模型编辑(KME)引起了越来越多的关注,其旨在精确修改LLMs以纳入特定知识,而不对其他无关知识产生负面影响。在本综述中,我们旨在全面深入地概述KME领域的最新进展。我们首先介绍KME的一般公式,以涵盖不同的KME策略。随后,我们基于新知识如何引入预训练LLMs,提供了一种创新的KME技术分类法,并研究现有的KME策略,同时分析每类方法的关键见解、优点和局限性。此外,相应地介绍了KME的代表性指标、数据集和应用。最后,我们对KME的实用性和剩余挑战进行了深入分析,并提出了进一步推进该领域的有前景的研究方向。

英文摘要:

Large language models (LLMs) have recently transformed both the academic and industrial landscapes due to their remarkable capacity to understand, analyze, and generate texts based on their vast knowledge and reasoning ability. Nevertheless, one major drawback of LLMs is their substantial computational cost for pre-training due to their unprecedented amounts of parameters. The disadvantage is exacerbated when new knowledge frequently needs to be introduced into the pre-trained model. Therefore, it is imperative to develop effective and efficient techniques to update pre-trained LLMs. Traditional methods encode new knowledge in pre-trained LLMs through direct fine-tuning. However, naively re-training LLMs can be computationally intensive and risks degenerating valuable pre-trained knowledge irrelevant to the update in the model. Recently, Knowledge-based Model Editing (KME) has attracted increasing attention, which aims to precisely modify the LLMs to incorporate specific knowledge, without negatively influencing other irrelevant knowledge. In this survey, we aim to provide a comprehensive and in-depth overview of recent advances in the field of KME. We first introduce a general formulation of KME to encompass different KME strategies. Afterward, we provide an innovative taxonomy of KME techniques based on how the new knowledge is introduced into pre-trained LLMs, and investigate existing KME strategies while analyzing key insights, advantages, and limitations of methods from each category. Moreover, representative metrics, datasets, and applications of KME are introduced accordingly. Finally, we provide an in-depth analysis regarding the practicality and remaining challenges of KME and suggest promising research directions for further advancement in this field.

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

↑