WikiFactDiff: A Large, Realistic, and Temporally Adaptable Dataset for Atomic Factual Knowledge Update in Causal Language Models

Hichem Ammar Khodja, Frédéric Béchet, Quentin Brabant, Alexis Nasr, Gwénolé Lecorvé
3/21/2024
cs.CL

No official code found. Best implementation: Orange-OpenSource/WikiFactDiff (14 stars, MIT, last commit 2025-09-05).

Abstract

The factuality of large language model (LLMs) tends to decay over time since events posterior to their training are "unknown" to them. One way to keep models up-to-date could be factual update: the task of inserting, replacing, or removing certain simple (atomic) facts within the model. To study this task, we present WikiFactDiff, a dataset that describes the evolution of factual knowledge between two dates as a collection of simple facts divided into three categories: new, obsolete, and static. We describe several update scenarios arising from various combinations of these three types of basic update. The facts are represented by subject-relation-object triples; indeed, WikiFactDiff was constructed by comparing the state of the Wikidata knowledge base at 4 January 2021 and 27 February 2023. Those fact are accompanied by verbalization templates and cloze tests that enable running update algorithms and their evaluation metrics. Contrary to other datasets, such as zsRE and CounterFact, WikiFactDiff constitutes a realistic update setting that involves various update scenarios, including replacements, archival, and new entity insertions. We also present an evaluation of existing update algorithms on WikiFactDiff.

View on arXivView PDF

Code Implementations(1)

MIT

WikiFactDiff is a factual atomic knowledge update dataset for LLMs. It describes the evolution of factual knowledge between two dates.

140Shell, PythonMar 12, 20241 years agoMIT
datasetsknowledgellm

Similar Papers

Cite this paper

@article{khodja2024wikifactdiff,
  title  = {WikiFactDiff: A Large, Realistic, and Temporally Adaptable Dataset for Atomic Factual Knowledge Update in Causal Language Models},
  author = {Hichem Ammar Khodja and Frédéric Béchet and Quentin Brabant and Alexis Nasr and Gwénolé Lecorvé},
  year   = {2024},
  eprint = {2403.14364},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.14364v1}
}

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

Discussion