mlsanityData to 7 Oct 2026

Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinations

arXiv 2403.18167 ↗First posted 27 Mar 2024cs.CL cs.AIcited by 38

Not on the map. Why?

Abstract (arXiv)

State-of-the-art language models (LMs) sometimes generate non-factual hallucinations that misalign with world knowledge. To explore the mechanistic causes of these hallucinations, we create diagnostic datasets with subject-relation queries and adapt interpretability methods to trace hallucinations through internal model representations. We discover two general and distinct mechanistic causes of hallucinations shared across LMs (Llama-2, Pythia, GPT-J): 1) knowledge enrichment hallucinations: insufficient subject attribute knowledge in lower layer MLPs, and 2) answer extraction hallucinations: failure to select the correct object attribute in upper layer attention heads. We also found these two internal mechanistic causes of hallucinations are reflected in external manifestations. Based on insights from our mechanistic analysis, we propose a novel hallucination mitigation method through targeted restoration of the LM's internal fact recall pipeline, demonstrating superior performance compared to baselines.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 36 of its 53 references that are in the map. First posted on arXiv 27 Mar 2024.

Builds on

36 of 53 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  6. 2019Language Models as Knowledge Bases?cited by 1,922
  7. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  8. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  9. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  10. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  11. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
  12. 2022Mass-Editing Memory in a Transformercited by 976
24 more
  1. 2019How Can We Know What Language Models Know?cited by 953
  2. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  3. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  4. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  5. 2021Editing Factual Knowledge in Language Modelscited by 548
  6. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  7. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  8. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  9. 2023How Language Model Hallucinations Can Snowballcited by 310
  10. 2013Direct and Indirect Effectscited by 276
  11. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
  12. 2023A Stitch in Time Saves Nine: Detecting and Mitigating Hallucinations of LLMs by Validating Low-Confidence Generationcited by 202
  13. 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
  14. 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
  15. 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 155
  16. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  17. 2021Hallucinated but Factual! Inspecting the Factuality of Hallucinations in Abstractive Summarizationcited by 128
  18. 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
  19. 2020Factual Error Correction for Abstractive Summarization Modelscited by 108
  20. 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 87
  21. 2023Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Modelscited by 67
  22. 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
  23. 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Spacecited by 30
  24. 2020Influence Patterns for Explaining Information Flow in BERTcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 21; 2026: 13.

38 papers.

Sort:

By area:

  1. 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 114
  2. 2025Calibrating Verbal Uncertainty as a Linear Feature to Reduce Hallucinationscited by 48
  3. 2024Mitigating Large Language Model Hallucination with Faithful Finetuningcited by 24
  4. 2026SCRIBE: Structured Mid-Level Supervision for Tool-Using Language Modelscited by 20
  5. 2024Inferring Functionality of Attention Heads from their Parameterscited by 17
  6. 2025ThinkEdit: Interpretable Weight Editing to Mitigate Overly Short Thinking in Reasoning Modelscited by 17
  7. 2025Emergence of Linear Truth Encodings in Language Modelscited by 12
  8. 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularitycited by 11
  9. 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
  10. 2025From Superficial Outputs to Superficial Learning: Risks of Large Language Models in Educationcited by 9
  11. 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinationscited by 8
  12. 2025Discovering Knowledge Deficiencies of Language Models on Massive Knowledge Basecited by 6
26 more
  1. 2025Llama See, Llama Do: A Mechanistic Perspective on Contextual Entrainment and Distraction in LLMscited by 6
  2. 2025On the Fundamental Impossibility of Hallucination Control in Large Language Modelscited by 6
  3. 2025Hallucination reduction with CASAL: Contrastive Activation Steering For Amortized Learningcited by 6
  4. 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
  5. 2025Short-circuiting Shortcuts: Mechanistic Investigation of Shortcuts in Text Classificationcited by 5
  6. 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMscited by 5
  7. 2025From Noise to Narrative: Tracing the Origins of Hallucinations in Transformerscited by 4
  8. 2026Hallucinations Undermine Trust; Metacognition is a Way Forwardcited by 4
  9. 2025RePPL: Recalibrating Perplexity by Uncertainty in Semantic Propagation and Language Generation for Explainable QA Hallucination Detectioncited by 3
  10. 2025Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Modelscited by 3
  11. 2025Neural Diversity Regularizes Hallucinations in Language Modelscited by 2
  12. 2026Hallucination Detection via Activations of Open-Weight Proxy Analyzerscited by 2
  13. 2025Pretrained LLMs Learn Multiple Types of Uncertaintycited by 1
  14. 2025SymLoc: Symbolic Localization of Hallucination across HaluEval and TruthfulQAcited by 1
  15. 2026Reading Calibrated Uncertainty from Language Model Trajectoriescited by 1
  16. 2026Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalizationcited by 1
  17. 2025Amulet: Putting Complex Multi-Turn Conversations on the Stand with LLM Juriescited by 0
  18. 2025Mitigating Hallucinations in Zero-Shot Scientific Summarisation: A Pilot Studycited by 0
  19. 2026Listen to the Layers: Mitigating Hallucinations with Inter-Layer Disagreementcited by 0
  20. 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative modelscited by 0
  21. 2026TRACE: Trajectory Correction from Cross-layer Evidence for Hallucination Reductioncited by 0
  22. 2026When English Rewrites Local Knowledge: Global Narrative Dominance in Large Language Modelscited by 0
  23. 2026Reliability Scales Inversely: Hallucinations Snowball Faster in Bigger Language Modelscited by 0
  24. 2026NeuroActiSep: Detecting Factual Hallucinations from Feed-Forward Neurons in a Single Passcited by 0
  25. 2026The Commit-Abstain Circuit: Why Language Models Hallucinate Instead of Abstainingcited by 0
  26. 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learningcited by 0