Hal-Eval: A Universal and Fine-grained Hallucination Evaluation Framework for Large Vision Language Models

Chaoya Jiang, Hongrui Jia, Mengfan Dong, Wei Ye, Haiyang Xu, Ming Yan, Ji Zhang, Shikun Zhang

Introduction

Large Vision-Language Models (LVLMs) like GPT-4V and LLaVA have shown remarkable capabilities in multimodal tasks. However, they frequently suffer from "hallucinations"—generating text that describes objects, attributes, or events not present in the visual input. To address this, researchers have introduced Hal-Eval, a comprehensive framework for detecting and categorizing hallucinations. This work identifies a complex new category, Event Hallucination, and provides a massive 2-million-sample dataset (Hal-Data) to train specialized evaluators that can identify and correct these errors more effectively than standard metrics.

Taxonomy of Hallucinations

Traditional hallucination benchmarks focus on simple object presence. Hal-Eval expands this into a four-part taxonomy to capture more sophisticated model failures:

  1. Object Hallucination: Claiming an object exists when it does not.
  2. Attribute Hallucination: Misidentifying properties like color or size.
  3. Relation Hallucination: Misrepresenting the spatial or functional relationship between objects.
  4. Event Hallucination: Inventing complex narratives or sequences of actions involving multiple entities.
Examples of the four hallucination types: Object, Relation, Attribute, and the newly defined Event Hallucination.

The Hal-Eval Framework

Hal-Eval employs a two-pronged evaluation strategy to assess model reliability:

  • Discriminative Evaluation: Models act as fact-checkers, determining if a provided caption accurately reflects an image. This tests the model's ability to recognize inconsistencies.
  • Generative Evaluation: Models generate free-form descriptions, which are then analyzed by a specialized Hal-Evaluator. This is a more challenging test of the model's inherent "honesty."

To create the Hal-Evaluator, the researchers developed the Automatic Fine-grained Hallucination Annotation Pipeline (AFHA). Using GPT-4, they injected specific hallucinations into real captions to create Hal-Data, a dataset of 2 million instances. A LLaVA 1.5 model fine-tuned on this data became the Hal-Evaluator, a reference-free tool capable of detecting, categorizing, and correcting errors in other models' outputs.

Key Findings

A striking discovery of the study is the "Length-Hallucination" Correlation. As models generate longer, more detailed descriptions, the frequency of Event Hallucinations increases significantly. Models essentially "talk themselves" into making things up to fill space.

Distribution of hallucination types in short vs. long image descriptions, showing a marked increase in event hallucinations as description length grows.

Other insights include:

  • Chain-of-Thought (CoT) as a Sanity Check: Requiring step-by-step visual analysis before answering significantly reduces complex relation and event hallucinations.
  • The Discriminative-Generative Gap: A model might be proficient at spotting a lie in a provided caption but still generate its own hallucinations when writing freely.
  • Data as a Cure: Fine-tuning models on Hal-Data (creating Hal-VL) not only reduces hallucinations but also improves general performance on VQA benchmarks like MME and MMBench, proving that learning from errors enhances overall reliability.

Conclusion

The Hal-Evaluator demonstrates a Pearson correlation of 47.34% with human judgment, vastly outperforming traditional metrics like BLEU or ROUGE-L, which actually showed negative correlations with human perception. By providing a fine-grained taxonomy and a robust evaluation tool, Hal-Eval sets a new standard for developing and measuring the honesty of vision-language models.

Summary updated

BibTeX
@inproceedings{jiang2024hal,
  author = {Chaoya Jiang and Hongrui Jia and Mengfan Dong and Wei Ye and Haiyang Xu and Ming Yan and Ji Zhang and Shikun Zhang},
  title = {{Hal-Eval: A Universal and Fine-grained Hallucination Evaluation Framework for Large Vision Language Models}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=moPkVVKKTY},
}
Figure