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

Large Vision-Language Models (LVLMs) like LLaVA or MiniGPT-4 are impressively fluent, but they have a pesky habit: they often "see" things that aren't there. This phenomenon, known as object hallucination, can turn a helpful AI assistant into a source of misinformation.

A new paper from researchers at UNC-Chapel Hill, Rutgers, Columbia, and Stanford introduces LURE (LVLM Hallucination Revisor). LURE is a lightweight, post-hoc "spell-checker" designed to catch and correct these visual fabrications before they reach the user.

TL;DR

LURE is a post-hoc rectification algorithm that identifies and fixes object hallucinations in LVLM-generated descriptions. By analyzing statistical triggers—like object co-occurrence, decoding uncertainty, and word position—it effectively "revises" hallucinatory text into accurate image captions across multiple state-of-the-art models.

What Problem Does This Paper Address?

While LVLMs can describe complex scenes, they often fall into the trap of auto-regressive "hallucination." For example, if a model sees "grass," it might reflexively add "sky" to the description even if the image is a close-up of a lawn.

Existing solutions usually involve fine-tuning models on massive, high-quality datasets, which is incredibly expensive and labor-intensive. The authors sought a more efficient, post-hoc approach: a method that can take a potentially flawed description from any model and fix it without retraining the base model itself.

Methods: The LURE Framework

The authors propose LURE (LVLM Hallucination Revisor), which acts as a secondary model trained specifically to reconstruct accurate descriptions from hallucinatory ones.

The LURE Framework: Training (left) involves generating hallucinatory data, while Inference (right) uses uncertainty masking to prompt the Revisor.

The process works in two main stages:

  1. Hallucinatory Data Generation: To train the revisor, the authors used GPT-3.5 to intentionally "corrupt" accurate captions. They injected objects that frequently co-occur with existing ones and replaced uncertain objects with a placeholder tag.
  2. Post-hoc Revision: During inference, when a base LVLM generates a description, LURE identifies "suspicious" objects—those with high decoding uncertainty or those appearing late in the sentence. These are masked, and the trained LURE revisor then fills in the blanks (or removes the object entirely) based on the actual image content.

Key Insights and Ideas

The core of LURE is grounded in a rigorous statistical analysis of why models hallucinate. The researchers identified three "smoking guns" that reliably predict when an LVLM is making things up:

Statistical analysis of object hallucination triggers: co-occurrence, uncertainty, and object position.
  • Spurious Co-occurrence: Models learn that certain objects (like "sink" and "mirror") usually appear together. Hallucinations often follow these learned patterns rather than the actual pixels.
  • Decoding Uncertainty: There is a strong correlation between a model's lack of confidence (high entropy during token generation) and the likelihood of that token being a hallucination.
  • Positional Bias: Hallucinations aren't distributed evenly; they tend to snowball toward the end of a sentence as the model loses track of the initial visual grounding.

Key Results

LURE was tested on six popular open-source LVLMs, including MiniGPT-4 and LLaVA, using standard benchmarks like MSCOCO, POPE, and MME. The results were impressive:

  • CHAIR Metric: LURE significantly reduced hallucination rates. For MiniGPT-4, the $CHAIR_S$ score (percentage of sentences with hallucinations) dropped from 26.8 to 19.7.
  • Human Evaluation: In head-to-head rankings against strong baselines like "Chain-of-Thought" and "GPT-Teacher," LURE consistently ranked as the most accurate and least hallucinatory.
  • Model Agnostic: LURE improved performance regardless of the underlying model's architecture, proving it is a versatile "plug-and-play" solution.
  • Utility Preservation: Unlike simple filtering methods that might just shorten captions, LURE maintained the descriptive detail and length of the original outputs while improving accuracy.

Limitations and Future Work

While LURE is powerful, the authors note a few areas for growth:

  • Revisor Backbone: The performance of LURE is somewhat tied to the strength of the model used as the "revisor."
  • Logical Errors: While LURE excels at fixing object hallucinations (presence/absence), it is less focused on complex logical errors like incorrect spatial relationships or actions.
  • Computational Overhead: Although lightweight, it still requires a second pass by a model, which adds a small amount of latency to the generation process.

Future work may involve integrating these statistical insights directly into the initial training process of LVLMs to prevent hallucinations from forming in the first place.

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