2025-02-18 · 进阶 · 自然语言处理 · 机器学习

ReLearn: Unlearning via Learning for Large Language Models

ReLearn通过数据增强和微调,提出了一种新的有效遗忘学习框架,以平衡知识遗忘和保留,同时保持语言能力。

更新于 2025-02-18。作者:Haoming Xu、Ningyuan Zhao、Liming Yang、Sendong Zhao、Shumin Deng、Mengru Wang、Bryan Hooi、Nay Oo、Huajun Chen、Ningyu Zhang。

中文摘要

当前大型语言模型的不学习方法通常依赖于反向优化来降低目标标记的概率。然而,这种范式会干扰后续标记的预测,降低模型性能和语言连贯性。此外,现有的评估指标过度强调上下文遗忘,而不足以评估响应的流畅性和相关性。为了解决这些挑战,我们提出了ReLearn,这是一种用于有效不学习的数据增强和微调管道,以及一个全面的评估框架。该框架引入了知识遗忘率(KFR)和知识保留率(KRR)来衡量知识层面的保留,以及语言评分(LS)来评估生成质量。我们的实验表明,ReLearn成功实现了目标遗忘,同时保留了高质量的输出。通过机制分析,我们进一步展示了反向优化如何干扰连贯文本生成,而ReLearn则保留了这一基本能力。代码可在https://github.com/zjunlp/unlearn上获取。

英文摘要

Current unlearning methods for large language models usually rely on reverse optimization to reduce target token probabilities. However, this paradigm disrupts the subsequent tokens prediction, degrading model performance and linguistic coherence. Moreover, existing evaluation metrics overemphasize contextual forgetting while inadequately assessing response fluency and relevance. To address these challenges, we propose ReLearn, a data augmentation and fine-tuning pipeline for effective unlearning, along with a comprehensive evaluation framework. This framework introduces Knowledge Forgetting Rate (KFR) and Knowledge Retention Rate (KRR) to measure knowledge-level preservation, and Linguistic Score (LS) to evaluate generation quality. Our experiments show that ReLearn successfully achieves targeted forgetting while preserving high-quality output. Through mechanistic analysis, we further demonstrate how reverse optimization disrupts coherent text generation, while ReLearn preserves this essential capability. Code is available at https://github.com/zjunlp/unlearn.

解读

一句话总结

ReLearn通过数据增强和微调,提出了一种新的有效遗忘学习框架,以平衡知识遗忘和保留,同时保持语言能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt