arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.11190cs.CLcs.AIcs.CVcs.HCcs.LG
收藏

ReLearn:面向大语言模型的基于学习的遗忘方法

ReLearn: Unlearning via Learning for Large Language Models

Zhejiang University(浙江大学);Xiamen University(厦门大学);Tsinghua University(清华大学);Harbin Institute of Technology(哈尔滨工业大学);National University of Singapore(新加坡国立大学);NUS-NCS Joint Lab(新加坡国立大学-新科系统联合实验室)

Haoming Xu, Ningyuan Zhao, Liming Yang, Sendong Zhao, Shumin Deng, Mengru Wang, Bryan Hooi, Nay Oo, Huajun Chen, Ningyu Zhang

AI总结:

针对现有大模型遗忘方法破坏文本连贯性与评估指标不足的问题,提出数据增强微调流水线 ReLearn 及包含 KFR、KRR 和 LS 的综合评估框架,实现了高效目标遗忘并保持高质量生成。

摘要:

当前大语言模型的遗忘方法通常依赖反向优化来降低目标 token 的概率。然而,这种范式破坏了后续 token 的预测,导致模型性能和语言连贯性下降。此外,现有的评估指标过度强调上下文遗忘,却未能充分评估回复的流畅性与相关性。为应对这些挑战,我们提出了 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.

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

↑