A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepedia
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have an impressive ability to draw on novel information supplied in their context. Yet the mechanisms underlying this contextual grounding remain unknown, especially in situations where contextual information contradicts factual knowledge stored in the parameters, which LLMs also excel at recalling. Favoring the contextual information is critical for retrieval-augmented generation methods, which enrich the context with up-to-date information, hoping that grounding can rectify outdated or noisy stored knowledge. We present a novel method to study grounding abilities using Fakepedia, a novel dataset of counterfactual texts constructed to clash with a model's internal parametric knowledge. In this study, we introduce Fakepedia, a counterfactual dataset designed to evaluate grounding abilities when the internal parametric knowledge clashes with the contextual information. We benchmark various LLMs with Fakepedia and conduct a causal mediation analysis of LLM components when answering Fakepedia queries, based on our Masked Grouped Causal Tracing (MGCT) method. Through this analysis, we identify distinct computational patterns between grounded and ungrounded responses. We finally demonstrate that distinguishing grounded from ungrounded responses is achievable through computational analysis alone. Our results, together with existing findings about factual recall mechanisms, provide a coherent narrative of how grounding and factual recall mechanisms interact within LLMs.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 44 of its 72 references that are in the map. First posted on arXiv 4 Dec 2023.
Builds on
44 of 72 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019Attention is not Explanationcited by 916
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
32 more
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
- 2023Fine-tuning Language Models for Factualitycited by 219
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2021Generating Datasets with Pretrained Language Modelscited by 192
- 2020Compositional Explanations of Neuronscited by 172
- 2022Large Language Models with Controllable Working Memorycited by 169
- 2022A Review on Language Models as Knowledge Basescited by 156
- 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 144
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
- 2019Explaining Classifiers with Causal Concept Effect (CaCE)cited by 135
- 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
- 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
- 2021An Interpretability Illusion for BERTcited by 94
- 2022DisentQA: Disentangling Parametric and Contextual Knowledge with Counterfactual Question Answeringcited by 93
- 2023Exploiting Asymmetry for Synthetic Training Data Generation: SynthIE and the Case of Information Extractioncited by 89
- 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
- 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
- 2022Causal Proxy Models for Concept-Based Model Explanationscited by 29
- 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
- 2021Laughing Heads: Can Transformers Detect What Makes a Sentence Funny?cited by 9
- 2023Hallucination Augmented Recitations for Language Modelscited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 12; 2026: 3.
24 papers.
Sort:
By area:
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 275
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Do Androids Know They're Only Dreaming of Electric Sheep?cited by 67
- 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?cited by 32
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 22
- 2024Monotonic Representation of Numeric Properties in Language Modelscited by 15
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysiscited by 14
- 2024Probing Language Models on Their Knowledge Sourcecited by 11
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2025The Dead Salmons of AI Interpretabilitycited by 10
12 more
- 2025Interpreting Attention Heads for Image-to-Text Information Flow in Large Vision-Language Modelscited by 7
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
- 2024Fact Recall, Heuristics or Pure Guesswork? Precise Interpretations of Language Models for Fact Completioncited by 4
- 2025Adapting Large Language Models for Multi-Domain Retrieval-Augmented-Generationcited by 3
- 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
- 2025From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertisecited by 1
- 2025Context Copying Modulation: The Role of Entropy Neurons in Managing Parametric and Contextual Knowledge Conflictscited by 1
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Modelscited by 0
- 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcutscited by 0
- 2026What Matters to an LLM? Behavioral and Computational Evidences from Summarizationcited by 0
- 2026Validating Causal Abstraction Metrics on Simulated Complex Systemscited by 0
- 2026Seeing or Knowing? Visual Context Sensitivity in Multimodal Large Language Modelscited by 0
- 2026Seeing or Knowing? Visual Context Sensitivity in Multimodal Large Language Models28 Jul 2026
- 2026Validating Causal Abstraction Metrics on Simulated Complex Systems30 Jun 2026
- 2026What Matters to an LLM? Behavioral and Computational Evidences from Summarization31 Jan 2026
- 2025The Dead Salmons of AI Interpretability21 Dec 2025
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networks24 Nov 2025
- 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcuts23 Oct 2025
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models3 Oct 2025
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysis1 Oct 2025
- 2025Interpreting Attention Heads for Image-to-Text Information Flow in Large Vision-Language Models22 Sep 2025
- 2025Context Copying Modulation: The Role of Entropy Neurons in Managing Parametric and Contextual Knowledge Conflicts12 Sep 2025
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patterns18 Aug 2025
- 2025From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertise9 Jun 2025
12 more
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Adapting Large Language Models for Multi-Domain Retrieval-Augmented-Generation3 Apr 2025
- 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?28 Feb 2025
- 2024Controllable Context Sensitivity and the Knob Behind It11 Nov 2024
- 2024Fact Recall, Heuristics or Pure Guesswork? Precise Interpretations of Language Models for Fact Completion18 Oct 2024
- 2024Probing Language Models on Their Knowledge Source8 Oct 2024
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2024Monotonic Representation of Numeric Properties in Language Models15 Mar 2024
- 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformers16 Feb 2024
- 2023Do Androids Know They're Only Dreaming of Electric Sheep?28 Dec 2023
- 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 275
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Do Androids Know They're Only Dreaming of Electric Sheep?cited by 67
- 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?cited by 32
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 22
- 2024Monotonic Representation of Numeric Properties in Language Modelscited by 15
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysiscited by 14
- 2024Probing Language Models on Their Knowledge Sourcecited by 11
- 2025The Dead Salmons of AI Interpretabilitycited by 10
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
12 most cited of 19 All 19 (JSON)
- 2026Validating Causal Abstraction Metrics on Simulated Complex Systems30 Jun 2026
- 2026What Matters to an LLM? Behavioral and Computational Evidences from Summarization31 Jan 2026
- 2025The Dead Salmons of AI Interpretability21 Dec 2025
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networks24 Nov 2025
- 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcuts23 Oct 2025
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models3 Oct 2025
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysis1 Oct 2025
- 2025Context Copying Modulation: The Role of Entropy Neurons in Managing Parametric and Contextual Knowledge Conflicts12 Sep 2025
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patterns18 Aug 2025
- 2025From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertise9 Jun 2025
- 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?28 Feb 2025
- 2024Controllable Context Sensitivity and the Knob Behind It11 Nov 2024
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025"Lost-in-the-Later": Framework for Quantifying Contextual Grounding in Large Language Models
- 2026Do LLMs Make More Mistakes If They Do Not Believe the Input Data?
- 2025Are the Hidden States Hiding Something? Testing the Limits of Factuality-Encoding Capabilities in LLMs
- 2026The Attribution Blind Spot: Detecting When Language Models Rely on Memory Rather Than Retrieved Context
- 2024Improving Large Language Model (LLM) fidelity through context-aware grounding: A systematic approach to reliability and veracity
- 2024A Reality Check on Context Utilisation for Retrieval-Augmented Generation
- 2025Hallucination to Truth: A Review of Fact-Checking and Factuality Evaluation in Large Language Models
- 2024Racing Thoughts: Explaining Contextualization Errors in Large Language Models