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

解耦遗忘:大语言模型中用于敏感内容遗忘的语义中介方法

Decouple to Forget: Semantic Mediation for Sensitive Unlearning in Large Language Models

RMIT University(RMIT大学);Yep AI(Yep AI公司);Monash University(莫纳什大学);Hong Kong Baptist University(香港浸会大学)

Jingyue Cong, Andy Song, Yang Yu, Tabinda Sarwar, Xinshu Li, Ziqi Xu, Xun Yi, Ke Wang, Bo Han, Estrid He

AI总结:

本文提出Decouple to Forget(D2F)方法,通过语义中介分离敏感与非敏感内容,针对性移除大语言模型中的敏感事实,在多基准数据集上实现了更优的遗忘-保留平衡。

摘要:

大语言模型的机器遗忘旨在移除指定知识同时保留通用能力,但现有方法常将整个响应作为遗忘单元。当遗忘目标仅是嵌入在其他良性解释中的一小部分敏感事实时,这种粗粒度处理会造成不必要的效用损失。本文提出Decouple to Forget(D2F),一种受语义中介启发的针对性遗忘方法,它将敏感事实内容与非敏感含义及表层表达分离。对于每个待遗忘样本,D2F从答案中提取事实级别的“中介”表示,识别敏感部分并仅移除这些部分,同时保留其余结构完整。随后,基于该中介生成反事实答案,保留非敏感内容但排除敏感事实,采用基于偏好的对比优化以降低信息泄露风险,同时保持有用性和流畅性。在多个基准数据集上的实验表明,D2F相比强基线方法在遗忘与保留之间实现了更好的平衡。我们的代码可在该https URL获取。

英文摘要:

Machine unlearning for large language models seeks to remove specified knowledge while preserving general capability, yet current methods often treat an entire response as the unit of forgetting. This coarse granularity causes unnecessary utility loss when the forget target is only a small set of sensitive facts embedded within otherwise benign explanations. In this paper, we introduce Decouple to Forget (D2F), a targeted unlearning method inspired by semantic mediation that separates sensitive factual content from non-sensitive meaning and surface expression. For each example to be forgotten, D2F extracts a fact-level "mediator" representation from the answer, identifies which parts are sensitive, and removes only those parts while leaving the rest of the structure intact. We then generate counterfactual answers grounded in this mediator that preserve non-sensitive content but exclude sensitive facts, employing preference-based contrastive optimization to reduce the likelihood of information leakage while maintaining helpfulness and fluency. Experiments across various benchmark datasets show that D2F achieves a better balance between forgetting and retention than strong baseline methods. Our code is available at https://github.com/JingyueCong/D2F.

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

↑