Object Hallucination in Image Captioning

Anna Rohrbach, Lisa Anne Hendricks, Kaylee Burns, Trevor Darrell, Kate Saenko

Abstract

Modern image captioning models have achieved high levels of linguistic fluency, yet they frequently suffer from "object hallucination"—the inclusion of objects in captions that are not present in the visual scene. This paper introduces CHAIR (Caption Hallucination Assessment with Image Relevance), a metric designed to quantify these errors by comparing generated text against ground-truth object labels. Our analysis reveals that standard optimization techniques for metrics like CIDEr can inadvertently encourage hallucination, and that models often over-rely on language priors rather than visual evidence.

Introduction: The Accuracy-Fluency Gap

In computer vision, the goal of image captioning is to produce descriptions that are both fluent and factually grounded. However, current evaluation metrics borrowed from machine translation, such as BLEU and CIDEr, primarily measure n-gram overlap with human references. This focus on "sounding human" often masks significant factual errors.

A scene with cell phones, which are objects frequently hallucinated by models when they detect people in close proximity.

A model may achieve a high CIDEr score by generating a plausible-sounding sentence that is visually incorrect. For instance, a model might describe a person sitting as being on a "chair" or "bench" simply because those objects frequently co-occur with the action of sitting in training data. This phenomenon, termed object hallucination, is a critical barrier for high-stakes applications like assistive technology for the visually impaired.

Methodology: The CHAIR Metric

To address this, we propose CHAIR (Caption Hallucination Assessment with Image Relevance). CHAIR maps words in generated captions to 80 standard MSCOCO object categories and compares them against ground-truth segmentation masks. We define two variants:

  • CHAIRs (Sentence-level): The percentage of generated sentences containing at least one hallucinated object.
  • CHAIRi (Instance-level): The percentage of all mentioned objects that do not exist in the image.

Additionally, we introduce Consistency Scores to diagnose the source of errors. Image Consistency checks if an external classifier detects the object (indicating misclassification), while Language Consistency measures if the hallucinated word was highly predictable based on the preceding text (indicating over-reliance on language priors).

Key Insights: Why Models Hallucinate

Our study identifies several factors contributing to hallucination:

  1. Metric Gaming: "Self-Critical" (SC) training, a reinforcement learning approach used to maximize CIDEr, actually increases hallucination rates. Since CIDEr does not explicitly penalize non-existent objects, models learn to add likely-sounding details to boost their scores.
  2. Contextual Over-reliance: Hallucinations are often contextually driven. Models frequently hallucinate "sinks" when they identify a "bathroom" or "dining tables" when they see "food."
A cat in a bathroom; models often hallucinate 'sinks' in such contexts due to strong linguistic associations.
  1. Attention Mechanisms: Models utilizing "Bottom-Up" attention, which focuses on specific detected object regions, show significantly lower hallucination rates compared to "Top-Down" models that process coarse feature maps.

Results and Conclusion

Evaluating competitive models on the MSCOCO Karpathy split reveals hallucination rates between 7.4% and 17.7%. Crucially, models with the highest CIDEr scores often exhibit the most hallucinations, highlighting a disconnect between current benchmarks and factual accuracy. Human preference studies confirm that users strongly prefer truthful captions over fluent but "dishonest" ones.

While CHAIR is currently limited to MSCOCO categories, it provides a vital tool for developing more reliable captioning systems. Future work must focus on training objectives that balance linguistic elegance with rigorous visual grounding.

Summary updated

BibTeX
@inproceedings{rohrbach2018object,
  author = {Anna Rohrbach and Lisa Anne Hendricks and Kaylee Burns and Trevor Darrell and Kate Saenko},
  title = {{Object Hallucination in Image Captioning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1437},
}
Figure