DyKnow: Dynamically Verifying Time-Sensitive Factual Knowledge in LLMs

Seyed Mahed Mousavi, Simone Alghisi, Giuseppe Riccardi
4/10/2024
cs.CLcs.AI

No official code found. Best implementation: sislab-unitn/DyKnow (7 stars, MIT, last commit 2025-06-06).

Abstract

LLMs acquire knowledge from massive data snapshots collected at different timestamps. Their knowledge is then commonly evaluated using static benchmarks. However, factual knowledge is generally subject to time-sensitive changes, and static benchmarks cannot address those cases. We present an approach to dynamically evaluate the knowledge in LLMs and their time-sensitiveness against Wikidata, a publicly available up-to-date knowledge graph. We evaluate the time-sensitive knowledge in twenty-four private and open-source LLMs, as well as the effectiveness of four editing methods in updating the outdated facts. Our results show that 1) outdatedness is a critical problem across state-of-the-art LLMs; 2) LLMs output inconsistent answers when prompted with slight variations of the question prompt; and 3) the performance of the state-of-the-art knowledge editing algorithms is very limited, as they can not reduce the cases of outdatedness and output inconsistency.

View on arXivView PDF

Code Implementations(1)

sislab-unitn/DyKnowCommunity100%
MIT

Repository for "DyKnow: Dynamically Verifying Time-Sensitive Factual Knowledge in LLMs" presented @ EMNLP 2024

71Python, Jupyter NotebookApr 10, 20241 years agoMIT

Similar Papers

Cite this paper

@article{mousavi2024dyknow,
  title  = {DyKnow: Dynamically Verifying Time-Sensitive Factual Knowledge in LLMs},
  author = {Seyed Mahed Mousavi and Simone Alghisi and Giuseppe Riccardi},
  year   = {2024},
  eprint = {2404.08700},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.08700v3}
}

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

Discussion