arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.20412cs.CLcs.AIcs.LG
收藏

多目标大语言模型遗忘

Multi-Objective Large Language Model Unlearning

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));The Cyberspace Academy of Guangzhou University(广州大学网络空间学院)

Zibin Pan, Shuwen Zhang, Yuesheng Zheng, Chi Li, Yuheng Cheng, Junhua Zhao

AI总结:

针对梯度上升式 LLM 遗忘中的梯度爆炸与灾难性遗忘问题,提出 MOLLM 多目标优化算法,在有效遗忘目标数据的同时保持模型效用,并优于现有 SOTA 方法。

摘要:

大语言模型(LLM)领域的机器遗忘近来受到广泛关注,其目标是在不从头进行完全重新训练的情况下,有效消除 LLM 中不良行为。本文探讨 LLM 遗忘中的 Gradient Ascent(GA,梯度上升)方法,这是一种主动降低模型在目标数据上预测概率以消除其影响的方式。我们分析了导致该过程不实用的两个挑战:梯度爆炸和灾难性遗忘。为解决这些问题,我们提出 Multi-Objective Large Language Model Unlearning(MOLLM,多目标大语言模型遗忘)算法。我们首先将 LLM 遗忘表述为一个多目标优化问题,其中交叉熵损失被修改为遗忘版本,以克服梯度爆炸问题。随后计算一个公共下降更新方向,使模型能够遗忘目标数据,同时保留 LLM 的效用。实验结果验证,MoLLM 在遗忘效果和模型效用保持方面优于基于 GA 的 SOTA LLM 遗忘方法。源代码可在 https://github.com/zibinpan/MOLLM 获取。

英文摘要:

Machine unlearning in the domain of large language models (LLMs) has attracted great attention recently, which aims to effectively eliminate undesirable behaviors from LLMs without full retraining from scratch. In this paper, we explore the Gradient Ascent (GA) approach in LLM unlearning, which is a proactive way to decrease the prediction probability of the model on the target data in order to remove their influence. We analyze two challenges that render the process impractical: gradient explosion and catastrophic forgetting. To address these issues, we propose Multi-Objective Large Language Model Unlearning (MOLLM) algorithm. We first formulate LLM unlearning as a multi-objective optimization problem, in which the cross-entropy loss is modified to the unlearning version to overcome the gradient explosion issue. A common descent update direction is then calculated, which enables the model to forget the target data while preserving the utility of the LLM. Our empirical results verify that MoLLM outperforms the SOTA GA-based LLM unlearning methods in terms of unlearning effect and model utility preservation. The source code is available at https://github.com/zibinpan/MOLLM.

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

↑