Evaluating Hallucination in Large Vision-Language Models based on Context-Aware Object Similarities

Shounak Datta, Dhanasekar Sundararaman

TL;DR

Existing hallucination benchmarks evaluate large vision-language models (LVLMs) against fixed in-domain vocabularies without explaining why hallucinations happen. Context-Aware Object Similarities (CAOS) provides a framework that detects both in-domain and out-of-domain hallucinations (via an LLM parser and an LVLM ensemble oracle) and quantifies their semantic origins—revealing whether an error stems from ground-truth visual context, earlier tokens in the generated caption, or dataset frequency bias.

What Problem Does This Paper Address?

Object hallucination occurs when an LVLM references entities not visible in the input image. Current benchmarks like CHAIR and POPE suffer from two major blind spots:

  1. Under-evaluation of Out-of-Domain Objects: Existing methods rely on rule-based parsers tied strictly to labeled training sets (e.g., the 80 MSCOCO categories), missing unannotated or novel objects generated by open-vocabulary language backbones.
  2. Lack of Semantic Attribution: Standard benchmarks measure how often a model hallucinates, but not why. They fail to model how hallucinations are shaped by the model's training priors, the visual scene, or the sequential context of words the model has already emitted.

Methods

CAOS evaluates generated image captions through a multi-stage pipeline:

[LVLM Caption] ──> [LLM + Rule Parser] ──> [Ensemble Oracle] ──> [Embedding Similarities]
                     (Extract Objects)       (Verify Presence)      (Compute CAOS Scores)
  1. Hybrid Object Extraction: A standard rule-based parser identifies known in-domain objects ($L_1$), while a 5-shot prompt on LLaMA-2-7B extracts novel out-of-domain objects ($L_2$).
  2. Ensemble Oracle Verification: Because ground truth is unavailable for open-vocabulary objects, an ensemble of four LVLMs (InstructBLIP, LLaVA-7B, mPLUG-Owl, and MiniGPT-4) votes on whether the candidate object is present, breaking ties in favor of "absent" to penalize false positives.
  3. Context-Aware Similarity Metrics: Using word embedding representations (GloVe and MiniLM-L6), CAOS computes maximum cosine similarities between each hallucinated object and three key reference sets:
  4. $\text{CAOS}_T$: Similarity to ground-truth objects present in the image.
  5. $\text{CAOS}_X$: Similarity to preceding objects in the generated sequence (plus ground-truth items).
  6. $\text{CAOS}_K$: Similarity to the top-$k$ most frequent objects in the training corpus ($k=3$).
  7. Diagnostic Ratios: $\text{CAOS}_{T/X}$ ($\text{CAOS}_T / \text{CAOS}_X$) and $\text{CAOS}_{X/K}$ ($\text{CAOS}_X / \text{CAOS}_K$) measure whether errors are anchored to the local context rather than ungrounded dataset priors.

Datasets

  • Evaluation Benchmark: 2,000 images from the MSCOCO validation set (standardized to match POPE's evaluation protocol).
  • Models Evaluated: InstructBLIP, LLaVA-13B, mPLUG-Owl-7B, MiniGPT-4-13B, and Multimodal-GPT-7B.

Key Insights and Ideas

  • Autoregressive "Snowballing": Object generation is sequential. Probing revealed that 16% to 20% of hallucinated objects in mPLUG-Owl and LLaVA were the single most frequent training co-occurrence partner of an object already mentioned earlier in the caption.
  • The Top-3 Saturation Phenomenon: When sweeping $k$ from 1 to 10 for $\text{CAOS}_K$, similarity scores saturated heavily at $k=3$. The vast majority of dataset-frequency hallucinations are driven by just the top 3 most common objects in MSCOCO (e.g., person, chair, dining table).
  • The Brevity vs. Grounding Trade-off: While InstructBLIP posts low raw hallucination rates ($\text{CHAIR}_S = 0.04$), it does so by generating terse captions averaging only 2.22 objects per image. When it does hallucinate, it exhibits low $\text{CAOS}_{X/K}$ (0.52–0.62), meaning its errors are disproportionately generic dataset biases rather than context-linked mistakes.
  • Parser Blind Spots: Traditional rule-based parsers achieved only 59% recall on caption objects. The LLM-augmented parser achieved 100% recall and 97% precision.

Key Results

  • Oracle Reliability: On a manual audit of 259 non-MSCOCO objects, the LVLM ensemble oracle achieved 93.43% accuracy in verifying presence/absence, outperforming any individual constituent model (InstructBLIP led individually at 89.57%).
  • Model Profiling:
  • MiniGPT-4 proved the most context-anchored model: despite producing descriptive outputs (4.91 objects/caption), it attained the highest $\text{CAOS}_{X/K}$ scores (0.96 GloVe / 0.89 MiniLM-L6), indicating hallucinations were semantically related to the visual scene rather than random dataset artifacts.
  • LLaVA and mPLUG-Owl showed strong susceptibility to dataset frequency priors, sustaining high $\text{CAOS}_K$ influence even past the top-3 cutoff.
  • Instruction Robustness: When tested across 14 diverse captioning prompts, relative model rankings and average CAOS scores remained remarkably stable.
Model Recall Objects / Cap $\text{CHAIR}_S$ $\downarrow$ POPE-F1 $\uparrow$ $\text{CAOS}_{X/K}$ (GloVe) $\uparrow$ $\text{CAOS}_{avg}$ (GloVe)
InstructBLIP 0.62 2.22 0.04 0.84 0.62 0.38
LLaVA 0.85 4.97 0.51 0.68 0.82 0.43
mPLUG-Owl 0.74 4.49 0.56 0.67 0.80 0.43
MiniGPT-4 0.78 4.91 0.33 0.74 0.96 0.44
Multimodal-GPT 0.67 3.26 0.32 0.67 0.89 0.43

Limitations and Future Work

  • Scope of Hallucinations: The framework focuses exclusively on object existential hallucinations. It does not yet capture spatial orientation, attribute binding (e.g., color/material), or numerical inconsistencies.
  • Oracle Edge Cases: The LVLM ensemble occasionally misclassifies ambiguous entities (e.g., distinguishing between the celestial "sun" and ambient "sunlight").
  • Model Coverage: The benchmark was evaluated primarily on 7B–13B open-weight architectures, leaving frontier proprietary models (e.g., GPT-4V, Gemini) unexplored.

Summary updated

BibTeX
@inproceedings{datta2025evaluating,
  author = {Shounak Datta and Dhanasekar Sundararaman},
  title = {{Evaluating Hallucination in Large Vision-Language Models based on Context-Aware Object Similarities}},
  booktitle = {PDLM @ AAAI},
  year = {2025},
  url = {https://openreview.net/forum?id=sbmqh3IQ5j},
}
Figure