Same Attention, Different Truths: Put Logit-Lens over Visual Attention to Detect and Mitigate LVLM Object Hallucination

Zi-Chuan Wang, Songlin Yang, Bo Peng, Zhen-Chen Tang, Yang Li +2 more
8/1/2026
6 citations

No official code found. Best implementation: wzczc/SADT (22 stars, Apache-2.0, last commit 2026-08-09).

Abstract

Large Vision-Language Models (LVLMs) often suffer from object hallucination, generating objects that are absent from the image. Prior work largely attributes this to insufficient visual attention.

Show full abstract

However, we find that both real and hallucinated objects receive equally strong visual attention in the model's mid-to-late layers, suggesting that the key issue may not be how much the model attends, but what it attends to and why. To this end, we decode the visual features of high-attention regions using Logit Lens, and observe that regions corresponding to real objects can be correctly decoded to the target object tokens, whereas those for hallucinated objects cannot. Building on this, we identify two hallucination mechanisms: (i) visual uncertainty, triggered by semantically similar or confusable regions; masking these regions eliminates the hallucination. (ii) contextual prior, triggered by strong co-occurrence priors; even when the initially attended region is masked, the hallucination persists and attention drifts to other regions. Based on these findings, we propose a simple yet effective training-free Detect-Mitigate framework comprising a Logit-Lens Consistency Check to detect hallucination and targeted remedies: High-Attention Regions Masking (HARM) for visual uncertainty hallucination, and Visual Evidence Enhanced Decoding (VEED) for contextual prior hallucination. Our approach achieves state-of-the-art results on multiple hallucination benchmarks. Code will be available.

View on arXivView PDF

Code Implementations(1)

wzczc/SADTCommunity68%
Apache-2.0

[CVPR2026 Highlight] Same Attention, Different Truths: Put Logit-Lens over Visual Attention to Detect and Mitigate LVLM Object Hallucination

222Mar 10, 20263 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026same,
  title  = {Same Attention, Different Truths: Put Logit-Lens over Visual Attention to Detect and Mitigate LVLM Object Hallucination},
  author = {Zi-Chuan Wang and Songlin Yang and Bo Peng and Zhen-Chen Tang and Yang Li and Bei-Bei Dong and Jing Dong},
  year   = {2026},
  eprint = {2608.07302},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2608.07302},
  journal = {Computer Vision and Pattern Recognition}
}

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/2608.07302.svg)](https://codeofpaper.com/paper/2608.07302)

Discussion