arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.15674cs.CLcs.AI
收藏

UniErase:迈向语言模型中平衡且精确的机器遗忘

UniErase: Towards Balanced and Precise Unlearning in Language Models

University of Science and Technology of China(中国科学技术大学);University of the Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学);A*STAR(科技研究局);Zhejiang University(浙江大学)

Miao Yu, Liang Lin, Guibin Zhang, Xinfeng Li, Junfeng Fang, Xingrui Yu, Ivor Tsang, Ningyu Zhang, Kun Wang, Yang Wang

AI总结:

UniErase通过引入遗忘令牌和轻量级遗忘编辑,实现了语言模型中平衡且精确的机器遗忘,在TOFU基准上以仅修改3.66%参数取得遗忘效果与能力保留的双重最优。

摘要:

大型语言模型(LLMs)需要迭代更新以解决过时信息问题,其中LLM机器遗忘提供了一种选择性移除的方法。然而,主流的机器遗忘方法主要依赖微调技术,这些方法在针对性的遗忘中往往缺乏精确性,并且在大规模和顺序设置下难以在遗忘效果与通用能力之间取得平衡。为了弥合这一差距,在本工作中,我们引入了UniErase,一种新颖的机器遗忘框架,展示了在知识遗忘与能力保留之间的精确和平衡性能。我们首先提出了遗忘令牌(Unlearning Token),它被优化以引导LLMs朝向一个遗忘空间。为了实现具体的遗忘行为,我们进一步引入了轻量级的遗忘编辑(Unlearning Edit),以高效地将遗忘目标与该元令牌关联起来。作为一种通过编辑实现的新遗忘范式,UniErase在虚构和现实知识场景下的批量、顺序和精确遗忘任务中均取得了卓越的性能。在TOFU基准上,与8个基线相比,UniErase仅修改了约3.66%的LLM参数,在模型能力上比之前最佳的遗忘基线高出约4.01倍,同时具有更高的遗忘效果。类似地,UniErase在更好的能力保留下,在遗忘效果上也比之前最佳保留方法高出35.96%,在当前机器遗忘社区中展示了平衡且双顶级的性能。

英文摘要:

Large language models (LLMs) require iterative updates to address the outdated information problem, where LLM unlearning offers an approach for selective removal. However, mainstream unlearning methods primarily rely on fine-tuning techniques, which often lack precision in targeted unlearning and struggle to balance unlearning efficacy with general ability under massive and sequential settings. To bridge this gap, in this work, we introduce UniErase, a novel unlearning framework that demonstrates precision and balanced performances between knowledge unlearning and ability retaining. We first propose the Unlearning Token, which is optimized to steer LLMs toward a forgetting space. To achieve concrete unlearning behaviors, we further introduce the lightweight Unlearning Edit to efficiently associate the unlearning targets with this meta-token. Serving as a new unlearning paradigm via editing, UniErase achieves outstanding performances across batch, sequential, and precise unlearning tasks under fictitious and real-world knowledge scenarios. On the TOFU benchmark, compared with 8 baselines, UniErase, modifying only $\sim$ \textbf{3.66%} of the LLM parameters, outperforms the previous best-forgetting baseline by \textbf{$\sim$ 4.01$\times$} for \textbf{model ability} with even higher unlearning efficacy. Similarly, UniErase, with better ability retention, also surpasses the previous best-retaining method by \textbf{35.96%} for \textbf{unlearning efficacy}, showing balanced and dual top-tier performances in the current unlearning community.

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

↑