$\texttt{ConflictBank}$: A Benchmark for Evaluating the Influence of Knowledge Conflicts in LLMs

Zhaochen Su, Jun Zhang, Xiaoye Qu, Tong Zhu, Yanshu Li, Jiashuo Sun, Juntao Li, Min Zhang, Yu Cheng

TL;DR

This paper introduces CONFLICTBANK, a novel and extensive benchmark designed to systematically evaluate how Large Language Models (LLMs) handle knowledge conflicts. By creating a dataset with millions of claim-evidence pairs and QA sets, the authors reveal that LLMs are susceptible to misinformation and temporal/semantic ambiguities, and that larger models can be more prone to these issues, highlighting a critical challenge for building trustworthy AI.

What Problem Does This Paper Address?

LLMs have become incredibly capable, but a significant issue hindering their trustworthiness is "knowledge conflict." This occurs when an LLM encounters information that contradicts its internal knowledge or other pieces of information it's processing. While some research has touched upon conflicts between an LLM's learned knowledge and external information, a comprehensive evaluation of various conflict types and their interplay is missing. This gap makes it difficult to understand and mitigate issues like hallucinations, which are often rooted in these conflicts. The authors aim to fill this gap by providing a robust benchmark and conducting in-depth experiments to analyze LLM behavior under different conflict scenarios.

Methods

The core of this work is the creation of CONFLICTBANK, a large-scale benchmark. The process involved:

  1. Extracting Facts: Using Wikidata as a source, facts were extracted and structured.
  2. Constructing Conflict Claims: Three types of conflicts were simulated:
  3. Misinformation Conflict: Replacing factual information with incorrect or misleading data.
  4. Temporal Conflict: Introducing claims about knowledge changing over time, creating outdated information.
  5. Semantic Conflict: Exploiting the polysemy of language by using words with multiple meanings in different contexts.
  6. Generating Diverse Evidence Texts: Powerful LLMs were used to generate evidence for claims in three distinct styles: Wikipedia, book, and news, to ensure variety.
  7. Controlling Data Quality: Rigorous steps were taken, including feature filtering (removing model refusals), fact-evidence entailment checking (using NLI models like DeBERTa-V2), and conflict confirmation between evidence pieces (using SBERTS and a classifier) to ensure the dataset's integrity and the presence of genuine conflicts.
  8. Synthesizing Question-Answer Pairs: QA pairs were generated to facilitate evaluation.

Additionally, the authors conducted experiments by continuing pre-training on three LLMs (QWEN1.5-4B, Mistral-7B, LLaMA3-8B) with varying proportions of conflicting data embedded in their parametric memory to study internal knowledge conflicts.

Datasets

The primary dataset introduced is CONFLICTBANK, which comprises:

  • 7.45 million claim-evidence pairs
  • 553,000 QA pairs

This dataset is unique in its coverage of three main conflict causes (misinformation, temporal, semantic) and its ability to simulate conflicts in retrieved knowledge, embedded knowledge, and their interplay. The authors also used Wikidata as the source for extracting initial facts.

Key Insights and Ideas

  • LLMs are susceptible to misinformation and temporal/semantic ambiguities: Even advanced models can be easily misled by conflicting external evidence, demonstrating a significant vulnerability.
  • Larger models can be more susceptible to conflicting knowledge: Counter-intuitively, as model size increases, the Memorization Ratio (MR) often decreases, suggesting they might be more prone to adopting conflicting information, especially when it's presented later in the input.
  • Implicit conflicts are more confusing than explicit factual errors: Temporal and semantic conflicts, which might seem more nuanced or related to a model's internal knowledge, cause more confusion than straightforward misinformation.
  • External evidence can mitigate internal conflicts: When LLMs are presented with external evidence, they tend to follow it, even if it contradicts their internal knowledge. This suggests retrieval-augmented or tool-use approaches can be effective.
  • Detailed descriptions enhance clarity: Providing specific context or descriptions within prompts can help LLMs better understand and resolve conflicts, making their objectives more explicit.

Key Results

  • Memorization Ratio (MR) analysis: In scenarios with solely contradictory external evidence, semantic conflicts consistently resulted in the lowest MR across all model series, indicating higher sensitivity. When presented with both internal and external conflicts, LLMs showed a strong reliance on external knowledge, with MR dropping significantly when detailed descriptions were provided. For instance, for LLaMA3-70B, MR dropped from 67.52% to 8.31% with descriptions.
  • Pre-training experiments: Introducing conflicting data during pre-training led to a noticeable decline in the Original Answer Ratio (OAR) for LLMs, with models like LLaMA2-7B and Mistral-7B showing substantial drops (41.5% and 37.6% respectively) even with a small proportion of conflicting data.
  • GPT-40 performance: The closed-source model GPT-40 also showed the lowest MR on semantic conflicts when presented with two pieces of conflicting evidence, aligning with open-source model behavior.

Limitations and Future Work

  • Generative approach limitations: While efficient, the generative method for creating conflict pairs might miss some nuances or real-world complexities. Future work could explore more methods for constructing conflict pairs to ensure robustness.
  • Ethical considerations: The authors acknowledge that model outputs might contain offensive content, but state that this is not a reflection of their views and that all data is derived from public domain sources.
  • Future directions: The paper suggests that future work could focus on developing more robust methods for handling conflicts, potentially through improved training strategies, retrieval mechanisms, and prompt engineering techniques. The CONFLICTBANK dataset is intended to facilitate such future research.

Summary updated

Abstract

Large language models (LLMs) have achieved impressive advancements across numerous disciplines, yet the critical issue of knowledge conflicts, a major source of hallucinations, has rarely been studied. While a few research explored the conflicts between the inherent knowledge of LLMs and the retrieved contextual knowledge, a comprehensive assessment of knowledge conflict in LLMs is still missing. Motivated by this research gap, we firstly propose ConflictBank, the largest benchmark with 7.45M claim-evidence pairs and 553k QA pairs, addressing conflicts from misinformation, temporal discrepancies, and semantic divergences. Using ConflictBank, we conduct the thorough and controlled experiments for a comprehensive understanding of LLM behavior in knowledge conflicts, focusing on three key aspects: (i) conflicts encountered in retrieved knowledge, (ii) conflicts within the models' encoded knowledge, and (iii) the interplay between these conflict forms. Our investigation delves into four model families and twelve LLM instances and provides insights into conflict types, model sizes, and the impact at different stages. We believe that knowledge conflicts represent a critical bottleneck to achieving trustworthy artificial intelligence and hope our work will offer valuable guidance for future model training and development. Resources are available at https://github.com/zhaochen0110/conflictbank.
BibTeX
@inproceedings{su2024texttt,
  author = {Zhaochen Su and Jun Zhang and Xiaoye Qu and Tong Zhu and Yanshu Li and Jiashuo Sun and Juntao Li and Min Zhang and Yu Cheng},
  title = {{$\textbackslash\{\}texttt\{ConflictBank\}$: A Benchmark for Evaluating the Influence of Knowledge Conflicts in LLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=nBlpcvILcI},
}
Figure