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

忘记知识,记住使用:面向大型语言模型的上下文感知遗忘

Forget to Know, Remember to Use: Context-Aware Unlearning for Large Language Models

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Amazon(亚马逊)

Yuefeng Peng, Parnian Afshar, Megan Ganji, Thomas Butler, Amir Houmansadr, Mingxian Wang, Dezhi Hong

AI总结:

针对现有遗忘方法损害上下文可用性的问题,提出一种插件式目标项,在保持遗忘效果和保留集性能的同时恢复模型对已遗忘知识的上下文使用能力。

摘要:

大型语言模型可能编码需要移除的敏感信息或过时知识,以确保模型响应负责任且合规。遗忘学习已成为完整重新训练的高效替代方案,旨在移除特定知识同时保持模型整体效用。现有遗忘方法评估关注(1)目标知识的遗忘程度(遗忘集)和(2)保留集上的性能(即效用)。然而,这些评估忽略了一个重要的可用性方面:如果提示中重新引入已移除信息,用户可能仍希望模型利用该信息。在对六种最先进遗忘方法的系统评估中,我们发现它们一致损害了这种上下文效用。为解决此问题,我们用一个插件项增强遗忘目标,该插件项保留模型在上下文中存在已遗忘知识时使用它的能力。大量实验表明,我们的方法将上下文效用恢复到接近原始水平,同时仍然保持有效的遗忘和保留集效用。

英文摘要:

Large language models may encode sensitive information or outdated knowledge that needs to be removed, to ensure responsible and compliant model responses. Unlearning has emerged as an efficient alternative to full retraining, aiming to remove specific knowledge while preserving overall model utility. Existing evaluations of unlearning methods focus on (1) the extent of forgetting of the target knowledge (forget set) and (2) maintaining performance on the retain set (i.e., utility). However, these evaluations overlook an important usability aspect: users may still want the model to leverage the removed information if it is re-introduced in the prompt. In a systematic evaluation of six state-of-the-art unlearning methods, we find that they consistently impair such contextual utility. To address this, we augment unlearning objectives with a plug-in term that preserves the model's ability to use forgotten knowledge when it is present in context. Extensive experiments demonstrate that our approach restores contextual utility to near original levels while still maintaining effective forgetting and retain-set utility.

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

↑