An Explainable Toolbox for Evaluating Pre-trained Vision-Language Models

Tiancheng Zhao, Tianqi Zhang, Mingwei Zhu, Haozhan Shen, Kyusong Lee, Xiaopeng Lu, Jianwei Yin

Abstract

Vision-Language Pre-training (VLP) models have achieved remarkable success, yet their evaluation often relies on aggregate accuracy scores that obscure specific failure modes. We introduce VL-CheckList, an explainable evaluation toolbox designed to move beyond "black box" metrics. By systematically perturbing inputs across a fine-grained taxonomy of Objects, Attributes, and Relations, VL-CheckList provides a detailed diagnostic of model strengths and weaknesses. Our analysis of the CLIP model reveals significant vulnerabilities, including a heavy reliance on central object saliency and a surprising inability to reason about spatial relationships.

Introduction: The Need for Explainable VLP Evaluation

In the current VLP landscape, models are typically benchmarked on downstream tasks like Visual Question Answering (VQA) or Image Retrieval. While these provide a single performance metric, they offer little insight into whether a model truly understands a scene or is merely a "statistical guesser."

Standard datasets often suffer from "center bias," where primary objects are large and centrally located. This allows models to achieve high scores without being robust to "hard negatives"—minor input changes that should alter the output. For high-stakes applications like autonomous driving, understanding these failure modes is critical.

Methods: The VL-CheckList Framework

The core of VL-CheckList is a taxonomy that disentangles model capabilities into three primary categories: Objects, Attributes, and Relations. The framework evaluates models using the Image-Text Matching (ITM) objective through two perturbation strategies:

  1. Language Variation: "Hard negatives" are created by swapping specific words in captions (e.g., changing "skateboard" to "pilot"). A robust model must distinguish the correct caption from these subtle linguistic decoys.
  2. Vision Variation: Object-level data augmentation is used to probe spatial and scale robustness. Objects are cropped and placed onto various backgrounds at different scales and positions (center, middle, margin).
VL-CheckList taxonomy and perturbation strategies

Datasets and Benchmarking

To facilitate standardized evaluation, the authors curated a benchmark dataset by leveraging four structured sources: Visual Genome (VG), SWiG, VAW, and HAKE. This allows researchers to "plug and play" their models into a pipeline that tests for situational roles, visual attributes, and human activity states.

Key Results and Insights

Applying VL-CheckList to the popular CLIP model yielded several striking insights:

  • The Saliency Trap: CLIP is heavily optimized for central, salient objects. In qualitative testing, an apple in the center scored ~0.99. However, when the same apple was moved to a corner and reduced in size, the score for the correct caption plummeted to 0.127, while a "hard negative" (e.g., "a dog on the grass") scored significantly higher (0.872).
  • Hierarchy of Difficulty: Models generally follow a performance hierarchy: Objects > Attributes > Relations. While VLP models are adept at identifying what is in an image, they struggle with how objects are described and how they interact.
  • Spatial Reasoning Deficit: CLIP’s ability to recognize spatial relations (e.g., "on" vs. "under") is surprisingly low, often failing to distinguish basic positional interactions.
Radar chart visualizing CLIP's performance across the VL-CheckList taxonomy.

Furthermore, the authors demonstrated that performance can be improved by moving beyond global image encoding. By focusing on local Regions of Interest (ROIs), they boosted attribute recognition for subjects and objects by 3.9% and 5.7%, respectively.

Conclusion

VL-CheckList provides a much-needed "fingerprint" of model intelligence, offering a more nuanced view than traditional accuracy metrics. While currently focused on ITM, future iterations aim to expand the taxonomy and cover a wider variety of pre-training objectives and architectures.

The code and data are available at: https://github.com/om-ai-lab/VL-CheckList

Summary updated

BibTeX
@inproceedings{zhao2022explainable,
  author = {Tiancheng Zhao and Tianqi Zhang and Mingwei Zhu and Haozhan Shen and Kyusong Lee and Xiaopeng Lu and Jianwei Yin},
  title = {{An Explainable Toolbox for Evaluating Pre-trained Vision-Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-demos.4},
}
Figure