Context or Knowledge: How LLMs Attribute Their Own Answers
Not on the map. Why?
Abstract (arXiv)
Language models can answer a question from a supplied document or from their parametric knowledge. When later asked where the answer came from, what determines their source report? We study this by intervening on the model's key-value (KV) cache after the answer is generated and before the source question is asked. On a controlled factual task with four models (7B-32B), changing or removing the document's cache never changes the report. In contrast, transplanting the question-and-answer (Q+A) cache between runs with identical question and answer tokens transfers it: every eligible report follows the donor, while the recipient's document is unchanged. On the two smaller models, steering Q+A values along directions fitted before any source question reverses 98.9-100% of reports across four document conditions at a fixed strength, while norm-matched random directions flip at most 1.1%. The components of keys and values along fitted directions carry the transplant effect: copying them alone nearly reproduces the report change; holding them fixed nearly prevents it. Applied during answer generation, the same value directions also change which source supplies the answer, though more weakly and depending on the prompt. Source reporting in this setting thus depends causally on cached state produced while answering. We do not establish general reporting accuracy or a complete interpretation of this state.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 25 of its 28 references that are in the map. Submitted 23 Oct 2026.
Builds on
25 of 28 references.
References · 25
- 2025Qwen3 Technical Reportcited by 10,000
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2022Language Models (Mostly) Know What They Knowcited by 2,078
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,532
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,427
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,324
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
- 2023Steering Language Models With Activation Engineeringcited by 1,130
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 814
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 786
- 2023The Internal State of an LLM Knows When It's Lyingcited by 725
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
13 more
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 410
- 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 404
- 2021Measuring Attribution in Natural Language Generation Modelscited by 281
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 263
- 2024Looking Inward: Language Models Can Learn About Themselves by Introspectioncited by 139
- 2024ContextCite: Attributing Model Generation to Contextcited by 117
- 2026Emergent Introspective Awareness in Large Language Modelscited by 98
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 96
- 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 71
- 2024Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactualscited by 48
- 2024DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Modelscited by 36
- 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 20
- 2025KV Cache Steering for Controlling Frozen LLMscited by 18
Built on by
Not cited yet.