Time Sensitive Knowledge Editing through Efficient Finetuning

Xiou Ge, Ali Mousavi, Edouard Grave, Armand Joulin, Kun Qian +3 more
6/6/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: hiyouga/LlamaFactory (72,841 stars, Apache-2.0, last commit 2026-04-29).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

72,8418,898Python, MakefileMay 28, 20235 months agoApache-2.0
agentaideepseekfine-tuninggemma+15 more

Similar Papers

Cite this paper

@article{ge2024time,
  title  = {Time Sensitive Knowledge Editing through Efficient Finetuning},
  author = {Xiou Ge and Ali Mousavi and Edouard Grave and Armand Joulin and Kun Qian and Benjamin Han and Mostafa Arefiyan and Yunyao Li},
  year   = {2024},
  eprint = {2406.04496},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.04496v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04496.svg)](https://codeofpaper.com/paper/2406.04496)

Discussion