arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01920cs.CLcs.AIcs.CVcs.LGcs.MM
收藏

遗忘还是不遗忘?面向大语言模型的实用知识遗忘研究

To Forget or Not? Towards Practical Knowledge Unlearning for Large Language Models

Zhejiang University(浙江大学);Platform and Content Group, Tencent(腾讯平台与内容事业群);Harbin Institute of Technology(哈尔滨工业大学)

Bozhong Tian, Xiaozhuan Liang, Siyuan Cheng, Qingbin Liu, Mengru Wang, Dianbo Sui, Xi Chen, Huajun Chen, Ningyu Zhang

AI总结:

针对大语言模型知识遗忘边界模糊、易过度擦除必要知识的问题,本研究推出KnowUnDo基准评估遗忘效果,提出利用梯度精准定位敏感参数的MemFlex方法,在精准遗忘与知识保留上均优于现有方法。

摘要:

在大规模语料上训练的大语言模型(LLMs)不可避免地会留存敏感数据,例如个人隐私信息和受版权保护的内容。近期知识遗忘领域的进展涉及更新LLM参数以擦除特定知识,但当前的遗忘范式存在遗忘边界模糊的问题,往往会不加区分地擦除知识。本研究中,我们推出KnowUnDo基准(涵盖版权内容和用户隐私领域),用于评估遗忘过程是否会意外擦除必要知识。研究发现,现有遗忘方法常存在过度遗忘的问题。为此,我们提出一种简单且有效的方法MemFlex,该方法利用梯度信息精准定位并遗忘敏感参数。实验结果表明,MemFlex在LLM的精准知识遗忘和通用知识保留两方面均优于现有方法。代码与数据集已发布于https://github.com/zjunlp/KnowUnDo。

英文摘要:

Large Language Models (LLMs) trained on extensive corpora inevitably retain sensitive data, such as personal privacy information and copyrighted material. Recent advancements in knowledge unlearning involve updating LLM parameters to erase specific knowledge. However, current unlearning paradigms are mired in vague forgetting boundaries, often erasing knowledge indiscriminately. In this work, we introduce KnowUnDo, a benchmark containing copyrighted content and user privacy domains to evaluate if the unlearning process inadvertently erases essential knowledge. Our findings indicate that existing unlearning methods often suffer from excessive unlearning. To address this, we propose a simple yet effective method, MemFlex, which utilizes gradient information to precisely target and unlearn sensitive parameters. Experimental results show that MemFlex is superior to existing methods in both precise knowledge unlearning and general knowledge retaining of LLMs. Code and dataset are released at https://github.com/zjunlp/KnowUnDo.

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

↑