Lune

EMNLP Findings2025

DeCoRe: Decoding by Contrasting Retrieval Heads to Mitigate Hallucinations

Aryo Pradipta Gema, Chen Jin, Ahmed Abdulaal, Tom Diethe, Philip Alexander Teare, Beatrice Alex, Pasquale Minervini, Amrutha Saseendran

Abstract

Large Language Models (LLMs) often hallucinate by misrepresenting the provided context or incorrectly recalling internal knowledge. Recent studies identified specific attention heads that are responsible for extracting relevant contextual information, known as retrieval heads. We hypothesise that masking these heads can induce hallucinations and that we can reduce hallucinations by contrasting the outputs of the base and the masked LLMs. To this end, we propose Decoding by Contrasting Retrieval Heads (DeCoRe), a novel training-free decoding strategy that amplifies information found in the context and model parameters. DeCoRe mitigates potentially hallucinated responses by dynamically contrasting the outputs of the base and the masked LLMs, using conditional entropy as a guide. Our results show that DeCoRe significantly improves performance on tasks requiring high contextual faithfulness, such as summarisation (+18.6% on XSum), instruction following (+10.9% on MemoTrap), and openbook question answering (+2.4% on NQ-Open and +5.5% on NQ-Swap). 1

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 8 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers8

  1. Steering off Course: Reliability Challenges in Steering Language ModelsPatrick Queiroz Da Silva, Hari Sethuraman, Dheeraj Rajagopal, Hannaneh Hajishirzi et al.ACL 2025 · 17 citations
  2. Revisiting Long-context Modeling from Context Denoising PerspectiveZecheng Tang, Baibei Ji, Juntao Li, Lijun Wu et al.ICLR 2026 · 5 citations
  3. CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA CapabilityHan Peng, Jinhao Jiang, Zican Dong, Wayne Xin Zhao et al.EMNLP 2025 · 4 citations
  4. Understanding and Mitigating Hallucinations in Multimodal Chain-of-Thought ModelsJi Ma, Wei Suo, Peng Wang, Yanning ZhangCVPR 2026 · 3 citations
  5. Preference Heads in Large Language Models: A Mechanistic Framework for Interpretable PersonalizationWeixu Zhang, Ye Yuan, Changjiang Han, Yuxing Tian et al.ACL 2026 · 2 citations

Builds on21

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
  3. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
  4. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
  5. TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations

Related papers

  1. HICD: Hallucination-Inducing via Attention Dispersion for Contrastive Decoding to Mitigate Hallucinations in Large Language ModelsXinyan Jiang, Hang Ye, Yongxin Zhu, Xiaoying Zheng et al.ACL Findings 2025
  2. Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention MapsYung-Sung Chuang, Linlu Qiu, Cheng-Yu Hsieh, Ranjay Krishna et al.EMNLP 2024 · 18 citations
  3. Anchoring the Cache: Mitigating Contextual Hallucination in KV-Compressed Long-Context SummarizationYu Fu, Chen Luo, Josef Valvoda, Xin Zhang et al.ACL 2026
  4. DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language ModelsYung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim et al.ICLR 2024 · 354 citations
  5. NDAD: Negative-Direction Aware Decoding for Large Language Models via Controllable Hallucination Signal InjectionPanjia Qiu, Mingyuan Fan, Cen Chen, Daixin WangICLR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines