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

面向大语言模型的知识遗忘:任务、方法与挑战

Knowledge Unlearning for LLMs: Tasks, Methods, and Challenges

Information Engineering University(信息工程大学);Tsinghua University(清华大学)

Nianwen Si, Hao Zhang, Heyu Chang, Wenlin Zhang, Dan Qu, Weiqiang Zhang

AI总结:

本文综述大语言模型知识遗忘,形式化定义任务,将方法分为参数优化、参数合并和上下文学习三类,并梳理评估数据集、挑战与未来方向。

摘要:

近年来,大语言模型(LLM)在自然语言处理领域催生了一种新的研究范式。尽管它们在基于知识的问答和推理方面具备出色能力,但其保留错误甚至有害知识的可能性带来了恶意应用风险。缓解这一问题并将这些模型转变为更纯粹的助手,对于其广泛应用至关重要。遗憾的是,由于LLM参数量极其庞大,反复重新训练LLM以消除不良知识并不现实。知识遗忘源于机器遗忘的类似研究,为解决这一问题提供了一条有前景的途径,并且在LLM场景中具有显著优势。它允许以高效方式移除有害知识,同时不影响模型中不相关的知识。为此,我们对LLM时代的知识遗忘进行了综述。首先,我们正式定义知识遗忘问题,并将其与相关工作加以区分。随后,我们将现有知识遗忘方法归纳为三类:基于参数优化的方法、基于参数合并的方法,以及基于上下文学习的方法,并介绍这些遗忘方法的细节。我们进一步呈现现有方法所使用的评估数据集,最后通过阐述当前挑战与未来方向对本综述作出总结。

英文摘要:

In recent years, large language models (LLMs) have spurred a new research paradigm in natural language processing. Despite their excellent capability in knowledge-based question answering and reasoning, their potential to retain faulty or even harmful knowledge poses risks of malicious application. The challenge of mitigating this issue and transforming these models into purer assistants is crucial for their widespread applicability. Unfortunately, Retraining LLMs repeatedly to eliminate undesirable knowledge is impractical due to their immense parameters. Knowledge unlearning, derived from analogous studies on machine unlearning, presents a promising avenue to address this concern and is notably advantageous in the context of LLMs. It allows for the removal of harmful knowledge in an efficient manner, without affecting unrelated knowledge in the model. To this end, we provide a survey of knowledge unlearning in the era of LLMs. Firstly, we formally define the knowledge unlearning problem and distinguish it from related works. Subsequently, we categorize existing knowledge unlearning methods into three classes: those based on parameter optimization, parameter merging, and in-context learning, and introduce details of these unlearning methods. We further present evaluation datasets used in existing methods, and finally conclude this survey by presenting the ongoing challenges and future directions.

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

↑