Benchmarking Zero-Shot Recognition with Vision-Language Models: Challenges on Granularity and Specificity

Zhenlin Xu, Yi Zhu, Siqi Deng, Abhay Mittal, Yanbei Chen, Manchen Wang, Paolo Favaro, Joseph Tighe, Davide Modolo

Introduction

Vision-Language Models (VLMs) like CLIP have transformed zero-shot recognition by aligning visual and textual representations in a shared embedding space. While these models excel on standard "flat" benchmarks like ImageNet, their performance in more complex, real-world scenarios remains poorly understood. This paper introduces two new benchmarks designed to evaluate VLMs across two critical dimensions: semantic granularity and text specificity.

Overview of the Granularity and Specificity benchmarks, illustrating hierarchical classification and the challenge of 'poisoned' captions.

The Problem: Beyond Flat Classification

Standard evaluation protocols often treat labels as independent entities. However, human language is inherently hierarchical. A model should ideally recognize that a "leopard" is also a "feline" and an "animal." Furthermore, as users interact with VLMs using increasingly complex prompts, models must distinguish between accurate simple descriptions and detailed but factually incorrect ones. The authors identify a significant gap in how current VLMs handle these hierarchical relationships and fine-grained textual details.

Methodology

The researchers developed two distinct protocols to stress-test these capabilities:

1. The Granularity Benchmark

By mapping ImageNet-1K labels to the WordNet hierarchy, the authors created a dataset where each image is associated with a chain of labels from specific "leaf" nodes (e.g., Siberian Husky) to abstract "ancestors" (e.g., mammal). They compared two scoring strategies:

  • Direct Prediction: Evaluating the model's score for an abstract category directly.
  • Propagated Prediction: Calculating the score for an ancestor by taking the maximum score among its descendants.
Comparison of hierarchical scoring methods: (a) raw scores, (b) max of direct children, and (c) max of leaves.

2. The Specificity Benchmark

Using MS-COCO, the authors tested model sensitivity to descriptive detail. They introduced "Hard Positives" (detailed, accurate narratives) and "Hard Negatives" (captions that are mostly correct but contain a single, critical error, such as replacing "dog" with "cow").

Key Insights

The "Moderately Fine-Grained" Bias

VLMs do not perform uniformly across the semantic hierarchy. They tend to be most accurate for concepts at intermediate levels of abstraction (Levels 7–11). Performance drops significantly for both extremely abstract "organism" categories and highly specialized, rare breeds. This suggests that the "alt-text" data used for training favors common, moderately specific naming conventions.

The Specificity Trap and "Bag-of-Words" Behavior

A striking finding is that VLMs are often "distracted" by descriptive complexity. Models frequently assign higher similarity scores to long, detailed captions that contain factual errors than to simple, 100% accurate one-word labels. This indicates that current dual-encoder architectures act more like a "bag-of-words," matching the general "vibe" or keyword overlap of a sentence rather than performing true logical verification of the claims within the text.

Key Results

  • The Granularity Gap: For a standard CLIP-B model, direct prediction of ancestor classes resulted in a mean Average Precision (mAP) of 24.91. In contrast, propagating scores from leaf nodes yielded an mAP of 58.73. This 33-point discrepancy highlights a failure in the model's internal logic: it "knows" the specific object but cannot reliably link it to its broader category.
  • Retrieval Failures: In specificity tests, "poisoned" captions often outperformed simple, correct prompts. Increasing model scale (e.g., moving to OpenCLIP-H) did not resolve these issues and, in some cases, exacerbated the bias toward specific but incorrect descriptions.

Conclusion and Future Work

The study reveals that scaling data and parameters is insufficient to fix fundamental logical inconsistencies in VLMs. Future progress likely requires:

  • Curated Training Data: Moving beyond noisy web-scraped alt-text to datasets with a more balanced distribution across semantic hierarchies.
  • Advanced Architectures: Developing models that move beyond simple cosine similarity toward cross-modality fusion capable of reasoning over specific textual claims.
  • Generative Integration: Leveraging Large Language Models (LLMs) to provide the logical framework that current contrastive models lack.

Summary updated

BibTeX
@inproceedings{xu2024benchmarking,
  author = {Zhenlin Xu and Yi Zhu and Siqi Deng and Abhay Mittal and Yanbei Chen and Manchen Wang and Paolo Favaro and Joseph Tighe and Davide Modolo},
  title = {{Benchmarking Zero-Shot Recognition with Vision-Language Models: Challenges on Granularity and Specificity}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
  doi = {10.1109/cvprw63382.2024.00189},
}
Figure