What External Knowledge is Preferred by LLMs? Characterizing and Exploring Chain of Evidence in Imperfect Context

Zhiyuan Chang, Mingyang Li, Xiaojun Jia, Junjie Wang, Yuekai Huang, Qing Wang, Yihao Huang, Yang Liu · OpenReview

Abstract

Incorporating external knowledge into large large language models (LLMs) has emerged as a promising approach to mitigate outdated knowledge and hallucination. However, external knowledge is often imperfect, containing irrelevant information or misinformation that can impair response reliability. This paper focuses on LLMs' preferred external knowledge in imperfect contexts when handling multi-hop QA. Inspired by criminal procedural law's Chain of Evidence (CoE), we characterize that knowledge preferred by LLMs should maintain both relevance to the question and mutual support among knowledge pieces. Our evaluation reveals that CoE enhances LLMs through more accurate generation, stronger answer faithfulness, better robustness against knowledge conflict, and improved performance in Retrieval-Augmented Generation (RAG) scenarios.

Introduction

Retrieval-Augmented Generation (RAG) has become the standard for grounding LLMs in external facts. However, the effectiveness of RAG is often hampered by "noise"—extraneous text that looks relevant but is unhelpful, or inaccurate content that actively misleads the model. While previous research has explored simple biases like text length or coherence, this study investigates the structural features that make knowledge "preferred" by LLMs in complex, multi-hop reasoning tasks.

The Chain of Evidence (CoE) Framework

The researchers introduce the Chain of Evidence (CoE) framework, drawing inspiration from legal theory where evidence must demonstrate both relevance and interconnectivity. A valid CoE consists of three pillars:

  • Intent: A phrase representing the desired answer type (e.g., "state location").
  • Evidence Nodes: The key entities required for reasoning steps (e.g., "CEO", "Warren Bryant").
  • Evidence Relations: The logical predicates or associations that link these nodes together.
Figure 1: Conceptual overview of the Chain of Evidence (CoE) framework, showing how Intent, Evidence Nodes, and Evidence Relations bridge a question to an answer.

To evaluate this, the authors developed a CoE Discrimination approach using LLMs to extract these features and verify their presence in external text. They compared "CoE-aligned" knowledge against "Non-CoE" versions created by removing key sentences (Sentence-level perturbation) or replacing entities with vague terms (Word-level perturbation).

Key Insights and Structural Bias

The study reveals a profound "structural bias" in LLMs. Models are significantly more likely to utilize and trust information if it is presented as a complete logical chain, even when surrounded by 75% irrelevant noise.

Specific findings include:

  • Intent is Essential: Removing the "Intent" from a knowledge snippet caused the largest drop in accuracy (33.9%), suggesting that LLMs use intent as a primary filter for noise.
  • Relations as a Shield: Logical relations between facts are critical for resisting contradictions. Without these links, LLMs are easily confused by conflicting information.
  • The Double-Edged Sword: Because LLMs prefer CoE-structured text, they are more easily deceived by false information if that misinformation is formatted as a convincing logical chain. A well-structured lie is often more "potent" than a disorganized truth.

Quantitative Results and RAG Application

Across five state-of-the-art models (including GPT-4 and Llama 3), knowledge meeting CoE criteria outperformed Non-CoE versions by an average of 22.5% in accuracy. While Non-CoE accuracy plummeted as noise increased, CoE-aligned knowledge remained stable, showing only a 1.8% drop even in highly irrelevant contexts.

Integrating CoE-based reranking into standard RAG pipelines led to a 10.4% average improvement in accuracy. Furthermore, using CoE to generate "defensive" knowledge improved accuracy by 27.2% and reduced the success rate of poisoning attacks by 35.8%.

Table 6: Evaluation of CoE in RAG scenarios, demonstrating improvements in accuracy and robustness against attacks.

Limitations and Future Work

Despite its effectiveness, the CoE framework currently measures structure rather than truth. Future work must bridge this "truth gap" by combining structural analysis with automated fact-checking. Additionally, the current strategy is optimized for textual reranking and has yet to be fully integrated into vector-level retrieval systems common in production environments. Finally, the system's reliance on a "judge" LLM for feature extraction introduces a dependency that requires high-quality initial processing to avoid downstream errors.

Summary updated

BibTeX
@misc{chang2024what,
  author = {Zhiyuan Chang and Mingyang Li and Xiaojun Jia and Junjie Wang and Yuekai Huang and Qing Wang and Yihao Huang and Yang Liu},
  title = {{What External Knowledge is Preferred by LLMs? Characterizing and Exploring Chain of Evidence in Imperfect Context}},
  year = {2024},
  eprint = {2412.12632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.12632},
}
Figure