Trust but Verify: Programmatic VLM Evaluation in the Wild

Viraj Prabhu, Senthil Purushwalkam, An Yan, Caiming Xiong, Ran Xu · DOI

Vision-Language Models (VLMs) like GPT-4o and LLaVA have achieved impressive conversational capabilities, yet they remain prone to a significant flaw: hallucinations. These models frequently generate plausible but factually incorrect descriptions of visual scenes. While this issue is well-recognized, reliably measuring it in free-form, open-ended conversations remains an open research challenge.

A new paper from Salesforce AI Research introduces PROVE, a benchmarking paradigm that moves away from subjective "LLM-as-a-judge" scoring toward a more rigorous, code-based verification system. By utilizing structured scene graphs and executable Python programs, PROVE provides a new gold standard for evaluating both the helpfulness and truthfulness of VLM responses.

The Problem with Current Benchmarks

Existing VLM benchmarks typically fall into two camps. Discriminative benchmarks use simple "Yes/No" questions that are easy to score but fail to reflect real-world usage. Conversely, Generative benchmarks use open-ended prompts that are realistic but incredibly difficult to evaluate objectively. Current evaluation often relies on an "LLM-as-a-judge," where one model grades another. However, if the judge lacks full visual context or the ground-truth captions are too brief, it may penalize correct models or miss subtle hallucinations.

The PROVE Methodology

PROVE addresses these issues by introducing a "Programmatic" approach to evaluation. The workflow begins with the DOCCI dataset, which contains hyper-detailed human-annotated captions. These captions are converted into a high-fidelity scene graph—a structured representation of objects, attributes, and relationships within the image.

Comparison between traditional LLM-as-a-judge evaluation and the PROVE programmatic verification framework.

Based on this scene graph, an LLM generates diverse QA pairs and, crucially, writes a Python program for each. This program can be executed against the scene graph to programmatically verify the VLM's answer. This allows for the calculation of two distinct metrics:

  • hscore (Helpfulness): Measures recall by checking how many ground-truth facts were recovered in the VLM's response.
  • tscore (Truthfulness): Measures precision by verifying if the claims made in the VLM's response are factually grounded in the scene graph or image.

Key Insights: The Helpfulness-Truthfulness Trade-off

The most striking finding from the PROVE benchmark is a weak linear correlation (only 0.03) between being helpful and being truthful. Models that provide long, detailed, and helpful-sounding answers are often more prone to "confabulating" details that do not exist in the scene.

An example of a VLM hallucination where the model incorrectly identifies a 'bench' in the scene, illustrating the challenge of maintaining truthfulness in descriptive outputs.

Furthermore, the research indicates that scaling model size does not inherently solve hallucinations. While moving from smaller to larger models (e.g., InternVL2-2B to 26B) consistently improves helpfulness, it does not consistently improve truthfulness. In some cases, larger models hallucinate more because they are trained to be more descriptive and verbose.

Benchmarking Results

The researchers evaluated a wide range of models, revealing several notable performance trends:

  • GPT-4o achieved the highest hscore (76.53), making it the most helpful model, though its tscore (80.92) was lower than several smaller competitors.
  • LLaVA-1.5 (7B), despite its older architecture, led the pack in truthfulness with a tscore of 82.58, likely because it provides shorter, more conservative answers.
  • The Oracle Gap: Even an "Oracle" model (a blind LLM with access to ground-truth captions) scored 84.22, suggesting a current ceiling on how well models can structure visual reasoning.

Conclusion

PROVE offers a more objective and scalable way to measure VLM performance in complex, real-world scenarios. The identified trade-off between helpfulness and truthfulness highlights a critical need for future research into agentic models that can plan and self-reflect to ensure their descriptive outputs remain strictly grounded in visual reality.

Summary updated

BibTeX
@misc{prabhu2024trust,
  author = {Viraj Prabhu and Senthil Purushwalkam and An Yan and Caiming Xiong and Ran Xu},
  title = {{Trust but Verify: Programmatic VLM Evaluation in the Wild}},
  year = {2024},
  eprint = {2410.13121},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.13121},
}
Figure