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

大型语言模型的偏移遗忘

Offset Unlearning for Large Language Models

University of Southern California(南加州大学);Microsoft Research(微软研究院);University of California, Davis(加州大学戴维斯分校)

James Y. Huang, Wenxuan Zhou, Fei Wang, Fred Morstatter, Sheng Zhang, Hoifung Poon, Muhao Chen

AI总结:

针对黑盒LLMs遗忘敏感数据的需求,提出δ-Unlearning框架,通过对比小模型logits学习偏移量,有效遗忘目标数据并保持通用性能。

摘要:

尽管大型语言模型(LLMs)具有从训练语料库中获取知识的强大能力,但语料库中敏感信息(如受版权保护的、带有偏见的和私人的内容)的留存引发了伦理和法律担忧。为了应对这些挑战,遗忘已成为受问题训练数据影响的LLMs的一种潜在补救措施。然而,由于需要访问模型内部权重,先前的遗忘技术要么不适用于黑盒LLMs,要么通过保留敏感数据以进行推理时纠正,从而违反了数据保护原则。我们提出了δ-Unlearning,一个针对黑盒LLMs的偏移遗忘框架。δ-Unlearning不调整黑盒LLM本身,而是通过对比一对较小模型的logits来学习遗忘所需的logit偏移。实验表明,δ-Unlearning能有效遗忘目标数据,同时在一般遗忘范围外任务上保持相似甚至更强的性能。δ-Unlearning还有效整合了不同的遗忘算法,使我们的方法成为将各种现有遗忘算法适配到黑盒LLMs的通用解决方案。

英文摘要:

Despite the strong capabilities of Large Language Models (LLMs) to acquire knowledge from their training corpora, the memorization of sensitive information in the corpora such as copyrighted, biased, and private content has led to ethical and legal concerns. In response to these challenges, unlearning has emerged as a potential remedy for LLMs affected by problematic training data. However, previous unlearning techniques are either not applicable to black-box LLMs due to required access to model internal weights, or violate data protection principles by retaining sensitive data for inference-time correction. We propose δ-Unlearning, an offset unlearning framework for black-box LLMs. Instead of tuning the black-box LLM itself, δ-Unlearning learns the logit offset needed for unlearning by contrasting the logits from a pair of smaller models. Experiments demonstrate that δ- Unlearning can effectively unlearn target data while maintaining similar or even stronger performance on general out-of-forget-scope tasks. δ-Unlearning also effectively incorporates different unlearning algorithms, making our approach a versatile solution to adapting various existing unlearning algorithms to black-box LLMs.

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

↑