arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.09179cs.LG
收藏

面向LLM遗忘方法的有效评估与比较

Towards Effective Evaluations and Comparisons for LLM Unlearning Methods

Hong Kong Baptist University(香港浸会大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);The University of Sydney(悉尼大学);The University of Tokyo(东京大学)

Qizhou Wang, Bo Han, Puning Yang, Jianing Zhu, Tongliang Liu, Masashi Sugiyama

AI总结:

本文针对LLM遗忘评估中的指标鲁棒性和遗忘-保留权衡两大挑战,提出候选指标筛选与校准方法,以提升评估有效性并支持基准测试与超参数调优。

摘要:

消除不良数据记忆的必要性凸显了大型语言模型(LLMs)机器遗忘的重要性。近期研究引入了一系列有前景的遗忘方法,显著提升了该领域的实际意义。然而,采用适当的评估框架以反映真实的遗忘效果同样至关重要,但尚未得到充分关注。本文旨在通过解决两个关键挑战来改进LLM遗忘的评估——a)评估指标的鲁棒性,以及b)竞争目标之间的权衡。第一个挑战源于当前指标易受各种红队攻击场景影响的发现,这表明它们可能无法反映LLM实际保留的知识程度,而倾向于反映表面模型行为,因此易受攻击。我们通过设计和评估一系列候选指标来解决此问题,在各种攻击类型下选择最鲁棒的指标。第二个挑战源于消除不需要的知识与保留其他知识之间的冲突目标。这种遗忘与保留之间的权衡往往不符合帕累托前沿,使得比较仅在遗忘或保留方面表现优异的方法的效果变得微妙。我们通过提出一种校准方法来解决此问题,该方法可以在遗忘后恢复非目标数据上的原始性能,从而允许我们专注于评估遗忘强度。我们的评估框架在评估和比较各种LLM遗忘方法时显著提升了有效性,进一步使我们能够对现有工作进行基准测试,识别其合适的超参数,并探索新技巧以增强其实用效果。

英文摘要:

The imperative to eliminate undesirable data memorization underscores the significance of machine unlearning for large language models (LLMs). Recent research has introduced a series of promising unlearning methods, notably boosting the practical significance of the field. Nevertheless, adopting a proper evaluation framework to reflect the true unlearning efficacy is also essential yet has not received adequate attention. This paper seeks to refine the evaluation of LLM unlearning by addressing two key challenges -- a) the robustness of evaluation metrics and b) the trade-offs between competing goals. The first challenge stems from findings that current metrics are susceptible to various red teaming scenarios. It indicates that they may not reflect the true extent of knowledge retained by LLMs but rather tend to mirror superficial model behaviors, thus prone to attacks. We address this issue by devising and assessing a series of candidate metrics, selecting the most robust ones under various types of attacks. The second challenge arises from the conflicting goals of eliminating unwanted knowledge while retaining those of others. This trade-off between unlearning and retention often fails to conform the Pareto frontier, rendering it subtle to compare the efficacy between methods that excel only in either unlearning or retention. We handle this issue by proposing a calibration method that can restore the original performance on non-targeted data after unlearning, thereby allowing us to focus exclusively on assessing the strength of unlearning. Our evaluation framework notably enhances the effectiveness when assessing and comparing various LLM unlearning methods, further allowing us to benchmark existing works, identify their proper hyper-parameters, and explore new tricks to enhance their practical efficacy.

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

↑