Logical Closed Loop: Uncovering Object Hallucinations in Large Vision-Language Models

Junfei Wu, Qiang Liu, Ding Wang, Jinghao Zhang, Shu Wu, Liang Wang, Tieniu Tan

Abstract

Large Vision-Language Models (LVLMs) frequently "hallucinate" objects that are absent from an image. We present LogicCheckGPT, a training-free framework that detects and mitigates these hallucinations by evaluating the model’s logical consistency. By probing whether a model can consistently map objects to attributes and back to the same objects, LogicCheckGPT uncovers internal contradictions without requiring external detectors or expensive retraining.

Introduction

Despite significant advances in reasoning, object hallucination remains a critical "Achilles’ heel" for LVLMs. Models often confidently describe non-existent objects, such as an apple on a table or a person in a scene where none exist. Existing mitigation strategies typically involve computationally intensive instruction tuning or reliance on external object detectors, which introduce additional complexity and potential for error.

Examples of object hallucination where models describe non-existent items like an apple or a boy, contrasted with correct existence checks.

LogicCheckGPT addresses this by leveraging the model's own internal logic. The authors observe a "Consistency Gap": models are logically consistent regarding real objects but tend to trip over themselves when describing the attributes of hallucinated ones.

Methodology: The LogicCheckGPT Framework

LogicCheckGPT is a five-step, "plug-and-play" pipeline designed for seamless integration with existing LVLMs via simple language interaction.

The LogicCheckGPT pipeline: Object Extraction, Object-to-Attribute Inquiring, Attribute-to-Object Inquiring, Logical Closed Loop Checking, and Mitigation.
  1. Object Extraction: An LLM (e.g., GPT-3.5) identifies all objects mentioned in the LVLM’s initial image description.
  2. Object-to-Attribute Inquiring: The LVLM is prompted to provide detailed attributes (e.g., color, shape, location) for each extracted object.
  3. Attribute-to-Object Inquiring: These attributes are reformulated into new queries to see if the model can map them back to the original object (e.g., "What objects in the image are red and round?").
  4. Logical Closed Loop Check: The system verifies if the response in Step 3 matches the object from Step 1. A failure to map attributes back to the original object indicates a broken logical loop.
  5. Hallucination Detection and Mitigation: A "Closed Loop Rate" is calculated. Objects falling below a certain threshold are flagged as hallucinations, and the model is prompted to rewrite its original response without the fake objects.

Evaluation and Results

The framework was evaluated across four prominent LVLMs (mPLUG-Owl, MiniGPT-4, LLaVA-1.5, and QWEN-VL-Chat) using standard benchmarks including POPE (Polling-based Object Probing Evaluation) and MME (Multimodal Model Evaluation).

Key Findings

  • Significant Accuracy Gains: On the mPLUG-Owl model, accuracy in the POPE Adversarial setting improved from 50.67% to 82.00%. Similarly, MME Existence accuracy rose from 65.00% to 96.67%.
  • Self-Correction Capability: The study demonstrates that structured dialogue can expose internal contradictions, allowing for self-correction without accessing model weights.
  • Optimal Probing: Requesting approximately five attributes per object provides the most effective balance for logical verification.

Discussion

LogicCheckGPT reveals that LVLMs exhibit high logical consistency for real objects but struggle with hallucinations, as attributes for fake objects are often fabricated or "stolen" from real scene elements.

Limitations and Future Work

While effective, the multi-round querying process increases computational overhead and inference passes. Currently, the framework focuses strictly on object hallucinations; future iterations could expand to address attribute or relationship hallucinations. Additionally, more complex multi-hop logical probing may be necessary for cases where a model hallucinations attributes with high internal consistency.

Summary updated

BibTeX
@inproceedings{wu2024logical,
  author = {Junfei Wu and Qiang Liu and Ding Wang and Jinghao Zhang and Shu Wu and Liang Wang and Tieniu Tan},
  title = {{Logical Closed Loop: Uncovering Object Hallucinations in Large Vision-Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.414},
}
Figure