atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Demystifying CLIP Data

ICLR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: CLIP training recipes and data curation · 22 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Reverse-engineers CLIP's data curation via metadata-based sub-string matching and per-entry balancing (MetaCLIP), showing that curating CommonCrawl this way beats CLIP's WIT400M and LAION-400M under identical training budgets, scaling to 2.5B pairs for ViT-bigG at 82.1% ImageNet zero-shot.

Problem

CLIP's training data curation is undisclosed, and existing replications filter data with CLIP itself as a black-box teacher, which introduces biases and limits transparency and control over the data distribution.

Approach

Curate raw web image-text pairs without any model by matching texts against metadata entries (WordNet, Wikipedia unigrams/bigrams/titles) via sub-string matching and capping each entry's count at a threshold t via independent per-pair sampling, yielding a balanced data distribution over metadata.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use metadata-curated, balanced CommonCrawl data instead of CLIP's WIT400M dataViT-B/16 · ImageNet zero-shotaccuracy: 68.3 -> 70.8Helped
Use metadata-curated, balanced CommonCrawl data instead of CLIP's WIT400M dataViT-L/14 · ImageNet zero-shotaccuracy: 75.5 -> 76.2Helped
Scale curated training data from 400M to 1BMetaCLIP ViT-L/14 · ImageNet zero-shotaccuracy: 76.2 -> 79.0Helped
Scale curated training data from 400M to 2.5BMetaCLIP ViT-L/14 · ImageNet zero-shotaccuracy: 76.2 -> 79.2Helped
Change balancing threshold from t=20k to t=15k (ablation)MetaCLIP ViT-B/32 · ImageNet zero-shotaccuracy: 65.5 -> 65.5No clear effect
Change balancing threshold from t=20k to t=35k (ablation)MetaCLIP ViT-B/32 · Average accuracy across 26 tasksaccuracy: 58.2 -> 57.8Hurt
Remove balancing and train on the full matched pool (ablation)MetaCLIP ViT-B/32 · ImageNet zero-shotaccuracy: 65.5 -> 61.9Hurt
Remove balancing and train on the full matched pool (ablation)MetaCLIP ViT-B/32 · Average accuracy across 26 tasksaccuracy: 58.2 -> 56.6Hurt
Apply balancing online in the data loader (ablation)MetaCLIP ViT-B/32 · Average accuracy across 26 tasksaccuracy: 58.2 -> 58.5Helped
Increase training data from MetaCLIP 1B to 2.5BMetaCLIP ViT-L/14 · Average accuracy across 26 tasksaccuracy: 70.2 -> 69.8No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CommonCrawl WordNet English Wikipedia DataComp-12.8B

Benchmarks: ImageNet 26 zero-shot classification tasks (CLIP eval suite) DataComp 38-task benchmark ImageNet distribution shift and VTAB and retrieval suite

Metrics: zero-shot top-1 accuracy average accuracy KL-divergence human rating

Baselines: CLIP (WIT400M) OpenCLIP (LAION-400M) DataComp-1B curated data

Builds on: CLIP OpenCLIP LAION-400M

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy