Will It Zero-Shot?: Predicting Zero-Shot Classification Performance For Arbitrary Queries
Kevin Robbins, Xiaotong Liu, Yu Wu, Le Sun, Grady McPeak, Abby Stylianou, Robert Pless
TL;DR
The paper tackles predicting zero-shot classification performance of vision-language models like CLIP for arbitrary natural-language queries. It introduces an image-augmented, consistency-based evaluation framework that uses generated task-relevant imagery alongside text prompts to estimate zero-shot accuracy without labeled data, encapsulated in a compound score that combines consistency and silhouette components. The approach is validated across multiple CLIP benchmark datasets, showing that image-based scores correlate more strongly with true zero-shot accuracy than text-only proxies, and is operationalized through an interactive web tool for end users. Limitations are discussed via outliers (e.g., ObjectNet) and ambiguous class meanings, with future work focused on richer contextual prompts and user-driven refinement.
Abstract
Vision-Language Models like CLIP create aligned embedding spaces for text and images, making it possible for anyone to build a visual classifier by simply naming the classes they want to distinguish. However, a model that works well in one domain may fail in another, and non-expert users have no straightforward way to assess whether their chosen VLM will work on their problem. We build on prior work using text-only comparisons to evaluate how well a model works for a given natural language task, and explore approaches that also generate synthetic images relevant to that task to evaluate and refine the prediction of zero-shot accuracy. We show that generated imagery to the baseline text-only scores substantially improves the quality of these predictions. Additionally, it gives a user feedback on the kinds of images that were used to make the assessment. Experiments on standard CLIP benchmark datasets demonstrate that the image-based approach helps users predict, without any labeled examples, whether a VLM will be effective for their application.
