TL;DR
HalCECE is a deterministic, explainable framework designed to detect hallucinations in image captioning models without relying on error-prone Large Language Models (LLMs). By leveraging WordNet hierarchies and graph edit distances, it decomposes hallucinations into fine-grained, semantically minimal edits, providing a clear explanation of both object and relationship errors.
What Problem Does This Paper Address?
Vision-Language (VL) models have made massive strides, but they still frequently "hallucinate"—generating text that describes objects, attributes, or relationships not actually present in the image.
Current evaluation methods suffer from two major flaws:
- Misleading Linguistic Metrics: Standard text-generation metrics (like BLEU, ROUGE, or CIDEr) measure surface-level n-gram overlap or fluency rather than factual accuracy. A caption can be perfectly fluent and natural yet completely factually incorrect.
- The LLM Evaluator Paradox: Modern hallucination detection frameworks often use LLMs to judge VL models. However, LLMs are notorious for hallucinating themselves, introducing non-determinism and bias into the evaluation pipeline.
Furthermore, most existing metrics only look at object hallucinations (e.g., saying there is a dog when there isn't), completely ignoring role hallucinations, which occur when a model misidentifies actions or spatial relationships between correctly detected objects.
Methods
The authors introduce HalCECE (Hallucination Detection through Conceptual Counterfactuals), a black-box, deterministic framework that avoids LLMs entirely. Instead, it treats hallucination detection as a graph-matching problem, finding the minimum semantic edits required to transform a generated caption into the ground-truth image description.
Key components include:
- WordNet-Driven Counterfactuals: HalCECE maps caption concepts to WordNet synsets. It calculates the shortest path within the WordNet hierarchy to determine the most semantically minimal edits needed to correct a caption.
- Fine-Grained Object Categorization: Instead of a binary "hallucinated or not" score, HalCECE breaks object errors down into:
- Deletion (D): Extraneous objects that must be removed.
- Replacement (R): Objects that should be swapped for a semantically close alternative (e.g., "desk" instead of "table").
- Over-specialization (O): Captions that are erroneously specific (e.g., "girl" instead of "woman").
- Scene Graphs for Role Hallucinations: To capture relationship errors, HalCECE parses captions into scene graphs (triples of
[object, relation, object]). It uses Graph Edit Distance (GED)—approximated efficiently via the Volgenant-Jonker algorithm—to compute the minimum cost of correcting these interconnections.
Datasets
The framework was evaluated on the intersection of two widely used benchmarks:
- Visual Genome (VG): Used for its high-quality, handcrafted scene graph annotations containing explicit object interactions and roles.
- MS COCO: Used for its standard human-written reference captions.
The authors restricted their experiments to a overlapping validation subset of 2,170 common instances where visual concepts could be cleanly aligned with WordNet.
Key Insights and Ideas
- Language Priors are a Double-Edged Sword: Surprisingly, larger models (like the Claude-3 family) often exhibit higher hallucination rates than smaller, specialized models (like GiT). When visual grounding is weak or ambiguous, larger models fall back on their massive language priors, generating details that are statistically plausible in text but absent in the image.
- Replacements Trump Deletions: Models rarely hallucinate completely random objects. Instead, they usually generate concepts closely related to the ground truth (e.g., substituting "sofa" for "chair"). HalCECE captures this nuance using Wu-Palmer similarity scores to show that these hallucinations are often "justified" semantic near-misses.
- Role Hallucinations are Rampant: Relationship errors are far more common than object errors. Across almost all tested models, role hallucination rates exceeded 70%, proving that current VL models struggle significantly with spatial and action-based compositionality.
Key Results
The authors benchmarked several open-source models (GiT, BLIP, BLIP-2, ViT-GPT2) alongside proprietary models (Claude-3-Sonnet, Claude-3-Haiku):
- Best Performers: Smaller, specialized models like GiT-base and GiT-large consistently hallucinated the least, maintaining the lowest object hallucination rates (~25-26%).
- Worst Performers: Claude-3-Haiku (when prompted to give long descriptions) suffered from the highest object hallucination rate at 64.31%.
- Role Errors: BLIP-base-cond achieved a staggering 95.18% role hallucination rate, primarily driven by deleting or omitting crucial relationship data.
- Zero Correlation: A correlation analysis between HalCECE metrics and traditional linguistic metrics (like BLEU, ROUGE, and Mauve) yielded coefficients close to 0. This mathematically confirms that standard language metrics are entirely blind to factual hallucinations.
Limitations and Future Work
- WordNet Dependency: HalCECE relies heavily on WordNet. If a modern, highly specific, or out-of-vocabulary concept generated by a captioner cannot be mapped to a WordNet synset, the alignment fails.
- Annotation Bottleneck: Evaluating role hallucinations requires dense scene graph annotations (like those in Visual Genome), which are expensive to produce and not available for every image dataset.
- Downstream Mitigation: While HalCECE excels at detecting and explaining hallucinations, the authors note that future work should focus on actively feeding these explainable graph edits back into the models to mitigate and correct hallucinations during training or inference.
Summary updated