Q-GroundCAM: Quantifying Grounding in Vision Language Models via GradCAM
Navid Rajabi, Jana Kosecka
TL;DR
This work tackles the challenge of grounding in Vision-Language Models by identifying shortcomings of the Pointing Game as a grounding metric and introducing GradCAM-based, quantitative measures. It defines a family of metrics, including $IoU_{Soft}$, $Dice_{Soft}$, $WDP$, $IO_{ratio}$, and $PG_{Uncertainty}$, to rigorously quantify how well GradCAM activations align with ground-truth regions and to capture grounding uncertainty across models. Through evaluations of four state-of-the-art VLMs (BLIP$_{base}$, BLIP$_{large}$, CLIP$_{gScoreCAM}$, ALBEF$_{AMC}$) on ID datasets (Flickr30K Entities, RefCOCO+) and an OOD dataset (SpatialSense), the study finds ALBEF$_{AMC}$ often achieves the best overall grounding performance, while CLIP-based methods may produce cleaner localizations but more spurious activations. The proposed metrics enable finer-grained, explainable grounding comparisons beyond binary accuracy and can guide the development of grounding-aware VLMs for phrase grounding, referring expressions, and spatial relation tasks in both ID and OOD contexts.
Abstract
Vision and Language Models (VLMs) continue to demonstrate remarkable zero-shot (ZS) performance across various tasks. However, many probing studies have revealed that even the best-performing VLMs struggle to capture aspects of compositional scene understanding, lacking the ability to properly ground and localize linguistic phrases in images. Recent VLM advancements include scaling up both model and dataset sizes, additional training objectives and levels of supervision, and variations in the model architectures. To characterize the grounding ability of VLMs, such as phrase grounding, referring expressions comprehension, and relationship understanding, Pointing Game has been used as an evaluation metric for datasets with bounding box annotations. In this paper, we introduce a novel suite of quantitative metrics that utilize GradCAM activations to rigorously evaluate the grounding capabilities of pre-trained VLMs like CLIP, BLIP, and ALBEF. These metrics offer an explainable and quantifiable approach for a more detailed comparison of the zero-shot capabilities of VLMs and enable measuring models' grounding uncertainty. This characterization reveals interesting tradeoffs between the size of the model, the dataset size, and their performance.
