Abstract
Pre-trained multi-modal vision-language models (VLMs) excel in downstream applications, especially in the few- and zero-shot settings. However, choosing the optimal VLM for some downstream applications is challenging due to task and dataset dependencies. Exhaustive evaluation of all VLMs is impractical and requires the collection of a labeled dataset for evaluation. As the number of open-source VLM variants increases, there is a need for an efficient model selection strategy that does not require access to a curated evaluation dataset. To address this, we introduce a novel task, LOVM: Language-Only Vision Model Selection, where methods are expected to perform both model selection and performance prediction based solely on a text description of the desired downstream application. We also present an extensive LOVM benchmark consisting of ground-truth evaluations of 23 pre-trained VLMs and 35 datasets, enabling effective ranking and performance prediction of VLMs.
Introduction: The Paradox of Choice in VLMs
The rapid proliferation of open-source Vision-Language Models (VLMs), such as CLIP and its many variants, has created a significant challenge for practitioners. While these models offer impressive zero-shot capabilities, their performance is highly sensitive to the specific domain and dataset. A model that performs exceptionally well on general benchmarks like ImageNet may falter on specialized tasks like medical imaging or satellite photography.
Currently, identifying the optimal model requires downloading numerous candidates and testing them on a curated, labeled dataset—a process that is both computationally expensive and data-intensive. LOVM (Language-Only Vision Model selection) addresses this bottleneck by enabling users to rank and predict VLM performance using only a text description of the target task, leveraging Large Language Models (LLMs) to generate "text proxies" for visual data.
Methodology
The core hypothesis of LOVM is cross-modality transferability: the geometric relationships between text embeddings in a VLM serve as a reliable proxy for the relationships between their corresponding image embeddings.
The proposed pipeline consists of three primary stages:
- Text Data Generation: Utilizing an LLM (e.g., GPT-3.5), the system generates domain-specific text datasets based on the user's task description. This includes descriptive captions that simulate potential visual "confusion" and lists of semantically similar synonyms for each class.
- Text-Derived Scoring: Several metrics are extracted from the VLM’s text encoder:
- Text Classification (C): Accuracy of the VLM in classifying generated captions.
- Dataset Granularity (G): Measures such as the Fisher Criterion and Silhouette Score that quantify the separability and cohesion of class clusters in the embedding space.
- Synonym Consistency: The alignment between class name embeddings and their synonyms.
- Performance Prediction: A linear regression model uses these scores to predict the VLM's actual zero-shot accuracy, allowing for effective model ranking.
The LOVM Benchmark
To validate this approach, the authors introduced the LOVM Benchmark, a comprehensive resource for VLM evaluation:
- Models: 23 pre-trained VLMs from the OpenCLIP library, spanning various architectures (ResNet, ViT, ConvNeXt) and pre-training datasets (LAION-400M, LAION-2B, WIT).
- Evaluation Datasets: 35 diverse downstream datasets, ranging from standard benchmarks (ImageNet, CIFAR100) to specialized domains (EuroSAT, Retinopathy) and long-tail tasks (Stanford Cars, Oxford Pets).
- Ground Truth: A total of 805 exhaustive evaluations (every model on every dataset) provide a gold standard for assessing ranking and prediction accuracy.
Key Insights and Results
The study reveals several critical findings:
- Geometry over Accuracy: Scores measuring class "separability" (G-scores) are more predictive of absolute performance than simple text-classification accuracy.
- Architecture Bias: ResNet-based models tend to produce more condensed class clusters, often performing better on datasets with low visual diversity (e.g., MNIST).
- Synthetic Stress Tests: LLM-generated "confusing" captions provide a more robust evaluation of VLM capabilities than simple class names.
In terms of performance, the combination of ImageNet benchmarks with text-derived scores (INB+G) achieved a Top-5 Recall of 0.548, a ~15% improvement over ImageNet-only selection. The best text-based baseline achieved a Mean Absolute Error ($L_1$) of 0.141 in predicting top-1 accuracy across all datasets, with an $R^2$ of 0.55.
Limitations and Future Directions
While promising, LOVM currently focuses on zero-shot classification. Future work is required to extend the framework to more complex tasks such as object detection and segmentation, and to account for performance after fine-tuning or few-shot prompting. Additionally, the method relies on the quality of LLM-generated text; improving robustness against variations in LLM output remains a key research direction.
For more details, visit the LOVM GitHub repository.
Summary updated