[Paper Review] Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?
This paper investigates how large language models (LLMs) merge generated and retrieved contexts in open-domain question answering, revealing a strong bias toward favoring generated contexts—even when they contain incorrect information. Using conflict-designed datasets, the authors show that LLMs prefer generated contexts due to higher similarity to questions and the semantic incompleteness of retrieved passages, highlighting risks in hybrid retrieval-generation systems.
While auxiliary information has become a key to enhancing Large Language Models (LLMs), relatively little is known about how LLMs merge these contexts, specifically contexts generated by LLMs and those retrieved from external sources. To investigate this, we formulate a systematic framework to identify whether LLMs' responses are attributed to either generated or retrieved contexts. To easily trace the origin of the response, we construct datasets with conflicting contexts, i.e., each question is paired with both generated and retrieved contexts, yet only one of them contains the correct answer. Our experiments reveal a significant bias in several LLMs (GPT-4/3.5 and Llama2) to favor generated contexts, even when they provide incorrect information. We further identify two key factors contributing to this bias: i) contexts generated by LLMs typically show greater similarity to the questions, increasing their likelihood of being selected; ii) the segmentation process used in retrieved contexts disrupts their completeness, thereby hindering their full utilization in LLMs. Our analysis enhances the understanding of how LLMs merge diverse contexts, offers valuable insights for advancing current LLM augmentation methods, and highlights the risk of generated misinformation for retrieval-augmented LLMs.
Motivation & Objective
- To investigate how LLMs integrate generated and retrieved contexts when they conflict in knowledge-intensive tasks.
- To identify why LLMs show a preference for generated contexts despite their potential inaccuracies.
- To analyze the underlying factors influencing context selection bias in retrieval-augmented and generation-augmented LLMs.
- To evaluate the impact of context similarity and semantic completeness on LLM decision-making in hybrid QA systems.
Proposed method
- Constructed conflict-resolved datasets where each question is paired with one correct and one incorrect context—either generated or retrieved—ensuring only one source holds the right answer.
- Designed controlled experiments using GPT-3.5, GPT-4, and Llama2-7b/13b to assess model responses under conflicting context conditions.
- Varied the completeness of generated contexts via truncation and sentence-level truncation to isolate the effect of semantic and syntactic integrity.
- Measured context preference using DiffGR (Difference in Generated Response), a metric quantifying model reliance on generated vs. retrieved contexts.
- Compared context similarity (cosine similarity to the question) and completeness between generated and retrieved contexts to identify contributing factors.
- Conducted ablation studies to test whether confirmation bias or similarity alone drives the observed preference.

Experimental results
Research questions
- RQ1Do LLMs prefer generated contexts over retrieved ones when both are present but only one contains the correct answer?
- RQ2What factors contribute to LLMs' bias toward generated contexts in the presence of conflicting information?
- RQ3Does the similarity between generated contexts and questions influence model preference, even when the generated content is incorrect?
- RQ4How does the semantic completeness of retrieved contexts affect their utilization in LLMs compared to generated contexts?
- RQ5Is the bias due to confirmation bias, or are other factors like similarity and completeness more influential?
Key findings
- LLMs such as GPT-3.5, GPT-4, and Llama2-13b show a strong preference for generated contexts, even when they contain incorrect information, with a DiffGR of 0.6562 on the NQ test set.
- The bias persists regardless of whether the generated context was produced by the same model or a different LLM, indicating a systemic preference rather than model-specific behavior.
- Generated contexts exhibit significantly higher similarity to questions than retrieved contexts, even when incorrect, which correlates with increased model reliance.
- Semantic incompleteness in retrieved contexts—caused by passage segmentation—reduces their utility, as LLMs favor contexts with better semantic integrity.
- When generated contexts are semantically complete, the bias toward them increases, with a 20% higher preference compared to semantically incomplete versions.
- Sentence-level completeness has less impact than semantic completeness, indicating that LLMs prioritize coherent meaning over syntactic sentence boundaries.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.