[Paper Review] Democratizing Contrastive Language-Image Pre-training: A CLIP Benchmark of Data, Model, and Supervision
This paper introduces CLIP-benchmark, a standardized evaluation framework for Contrastive Language-Image Pretraining (CLIP) that ensures fair comparison across methods by unifying data, training recipes, and supervision. It reveals that data quality significantly impacts performance, fine-grained supervision boosts ViT but harms ConvNets, and reducing the text encoder depth improves efficiency without sacrificing accuracy, culminating in DeFILIP, a new SOTA variant achieving 45.0% zero-shot top-1 accuracy on ImageNet.
Contrastive Language-Image Pretraining (CLIP) has emerged as a novel paradigm to learn visual models from language supervision. While researchers continue to push the frontier of CLIP, reproducing these works remains challenging. This is because researchers do not choose consistent training recipes and even use different data, hampering the fair comparison between different methods. In this work, we propose CLIP-benchmark, a first attempt to evaluate, analyze, and benchmark CLIP and its variants. We conduct a comprehensive analysis of three key factors: data, supervision, and model architecture. We find considerable intuitive or counter-intuitive insights: (1). Data quality has a significant impact on performance. (2). Certain supervision has different effects for Convolutional Networks (ConvNets) and Vision Transformers (ViT). Applying more proper supervision can effectively improve the performance of CLIP. (3). Curtailing the text encoder reduces the training cost but not much affect the final performance. Moreover, we further combine DeCLIP with FILIP, bringing us the strongest variant DeFILIP. The CLIP-benchmark would be released at: https://github.com/Sense-GVT/DeCLIP for future CLIP research.
Motivation & Objective
- Address the lack of fair comparison in CLIP research due to inconsistent data, training recipes, and supervision strategies.
- Establish a standardized benchmark (CLIP-benchmark) using consistent data and training protocols to enable reproducible and comparable evaluation of CLIP and its variants.
- Systematically analyze the impact of data quality, supervision signals, and model architecture—particularly the text encoder—on CLIP performance.
- Identify counter-intuitive findings, such as the negative effect of fine-grained supervision on ConvNets and the efficiency gains from reducing text encoder depth.
- Propose and validate DeFILIP, a new SOTA CLIP variant combining DeCLIP and FILIP, achieving 45.0% zero-shot accuracy on ImageNet.
- Release the CLIP-benchmark to the public to democratize CLIP research and reduce redundant data curation.
Proposed method
- Construct a unified training recipe using the same hyperparameters, optimization schedule, and data augmentation across all evaluated methods.
- Use two versions of YFCC15M—V1 (filtered by CLIP) and V2 (filtered by DeCLIP)—to compare data quality effects under identical training conditions.
- Apply multiple supervision signals: self-supervision (SLIP), multi-view supervision (DeCLIP), nearest-neighbor supervision (DeCLIP), and fine-grained alignment (FILIP) to assess their impact.
- Systematically ablate the text encoder by varying its depth from 1 to 12 layers while keeping the image encoder fixed (ViT-B/32) to study its influence on performance and training cost.
- Combine the most effective supervision signals—aggregating self-supervision, multi-view, nearest-neighbor, and fine-grained alignment—into a new model, DeFILIP.
- Release the CLIP-benchmark codebase on GitHub to ensure reproducibility and facilitate future research.
Experimental results
Research questions
- RQ1How does the quality of image-text data, specifically between YFCC15M-V1 and YFCC15M-V2, affect CLIP's zero-shot performance?
- RQ2What is the impact of different supervision signals—self-supervision, multi-view, nearest-neighbor, and fine-grained alignment—on CLIP performance across different image encoders?
- RQ3Why does fine-grained alignment supervision degrade performance on ConvNets but improve it on Vision Transformers?
- RQ4How does reducing the depth of the text encoder affect CLIP performance and training efficiency?
- RQ5What is the optimal combination of supervision signals and model architecture that maximizes CLIP performance under standardized training conditions?
- RQ6How can a unified benchmark be established to enable fair and reproducible evaluation of CLIP methods?
Key findings
- YFCC15M-V2, filtered by DeCLIP, yields significantly better zero-shot performance than YFCC15M-V1, with a 6.7% absolute improvement on ImageNet for CLIP-ViT-B32 (32.8% vs. 26.1%).
- Fine-grained alignment supervision improves ViT-based CLIP models by 6.7% (from 32.8% to 39.5%) but harms ConvNet-based models, suggesting architectural incompatibility.
- Reducing the text encoder from 12 to 3 layers improves training efficiency without performance loss; a 3-layer text encoder achieves 34.2% accuracy on CLIP-ViT-B32, outperforming the 12-layer version (32.8%).
- DeFILIP, a combination of DeCLIP and FILIP with all four supervision signals, achieves 45.0% zero-shot top-1 accuracy on ImageNet, surpassing the CLIP baseline by 12.2%.
- Even with a 1-layer text encoder, DeFILIP achieves 39.7% accuracy, demonstrating that lightweight text encoders are viable without sacrificing performance.
- Data quality is a critical factor: V2’s more meticulous filtering process results in better-balanced, higher-quality data, as evidenced by lower non-English token ratios and more uniform caption lengths.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.