mlsanityData to 14 Oct 2026

Taming Knowledge Conflicts in Language Models

arXiv 2503.10996 ↗First posted 14 Mar 2025cs.CL cs.LGcited by 30

Not on the map. Why?

Abstract (arXiv)

Language Models (LMs) often encounter knowledge conflicts when parametric memory contradicts contextual knowledge. Previous works attribute this conflict to the interplay between "memory heads" and "context heads", attention heads assumed to promote either memory or context exclusively. In this study, we go beyond this fundamental assumption by uncovering a critical phenomenon we term the superposition of contextual information and parametric memory, where highly influential attention heads simultaneously contribute to both memory and context. Building upon this insight, we propose Just Run Twice (JuICE), a test-time attention intervention method that steers LMs toward either parametric beliefs or contextual knowledge without requiring fine-tuning. JuICE identifies a set of reliable attention heads and leverages a dual-run approach to mitigate the superposition effects. Extensive experiments across 11 datasets and 6 model architectures demonstrate that JuICE sets the new state-of-the-art performance and robust generalization, achieving significant and consistent improvement across different domains under various conflict types. Finally, we theoretically analyze knowledge conflict and the superposition of contextual information and parametric memory in attention heads, which further elucidates the effectiveness of JuICE in these settings. Our code is available at https://github.com/GaotangLi/JUICE.

Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 55 of its 66 references that are in the map. First posted on arXiv 14 Mar 2025.

Builds on

55 of 66 references.

References · 55

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  5. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  6. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  8. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  9. 2022Mass-Editing Memory in a Transformercited by 1,001
  10. 2022Toy Models of Superpositioncited by 971
  11. 2022In-context Learning and Induction Headscited by 964
  12. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
38 more
  1. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
  2. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  3. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  4. 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Contextcited by 369
  5. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
  6. 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 341
  7. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  8. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
  9. 2024Knowledge Conflicts for LLMs: A Surveycited by 283
  10. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  11. 2024Tool Learning with Large Language Models: A Surveycited by 223
  12. 2023Knowledge Editing for Large Language Models: A Surveycited by 194
  13. 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 170
  14. 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
  15. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  16. 2022Rich Knowledge Sources Bring Complex Knowledge Conflicts: Recalibrating Models to Reflect Conflicting Evidencecited by 144
  17. 2024Tug-of-War Between Knowledge: Exploring and Resolving Knowledge Conflicts in Retrieval-Augmented Language Modelscited by 93
  18. 2023Language Model Behavior: A Comprehensive Surveycited by 92
  19. 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 91
  20. 2024Stable LM 2 1.6B Technical Reportcited by 90
  21. 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 86
  22. 2023Context-faithful Prompting for Large Language Modelscited by 80
  23. 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 76
  24. 2024Understanding Factual Recall in Transformers via Associative Memoriescited by 51
  25. 2023Resolving Knowledge Conflicts in Large Language Modelscited by 50
  26. 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 48
  27. 2024Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?cited by 48
  28. 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
  29. 2024How Easily do Irrelevant Inputs Skew the Responses of Large Language Models?cited by 44
  30. 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 40
  31. 2024IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neuronscited by 38
  32. 2023Scaling Laws for Associative Memoriescited by 35
  33. 2024Understanding Finetuning for Factual Knowledge Extractioncited by 32
  34. 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
  35. 2024Discerning and Resolving Knowledge Conflicts through Adaptive Decoding with Contextual Information-Entropy Constraintcited by 27
  36. 2023Intuitive or Dependent? Investigating LLMs' Behavior Style to Conflicting Promptscited by 23
  37. 2023Mitigating Temporal Misalignment by Discarding Outdated Factscited by 21
  38. 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 22.

30 papers.

Sort:

