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

Zichuan Wang, Songlin Yang, Bo Peng, Zhenchen Tang, Yang Li, Beibei Dong, Jing DongCVPR 2026

TL;DR

Contrary to the popular belief that Large Vision-Language Models (LVLMs) hallucinate objects due to insufficient visual attention, this paper reveals that hallucinated objects receive just as much attention as real ones. By decoding intermediate visual features using Logit Lens, the authors identify two distinct hallucination mechanisms—visual uncertainty and contextual priors—and introduce a training-free "Detect-Mitigate" framework that significantly reduces hallucinations across multiple benchmarks.

What Problem Does This Paper Address?

Large Vision-Language Models (LVLMs) like LLaVA or Qwen-VL are powerful but prone to object hallucination—generating descriptions of objects that are completely absent from the input image.

The prevailing consensus in the AI community has been that models hallucinate because they fail to pay enough attention to the visual tokens, allowing strong textual language priors to dominate the output. Consequently, most existing fixes focus on amplifying or redistributing visual attention. This paper challenges that fundamental assumption by asking a deeper question: Is attention magnitude really to blame, or is the issue rooted in what the model is attending to and why?

Methods

The authors propose a training-free, inference-stage Detect–Mitigate framework that operates in real-time without requiring model re-training or fine-tuning:

  1. Logit-Lens Consistency Check (LLCC): To detect hallucinations, the method leverages the "Logit Lens" technique. It takes the hidden states of the top-$k$ highly-attended visual regions from the model's mid-to-late layers and projects them directly into the text vocabulary space using the model's own language decoding head. If the decoded visual semantics match the generated text token, the object is deemed real; if they mismatch, it is flagged as a hallucination.
  2. High-Attention Regions Masking (HARM): If a hallucination is driven by visual uncertainty (an ambiguous image patch), the framework dynamically masks out that specific region and regenerates the token, removing the misleading visual anchor.
  3. Visual Evidence Enhanced Decoding (VEED): If the hallucination is driven by contextual priors (where text patterns override reality), masking fails because attention simply drifts to another region. Instead, VEED directly injects the correct visual logits decoded via Logit Lens back into the final step of the language model's decoding process, overpowering the erroneous textual prior.

Datasets

The framework was evaluated on multiple standard hallucination evaluation setups:

  • COCO 2014 validation set: A randomly sampled subset of 500 images was used to compute the CHAIR (Caption Hallucination Assessment with Image Relevance) metric.
  • AMBER: A multi-dimensional benchmark consisting of 1,004 images with detailed object annotations, used to evaluate generative hallucination rates, object coverage, and cognitive temptation.

Key Insights and Ideas

  • "Same Attention, Different Truths": Quantitative analysis shows no systematic difference in attention magnitude between real and hallucinated objects during the model's mid-to-late layers (the "Image-Attention Stage"). Both receive equally strong focus, meaning attention quantity is not the culprit.
  • Semantic Inconsistency: While real objects faithfully ground themselves in visual tokens that decode to the correct text (e.g., a suitcase patch decodes to "suit" or "lug"), hallucinated objects show a severe disconnect—the region the model stares at decodes to something entirely unrelated to the output word.
Figure 1. Different from prior work that attributes object halluci- nation to insufficient visual attention, we find that real and halluci- nated objects often have the same attention magnitudes, as shown qualitatively in (a) and quantitatively in (b), reflecting “Same At- tention, Different Truths”.
  • Two Distinct Causal Mechanisms:
    • Visual Uncertainty: Triggered by ambiguous or confusable image patches (e.g., a blurry patch on the ground mistaken for a "bowl").
  • Contextual Prior: Triggered by strong object co-occurrence habits (e.g., generating "microwave" just because the text is describing a kitchen). Here, the attention mechanism acts merely as a procedural "routine"—the model looks somewhere arbitrary just to satisfy its internal rule to "look before speaking."

Key Results

  • Superior Detection: The Logit-Lens Consistency Check (LLCC) achieved an F1 score of 0.7932 on LLaVA-1.5-7B, substantially outperforming recent baselines like SVAR (0.6842) and InterConf (0.6811).
  • State-of-the-Art Mitigation: Across LLaVA-1.5 (7B/13B), Shikra-7B, and Qwen2-VL-7B, the framework consistently achieved the lowest hallucination rates. On the sentence-level CHAIR metric ($\text{CHAIR}_S$, lower is better), it slashed LLaVA-1.5-7B's score from 49.8 to 26.8.
  • Content Preservation: Unlike many baseline methods that reduce hallucinations by simply making the model passive or brief (which degrades object coverage), this framework maintained or even improved the Cover score on the AMBER benchmark, ensuring the model remains descriptive and accurate.

Limitations and Future Work

While this inference-stage intervention is highly effective and computationally lightweight, the absolute performance gains still vary depending on the base model's scale and architecture. The authors suggest that future work could explore integrating these cause-aware insights directly into the model alignment phase (such as RLHF or Direct Preference Optimization) to inherently cure the model of these specific attention misalignments during training.

Summary updated

BibTeX
@inproceedings{wang2026same,
  author = {Zichuan Wang and Songlin Yang and Bo Peng and Zhenchen Tang and Yang Li and Beibei Dong and Jing Dong},
  title = {{Same Attention, Different Truths: Put Logit-Lens over Visual Attention to Detect and Mitigate LVLM Object Hallucination}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=yqLJFtmqzZ},
}
Figure