arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.03148

Large Language Models in Resolving Contextual Knowledge Conflicts

Xinye Yang, Zhenyang Liu, Ruisi Li, Yuanyuan Lei

Abstract

Most prior works focused on conflicts between an LLM's internal parametric knowledge and externally provided context. In contrast, we investigate how LLMs handle conflicts that arise within contextual knowledge itself. We introduce a taxonomy of six types of contextual conflicts (misinformation, inferential, temporal, granularity, perspective, and ambiguity) and contribute a comprehensive dataset CONTEXTCONFLICT for this setting. The dataset contains 5,781 samples, covers both reasoning and summarization tasks, and includes both explicit contradictions and implicit conflicts that require multi-step reasoning. Experiments on seven LLMs show that current models still fall short in resolving contextual knowledge conflicts. We further provide mechanistic interpretability insights into how LLMs process such conflicts, revealing their latent awareness of conflicts and the representational geometry underlying conflict processing. In addition, our analysis uncovers a consistent model bias towards earlier evidence, and this positional preference serves as a key obstacle to effective conflict resolution. Motivated by these findings, we further propose a simple training-free, label-free steering method that steers activations to encourage a more comprehensive incorporation of evidences for better conflict resolution. On our dataset, the method consistently improves accuracy on reasoning tasks and generates higher-quality, more balanced summaries for summarization tasks.¹²

1 Introduction

Large language models (LLMs) deployed in retrieval-augmented or multi-document settings routinely encounter conflicting information from

Figure

Figure 1: Example of contextual knowledge conflict: two contexts provide divergent perspectives.

multiple sources. Figure 1 illustrates a representative case: when asked about social media identity-verification policies, an LLM must synthesize opposing viewpoints that prioritize different values (safety versus privacy). The reliability of downstream applications therefore depends on how well models handle such conflicts. When conflict resolution fails, outputs may become hallucinated, factually incorrect, or one-sided (Shi et al., 2024; Chen et al., 2022), with the failure mode extending to news aggregation, medical decision support, misinformation detection, and legal reasoning in high-stakes settings. Characterizing how LLMs process multi-source conflicts is therefore a prerequisite for diagnosing and correcting these failures (Longpre et al., 2021; Chen et al., 2022).

Prior datasets on contextual knowledge conflicts exhibit four interrelated limitations. First, they rely on template-based synthetic construction, most commonly entity replacement, which fails to capture real-world complexity (Su et al., 2024; Longpre et al., 2021). Second, they focus on explicit factual contradictions and overlook implicit conflicts that require multi-step reasoning (Su et al., 2024; Lazaridou et al., 2021; Du et al., 2022). Third, they offer limited domain breadth and conflict-type coverage. Fourth, they can suffer from class imbalance, which makes category-level analysis statistically unreliable (Xu et al., 2024; Xie et al., 2024).

¹The link for dataset and code is: https://github.com/lei-nlp-lab/context_conflict_emnlp_2026.

²CONTEXTCONFLICT dataset is also released on Hugging Face: https://huggingface.co/datasets/AsherYang/ContextConflict

To address the above gaps, we contribute CONTEXTCONFLICT, a comprehensive multi-domain dataset of contextual knowledge conflicts comprising 5,781 samples. We define a taxonomy of six conflict types, including misinformation, inferential, temporal, granularity, perspective, ambiguity conflicts. The first three correspond to reasoning tasks, where LLMs are required to perform reasoning and identify the correct answer from multiple conflicting evidences. The latter three correspond to summarization tasks, where LLMs are expected to produce balanced summaries that preserve divergent perspectives. Within each conflict type, we further distinguish explicit conflicts that are identifiable by direct surface-level comparison, and implicit conflicts that require multi-step cross-evidence reasoning to resolve. An evaluation of seven LLMs covering both closed-source and open-source models on this dataset show that modern LLMs still fall short in resolving contextual knowledge conflicts.

We also provide mechanistic interpretability insights into how LLMs process contextual conflicts. Specifically, we investigate the latent awareness and representational geometry of each conflict type using concept activation vectors (Kim et al., 2018) and spectral energy decomposition (Eckart and Young, 1936), respectively. We also examine evidence attributions at both representation and output levels: at the representation level, we compare the activation geometry induced by single evidence versus combined evidence; at the output level, we quantify evidence contributions using Shapley-based attribution scores (Lundberg and Lee, 2017). Our analysis reveals strong awareness of contextual conflicts internalized in models, with different conflict types emerging at different layer depths and represented as distinct geometry in model's latent space. We also uncover a consistent model bias favoring earlier-positioned evidences, suggesting that this positional preference is a key obstacle to comprehensive evidence integration.

To address this issue, we then design a training-free, label-free steering method that mitigates positional preference and encourages more comprehensive consideration of conflicting evidences. Specifically, we construct a steering direction by computing the centroid of LLMs activations when processing each piece of evidence individually. During inference, we nudge the model's activations along this steering direction, guiding it to attend more evenly across evidence positions and thereby integrate evidence more comprehensively. The results show that our simple method effectively improves LLMs' ability to resolve knowledge conflicts, yielding more balanced summaries in summarization tasks and higher accuracy on reasoning tasks.

Our main contributions are summarized below.

  • We contribute a comprehensive multi-domain dataset covering six types of contextual knowledge conflicts, spanning reasoning and summarization tasks across diverse domains

  • We present a mechanistic interpretability analysis of contextual conflict processing, revealing how each conflict are detected, geometrically represented, and processed within LLMs

  • We design a training-free, label-free steering method that encourages more comprehensive integration of conflicting evidences, yielding better performance in conflict resolution

References (4)

  • X vs. not-X
  • What was {subject}'s [attribute] in [year]?
  • Ratings should reflect relative contribution differences between sources
  • Annotation Steps: