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

遗忘还是混淆?通过良性再学习唤醒已遗忘 LLM 的记忆

Unlearning or Obfuscating? Jogging the Memory of Unlearned LLMs via Benign Relearning

Carnegie Mellon University(卡内基梅隆大学)

Shengyuan Hu, Yiwei Fu, Zhiwei Steven Wu, Virginia Smith

AI总结:

本文提出良性再学习攻击,证明现有近似 LLM 遗忘方法可用少量松散相关数据逆转,并在三个基准上揭示其仅抑制输出而非真正遗忘。

摘要:

机器遗忘是一种很有前景的方法,可用于缓解 ML 模型对训练数据的不良记忆。然而,本文表明,现有 LLM 遗忘方法出人意料地容易受到一组简单的“良性再学习攻击”。在只能访问少量且可能关联松散的数据时,我们发现可以“唤醒”已遗忘模型的记忆,从而逆转遗忘效果。例如,我们表明,在公共医学文章上再学习会使已遗忘的 LLM 输出有关生物武器的有害知识,而对《哈利·波特》系列丛书的通用 wiki 信息进行再学习,会迫使模型输出逐字记忆的文本。我们形式化了这一遗忘—再学习流程,在三个流行的遗忘基准上探索了该攻击,并讨论了由本研究引出的未来方向和指导原则。我们的工作表明,当前的近似遗忘方法只是抑制了模型输出,并未在 LLM 中稳健地遗忘目标知识。

英文摘要:

Machine unlearning is a promising approach to mitigate undesirable memorization of training data in ML models. However, in this work we show that existing approaches for unlearning in LLMs are surprisingly susceptible to a simple set of $\textit{benign relearning attacks}$. With access to only a small and potentially loosely related set of data, we find that we can ''jog'' the memory of unlearned models to reverse the effects of unlearning. For example, we show that relearning on public medical articles can lead an unlearned LLM to output harmful knowledge about bioweapons, and relearning general wiki information about the book series Harry Potter can force the model to output verbatim memorized text. We formalize this unlearning-relearning pipeline, explore the attack across three popular unlearning benchmarks, and discuss future directions and guidelines that result from our study. Our work indicates that current approximate unlearning methods simply suppress the model outputs and fail to robustly forget target knowledge in the LLMs.

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

↑