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

一种增强基于微调的大语言模型遗忘的通用框架

A General Framework to Enhance Fine-tuning-based LLM Unlearning

Michigan State University(密歇根州立大学);Amazon(亚马逊公司);The Pennsylvania State University(宾夕法尼亚州立大学)

Jie Ren, Zhenwei Dai, Xianfeng Tang, Hui Liu, Jingying Zeng, Zhen Li, Rahul Goutam, Suhang Wang, Yue Xing, Qi He, Hui Liu

AI总结:

本研究针对现有基于微调的大语言模型遗忘方法易降低模型效用的问题,发现两类主流微调遗忘方法策略本质一致,提出GRUN框架,显著提升遗忘效果与效用,兼具通用性与效率。

摘要:

遗忘技术被提出用于从大语言模型(LLM)中移除受版权保护和隐私敏感的数据。现有方法主要依赖基于微调的方法,可分为基于梯度上升(GA-based)和基于抑制的方法,但它们往往会降低模型效用(即对正常提示作出响应的能力)。本研究旨在开发一个通用框架,以提升基于微调的遗忘方法的效用。为此,我们首先探究了基于GA和基于抑制的方法之间的共性,发现基于GA的方法通过区分目标数据(即待移除数据)并抑制相关生成来实现遗忘,这与基于抑制的方法采用的策略本质上相同。受此发现启发,我们提出了门控表征遗忘(GRUN),它包含两个组件:用于区分目标数据的软门函数,以及使用表征微调(ReFT)调整表征而非模型参数的抑制模块。实验表明,GRUN显著提升了遗忘效果和模型效用,同时对基于微调的方法具有通用性,效率高且在序列遗忘方面颇具前景。

英文摘要:

Unlearning has been proposed to remove copyrighted and privacy-sensitive data from Large Language Models (LLMs). Existing approaches primarily rely on fine-tuning-based methods, which can be categorized into gradient ascent-based (GA-based) and suppression-based methods. However, they often degrade model utility (the ability to respond to normal prompts). In this work, we aim to develop a general framework that enhances the utility of fine-tuning-based unlearning methods. To achieve this goal, we first investigate the common property between GA-based and suppression-based methods. We unveil that GA-based methods unlearn by distinguishing the target data (i.e., the data to be removed) and suppressing related generations, which is essentially the same strategy employed by suppression-based methods. Inspired by this finding, we introduce Gated Representation UNlearning (GRUN) which has two components: a soft gate function for distinguishing target data and a suppression module using Representation Fine-tuning (ReFT) to adjust representations rather than model parameters. Experiments show that GRUN significantly improves the unlearning and utility. Meanwhile, it is general for fine-tuning-based methods, efficient and promising for sequential unlearning.

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

↑