DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Models

Sara Vera Marjanović, Haeun Yu, Pepa Atanasova, Maria Maistro, Christina Lioma +1 more
7/24/2024
cs.CLcs.AI

No official code found. Best implementation: copenlu/dynamicqa (7 stars, last commit 2024-11-08).

Abstract

Knowledge-intensive language understanding tasks require Language Models (LMs) to integrate relevant context, mitigating their inherent weaknesses, such as incomplete or outdated knowledge. However, conflicting knowledge can be present in the LM's parameters, termed intra-memory conflict, which can affect a model's propensity to accept contextual knowledge. To study the effect of intra-memory conflict on an LM's ability to accept relevant context, we utilize two knowledge conflict measures and a novel dataset containing inherently conflicting data, DynamicQA. This dataset includes facts with a temporal dynamic nature where facts can change over time and disputable dynamic facts, which can change depending on the viewpoint. DynamicQA is the first to include real-world knowledge conflicts and provide context to study the link between the different types of knowledge conflicts. We also evaluate several measures on their ability to reflect the presence of intra-memory conflict: semantic entropy and a novel coherent persuasion score. With our extensive experiments, we verify that LMs exhibit a greater degree of intra-memory conflict with dynamic facts compared to facts that have a single truth value. Furthermore, we reveal that facts with intra-memory conflict are harder to update with context, suggesting that retrieval-augmented generation will struggle with the most commonly adapted facts.

View on arXivView PDF

Code Implementations(1)

copenlu/dynamicqaCommunity100%

Code for running experiments as well as the dataset DynamicQA

71PythonJul 11, 20241 years ago

Cite this paper

@article{marjanovi2024dynamicqa,
  title  = {DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Models},
  author = {Sara Vera Marjanović and Haeun Yu and Pepa Atanasova and Maria Maistro and Christina Lioma and Isabelle Augenstein},
  year   = {2024},
  eprint = {2407.17023},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.17023v2}
}

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

Discussion