By area:

  1. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
  2. 2025Task Matters: Knowledge Requirements Shape LLM Responses to Context-Memory Conflictcited by 16
  3. 2025LLM Microscope: What Model Internals Reveal About Answer Correctness and Context Utilizationcited by 11
  4. 2025Can LLMs Reconcile Knowledge Conflicts in Counterfactual Reasoningcited by 7
  5. 2026Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Modelscited by 5
  6. 2025How Training Data Shapes the Use of Parametric and In-Context Knowledge in Language Modelscited by 4
  7. 2025Idea2Plan: Exploring AI-Powered Research Planningcited by 4
  8. 2025Geometric-disentangelment Unlearningcited by 4
  9. 2026Contextual Drag: How Errors in the Context Affect LLM Reasoningcited by 4
  10. 2025Representation Interventions Enable Lifelong Knowledge Memory Control in LLMscited by 3
  11. 2026SHIFT: Gate-Modulated Activation Steering for Knowledge Conflict Mitigation in Retrieval-Augmented Generationcited by 3
  12. 2025COMPASS: Context-Modulated PID Attention Steering System for Hallucination Mitigationcited by 2
18 more
  1. 2026Three Regimes of Context-Parametric Conflict: A Predictive Framework and Empirical Validationcited by 2
  2. 2026Right Knowledge, Wrong Answer: Characterizing Parametric Temporal Conflict in Open-Weight Language Modelscited by 2
  3. 2026Diagnosing Knowledge Conflict in Multimodal Long-Chain Reasoningcited by 1
  4. 2026Evaluating Evidence Grounding Under User Pressure in Instruction-Tuned Language Modelscited by 1
  5. 2026From Context-Aware to Conflict-Aware: Generalizing Contrastive Decoding for Knowledge Conflict in LLMscited by 1
  6. 2026Navigating Unreliable Parametric and Contextual Knowledge: Explicit Knowledge Conflict Resolution for LLM Inferencecited by 1
  7. 2026Slow to See, Slow to Suppress: Understanding the Effects of Modality in Context-Memory Conflictscited by 1
  8. 2026CRAFT: Causal Responsibility and Failure Tracing in Medical Vision Language Modelscited by 1
  9. 2026AI Knows What's Wrong But Cannot Fix It: Helicoid Dynamics in Frontier LLMs Under High-Stakes Decisionscited by 0
  10. 2026How Do Language Models Choose Between Context and Memory?cited by 0
  11. 2026Large Language Models in Resolving Contextual Knowledge Conflictscited by 0
  12. 2026Memory vs. Context? Influential Factors of Factual Recall in Language Modelscited by 0
  13. 2026Rewired or Gated? How Instruction Tuning Shapes Knowledge-Conflict Circuits in LLMscited by 0
  14. 2026Who Warmed the Archives? LLMs Overestimate Historical Warmthcited by 0
  15. 2026Where's Waldo? Query-language Preference under Cross-lingual Knowledge Disparitiescited by 0
  16. 2026Suppressing Pressure, Amplifying Evidence: Self-Guided Attention Steering to Mitigate Sycophancy and Stubbornnesscited by 0
  17. 2026Knowledge Interaction in Hypernetwork-based Continual Learning: Conflict and Compositioncited by 0
  18. 2026Which Knowledge Should LLMs Trust? Uncovering a Generalizable Steering Direction Across Knowledge Conflictscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Models
  2. 2024Studying Large Language Model Behaviors Under Context-Memory Conflicts With Real Documents
  3. 2025Tracing Facts or just Copies? A critical investigation of the Competitions of Mechanisms in Large Language Models
  4. 2026ContextFocus: Activation Steering for Contextual Faithfulness in Large Language Models
  5. 2025Parameters vs. Context: Fine-Grained Control of Knowledge Reliance in Language Models
  6. 2025"Lost-in-the-Later": Framework for Quantifying Contextual Grounding in Large Language Models
  7. 2026MemoReason: Evaluating the Effect of Parametric Memory on Contextual Reasoning in LLMs
  8. 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recall