Data-Efficient Contrastive Language-Image Pretraining: Prioritizing Data Quality over Quantity

Siddharth Joshi, Arnav Jain, Ali Payani, Baharan Mirzasoleiman
3/18/2024
cs.CVcs.LG

Official code: BigML-CS-UCLA/clipcov-data-efficient-clip (10 stars, last commit 2024-04-26).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for AISTATS Eff MML

100Jupyter NotebookDec 5, 20232 years ago

Cite this paper

@article{joshi2024dataefficient,
  title  = {Data-Efficient Contrastive Language-Image Pretraining: Prioritizing Data Quality over Quantity},
  author = {Siddharth Joshi and Arnav Jain and Ali Payani and Baharan Mirzasoleiman},
  year   = {2024},
  eprint = {2403.12267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.12267v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.12267.svg)](https://codeofpaper.com/paper/2403.12267)

Discussion