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

通过高效微调实现时间敏感的知识编辑

Time Sensitive Knowledge Editing through Efficient Finetuning

Apple(苹果公司);Kyutai;Google Deepmind(谷歌DeepMind);Adobe(奥多比公司)

Xiou Ge, Ali Mousavi, Edouard Grave, Armand Joulin, Kun Qian, Benjamin Han, Mostafa Arefiyan, Yunyao Li

AI总结:

针对现有定位与编辑知识编辑方法在多跳推理能力差及运行时间长的问题,本文探索参数高效微调(PEFT)技术作为替代方案,构建了包含知识更新与注入的时间KE数据集,并发现PEFT在时间敏感知识编辑任务上表现更优。

摘要:

大型语言模型(LLMs)在不同任务中展现了令人瞩目的能力,并正在为许多领域带来变革性影响。然而,一旦预训练完成,保持LLMs中的知识时效性仍然是一项挑战。因此,设计有效的方法来更新过时知识并向LLMs注入新知识至关重要。现有的定位与编辑知识编辑(KE)方法存在两个局限性。首先,此类方法编辑后的LLMs在回答需要多跳推理的复杂查询时通常能力较差。其次,此类定位与编辑方法执行知识编辑的运行时间较长,使其在实际的大规模KE中不可行。在本文中,我们探索将参数高效微调(PEFT)技术作为KE的替代方案。我们整理了一个更全面的时间KE数据集,其中包含用于KE性能基准测试的知识更新和知识注入示例。我们进一步探究了在多跳问答任务中,微调对LLM中一系列层的影响。我们发现,对于时间敏感的知识编辑,PEFT的表现优于定位与编辑技术。

英文摘要:

Large Language Models (LLMs) have demonstrated impressive capability in different tasks and are bringing transformative changes to many domains. However, keeping the knowledge in LLMs up-to-date remains a challenge once pretraining is complete. It is thus essential to design effective methods to both update obsolete knowledge and induce new knowledge into LLMs. Existing locate-and-edit knowledge editing (KE) method suffers from two limitations. First, the post-edit LLMs by such methods generally have poor capability in answering complex queries that require multi-hop reasoning. Second, the long run-time of such locate-and-edit methods to perform knowledge edits make it infeasible for large scale KE in practice. In this paper, we explore Parameter-Efficient Fine-Tuning (PEFT) techniques as an alternative for KE. We curate a more comprehensive temporal KE dataset with both knowledge update and knowledge injection examples for KE performance benchmarking. We further probe the effect of fine-tuning on a range of layers in an LLM for the multi-hop QA task. We find that PEFT performs better than locate-and-edit techniques for time-sensitive knowledge edits.

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

↑