Lune

ACL2024顶会

Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?

Hexiang Tan, Fei Sun, Wanli Yang, Yuanzhuo Wang, Qi Cao, Xueqi Cheng

摘要

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, derived from the integration of generated and retrieved contexts, 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, offering valuable insights for advancing current augmentation methods for LLMs 1 et al., 2022; Sun et al., 2023), e.g., GenRead (Yu 041 et al., 2022), instruct LLMs to initially generate 042 a background context tailored to the given ques-043 tion, which is then employed as the basis for pro-044 ducing the final answer. In contrast, retrieval-045 augmented approaches (Lewis et al., 2020; Ram 046 et al., 2023) adopt an alternative strategy by incor-047 porating relevant passages from external corpora, 048 e.g., Wikipedia, as context, thereby notably enhanc-049 ing LLMs' capability to address challenges like 050 knowledge updates (Jang et al., 2022) and long-tail 051 knowledge (Kandpal et al., 2023). 052 Building on the foundations laid by generation-053 augmented and retrieval-augmented methods, re-054 cent hybrid approaches have attempted to integrate 055 them to further improve performance in tasks like 056 Question Answering (QA) (Yu et al., 2022; Mallen 057 et al., 2023). These hybrid approaches face a signif-058 icant challenge: conflicts between diverse sources 059 can impede the effectiveness of information integra-060 tion (Zhang et al., 2023). While recent works have 061 investigated conflicts within contexts from a sin-062 gle source, either only retrieved (Chen et al., 2022) 063 or generated (Xie et al., 2023), it remains unclear 064 how LLMs resolve conflicts between generated and 065 retrieved contexts. This study, therefore, aims to 066 investigate the underlying mechanisms by which 067 120 with semantic integrity. The segmentation process 121 used in retrieved contexts may disrupt their com-122 pleteness, thereby hindering their full utilization in 123 LLMs. 124 This work preliminarily explores the growing 125 challenge of LLMs utilizing contexts from diverse 126 sources, especially in light of the increasing preva-127 lence of LLM-generated content on the internet, 128 which may contain potential misinformation (Pan 129 et al., 2023). Furthermore, our findings offer 130 valuable guidance for enhancing existing retrieval-131 augmented methods, such as optimizing passage 132 segmentation in retrieval systems. Our main contri-133 butions can be summarized as: 134 • We uncover a critical bias in existing LLMs, 135 where they heavily rely on generated contexts re-136 gardless of correctness, indicating an insufficient 137 use of diverse information sources. 138 • To facilitate controlled experiments, we develop 139 a specialized framework for constructing tailored 140 datasets and excluding confounding factors, e.g., 141 input order and context length. 142 • Our extensive analyses have identified two key 143 factors, i.e., text similarity and semantic com-144 pleteness, in the context utilization of LLMs. 145 Moreover, we reveal that the confirmation bias 146

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented Generation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentation 引用了 Dense Passage Retrieval for Open-Domain Question Answering
  • The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Dense Passage Retrieval for Open-Domain Question Answering 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks 引用了 Dense Passage Retrieval for Open-Domain Question Answering
  • Pre-training Limited Memory Language Models with Internal and External Knowledge 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Making Retrieval-Augmented Language Models Robust to Irrelevant Context 引用了 Dense Passage Retrieval for Open-Domain Question Answering
  • Making Retrieval-Augmented Language Models Robust to Irrelevant Context 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. Seeing but Not Believing: Probing the Disconnect Between Visual Attention and Answer Correctness in VLMsZhining Liu, Ziyi Chen, Hui Liu, Chen Luo 等ICLR 2026 · 47 次引用
  2. FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented GenerationQinggang Zhang, Zhishang Xiang, Yilin Xiao, Le Wang 等ACL 2025 · 18 次引用
  3. Show Me the Work: Fact-Checkers' Requirements for Explainable Automated Fact-CheckingGreta Warren, Irina Shklovski, Isabelle AugensteinCHI 2025 · 15 次引用
  4. The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval AugmentationPatrick Kahardipraja, Reduan Achtibat, Thomas Wiegand, Wojciech Samek 等NeurIPS 2025 · 13 次引用
  5. Pre-training Limited Memory Language Models with Internal and External KnowledgeLinxi Zhao, Sofian Zalouk, Christian K. Belardi, Justin Lovelace 等ICLR 2026 · 11 次引用

它引用的 Paper11

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  2. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
  3. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  4. Making Retrieval-Augmented Language Models Robust to Irrelevant ContextOri Yoran, Tomer Wolfson, Ori Ram, Jonathan BerantICLR 2024 · 361 次引用
  5. Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis 等EMNLP 2020 · 142 次引用

相关 Paper

  1. LLMs Trust Humans More, That's a Problem! Unveiling and Mitigating the Authority Bias in Retrieval-Augmented GenerationYuxuan Li, Xinwei Guo, Jiashi Gao, Guanhua Chen 等ACL 2025
  2. LLMs are Biased Evaluators But Not Biased for Fact-Centric Retrieval Augmented GenerationYen-Shan Chen, Jing Jin, Peng-Ting Kuo, Chao-Wei Huang 等ACL Findings 2025 · 2 次引用
  3. Retrieval meets Long Context Large Language ModelsPeng Xu, Wei Ping, Xianchao Wu, Lawrence McAfee 等ICLR 2024 · 131 次引用
  4. Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge ConflictsJian Xie, Kai Zhang, Jiangjie Chen, Renze Lou 等ICLR 2024 · 294 次引用
  5. To Trust or Not to Trust? Enhancing Large Language Models' Situated Faithfulness to External ContextsYukun Huang, Sanxing Chen, Hongyi Cai, Bhuwan DhingraICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