How Training Data Shapes the Use of Parametric and In-Context Knowledge in Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models leverage both parametric knowledge acquired during pretraining and in-context knowledge provided at inference time. Crucially, when these sources conflict, models arbitrate based on their internal confidence, preferring parametric knowledge for high-confidence facts while deferring to context for less familiar ones. However, the training conditions that give rise to these fundamental behaviors remain unclear. Here we conduct controlled experiments using synthetic corpora to identify the specific data properties that shape knowledge utilization. Our results reveal a counterintuitive finding: the robust, balanced use of both knowledge sources is an emergent property that requires the co-occurrence of three factors typically considered detrimental, including (i) intra-document repetition, (ii) a moderate degree of intra-document inconsistency, and (iii) a skewed knowledge distribution. We further show that these dynamics arise in real-world language model pretraining and analyze how post-training procedures reshape arbitration strategies. Together, our findings provide empirical guidance for designing training data that supports the reliable integration of parametric and in-context knowledge in language models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 24 of its 33 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
24 of 33 references.
References · 24
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2023In-Context Retrieval-Augmented Language Modelscited by 702
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 408
12 more
- 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 341
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 200
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
- 2024ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidencecited by 113
- 2022DisentQA: Disentangling Parametric and Contextual Knowledge with Counterfactual Question Answeringcited by 96
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 91
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 37
- 2025Taming Knowledge Conflicts in Language Modelscited by 30
- 2024Studying Large Language Model Behaviors Under Context-Memory Conflicts With Real Documentscited by 27
- 2025Bilinear representation mitigates reversal curse and enables consistent model editingcited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Judging Against the Reference: Uncovering Knowledge-Driven Failures in LLM-Judges on QA Evaluationcited by 5
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 2
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolutioncited by 0
- 2026Knowledge Interaction in Hypernetwork-based Continual Learning: Conflict and Compositioncited by 0
- 2026Knowledge Interaction in Hypernetwork-based Continual Learning: Conflict and Composition11 Oct 2026
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026Judging Against the Reference: Uncovering Knowledge-Driven Failures in LLM-Judges on QA Evaluation12 Jan 2026