MDSAM:Memory-Driven Sparse Attention Matrix for LVLMs Hallucination Mitigation

Shuaiye Lu, Linjiang Zhou, Xiaochuan Shi
6/21/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Hallucinations in large vision-language models (LVLMs) often stem from the model's sensitivity to image tokens during decoding, as evidenced by attention peaks observed when generating both real and hallucinated entities. To address this, we propose Memory-Driven Sparse Attention Matrix (MDSAM) , a novel training-free approach that dynamically captures and refines the attention allocated to image tokens at each layer.

Show full abstract

MDSAM memorizes attention patterns and activates updates through alignment during decoding, enhancing focus on relevant image tokens while effectively reducing hallucinations. We evaluate MDSAM on multiple benchmarks for tasks such as image captioning and visual question answering, demonstrating its ability to consistently reduce hallucinations and improve reliability. Compatible with various LVLM architectures, MDSAM highlights its adaptability and effectiveness in mitigating hallucinations without requiring additional training or external tools.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2025mdsammemorydriven,
  title  = {MDSAM:Memory-Driven Sparse Attention Matrix for LVLMs Hallucination Mitigation},
  author = {Shuaiye Lu and Linjiang Zhou and Xiaochuan Shi},
  year   = {2025},
  eprint = {2506.17664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.17664v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.17664.svg)](https://codeofpaper.com/paper/2506.17664)

Discussion