Overview
The Vision module provides two complementary metrics for evaluating Vision Language Models (VLMs):- VisionSimilarity: How accurately the VLM describes scenes compared to human ground truth
- VisionHallucination: How often the VLM describes content not present in the scene
SimilarityScorer (defaulting to cosine similarity with all-mpnet-base-v2).
VisionSimilarity
Measures semantic similarity between VLM descriptions and human annotations.Output
VisionHallucination
Flags frames where similarity falls below a threshold as hallucinations.Output
Parameters (both metrics)
Custom scorer
Expected batch format
Requires the
vision extra: pip install "gaussia[vision]".