EMNLP Findings2024
Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinations
Lei Yu, Meng Cao, Jackie C. K. Cheung, Yue Dong
Abstract
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 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Hallucination Reduction with CASAL: Contrastive Activation Steering for Amortized Learning cites Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Tracing and Dissecting How LLMs Recall Factual Knowledge for Real World Questions cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- From Noise to Narrative: Tracing the Origins of Hallucinations in Transformers cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
- From Noise to Narrative: Tracing the Origins of Hallucinations in Transformers cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Emergence of Linear Truth Encodings in Language Models cites Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
Cited by top-tier papers13
- Emergence of Linear Truth Encodings in Language ModelsShauli Ravfogel, Gilad Yehudai, Tal Linzen, Joan Bruna et al.NeurIPS 2025 · 12 citations
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible GranularityLei Yu, Jingcheng Niu, Zining Zhu, Xi Chen et al.EMNLP 2025 · 11 citations
- Hallucination Reduction with CASAL: Contrastive Activation Steering for Amortized LearningWannan Yang, Xinchi Qiu, Lei Yu, Yuchen Zhang et al.ICLR 2026 · 7 citations
- From Noise to Narrative: Tracing the Origins of Hallucinations in TransformersPraneet Suresh, Jack Stanley, Sonia Joseph, Luca Scimeca et al.NeurIPS 2025 · 6 citations
- Tracing and Dissecting How LLMs Recall Factual Knowledge for Real World QuestionsYiqun Wang, Chaoqun Wan, Sile Hu, Yonggang Zhang et al.ACL 2025 · 2 citations
Builds on33
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
- Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought PromptingMiles Turpin, Julian Michael, Ethan Perez, Samuel R. BowmanNeurIPS 2023 · 1,792 citations
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister et al.NeurIPS 2023 · 1,549 citations
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim et al.NeurIPS 2023 · 861 citations
Related papers
- Understanding and Mitigating Hallucination in Large Vision-Language Models via Modular Attribution and InterventionTianyun Yang, Ziniu Li, Juan Cao, Chang XuICLR 2025
- Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMsZiling Cheng, Meng Cao, Marc-Antoine Rondeau, Jackie CK CheungACL 2025
- Why LLMs Hallucinate on Structured Knowledge: A Mechanistic Analysis of Reasoning over Linearized RepresentationsShanghao Li, Jinda Han, Yibo Wang, Yuanjie Zhu et al.ACL 2026
- Mitigating Object Hallucinations in Large Vision-Language Models with Assembly of Global and Local AttentionWenbin An, Feng Tian, Sicong Leng, Jiahao Nie et al.CVPR 2025
- Understanding New-Knowledge-Induced Factual Hallucinations in LLMs: Analysis and InterpretationRenfei Dang, Peng Hu, Zhejian Lai, Changjiang Gao et al.ACL Findings 2026
