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

二阶信息至关重要:重新审视大型语言模型的机器遗忘

Second-Order Information Matters: Revisiting Machine Unlearning for Large Language Models

Dartmouth College(达特茅斯学院);Penn State(宾夕法尼亚州立大学)

Kang Gu, Md Rafi Ur Rashid, Najrin Sultana, Shagufta Mehnaz

AI总结:

本文提出基于二阶信息(Hessian)的机器遗忘算法,受牛顿更新启发,实现数据/模型无关且鲁棒的遗忘,在四个NLP数据集及真实案例中优于一阶方法。

摘要:

随着大型语言模型(LLMs)的快速发展,我们见证了如ChatGPT、LLaMa和Gemini等主要LLM产品之间的激烈竞争。然而,训练语料库中的各种问题(如隐私泄露和版权侵犯)仍未得到充分探索。例如,《纽约时报》起诉OpenAI和微软,指控其使用数百万篇文章进行训练而侵犯版权。从LLM从业者的角度来看,处理此类非预期的隐私违规可能具有挑战性。先前的工作利用梯度信息解决LLMs的“遗忘”问题,但大多引入了如数据预处理等显著开销或缺乏鲁棒性。在本文中,与基于一阶信息的方法形成对比,我们通过二阶信息(Hessian)的视角重新审视遗忘问题。我们的遗忘算法受经典牛顿更新的启发,不仅与数据无关/与模型无关,而且在效用保持或隐私保证方面被证明是鲁棒的。通过对四个NLP数据集以及真实世界数据集案例研究的全面评估,我们的方法始终显示出优于一阶方法的性能。

英文摘要:

With the rapid development of Large Language Models (LLMs), we have witnessed intense competition among the major LLM products like ChatGPT, LLaMa, and Gemini. However, various issues (e.g. privacy leakage and copyright violation) of the training corpus still remain underexplored. For example, the Times sued OpenAI and Microsoft for infringing on its copyrights by using millions of its articles for training. From the perspective of LLM practitioners, handling such unintended privacy violations can be challenging. Previous work addressed the ``unlearning" problem of LLMs using gradient information, while they mostly introduced significant overheads like data preprocessing or lacked robustness. In this paper, contrasting with the methods based on first-order information, we revisit the unlearning problem via the perspective of second-order information (Hessian). Our unlearning algorithms, which are inspired by classic Newton update, are not only data-agnostic/model-agnostic but also proven to be robust in terms of utility preservation or privacy guarantee. Through a comprehensive evaluation with four NLP datasets as well as a case study on real-world datasets, our methods consistently show superiority over the first-order methods.

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

↑