Abstract
CLIPPR (CLIP with Priors) is a framework designed to enhance the accuracy of zero-shot vision-language models without requiring manually labeled data. By leveraging a "label distribution prior"—a statistical estimate of label frequency within a target dataset—CLIPPR trains a lightweight adapter to align model predictions with real-world expectations. This approach achieves significant performance gains, including a 28% error reduction in age regression and a nearly 3% improvement in ImageNet classification.
Introduction
Vision-Language (V&L) models like CLIP demonstrate remarkable zero-shot capabilities but often suffer from "distribution mismatch." Because CLIP is trained on massive, uncurated internet data, its internal biases may not align with the specific statistical profile of a target dataset. For instance, CLIP might over-represent certain age groups or object categories. Traditional solutions involve supervised fine-tuning or few-shot adaptation, both of which require expensive manual labeling. CLIPPR addresses the "source-free" scenario: adapting a pre-trained model to an unlabeled dataset using only prior statistical knowledge of that dataset.
Methodology
CLIPPR introduces a trainable adapter module on top of a frozen CLIP image encoder. The training process is entirely unsupervised, driven by two primary objectives:
- Semantic Consistency ($L_{labels}$): This objective ensures the adapter retains the original semantic knowledge of CLIP by keeping predictions close to the initial zero-shot pseudo-labels.
- Distributional Alignment ($L_{prior}$): This core innovation minimizes the distance between the distribution of batch predictions and a pre-defined "prior" distribution. For continuous tasks like age regression, the Wasserstein distance is employed; for categorical tasks like classification, KL-Divergence is used.
Additionally, the framework includes an Automatic Prompt Selection mechanism. Rather than manual prompt engineering, the system selects the text prompt whose zero-shot output distribution most closely matches the assumed prior, effectively identifying the "most truthful" prompt for the specific domain.
Experimental Results
The researchers evaluated CLIPPR on several benchmarks including UTKFace (age prediction), Stanford Cars (production year), ImageNet (1,000 classes), and CIFAR-10 (10 classes).
Key results include:
- Age Regression: On UTKFace, CLIPPR reduced the Mean Absolute Error (MAE) from 7.99 to 5.73, a 28% improvement that approaches supervised performance levels.
- ImageNet Classification: Accuracy improved by 2.83% over the baseline CLIP model without seeing a single label.
- CIFAR-10: The model reached 90% accuracy, effectively halving the gap between zero-shot CLIP and a fully supervised model.
Discussion and Limitations
CLIPPR demonstrates that statistical priors can serve as a powerful form of supervision. The method is computationally efficient and robust to minor inaccuracies in the assumed prior. However, it remains dependent on the base model having a baseline semantic understanding; if CLIP's initial predictions are purely random, the adapter cannot recover meaningful signal. Future work may explore multivariate regression and distribution matching within the embedding space rather than just the output labels.
Summary updated