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

并非所有数据都能被同等程度地遗忘

Not All Data Are Unlearned Equally

Mila – Quebec AI Institute(魁北克AI研究所);McGill University(麦吉尔大学);Saarland University(萨尔兰大学);Canada CIFAR AI Chair(加拿大CIFAR人工智能 chair)

Aravind Krishnan, Siva Reddy, Marius Mosbach

AI总结:

本研究针对大语言模型遗忘任务,打破了“所有待遗忘数据平等”的假设,证明预训练数据中知识出现频率越高越难遗忘,同时发现两类评估方式存在不一致且随模型规模增大加剧,为优化遗忘方法与评估体系提供依据。

摘要:

机器遗忘致力于从已训练模型中移除从特定数据点学到的知识的任务。在大语言模型(LLMs)领域,遗忘研究近期受到越来越多的关注,尤其是出于隐私目的从模型中移除命名实体相关知识的场景。尽管已有多种方法被提出用于解决遗忘问题,但大多数现有方法都将所有待遗忘的数据点同等对待,例如,遗忘“蒙特利尔是加拿大的一座城市”与遗忘本文第一作者的电话号码被完全等同处理。在本研究中,我们证明这种“所有数据平等”的假设在LLM遗忘中并不成立。我们研究了遗忘效果与待遗忘知识在模型预训练数据中出现频率的关联,发现频率会强烈影响遗忘效果,即出现频率越高的知识越难被遗忘。此外,我们还发现基于概率的遗忘评估与基于生成的遗忘评估之间存在不一致性,且该问题会随着模型规模增大而加剧。总体而言,我们的实验凸显了LLM遗忘领域需要更完善的评估方法,以及需要考虑模型训练数据特性的新型遗忘方法。

英文摘要:

Machine unlearning is concerned with the task of removing knowledge learned from particular data points from a trained model. In the context of large language models (LLMs), unlearning has recently received increased attention, particularly for removing knowledge about named entities from models for privacy purposes. While various approaches have been proposed to address the unlearning problem, most existing approaches treat all data points to be unlearned equally, i.e., unlearning that Montreal is a city in Canada is treated exactly the same as unlearning the phone number of the first author of this paper. In this work, we show that this all data is equal assumption does not hold for LLM unlearning. We study how the success of unlearning depends on the frequency of the knowledge we want to unlearn in the pre-training data of a model and find that frequency strongly affects unlearning, i.e., more frequent knowledge is harder to unlearn. Additionally, we uncover a misalignment between probability and generation-based evaluations of unlearning and show that this problem worsens as models become larger. Overall, our experiments highlight the need for better evaluation practices and novel methods for LLM unlearning that take the training data of models into account.

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

↑