Listen to the Layers: Mitigating Hallucinations with Inter-Layer Disagreement
Not on the map. Why?
Abstract (arXiv)
Pretrained Large Language Models (LLMs) are prone to generating fluent yet factually incorrect text-a phenomenon known as hallucinations, undermining their reliability and utility in downstream tasks. We hypothesize that a generated text span's factuality is correlated with its representational instability across the model's internal layers. Based on this, we propose the CoCoA (Confusion and Consistency Aware) decoder, a novel, training-free decoding algorithm that mitigates hallucinations at inference time by listening to these signals in the middle layers. We propose two metrics to quantify this instability in the middle layers and use it to penalize outputs that exhibit high internal confusion, thereby steering the model towards more internally consistent and factually grounded outputs. We further propose a self-information gated variant, CoCoA-SIG, that dynamically modulates this penalty to selectively target high-surprise, unstable generations. Extensive experiments on diverse tasks, including question-answering, summarization, mathematical reasoning and code generation, demonstrate that CoCoA significantly improves factual correctness across multiple model families (e.g., Llama-3, Qwen-2.5, Mistral). By leveraging model-intrinsic signals, CoCoA offers an effective and broadly applicable method for enhancing the trustworthiness of LLMs at inference time, without requiring any model retraining.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 45 of its 61 references that are in the map. First posted on arXiv 10 Feb 2026.
Builds on
45 of 61 references.
References · 45
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
33 more
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023The Internal State of an LLM Knows When It's Lyingcited by 644
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
- 2023A Survey of Hallucination in Large Foundation Modelscited by 365
- 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 286
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 114
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
- 2024The Dawn After the Dark: An Empirical Study on Factuality Hallucination in Large Language Modelscited by 87
- 2024LLM Internal States Reveal Hallucination Risk Faced With a Querycited by 80
- 2023On the Calibration of Large Language Models and Alignmentcited by 72
- 2022Mutual Information Alleviates Hallucinations in Abstractive Summarizationcited by 67
- 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 47
- 2024Learning to Trust Your Feelings: Leveraging Self-awareness in LLMs for Hallucination Mitigationcited by 43
- 2025Hallucination Detection in LLMs Using Spectral Features of Attention Mapscited by 42
- 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
- 2023Chainpoll: A high efficacy method for LLM hallucination detectioncited by 39
- 2024Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinationscited by 38
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 30
- 2024Mitigating Large Language Model Hallucination with Faithful Finetuningcited by 24
- 2024DeCoRe: Decoding by Contrasting Retrieval Heads to Mitigate Hallucinationscited by 23
- 2025TruthFlow: Truthful LLM Generation via Representation Flow Correctioncited by 14
- 2025Mitigating Hallucinated Translations in Large Language Models with Hallucination-focused Preference Optimizationcited by 6
- 2024Diver: Large Language Model Decoding with Span-Level Mutual Information Verificationcited by 5
- 2025Harnessing RLHF for Robust Unanswerability Recognition and Trustworthy Response Generation in LLMscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Monitoring Decoding: Mitigating Hallucination via Evaluating the Factuality of Partial Response during Generation
- 2024Improving Factuality in Large Language Models via Decoding-Time Hallucinatory and Truthful Comparators
- 2026SAKED: Mitigating Hallucination in Large Vision-Language Models via Stability-Aware Knowledge Enhanced Decoding
- 2025Don't Let It Hallucinate: Premise Verification via Retrieval-Augmented Logical Reasoning
- 2025HAVE: Head-Adaptive Gating and ValuE Calibration for Hallucination Mitigation in Large Language Models
- 2026Decoding by Perturbation: Mitigating MLLM Hallucinations via Dynamic Textual Perturbation
- 2026Unmasking Hallucinations: A Causal Graph-Attention Perspective on Factual Reliability in Large Language Models
- 2025Expanding before Inferring: Enhancing Factuality in Large Language Models through Premature Layers Interpolation