arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.04388cs.LG
收藏

基于梯度方法下大语言模型中分布内与分布外数据的机器遗忘

Unlearning in- vs. out-of-distribution data in LLMs under gradient-based method

School of Cybersecurity and Privacy, Georgia Institute of Technology(佐治亚理工学院网络安全与隐私学院);Google Brain(谷歌大脑);National University of Singapore(新加坡国立大学);Google DeepMind(谷歌DeepMind)

Teodora Baluta, Pascal Lamblin, Daniel Tarlow, Fabian Pedregosa, Gintare Karolina Dziugaite

AI总结:

本工作提出评估生成模型遗忘质量的指标,研究基于梯度方法下LLM遗忘分布内与分布外数据的效果,发现分布外遗忘需更多步骤但权衡更优,分布内遗忘则性能迅速下降。

摘要:

机器遗忘旨在解决从已学习模型中移除选定训练样本影响的问题。尽管该问题日益受到关注,但如何评估大型语言模型(LLMs)中的遗忘效果,以及待遗忘数据中哪些关键属性会影响遗忘的质量和效率,仍是一个开放的研究问题。本工作形式化了一个用于评估生成模型中遗忘质量的指标,并利用该指标评估遗忘质量与性能之间的权衡。我们证明,遗忘分布外样本需要更多的遗忘步骤,但总体上呈现出更好的权衡。然而,对于分布内样本,我们观察到随着遗忘的进行,性能会迅速下降。我们进一步评估了在经典的基于梯度上升的方法下,样本的记忆程度和难度如何影响遗忘效果。

英文摘要:

Machine unlearning aims to solve the problem of removing the influence of selected training examples from a learned model. Despite the increasing attention to this problem, it remains an open research question how to evaluate unlearning in large language models (LLMs), and what are the critical properties of the data to be unlearned that affect the quality and efficiency of unlearning. This work formalizes a metric to evaluate unlearning quality in generative models, and uses it to assess the trade-offs between unlearning quality and performance. We demonstrate that unlearning out-of-distribution examples requires more unlearning steps but overall presents a better trade-off overall. For in-distribution examples, however, we observe a rapid decay in performance as unlearning progresses. We further evaluate how example's memorization and difficulty affect unlearning under a classical gradient ascent-based approach.

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

↑