Back to Feed
Multimodal / Benchmarks & Evals

Detecting and Fixing Object Hallucinations in LVLMs

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

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 5 concepts

Key Takeaways

  • Developed a detection method that achieves a Precision of 0.7870, Recall of 0.7955, and F1 Score of 0.7932 on LLaVA-1.5-7B.
  • Used the CHAIR benchmark to validate performance, reducing CHAIR-I scores to 10.0 for LLaVA-1.5-7B and 12.4 for LLaVA-1.5-13B.
  • Implemented HARM and VEED techniques to distinguish between visual uncertainty and contextual prior biases during image generation.
  • Proposed a method that proves object hallucination is not solely caused by insufficient visual attention.

Summary & Methodology Analysis

The researchers addressed object hallucination in Large Vision-Language Models (LVLMs), which are models that process both image and text inputs, by analyzing the model's internal attention mechanisms. Attention is a mechanism that allows the model to assign importance scores to different parts of an input. The team discovered that hallucinations are not always the result of a failure to attend to visual features, leading them to develop the LLCC detection method. This process identifies potential hallucinations by decoding hidden states of high-attention image regions in layers 20 through 27 using the Logit Lens technique, which translates internal model activations directly into vocabulary tokens for inspection. Once identified, the system performs a semantic consistency check against the actual output token using semantic similarity or WordNet to flag inaccuracies.

To mitigate these hallucinations, the authors developed a two-pronged strategy based on the cause of the error. When masking high-attention regions corrects the hallucination, they apply High-Attention Regions Masking (HARM). In cases where masking does not resolve the issue, suggesting the error stems from the model's internal contextual priors, they employ Visual Evidence Enhanced Decoding (VEED). VEED modifies the final decoding distribution by injecting visual logits, which are the raw prediction scores derived from the attended image regions, to guide the model back toward valid visual evidence.

This approach was tested against LLaVA-1.5, Shikra, and Qwen2-VL models using datasets like COCO 2014, CHAIR, and AMBER. The system achieved state-of-the-art results on the CHAIR benchmark, bringing CHAIR-I scores down to 10.0 for the 7B variant and 12.4 for the 13B variant of LLaVA-1.5. The paper does not specify the computational overhead or latency impact of these decoding interventions, nor does it list specific limitations regarding deployment in real-time environments.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary problem this paper solves?

It addresses object hallucination, where models generate objects that are not actually present in the source image.

Q2. Did the researchers confirm that hallucination is caused by poor attention?

No, the paper challenges the belief that insufficient visual attention is the sole cause of hallucinations.

Q3. What is the core benefit of this method?

It provides a mechanism to both detect and mitigate hallucinations, resulting in improved performance on benchmarks like CHAIR.

Q4. What is the Logit Lens technique used for?

It is used to decode the hidden states of high-attention image regions into actual vocabulary tokens.

Q5. How does the Semantic Consistency Check work?

It compares decoded tokens against the model's generated object token using WordNet or semantic similarity.

Q6. What is the difference between HARM and VEED?

HARM is applied when masking high-attention regions resolves the error, while VEED is used when masking fails and contextual priors are the likely cause.

Q7. Which models were tested in this research?

The research included testing on LLaVA-1.5, Shikra, and Qwen2-VL.

Q8. What metrics demonstrate the success of the detection method?

The method achieved a Precision of 0.7870, Recall of 0.7955, and F1 Score of 0.7932 on LLaVA-1.5-7B.

Q9. Does the paper mention any limitations of the proposed approach?

The paper does not specify any limitations.