History Matters: Temporal Knowledge Editing in Large Language Model

Xunjian Yin, Jin Jiang, Liming Yang, Xiaojun Wan
12/9/2023
cs.CL

No official code found. Best implementation: Arvid-pku/ATOKE (13 stars, last commit 2023-12-17).

Abstract

The imperative task of revising or updating the knowledge stored within large language models arises from two distinct sources: intrinsic errors inherent in the model which should be corrected and outdated knowledge due to external shifts in the real world which should be updated. Prevailing efforts in model editing conflate these two distinct categories of edits arising from distinct reasons and directly modify the original knowledge in models into new knowledge. However, we argue that preserving the model's original knowledge remains pertinent. Specifically, if a model's knowledge becomes outdated due to evolving worldly dynamics, it should retain recollection of the historical knowledge while integrating the newfound knowledge. In this work, we introduce the task of Temporal Knowledge Editing (TKE) and establish a benchmark AToKe (Assessment of TempOral Knowledge Editing) to evaluate current model editing methods. We find that while existing model editing methods are effective at making models remember new knowledge, the edited model catastrophically forgets historical knowledge. To address this gap, we propose a simple and general framework termed Multi-Editing with Time Objective (METO) for enhancing existing editing models, which edits both historical and new knowledge concurrently and optimizes the model's prediction for the time of each fact. Our assessments demonstrate that while AToKe is still difficult, METO maintains the effectiveness of learning new knowledge and meanwhile substantially improves the performance of edited models on utilizing historical knowledge.

View on arXivView PDF

Code Implementations(1)

Arvid-pku/ATOKECommunity100%

[AAAI 2024] History Matters: Temporal Knowledge Editing in Large Language Model

131Dec 14, 20232 years ago

Similar Papers

Cite this paper

@article{yin2023history,
  title  = {History Matters: Temporal Knowledge Editing in Large Language Model},
  author = {Xunjian Yin and Jin Jiang and Liming Yang and Xiaojun Wan},
  year   = {2023},
  eprint = {2312.05497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.05497v3}
}

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/2312.05497.svg)](https://codeofpaper.com/paper/2312.05497)

Discussion