Toward a Holistic Evaluation of Robustness in CLIP Models

Weijie Tu, Weijian Deng, Tom Gedeon · DOI

Introduction

Contrastive Language-Image Pre-training (CLIP) has fundamentally changed computer vision by enabling zero-shot generalization to diverse tasks. However, standard evaluations typically focus on a single dimension: top-1 accuracy on benchmarks like ImageNet. This narrow perspective often obscures critical vulnerabilities. This paper presents a comprehensive "stress test" for CLIP models, evaluating 84 zero-shot and 44 fine-tuned variants across six dimensions, including visual factor robustness, out-of-distribution (OOD) detection, and 3D awareness.

Methodology

The researchers conducted an extensive study to map the strengths and "blind spots" of the CLIP family. They analyzed the impact of several key variables:

  • Model Architecture: Comparing Vision Transformers (ViTs) against Convolutional Neural Networks (CNNs).
  • Training Distribution and Scale: Evaluating models trained on datasets like WIT and LAION, scaling from millions to billions of samples.
  • Fine-tuning Strategies: Comparing standard cross-entropy with contrastive fine-tuning (FLYP) and parameter-efficient methods like CoOp.
  • Evaluation Benchmarks: Utilizing ImageNet-X for visual factors, NINCO for OOD detection, and various 3D corruption datasets (3DCC).
Summary of evaluation dimensions, methodologies, and key findings across task, model, and data levels.

Key Findings

Visual Robustness and the Shape Bias Paradox

CLIP models generally outperform standard ImageNet-trained models on several visual factors, such as color and subcategory identification. However, they struggle significantly with object pose and partial views. A notable discovery is the "Shape Bias Paradox": while zero-shot CLIP models exhibit a human-like bias toward recognizing shapes, standard fine-tuning on ImageNet often destroys this trait, shifting the model toward a texture-based bias. Contrastive fine-tuning (FLYP) was found to be more effective at preserving this original shape bias.

Accuracy on specific visual factors vs. overall ImageNet-X accuracy. CLIP models show varying robustness across factors like pose and color.

Distribution Trumps Scale in OOD Detection

For Out-of-Distribution (OOD) detection, the source and quality of training data (e.g., WIT vs. LAION) are more critical than the sheer volume of data. Models trained on smaller, high-quality distributions frequently outperform larger models trained on noisier data. To facilitate cleaner evaluation, the authors introduced NINCO, a curated benchmark designed to minimize in-distribution contamination.

Architecture and 3D Awareness

Despite the industry shift toward Transformers, CNN-based CLIP models demonstrated superior stability. They proved significantly more robust to 3D-related corruptions (such as motion blur or fog) and performed better in geometric correspondence tasks than their ViT counterparts.

The Calibration Trade-off

Fine-tuning CLIP presents a significant trade-off. While it substantially improves raw classification accuracy, it frequently degrades model calibration. This leads to "overconfident" models that assign high probability to incorrect predictions. While data curation techniques like MetaCLIP and DFN improve OOD and classification performance, they often fail to mitigate—and sometimes worsen—this calibration error.

Conclusion

The study concludes that no single model or training paradigm currently excels across all robustness dimensions. There remains a persistent tension between achieving high accuracy and maintaining safety-critical features like reliable uncertainty estimates (calibration) and human-like shape bias. Future work must focus on fine-tuning methods that can enhance performance without sacrificing the inherent robustness found in zero-shot CLIP models.

Summary updated

BibTeX
@article{tu2026toward,
  author = {Weijie Tu and Weijian Deng and Tom Gedeon},
  title = {{Toward a Holistic Evaluation of Robustness in CLIP Models}},
  journal = {IEEE TPAMI},
  year = {2026},
  url = {https://openreview.net/forum?id=m9tPrVaONZ},
}
Figure