Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinations
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
- 2017Attention Is All You Needcited by 59,932
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2022Mass-Editing Memory in a Transformercited by 976
24 more
- 2019How Can We Know What Language Models Know?cited by 953
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2023How Language Model Hallucinations Can Snowballcited by 310
- 2013Direct and Indirect Effectscited by 276
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2023A Stitch in Time Saves Nine: Detecting and Mitigating Hallucinations of LLMs by Validating Low-Confidence Generationcited by 202
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
- 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
- 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 155
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
- 2021Hallucinated but Factual! Inspecting the Factuality of Hallucinations in Abstractive Summarizationcited by 128
- 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
- 2020Factual Error Correction for Abstractive Summarization Modelscited by 108
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 87
- 2023Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Modelscited by 67
- 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
- 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Spacecited by 30
- 2020Influence Patterns for Explaining Information Flow in BERTcited by 14
Built on by
Citing papers per year: 2024: 4; 2025: 21; 2026: 13.
38 papers.
Sort:
By area:
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 114
- 2025Calibrating Verbal Uncertainty as a Linear Feature to Reduce Hallucinationscited by 48
- 2024Mitigating Large Language Model Hallucination with Faithful Finetuningcited by 24
- 2026SCRIBE: Structured Mid-Level Supervision for Tool-Using Language Modelscited by 20
- 2024Inferring Functionality of Attention Heads from their Parameterscited by 17
- 2025ThinkEdit: Interpretable Weight Editing to Mitigate Overly Short Thinking in Reasoning Modelscited by 17
- 2025Emergence of Linear Truth Encodings in Language Modelscited by 12
- 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularitycited by 11
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2025From Superficial Outputs to Superficial Learning: Risks of Large Language Models in Educationcited by 9
- 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinationscited by 8
- 2025Discovering Knowledge Deficiencies of Language Models on Massive Knowledge Basecited by 6
26 more
- 2025Llama See, Llama Do: A Mechanistic Perspective on Contextual Entrainment and Distraction in LLMscited by 6
- 2025On the Fundamental Impossibility of Hallucination Control in Large Language Modelscited by 6
- 2025Hallucination reduction with CASAL: Contrastive Activation Steering For Amortized Learningcited by 6
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
- 2025Short-circuiting Shortcuts: Mechanistic Investigation of Shortcuts in Text Classificationcited by 5
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMscited by 5
- 2025From Noise to Narrative: Tracing the Origins of Hallucinations in Transformerscited by 4
- 2026Hallucinations Undermine Trust; Metacognition is a Way Forwardcited by 4
- 2025RePPL: Recalibrating Perplexity by Uncertainty in Semantic Propagation and Language Generation for Explainable QA Hallucination Detectioncited by 3
- 2025Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Modelscited by 3
- 2025Neural Diversity Regularizes Hallucinations in Language Modelscited by 2
- 2026Hallucination Detection via Activations of Open-Weight Proxy Analyzerscited by 2
- 2025Pretrained LLMs Learn Multiple Types of Uncertaintycited by 1
- 2025SymLoc: Symbolic Localization of Hallucination across HaluEval and TruthfulQAcited by 1
- 2026Reading Calibrated Uncertainty from Language Model Trajectoriescited by 1
- 2026Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalizationcited by 1
- 2025Amulet: Putting Complex Multi-Turn Conversations on the Stand with LLM Juriescited by 0
- 2025Mitigating Hallucinations in Zero-Shot Scientific Summarisation: A Pilot Studycited by 0
- 2026Listen to the Layers: Mitigating Hallucinations with Inter-Layer Disagreementcited by 0
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative modelscited by 0
- 2026TRACE: Trajectory Correction from Cross-layer Evidence for Hallucination Reductioncited by 0
- 2026When English Rewrites Local Knowledge: Global Narrative Dominance in Large Language Modelscited by 0
- 2026Reliability Scales Inversely: Hallucinations Snowball Faster in Bigger Language Modelscited by 0
- 2026NeuroActiSep: Detecting Factual Hallucinations from Feed-Forward Neurons in a Single Passcited by 0
- 2026The Commit-Abstain Circuit: Why Language Models Hallucinate Instead of Abstainingcited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learningcited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning29 Sep 2026
- 2026The Commit-Abstain Circuit: Why Language Models Hallucinate Instead of Abstaining26 Sep 2026
- 2026NeuroActiSep: Detecting Factual Hallucinations from Feed-Forward Neurons in a Single Pass13 Sep 2026
- 2026Reliability Scales Inversely: Hallucinations Snowball Faster in Bigger Language Models30 Jun 2026
- 2026Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalization2 Jun 2026
- 2026When English Rewrites Local Knowledge: Global Narrative Dominance in Large Language Models28 May 2026
- 2026Reading Calibrated Uncertainty from Language Model Trajectories19 May 2026
- 2026TRACE: Trajectory Correction from Cross-layer Evidence for Hallucination Reduction18 May 2026
- 2026Hallucination Detection via Activations of Open-Weight Proxy Analyzers8 May 2026
- 2026Hallucinations Undermine Trust; Metacognition is a Way Forward2 May 2026
- 2026Listen to the Layers: Mitigating Hallucinations with Inter-Layer Disagreement10 Feb 2026
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative models4 Feb 2026
26 more
- 2026SCRIBE: Structured Mid-Level Supervision for Tool-Using Language Models7 Jan 2026
- 2025Mitigating Hallucinations in Zero-Shot Scientific Summarisation: A Pilot Study30 Nov 2025
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networks24 Nov 2025
- 2025SymLoc: Symbolic Localization of Hallucination across HaluEval and TruthfulQA18 Nov 2025
- 2025Neural Diversity Regularizes Hallucinations in Language Models23 Oct 2025
- 2025Emergence of Linear Truth Encodings in Language Models17 Oct 2025
- 2025Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Models7 Oct 2025
- 2025From Superficial Outputs to Superficial Learning: Risks of Large Language Models in Education26 Sep 2025
- 2025Hallucination reduction with CASAL: Contrastive Activation Steering For Amortized Learning25 Sep 2025
- 2025From Noise to Narrative: Tracing the Origins of Hallucinations in Transformers8 Sep 2025
- 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinations31 Jul 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025On the Fundamental Impossibility of Hallucination Control in Large Language Models4 Jun 2025
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMs28 May 2025
- 2025Pretrained LLMs Learn Multiple Types of Uncertainty27 May 2025
- 2025Amulet: Putting Complex Multi-Turn Conversations on the Stand with LLM Juries26 May 2025
- 2025RePPL: Recalibrating Perplexity by Uncertainty in Semantic Propagation and Language Generation for Explainable QA Hallucination Detection21 May 2025
- 2025Llama See, Llama Do: A Mechanistic Perspective on Contextual Entrainment and Distraction in LLMs14 May 2025
- 2025Short-circuiting Shortcuts: Mechanistic Investigation of Shortcuts in Text Classification9 May 2025
- 2025Discovering Knowledge Deficiencies of Language Models on Massive Knowledge Base30 Mar 2025
- 2025ThinkEdit: Interpretable Weight Editing to Mitigate Overly Short Thinking in Reasoning Models27 Mar 2025
- 2025Calibrating Verbal Uncertainty as a Linear Feature to Reduce Hallucinations18 Mar 2025
- 2024Inferring Functionality of Attention Heads from their Parameters16 Dec 2024
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Models21 Nov 2024
- 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity4 Jul 2024
- 2024Mitigating Large Language Model Hallucination with Faithful Finetuning17 Jun 2024
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 114
- 2025Calibrating Verbal Uncertainty as a Linear Feature to Reduce Hallucinationscited by 48
- 2024Mitigating Large Language Model Hallucination with Faithful Finetuningcited by 24
- 2024Inferring Functionality of Attention Heads from their Parameterscited by 17
- 2025Emergence of Linear Truth Encodings in Language Modelscited by 12
- 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularitycited by 11
- 2025From Superficial Outputs to Superficial Learning: Risks of Large Language Models in Educationcited by 9
- 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinationscited by 8
- 2025Discovering Knowledge Deficiencies of Language Models on Massive Knowledge Basecited by 6
- 2025Llama See, Llama Do: A Mechanistic Perspective on Contextual Entrainment and Distraction in LLMscited by 6
- 2025On the Fundamental Impossibility of Hallucination Control in Large Language Modelscited by 6
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
12 most cited of 34 All 34 (JSON)
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning29 Sep 2026
- 2026The Commit-Abstain Circuit: Why Language Models Hallucinate Instead of Abstaining26 Sep 2026
- 2026NeuroActiSep: Detecting Factual Hallucinations from Feed-Forward Neurons in a Single Pass13 Sep 2026
- 2026Reliability Scales Inversely: Hallucinations Snowball Faster in Bigger Language Models30 Jun 2026
- 2026Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalization2 Jun 2026
- 2026When English Rewrites Local Knowledge: Global Narrative Dominance in Large Language Models28 May 2026
- 2026Reading Calibrated Uncertainty from Language Model Trajectories19 May 2026
- 2026TRACE: Trajectory Correction from Cross-layer Evidence for Hallucination Reduction18 May 2026
- 2026Hallucination Detection via Activations of Open-Weight Proxy Analyzers8 May 2026
- 2026Hallucinations Undermine Trust; Metacognition is a Way Forward2 May 2026
- 2026Listen to the Layers: Mitigating Hallucinations with Inter-Layer Disagreement10 Feb 2026
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative models4 Feb 2026
12 newest of 34 All 34 (JSON)