mlsanityData to 7 Oct 2026

A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepedia

arXiv 2312.02073 ↗First posted 4 Dec 2023cs.CL cs.AI cs.LGcited by 24

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  6. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  7. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  8. 2022Mass-Editing Memory in a Transformercited by 976
  9. 2019Attention is not Explanationcited by 916
  10. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  11. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  12. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
32 more
  1. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  2. 2021Editing Factual Knowledge in Language Modelscited by 548
  3. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  4. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
  5. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
  6. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  7. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  8. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
  9. 2023Fine-tuning Language Models for Factualitycited by 219
  10. 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
  11. 2021Generating Datasets with Pretrained Language Modelscited by 192
  12. 2020Compositional Explanations of Neuronscited by 172
  13. 2022Large Language Models with Controllable Working Memorycited by 169
  14. 2022A Review on Language Models as Knowledge Basescited by 156
  15. 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 144
  16. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  17. 2019Explaining Classifiers with Causal Concept Effect (CaCE)cited by 135
  18. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  19. 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
  20. 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
  21. 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
  22. 2021An Interpretability Illusion for BERTcited by 94
  23. 2022DisentQA: Disentangling Parametric and Contextual Knowledge with Counterfactual Question Answeringcited by 93
  24. 2023Exploiting Asymmetry for Synthetic Training Data Generation: SynthIE and the Case of Information Extractioncited by 89
  25. 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
  26. 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
  27. 2023Quantifying Context Mixing in Transformerscited by 43
  28. 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
  29. 2022Causal Proxy Models for Concept-Based Model Explanationscited by 29
  30. 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
  31. 2021Laughing Heads: Can Transformers Detect What Makes a Sentence Funny?cited by 9
  32. 2023Hallucination Augmented Recitations for Language Modelscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 8; 2025: 12; 2026: 3.

24 papers.

Sort:

By area:

  1. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
  2. 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 275
  3. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
  4. 2023Do Androids Know They're Only Dreaming of Electric Sheep?cited by 67
  5. 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?cited by 32
  6. 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
  7. 2024Controllable Context Sensitivity and the Knob Behind Itcited by 22
  8. 2024Monotonic Representation of Numeric Properties in Language Modelscited by 15
  9. 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysiscited by 14
  10. 2024Probing Language Models on Their Knowledge Sourcecited by 11
  11. 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
  12. 2025The Dead Salmons of AI Interpretabilitycited by 10
12 more
  1. 2025Interpreting Attention Heads for Image-to-Text Information Flow in Large Vision-Language Modelscited by 7
  2. 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
  3. 2024Fact Recall, Heuristics or Pure Guesswork? Precise Interpretations of Language Models for Fact Completioncited by 4
  4. 2025Adapting Large Language Models for Multi-Domain Retrieval-Augmented-Generationcited by 3
  5. 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
  6. 2025From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertisecited by 1
  7. 2025Context Copying Modulation: The Role of Entropy Neurons in Managing Parametric and Contextual Knowledge Conflictscited by 1
  8. 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Modelscited by 0
  9. 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcutscited by 0
  10. 2026What Matters to an LLM? Behavioral and Computational Evidences from Summarizationcited by 0
  11. 2026Validating Causal Abstraction Metrics on Simulated Complex Systemscited by 0
  12. 2026Seeing or Knowing? Visual Context Sensitivity in Multimodal Large Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025"Lost-in-the-Later": Framework for Quantifying Contextual Grounding in Large Language Models
  2. 2026Do LLMs Make More Mistakes If They Do Not Believe the Input Data?
  3. 2025Are the Hidden States Hiding Something? Testing the Limits of Factuality-Encoding Capabilities in LLMs
  4. 2026The Attribution Blind Spot: Detecting When Language Models Rely on Memory Rather Than Retrieved Context
  5. 2024Improving Large Language Model (LLM) fidelity through context-aware grounding: A systematic approach to reliability and veracity
  6. 2024A Reality Check on Context Utilisation for Retrieval-Augmented Generation
  7. 2025Hallucination to Truth: A Review of Fact-Checking and Factuality Evaluation in Large Language Models
  8. 2024Racing Thoughts: Explaining Contextualization Errors in Large Language Models