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

先遗忘后学习:在大型语言模型中利用参数算术进行知识更新

Forgetting before Learning: Utilizing Parametric Arithmetic for Knowledge Updating in Large Language Models

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Sun Yat-Sen University(中山大学);Shenzhen MSU-BIT University(深圳北理莫斯科大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Shiwen Ni, Dingwei Chen, Chengming Li, Xiping Hu, Ruifeng Xu, Min Yang

AI总结:

针对大型语言模型因新旧知识冲突导致直接微调更新无效的问题,提出F-Learning微调范式,利用参数算术先遗忘旧知识再学习新知识,显著提升了知识更新性能并超越现有基线。

摘要:

大型语言模型(LLMs)的最新进展展示了其在文本理解和生成方面的卓越能力。然而,即使是更强大的LLMs也容易从训练语料库中获取错误或过时的信息。由于新旧知识之间的冲突,使用包含新知识的数据进行直接的二次微调在更新知识方面可能无效。在本文中,我们提出了一种名为F-Learning(先遗忘后学习)的微调新范式,该范式采用参数算术来促进旧知识的遗忘和新知识的学习。在两个公开可用的数据集上的实验结果表明,我们提出的F-Learning能够明显提升全量微调和LoRA微调的知识更新性能,同时在大多数情况下优于现有基线。此外,我们还发现,通过减去LoRA的参数来遗忘旧知识,可以产生与减去全量微调参数相似的效果,有时甚至会显著超越它。

英文摘要:

Recent advancements in Large Language Models (LLMs) have showcased their remarkable capabilities in text understanding and generation. However, even stronger LLMs are susceptible to acquiring erroneous or obsolete information from the training corpus. Direct secondary fine-tuning with data containing new knowledge may be ineffective in updating knowledge due to the conflict between old and new knowledge. In this paper, we propose a new paradigm for fine-tuning called F-Learning (Forgetting before Learning), which employs parametric arithmetic to facilitate the forgetting of old knowledge and learning of new knowledge. Experimental results on two publicly available datasets demonstrate that our proposed F-Learning can obviously improve the knowledge updating performance of both full fine-tuning and LoRA fine-tuning, simultaneously outperforming the existing baselines in most cases. Moreover, we have also discovered that forgetting old knowledge by subtracting the parameters of LoRA can yield a similar effect to subtracting the parameters of full fine-tuning, and occasionally even surpass it significantly.

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

↑