Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts

Jian Xie, Kai Zhang, Jiangjie Chen, Renze Lou, Yu Su

TL;DR

This paper investigates how Large Language Models (LLMs) behave when external evidence contradicts their internal "parametric" memory. The researchers found that while LLMs are surprisingly receptive to coherent, convincing disinformation (acting like "chameleons"), they exhibit a strong confirmation bias when presented with a mix of supportive and conflicting evidence, stubbornly clinging to their internal beliefs (acting like "sloths").

What Problem Does This Paper Address?

LLMs are trained on massive datasets, forming a vast internal store of knowledge known as parametric memory. However, this memory is static and can become outdated or contain inaccuracies. To fix this, developers use Retrieval-Augmented Generation (RAG), where the model is provided with external, up-to-date information (evidence) to answer questions.

A critical challenge arises when this external evidence conflicts with the model's internal memory. Previous research suggested that LLMs are "stubborn" and prefer their internal knowledge. This paper re-examines this assumption, questioning if that stubbornness was simply a reaction to poorly constructed, incoherent evidence used in earlier studies. Understanding this behavior is vital for the safety and reliability of AI assistants that rely on third-party tools and search engines.

Methods

The authors developed a systematic five-step framework to simulate knowledge conflicts in a controlled environment:

  1. Parametric Memory Elicitation: The model answers a question in a "closed-book" setting (no external info) and explains its reasoning to confirm what it "believes."
  2. Counter-memory Construction: Instead of simple word-swapping (e.g., changing "Paris" to "London"), the researchers used an LLM to generate a coherent, realistic-looking passage that supports a false answer (the counter-answer).
  3. Entailment Checking: A separate Natural Language Inference (NLI) model ensures the generated evidence actually supports the intended answer.
  4. Answer Consistency: A check to ensure the model's internal belief is firm; if providing the model's own memory as evidence changes its answer, the example is discarded.
  5. Evidence Preference: The model is finally tested in conflict scenarios (e.g., internal memory vs. one or more pieces of external counter-memory).
Figure 1: The five-step framework for simulating knowledge conflicts, from eliciting internal memory to testing evidence preference.

Datasets

The study utilized two primary datasets to test different types of knowledge:

  • POPQA: An entity-centric dataset (e.g., "Who is the capital of X?") used to test factual knowledge and the impact of "popularity" (how often an entity appears in Wikipedia).
  • STRATEGYQA: A multi-step reasoning benchmark (e.g., "Could an NBA game be completed within the span of the Six-Day War?") requiring the integration of multiple facts.

Key Insights and Ideas

  • Coherence is the Key to Deception: Previous studies used "entity substitution" which often resulted in nonsensical sentences. This paper shows that when counter-memory is written fluently and convincingly, LLMs are highly receptive to it—even if it's blatant disinformation.
  • The "Sloth" Emerges with Multiple Sources: When an LLM is given both evidence that supports its internal memory and evidence that contradicts it, it shows a massive confirmation bias. It tends to ignore the conflicting info and stick to its original belief.
  • Popularity Breeds Stubbornness: The more "popular" a fact is (meaning the model likely saw it many times during training), the more likely the model is to exhibit confirmation bias and reject external evidence.
  • Order Matters: Most models (except GPT-4) are sensitive to the order of evidence. Some prefer the first piece of information they read, while others lean toward the last.

Key Results

  • Single-Source Receptiveness: In single-source experiments, models were highly "chameleon-like." For example, when Llama2-7B was given coherent generated counter-memory, it adopted the false answer nearly 100% of the time, compared to only ~70% when using the older "substitution" method.
  • Confirmation Bias Quantified: Using the Memorization Ratio (MR)—a metric of how often a model sticks to its internal memory—the authors found that GPT-4's MR jumped significantly when even one piece of supportive evidence was added to a pile of conflicting evidence.
  • Susceptibility to Irrelevant Info: Models, particularly open-source ones like Llama2-7B, can be distracted by irrelevant information, leading them to provide "irrelevant answers" or become uncertain, even when they have the correct internal knowledge.
Figure 2: Answer distributions of entity substitution-based (Subs.) and generation-based (Gen.) counter-memory as the single evidence. Mem-Ans. and Ctr-Ans. refers to memory answer and counter-answer, respectively.

Limitations and Future Work

The authors acknowledge that their study primarily focuses on Question Answering tasks. They also highlight a significant ethical concern: the ease with which LLMs can generate convincing disinformation that misleads other LLMs.

Future work is needed to:

  • Develop robust safeguards to prevent LLMs from being deceived by malicious third-party tools.
  • Explore fine-tuning or Reinforcement Learning from Human Feedback (RLHF) techniques to reduce confirmation bias.
  • Investigate how models can better integrate fragmented evidence from multiple sources without being swayed by irrelevant context.

Summary updated

Abstract

By providing external information to large language models (LLMs), tool augmentation (including retrieval augmentation) has emerged as a promising solution for addressing the limitations of LLMs' static parametric memory. However, how receptive are LLMs to such external evidence, especially when the evidence conflicts with their parametric memory? We present the first comprehensive and controlled investigation into the behavior of LLMs when encountering knowledge conflicts. We propose a systematic framework to elicit high-quality parametric memory from LLMs and construct the corresponding counter-memory, which enables us to conduct a series of controlled experiments. Our investigation reveals seemingly contradicting behaviors of LLMs. On the one hand, different from prior wisdom, we find that LLMs can be highly receptive to external evidence even when that conflicts with their parametric memory, given that the external evidence is coherent and convincing. On the other hand, LLMs also demonstrate a strong confirmation bias when the external evidence contains some information that is consistent with their parametric memory, despite being presented with conflicting evidence at the same time. These results pose important implications that are worth careful consideration for the further development and deployment of tool- and retrieval-augmented LLMs. Resources are available at https://github.com/OSU-NLP-Group/LLM-Knowledge-Conflict.
BibTeX
@inproceedings{xie2024adaptive,
  author = {Jian Xie and Kai Zhang and Jiangjie Chen and Renze Lou and Yu Su},
  title = {{Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=auKAUJZMO6},
}
Figure