Understanding Multimodal Hallucination with Parameter-Free Representation Alignment

Yueqian Wang, Jianxin Liang, Yuxuan Wang, Huishuai Zhang, Dongyan ZhaoarXiv 2024 · DOI

Abstract

Multimodal Large Language Models (MLLMs) frequently exhibit "hallucinations," identifying objects not present in the input image. This paper introduces the Parameter-free representation alignment metric (Pfram), a training-free approach to quantify the alignment between a model's internal representations and ground-truth object labels. Our analysis of ten leading MLLMs reveals that hallucination rates are primarily determined by the quality of object-level information captured by the vision module, with Pfram scores showing a strong correlation (up to 77.62%) with benchmark performance.

Introduction

The phenomenon of object hallucination in MLLMs—where models like LLaVA or Qwen-VL claim to see objects that are absent—poses a significant challenge for reliability. Determining whether these errors originate in the visual encoder's perception or the Large Language Model's (LLM) reasoning is difficult with current end-to-end benchmarks. While internal probing can offer insights, it often requires additional training that can introduce bias. This work presents Pfram, a novel, non-intrusive metric to evaluate internal representation quality independently.

The Pfram Metric

Pfram evaluates representation quality through a ranking-based similarity approach. It posits that if two images contain similar objects according to human annotations, their internal neural representations should be "neighbors" in the model's latent space.

Figure 3: Overview of the Pfram metric, which measures the similarity between neural network representation systems and ground-truth object annotations.

Key technical aspects of Pfram include:

  • Ranking Similarity: Utilizes Mutual k-Nearest Neighbors (k-NN) and Normalized Discounted Cumulative Gain (NDCG) to compare internal model neighborhoods against ground-truth benchmarks.
  • Multi-Vector Compatibility: Designed to handle Vision Transformers (ViTs) by identifying optimal feature matches across image patches.
  • Zero-Training Requirement: Operates without additional parameters or fine-tuning, providing an unbiased assessment of the model's inherent visual understanding.

Key Insights

Our investigation into MLLM internal states yielded several critical findings:

  • Representation is Destiny: There is a remarkably high correlation (up to 77.62%) between a model's Pfram score and its hallucination rate. If the visual representation is poor, the model will hallucinate regardless of the LLM's capabilities.
  • The LLM Plateau: Visual understanding typically improves through the layers of the vision encoder but plateaus upon entering the LLM. The LLM generally processes rather than enhances the provided visual data.
  • The RLHF-V Exception: Reinforcement Learning from Human Feedback for Vision (RLHF-V) significantly improves object-level information across all LLM layers, explaining its efficacy in reducing hallucinations.
  • The "Alignment Drop": Certain models, such as Qwen-VL, show a sharp decline in representation quality at the projection layer, identifying a critical bottleneck in multimodal integration.
  • DINOv2 vs. CLIP: Although CLIP is widely used, DINOv2 captures more precise object-level detail in its final layers, suggesting it may be a superior backbone for hallucination-resistant models.

Results and Discussion

The researchers validated Pfram using the AMBER, OpenImages V7 (OIv7), and POPE benchmarks.

Figure 4: Correlation between Pfram scores and average POPE accuracy across various MLLMs and datasets, demonstrating the predictive power of the metric.

The results demonstrate that Pfram scores are highly predictive of POPE accuracy across ten state-of-the-art MLLMs. Notably, factors such as the number of LLM parameters or the specific projector type showed much weaker correlations with hallucination rates than the Pfram score itself. Additionally, models like InstructBLIP exhibited "instruction sensitivity," where specific prompts slightly improved internal representation alignment.

Conclusion

Pfram provides a robust, training-free framework for diagnosing the roots of multimodal hallucination. By identifying the vision module as the primary determinant of hallucination, this research suggests that improvements in visual representation quality are more critical than scaling LLM parameters for building reliable multimodal systems. Future work will extend this metric to evaluate attribute and spatial hallucinations.

Summary updated

BibTeX
@misc{wang2024understanding,
  author = {Yueqian Wang and Jianxin Liang and Yuxuan Wang and Huishuai Zhang and Dongyan Zhao},
  title = {{Understanding Multimodal Hallucination with Parameter-Free Representation Alignment}},
  year = {2024},
  eprint = {2409.01151},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.01151},
}
Figure