[Paper Review] Data-Efficient Contrastive Language-Image Pretraining: Prioritizing Data Quality over Quantity
This paper proposes ClipCov, a theoretically grounded data selection method for contrastive language-image pretraining (CLIP) that prioritizes data quality over quantity by selecting subsets preserving the cross-covariance matrix of image-caption pairs. ClipCov achieves over 2.7x higher zero-shot accuracy on ImageNet and 1.5x higher average accuracy across 11 downstream datasets compared to the next best baseline, demonstrating superior data efficiency and generalization.
Contrastive Language-Image Pre-training (CLIP) on large-scale image-caption datasets learns representations that can achieve remarkable zero-shot generalization. However, such models require a massive amount of pre-training data. Improving the quality of the pre-training data has been shown to be much more effective in improving CLIP's performance than increasing its volume. Nevertheless, finding small subsets of training data that provably generalize the best has remained an open question. In this work, we propose the first theoretically rigorous data selection method for CLIP. We show that subsets that closely preserve the cross-covariance of the images and captions of the full data provably achieve a superior generalization performance. Our extensive experiments on ConceptualCaptions3M and ConceptualCaptions12M demonstrate that subsets found by \method\ achieve over 2.7x and 1.4x the accuracy of the next best baseline on ImageNet and its shifted versions. Moreover, we show that our subsets obtain 1.5x the average accuracy across 11 downstream datasets, of the next best baseline. The code is available at: https://github.com/BigML-CS-UCLA/clipcov-data-efficient-clip.
Motivation & Objective
- To address the challenge of identifying small, high-quality subsets of image-caption data that generalize best for CLIP pretraining.
- To overcome the limitations of existing data filtering methods that rely on heuristic similarity scores or clustering and lack theoretical guarantees.
- To establish a theoretically rigorous framework for data selection in multimodal contrastive learning, grounded in the cross-covariance matrix of image and text representations.
- To demonstrate that data efficiency in CLIP pretraining can be significantly improved by focusing on data quality rather than data volume.
- To validate the method on large-scale datasets like Conceptual Captions 3M and 12M, showing consistent performance gains across diverse downstream tasks.
Proposed method
- ClipCov formulates data selection as a subset selection problem that preserves the cross-covariance matrix between image and caption representations, based on theoretical insights from [24] linking CLIP representation learning to SVD of this matrix.
- The method defines an objective function that maximizes the similarity between the cross-covariance of the selected subset and that of the full training data.
- It introduces a differentiable relaxation of the subset selection problem using a continuous relaxation of the selection variables, enabling gradient-based optimization.
- The method incorporates auxiliary objectives: $F_{\text{inter}}(S)$ to promote diversity in selected samples, $F_{\text{label}}(S)$ to maintain class balance, and $F_{\text{class}}^{\text{reg}}(S)$ to regularize class distribution.
- The algorithm uses a proxy model (e.g., open-source CLIP) to compute image and caption features, then applies a greedy or relaxation-based optimization to select the subset.
- The final subset is obtained by thresholding the continuous selection variables, ensuring a fixed-size subset that preserves key statistical properties of the full data.

Experimental results
Research questions
- RQ1Can we identify a theoretically grounded method for selecting small image-caption subsets that guarantee superior zero-shot generalization in CLIP pretraining?
- RQ2Does preserving the cross-covariance matrix between image and caption representations lead to better downstream performance than heuristic filtering methods?
- RQ3How does the performance of ClipCov compare to state-of-the-art data filtering baselines (e.g., CLIP Score, C-RHO, SemDeDup) across multiple datasets and tasks?
- RQ4To what extent can data efficiency be improved by focusing on data quality, and how much data can be discarded without sacrificing performance?
- RQ5How robust is ClipCov to variations in the proxy model used for feature extraction?
Key findings
- ClipCov achieves over 2.7x higher zero-shot accuracy on ImageNet compared to the next best baseline (CLIP Score) when training on 5% of the Conceptual Captions 12M dataset.
- On distribution-shifted versions of ImageNet, ClipCov outperforms the next best baseline by 1.4x, demonstrating robustness to domain shift.
- Across 11 downstream datasets, ClipCov achieves 1.5x the average accuracy of the next best baseline, confirming its generalization capability.
- ClipCov maintains near-full performance even when training on only 30% of the data, with 50% of the data yielding no accuracy drop compared to full-data training.
- The ablation study confirms that all auxiliary objectives ($F_{\text{inter}}$, $F_{\text{label}}$, $F_{\text{class}}^{\text{reg}}$) improve performance when combined with the core cross-covariance objective.
- ClipCov outperforms CLIP Score regardless of the proxy model used, showing its robustness to variations in feature extraction models.

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.