Gradient-guided Attention Map Editing: Towards Efficient Contextual Hallucination Mitigation
Not on the map. Why?
Abstract (arXiv)
In tasks like summarization and open-book question answering (QA), Large Language Models (LLMs) often encounter "contextual hallucination", where they produce irrelevant or incorrect responses despite having access to accurate source information. This typically occurs because these models tend to prioritize self-generated content over the input context, causing them to disregard pertinent details. To address this challenge, we introduce a novel method called "Guided Attention Map Editing" (GAME), which dynamically adjusts attention maps to improve contextual relevance. During inference, GAME employs a trained classifier to identify attention maps prone to inducing hallucinations and executes targeted interventions. These interventions, guided by gradient-informed "edit directions'', strategically redistribute attention weights across various heads to effectively reduce hallucination. Comprehensive evaluations on challenging summarization and open-book QA tasks show that GAME consistently reduces hallucinations across a variety of open-source models. Specifically, GAME reduces hallucinations by 10% in the XSum summarization task while achieving a 7X speed-up in computational efficiency compared to the state-of-the-art baselines.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 21 of its 33 references that are in the map. First posted on arXiv 11 Mar 2025.
Builds on
21 of 33 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
9 more
- 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 178
- 2024Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Mapscited by 142
- 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 91
- 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 74
- 2022Mutual Information Alleviates Hallucinations in Abstractive Summarizationcited by 68
- 2024In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigationcited by 45
- 2024Hallucination Detection and Hallucination Mitigation: An Investigationcited by 21
- 2024Constructing Benchmarks and Interventions for Combating Hallucinations in LLMscited by 19
- 2024Extending Token Computation for LLM Reasoningcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.