A Comprehensive Analysis for Visual Object Hallucination in Large Vision-Language Models

Liqiang Jing, Hardy Chen, Ehsan Aghazadeh, Xin Eric Wang, Xinya Du

TL;DR

Where does visual object hallucination actually originate in Large Vision-Language Models (LVLMs)? By dissecting LLaVA into its three core components—the vision encoder, the projector, and the language model—this paper reveals that the language model is surprisingly blameless; hallucinations stem primarily from coarse perception in the vision backbone and poor representation alignment in the projector. The authors propose targeted fixes for both modules and introduce two new benchmarks to evaluate fine-grained visual relations and knowledge-grounded hallucinations.

What Problem Does This Paper Address?

While LVLMs excel at multimodal understanding, they frequently hallucinate objects, attributes, and relationships that do not exist in the input image. Most existing research treats LVLMs as end-to-end black boxes, focusing on post-processing, decoding interventions, or RLHF to curb hallucination.

This paper asks a fundamental structural question: which module in the standard LVLM architecture (vision encoder, projector, or LLM) is actually responsible for hallucinations? Pinpointing the exact locus of error enables targeted architectural and training interventions rather than costly trial-and-error workarounds.

Methods

Through component-level ablation (analyzing the vision encoder, projector, and LLM independently), the authors designed targeted mitigation strategies for the two problematic components:

  1. Fixing the Vision Backbone (CLIP):
  2. Fine-tuning CLIP on Fine-Grained Negatives (w-ECLIP): Standard CLIP training pairs images with brief, noisy text. Using GPT-4, the authors generated hard negative captions by inserting common hallucinatory objects (random, frequent, or co-occurring/adversarial) or removing segmented objects. CLIP was then fine-tuned using a multi-margin contrastive loss to enforce fine-grained distinctions.
  3. Fine-Grained Perception Instruction Tuning (w-FineIns): As an efficient alternative that bypasses retraining CLIP, the authors directly fine-tuned the LVLM on bounding-box-level captioning data, teaching the language decoder to attend to localized visual features.
  4. Fixing the Projector (Cross-Modal Alignment):
  5. Standard projectors preserve visual features well but fail to align them into the LLM's text embedding space (cosine similarity between projected image features and text embeddings is near zero).
  6. The authors introduced an auxiliary in-batch contrastive alignment loss ($L_{itc}$) during the alignment stage to explicitly pull projected visual features closer to corresponding text caption embeddings. They evaluated three variants:
  7. Integrated Alignment Loss (trainable weight $\lambda$)
    • Integrated Alignment Loss (frozen weight $\lambda$)
    • Separate Contrastive Alignment Loss: A lightweight pre-alignment stage solely for the projector before standard instruction tuning, taking only 12 minutes to train on 4$\times$A100 GPUs.

Datasets

The authors evaluated models across standard and newly introduced benchmarks:

  • Newly Introduced Benchmarks:
  • QA-VisualGenome: A fine-grained Yes/No benchmark derived from Visual Genome, focusing explicitly on attribute (e.g., "Is the dog red?") and relation hallucinations (e.g., "Is the dog standing on the table?").
  • QA-FB15k: A multimodal knowledge-graph benchmark based on FB-15K, evaluating cognition-based hallucinations requiring world knowledge (e.g., identifying specific entities and their real-world relations).
  • Existing Benchmarks:
  • POPE and POPE-NoCaps (object existence evaluation across random, popular, and adversarial settings).
  • Amber and LLaVA-Bench (general multimodal instruction benchmarks).
  • MSCOCO, LLaVA-Caption, ALLaVA, CIFAR-10/100, and ImageNet (used for probing and alignment experiments).

Key Insights and Ideas

  • The LLM is remarkably faithful: When provided with accurate textual scene descriptions instead of raw images, LLaVA's internal LLM achieved up to 99.67% accuracy on POPE. It rarely hallucinates objects on its own when given correct contextual information.
  • CLIP is a major hallucination bottleneck: Evaluated directly on image-text matching for POPE queries, CLIP achieved only 83.33% accuracy. Coarse internet-scale contrastive pre-training allows CLIP to take semantic shortcuts, failing to distinguish fine-grained visual details.
  • The projector preserves information but fails to align spaces: Linear probing revealed that passing visual features through the projector causes less than a 2% drop in classification accuracy (information is preserved). However, cosine similarity between projected image tokens and caption embeddings hovered between 0.03 and 0.06, proving the projector fails to map visual features into the text space.
  • Perception vs. Cognition split: Improving the vision encoder (w-ECLIP, w-FineIns) significantly reduces perception-level hallucinations (existence, attributes, relations) but does not improve world-knowledge cognition tasks. Conversely, contrastive projector alignment bridges the representation gap, allowing the LLM to access its pre-trained factual knowledge base.

Key Results

  • Perception Benchmarks (POPE & QA-VisualGenome):
  • On POPE random split, w-ECLIP boosted accuracy from 85.40% to 87.80%, and w-FineIns reached 87.77%.
  • On QA-VisualGenome, w-FineIns improved attribute accuracy from 64.67% to 69.01% and relation accuracy from 67.57% to 69.75%.
  • On the Amber benchmark, w-ECLIP and w-FineIns lifted attribute accuracy from 64% to 81%.
  • Cognition Benchmarks (QA-FB15k):
  • Projector contrastive alignment provided major boosts in knowledge-heavy tasks: Integrated Alignment lifted entity accuracy from 78.39% to 84.28% and entity F1 from 73.14 to 83.03.
  • Competitive with SoTA: On POPE F1, the 12-minute Separate Contrastive Alignment matched top-tier decoding and post-processing baselines (scoring 86.0, matching Less is more).

Limitations and Future Work

  • Cognition-Level Mitigation: While contrastive projector alignment helps unlock pre-trained LLM knowledge, the paper's vision-focused methods (w-ECLIP and w-FineIns) do not mitigate cognition-level hallucinations (e.g., distinguishing specific famous buildings or historical individuals).
  • Scope of Architecture: The study focuses on LLaVA-style architectures (feed-forward linear/MLP projector + CLIP + autoregressive decoder). Extending this analysis to architectures with cross-attention resamplers (e.g., Flamingo/Q-Former) remains an open area for future work.

Summary updated

BibTeX
@inproceedings{jing2025comprehensive,
  author = {Liqiang Jing and Hardy Chen and Ehsan Aghazadeh and Xin Eric Wang and Xinya Du},
  title = {{A Comprehensive Analysis for Visual Object Hallucination in Large Vision-Language Models}},
  booktitle = {KnowFM @ ACL},
  year = {2025},
  url = {https://openreview.net/forum?id=Ya4mqbhDP4},
}

Loading related content...

Figure