Analyzing and Mitigating Object Hallucination in Large Vision-Language Models

Yiyang Zhou, Chenhang Cui, Jaehong Yoon, Linjun Zhang, Zhun Deng, Chelsea Finn, Mohit Bansal, Huaxiu Yao · DOI

Introduction

Large Vision-Language Models (LVLMs) like LLaVA and MiniGPT-4 have demonstrated remarkable capabilities in generating fluent image descriptions. However, they frequently suffer from object hallucination, where the model describes objects not present in the input image. This phenomenon poses significant reliability and safety risks for applications in robotics, medical imaging, and autonomous systems. While retraining models on massive datasets is a common approach, it is computationally expensive. This paper introduces LURE (LVLM Hallucination Revisor), a lightweight post-hoc tool designed to detect and correct these errors efficiently.

Identifying Hallucination Triggers

To develop an effective mitigation strategy, the researchers first analyzed the statistical patterns underlying hallucinations. They identified three primary factors:

  1. Co-occurrence: Models often "fill in" objects that typically appear together in training data (e.g., assuming "sky" is present if "grass" is mentioned).
  2. Uncertainty: Hallucinated objects typically exhibit higher entropy or lower confidence during the decoding process.
  3. Position: Due to the auto-regressive nature of text generation, errors tend to accumulate, making hallucinations more likely toward the end of long descriptions.
Statistical triggers of object hallucination: (a) Co-occurrence, (b) Uncertainty, and (c) Object Position.

As shown in the distributions above, hallucinated objects consistently differ from non-hallucinated ones across these three metrics, providing a predictable signal for correction. For instance, uncertainty scores are markedly higher for hallucinated objects, and hallucinations are significantly more frequent as the position score increases (indicating later stages of description generation).

The LURE Framework

LURE operates as a post-hoc "editor" rather than a replacement for the base model. The process involves two main phases:

Data Preparation and Training

The researchers used GPT-3.5 to create a synthetic dataset by intentionally corrupting accurate captions based on the identified triggers (co-occurrence, uncertainty, and position). This allowed them to train a lightweight revisor to recognize and fix these specific types of errors.

Inference and Correction

During inference, LURE analyzes the output of an LVLM. It identifies suspicious segments using uncertainty thresholds and positional data, masks them with an [IDK] tag, and then re-evaluates the image to provide a rectified description.

Overview of the LURE Training and Inference phases.

Results and Impact

LURE was evaluated across multiple state-of-the-art LVLMs and benchmarks like MSCOCO, POPE, and MME. Key findings include:

  • Significant Error Reduction: On the CHAIR metric, LURE consistently reduced hallucination rates. For instance, MiniGPT-4's hallucination score improved from 26.8 to 19.7.
  • Cross-Model Robustness: LURE proved effective even when applied to different "backbone" models, demonstrating its generalizability across various architectures.
  • Human Preference: In head-to-head evaluations, humans and GPT-4 ranked LURE-corrected descriptions as more accurate and less prone to hallucination compared to original outputs or other baseline methods.

Conclusion

LURE demonstrates that object hallucinations in LVLMs are not random but follow predictable statistical patterns. By leveraging these patterns, LURE provides a practical, lightweight, and model-agnostic solution for improving the reliability of vision-language systems. Future work aims to extend this approach to attribute hallucinations (e.g., color or size) and complex relational errors, potentially integrating these insights directly into the initial decoding process.

Summary updated

BibTeX
@inproceedings{zhou2024analyzing,
  author = {Yiyang Zhou and Chenhang Cui and Jaehong Yoon and Linjun Zhang and Zhun Deng and Chelsea Finn and Mohit Bansal and Huaxiu Yao},
  title = {{Analyzing and Mitigating Object Hallucination in Large Vision-Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=oZDJKTlOUe},
}
Figure