arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04416cs.CLcs.AIcs.CRcs.LG
收藏

OBLIVIATE:面向大型语言模型的鲁棒且实用的机器遗忘

OBLIVIATE: Robust and Practical Machine Unlearning for Large Language Models

The Hong Kong Polytechnic University(香港理工大学);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室)

Xiaoyu Xu, Minxin Du, Qingqing Ye, Haibo Hu

AI总结:

提出OBLIVIATE框架,通过提取目标令牌、构建保留集和定制损失函数微调,结合LoRA实现高效机器遗忘,在多个数据集上验证了其抵抗成员推断攻击并保持模型效用的鲁棒性。

摘要:

在广泛语料库上训练的大型语言模型(LLM)存在记忆敏感、受版权保护或有毒内容的风险。为解决这一问题,我们提出了OBLIVIATE,一个鲁棒的机器遗忘框架,它在移除目标数据的同时保持模型效用。该框架遵循一个结构化的流程:提取目标令牌、构建保留集,并使用包含三个组成部分(掩蔽、蒸馏和世界事实)的定制损失函数进行微调。使用低秩适配器(LoRA)确保了效率而不损害遗忘质量。我们在多个数据集(包括《哈利·波特》系列、WMDP和TOFU)上进行了实验,使用了一套全面的指标:遗忘质量(通过一种新的文档级记忆评分)、模型效用和流畅度。结果表明,该方法在抵抗成员推断攻击、最小化对保留数据的影响以及在不同场景下保持鲁棒性方面具有有效性。

英文摘要:

Large language models (LLMs) trained over extensive corpora risk memorizing sensitive, copyrighted, or toxic content. To address this, we propose \textbf{OBLIVIATE}, a robust unlearning framework that removes targeted data while preserving model utility. The framework follows a structured process: extracting target tokens, building retain sets, and fine-tuning with a tailored loss function comprising three components -- masking, distillation, and world fact. Using low-rank adapters (LoRA) ensures efficiency without compromising unlearning quality. We conduct experiments on multiple datasets, including Harry Potter series, WMDP, and TOFU, using a comprehensive suite of metrics: \emph{forget quality} (via a new document-level memorization score), \emph{model utility}, and \emph{fluency}. Results demonstrate its effectiveness in resisting membership inference attacks, minimizing the impact on retained data, and maintaining robustness across diverse scenarios.

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

↑