Papers › Learning Transferable Visual Models From Natural Language Supervision

Learning Transferable Visual Models From Natural Language Supervision

26 Feb 2021arXiv:2103.00020archive 2025-07-28

Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, Ilya Sutskever

State-of-the-art computer vision systems are trained to predict a fixed set of predetermined object categories. This restricted form of supervision limits their generality and usability since additional labeled data is needed to specify any other visual concept. Learning directly from raw text about images is a promising alternative which leverages a much broader source of supervision. We demonstrate that the simple pre-training task of predicting which caption goes with which image is an efficient and scalable way to learn SOTA image representations from scratch on a dataset of 400 million (image, text) pairs collected from the internet. After pre-training, natural language is used to reference learned visual concepts (or describe new ones) enabling zero-shot transfer of the model to downstream tasks. We study the performance of this approach by benchmarking on over 30 different existing computer vision datasets, spanning tasks such as OCR, action recognition in videos, geo-localization, and many types of fine-grained object classification. The model transfers non-trivially to most tasks and is often competitive with a fully supervised baseline without the need for any dataset specific training. For instance, we match the accuracy of the original ResNet-50 on ImageNet zero-shot without needing to use any of the 1.28 million training examples it was trained on. We release our code and pre-trained model weights at https://github.com/OpenAI/CLIP.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.00020")

Code

Syntology Ran 16 of 20 code samples harvested from 6 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 10 ran · our draft was wrong; 4 ran · fixture could not drive it.

By repository: community (archive-listed): 10 samples from 6 repositories, 9 ran; 10 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

82 repositories listed; official and paper-mentioned ones first.

openai/CLIP officialmentioned in papermentioned on GitHubpytorch report
AndresPMD/Clip_CMR mentioned on GitHubpytorch report
FreddeFrallan/Multilingual-CLIP mentioned on GitHubpytorchMIT report
Gahyeonkim09/AAPL mentioned on GitHubpytorchMIT report
IMvision12/keras-vision-models mentioned on GitHubpytorch report
Kaushalya/medclip mentioned on GitHubjax report
NYU-DICE-Lab/open_clip mentioned on GitHubpytorch report
SforAiDl/CountCLIP mentioned on GitHubpytorch report
YvanG/VQGAN-CLIP mentioned on GitHubpytorch report
ZackPashkin/text2cartoon-pytorch-CLIP mentioned on GitHubpytorch report
ai-forever/ru-clip mentioned on GitHubpytorch report
ajayjain/vectorascent mentioned on GitHubpytorch report
apple/ml-mobileclip mentioned on GitHubpytorch report
armaank/archlectures mentioned on GitHubpytorch report
azshue/TPT mentioned on GitHubpytorch report
baskargroup/Arboretum mentioned on GitHubpytorchNOASSERTION report
baskargroup/biotrove mentioned on GitHubpytorchNOASSERTION report
bespontaneous/proteus-pytorch mentioned on GitHubpytorchMIT report
borisdayma/clip-jax mentioned on GitHubjaxApache-2.0 report
brown-palm/ObjectPrompt mentioned on GitHubpytorchMIT report
bruthyu/bpt-vlm mentioned on GitHubpytorch report
buyeah1109/KEN mentioned on GitHubpytorch report
buyeah1109/finc mentioned on GitHubpytorch report
clip-italian/clip-italian mentioned on GitHubjax report
dhansmair/flamingo-mini mentioned on GitHubpytorch report
eify/open_clip mentioned on GitHubpytorchNOASSERTION report
eps696/aphantasia mentioned on GitHubpytorch report
ericyinyzy/vlattack mentioned on GitHubtfBSD-3-Clause report
facebookresearch/brainmagick mentioned on GitHubpytorch report
facebookresearch/clip-rocket mentioned on GitHubpytorch report
facebookresearch/vissl mentioned on GitHubpytorch report
fastscience-ai/medflamingo mentioned on GitHubpytorch report
filipbasara0/simple-clip mentioned on GitHubpytorch report
giantseaweed/decree mentioned on GitHubpytorch report
iejMac/ScriptWriter mentioned on GitHubpytorch report
jhaprince/multibully mentioned on GitHubpytorch report
klemens-floege/oneprot mentioned on GitHubpytorch report
kynkaat/role-of-imagenet-classes-in-fid mentioned on GitHubpytorchNOASSERTION report
leolee99/CLIP_ITM mentioned on GitHubpytorch report
lunaproject22/rpa mentioned on GitHubpytorchApache-2.0 report
mainaksingha01/applenet mentioned on GitHubpytorch report
mainaksingha01/odg-clip mentioned on GitHubpytorch report
mertyg/post-hoc-cbm mentioned on GitHubpytorch report
michi-3000/eyeclip mentioned on GitHubpytorch report
minhanh151/pre mentioned on GitHubpytorch report
minhanh151/respro mentioned on GitHubpytorch report
ml-jku/cloob mentioned on GitHubpytorch report
mlbio-epfl/turtle mentioned on GitHubpytorch report
mlfoundations/open_clip mentioned on GitHubpytorch report
moein-shariatnia/OpenAI-CLIP mentioned on GitHubpytorch report
muzairkhattak/multimodal-prompt-learning mentioned on GitHubpytorchMIT report
nahidalam/open_clip mentioned on GitHubpytorchNOASSERTION report
nopperl/clip_arxiv_pmc mentioned on GitHub report
prabhupad26/100daysofML mentioned on GitHubpytorch report
pseulki/rococo mentioned on GitHubpytorch report
ramanakshay/clip mentioned on GitHubpytorch report
redcaps-dataset/redcaps-downloader mentioned on GitHubpytorchMIT report
rinnakk/japanese-clip mentioned on GitHubpytorch report
s-a-malik/multi-few mentioned on GitHubpytorch report
sajjjadayobi/CLIPfa mentioned on GitHubpytorch report
salesforce/pb-ovd mentioned on GitHubpytorchBSD-3-Clause report
sberbank-ai/ru-clip mentioned on GitHubpytorch report
shivammehta25/clip mentioned on GitHubpytorch report
shunk031/simple-aesthetics-predictor mentioned on GitHubpytorch report
sincerass/mvlpt mentioned on GitHubpytorchMIT report
sithu31296/simple-object-tracking mentioned on GitHubpytorchMIT report
taited/clip-score mentioned on GitHubpytorch report
ylqi/count-anything mentioned on GitHubpytorch report
yuuun/clip_pytorch mentioned on GitHubpytorch report
zhangxu0963/npc mentioned on GitHubpytorch report
alibaba/EasyNLP jaxApache-2.0 report
pwc-1/Paper-8 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
10ran · our draft was wrong
4ran · fixture could not drive it
4unverified

Licence: 16 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

contrastive_loss filipbasara0/simple-clip/simple_clip/clip.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 4ea4d130ce4030a1 · report
cross_entropy moein-shariatnia/OpenAI-CLIP/CLIP.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 63e6e57b587c3aa8 · report
domain_text_loss mainaksingha01/odg-clip/pacs.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 7f39fa83f26c97c7 · report
lanczos YvanG/VQGAN-CLIP/CLIP_VQGAN.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 1c4b58a58ab65b12 · report
misc_measures michi-3000/eyeclip/zero_shot.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 1b17b45e4d751423 · report
ramp YvanG/VQGAN-CLIP/CLIP_VQGAN.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 8c580a6820115461 · report
siglip_loss filipbasara0/simple-clip/simple_clip/clip.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 67c4ef5004396e02 · report
sinc YvanG/VQGAN-CLIP/CLIP_VQGAN.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 86a64cd8e1771cc5 · report
trace_model NYU-DICE-Lab/open_clip/src/open_clip/model.py community (archive-listed) ran · our draft was wrong licence not identified · pointer only · 8e95157106d1df8c · report
build_model_from_openai_state_dict NYU-DICE-Lab/open_clip/src/open_clip/model.py community (archive-listed) unverified licence not identified · pointer only · 903b104e9c495329 · report
accuracy identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · 2e59707d16d21473 · report
avg_entropy identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 441ae80dd4f616f3 · report
convert_to_custom_text_state_dict identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · f19962ebb134b3d7 · report
get_cast_dtype identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · dcd422d66b0581d8 · report
get_input_dtype identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · b476c8cfbf0f1f47 · report
mean_per_class identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · f0eb8193f86d363b · report
select_confident_samples identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 3ce4d11e58de02ad · report
has_ddp_wrapper identical code first harvested elsewhere unverified licence of this copy not recorded · 1cd2728a84872357 · report
remove_ddp_wrapper identical code first harvested elsewhere unverified licence of this copy not recorded · f565e9c6316d8c64 · report
test_time_tuning identical code first harvested elsewhere unverified licence of this copy not recorded · 631c70c26c0fcedf · report

Tasks

Action RecognitionBenchmarkingFew-Shot Image ClassificationHateful Meme ClassificationImage ClassificationImage-to-Text RetrievalLong-tail LearningMeme ClassificationNatural Language UnderstandingObject CategorizationObject RecognitionOpen Vocabulary Attribute DetectionOut-of-Distribution GeneralizationPreference MappingPrompt EngineeringSemi-Supervised Image ClassificationTemporal Relation ExtractionText GenerationText-based Person Retrieval with Noisy CorrespondenceVisual ReasoningZero-Shot Cross-Modal RetrievalZero-Shot LearningZero-Shot Transfer Image ClassificationZero-shot Text-to-Image Retrievalgeo-localization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Action Recognition RareAct CLIP mWAP 40.7 #2 of 3 Archive leaderboard report
Few-Shot Image Classification ImageNet - 0-Shot CLIP (ViT B/32) Accuracy 63.2% #2 of 5 Archive leaderboard report
Few-Shot Image Classification ImageNet - 0-Shot CLIP (ResNet50) Accuracy 59.6% #3 of 5 Archive leaderboard report
Hateful Meme Classification Harm-P CLIP Accuracy 80.6 #5 of 5 Archive leaderboard report
Hateful Meme Classification Harm-P CLIP F1 80.3 #5 of 5 Archive leaderboard report
Hateful Meme Classification PrideMM CLIP (fine-tuned) Accuracy 72.4 #7 of 7 Archive leaderboard report
Hateful Meme Classification PrideMM CLIP (fine-tuned) F1 72.3 #7 of 7 Archive leaderboard report
Image Classification ObjectNet CLIP Top-1 Accuracy 72.3 #10 of 106 Archive leaderboard report
Image Classification OmniBenchmark CLIP-RN50 Average Top-1 Accuracy 42.1 #5 of 22 Archive leaderboard report
Image-to-Text Retrieval COCO (Common Objects in Context) CLIP (zero-shot) Recall@1 58.4 #5 of 9 Archive leaderboard report
Image-to-Text Retrieval COCO (Common Objects in Context) CLIP (zero-shot) Recall@10 88.1 #5 of 9 Archive leaderboard report
Image-to-Text Retrieval COCO (Common Objects in Context) CLIP (zero-shot) Recall@5 81.5 #5 of 9 Archive leaderboard report
Long-tail Learning COCO-MLT CLIP(ViT-B/16) Average mAP 60.17 #2 of 13 Archive leaderboard report
Long-tail Learning COCO-MLT CLIP(ResNet-50) Average mAP 56.19 #5 of 13 Archive leaderboard report
Long-tail Learning VOC-MLT CLIP(ViT-B/16) Average mAP 85.77 #2 of 13 Archive leaderboard report
Long-tail Learning VOC-MLT CLIP(ResNet-50) Average mAP 84.30 #4 of 13 Archive leaderboard report
Meme Classification Hateful Memes CLIP (zero-shot) ROC-AUC 0.661 #17 of 17 Archive leaderboard report
Meme Classification MultiOFF CLIP Accuracy 62.4 #4 of 5 Archive leaderboard report
Meme Classification MultiOFF CLIP F1 48.1 #4 of 5 Archive leaderboard report
Object Categorization GRIT CLIP Categorization (ablation) 48.1 #3 of 4 Archive leaderboard report
Object Recognition shape bias CLIP (ViT-B) shape bias 79.9 #6 of 18 Archive leaderboard report
Open Vocabulary Attribute Detection OVAD-Box benchmark CLIP VIT-B16 mean average precision 16.6 #7 of 7 Archive leaderboard report
Prompt Engineering Caltech-101 CLIP Harmonic mean 95.40 #14 of 14 Archive leaderboard report
Prompt Engineering DTD CLIP Harmonic mean 56.37 #14 of 14 Archive leaderboard report
Prompt Engineering EuroSAT CLIP Harmonic mean 60.03 #14 of 14 Archive leaderboard report
Prompt Engineering FGVC-Aircraft CLIP Harmonic mean 31.09 #13 of 14 Archive leaderboard report
Prompt Engineering ImageNet CLIP Harmonic mean 70.22 #15 of 15 Archive leaderboard report
Prompt Engineering ImageNet V2 CLIP Top-1 accuracy % 60.83 #8 of 8 Archive leaderboard report
Prompt Engineering ImageNet-A CLIP Top-1 accuracy % 47.77 #9 of 9 Archive leaderboard report
Prompt Engineering ImageNet-R CLIP Top-1 accuracy % 73.96 #9 of 9 Archive leaderboard report
Prompt Engineering ImageNet-S CLIP Top-1 accuracy % 46.15 #9 of 9 Archive leaderboard report
Prompt Engineering Oxford 102 Flower CLIP Harmonic mean 74.83 #14 of 14 Archive leaderboard report
Prompt Engineering Oxford-IIIT Pet Dataset CLIP Harmonic mean 94.12 #14 of 14 Archive leaderboard report
Prompt Engineering SUN397 CLIP Harmonic mean 72.23 #14 of 14 Archive leaderboard report
Prompt Engineering Stanford Cars CLIP Harmonic mean 68.65 #14 of 14 Archive leaderboard report
Prompt Engineering UCF101 CLIP Harmonic mean 73.85 #14 of 14 Archive leaderboard report
Semi-Supervised Image Classification ImageNet - 0.2% labeled data CLIP (ResNet-50) ImageNet Top-1 Accuracy 40% #3 of 3 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence CUHK-PEDES CLIP-C Rank 10 90.89 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence CUHK-PEDES CLIP-C Rank-1 66.41 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence CUHK-PEDES CLIP-C Rank-5 85.15 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence CUHK-PEDES CLIP-C mAP 59.36 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence CUHK-PEDES CLIP-C mINP 43.02 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence ICFG-PEDES CLIP-C Rank 1 55.25 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence ICFG-PEDES CLIP-C Rank-10 81.32 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence ICFG-PEDES CLIP-C Rank-5 74.76 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence ICFG-PEDES CLIP-C mAP 31.09 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence ICFG-PEDES CLIP-C mINP 4.94 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence RSTPReid CLIP-C Rank 1 54.45 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence RSTPReid CLIP-C Rank 10 86.70 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence RSTPReid CLIP-C Rank 5 77.80 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence RSTPReid CLIP-C mAP 42.58 #4 of 6 Archive leaderboard report
Text-based Person Retrieval with Noisy Correspondence RSTPReid CLIP-C mINP 21.38 #4 of 6 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Image-to-text R@1 58.4 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Image-to-text R@10 88.1 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Image-to-text R@5 81.5 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Text-to-image R@1 37.8 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Text-to-image R@10 72.2 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval COCO 2014 CLIP Text-to-image R@5 62.4 #15 of 18 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Image-to-text R@1 88.0 #15 of 22 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Image-to-text R@10 99.4 #15 of 22 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Image-to-text R@5 98.7 #15 of 22 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Text-to-image R@1 68.7 #15 of 22 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Text-to-image R@10 95.2 #15 of 22 Archive leaderboard report
Zero-Shot Cross-Modal Retrieval Flickr30k CLIP Text-to-image R@5 90.6 #15 of 22 Archive leaderboard report
Zero-Shot Learning COCO-MLT ResNet-50 Average mAP 56.19 #1 of 2 Archive leaderboard report
Zero-Shot Learning COCO-MLT ViT-B/16 Average mAP 60.17 #2 of 2 Archive leaderboard report
Zero-Shot Learning VOC-MLT CLIP(ResNet-50) Average mAP 84.30 #1 of 2 Archive leaderboard report
Zero-Shot Learning VOC-MLT CLIP(ViT-B/16) Average mAP 85.77 #2 of 2 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet CLIP(ViT-L/14-336px) Accuracy (Private) 76.2 #17 of 23 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet CLIP (ResNet50) Accuracy (Private) 59.6 #21 of 23 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet CLIP Accuracy (Public) 31.3 #23 of 23 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet V2 CLIP Accuracy (Private) 70.1 #11 of 13 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet V2 CLIP Accuracy (Public) - #11 of 13 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet-A CLIP Accuracy (Private) 77.2 #10 of 13 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet-A CLIP Accuracy (Public) - #10 of 13 Archive leaderboard report
Zero-Shot Transfer Image Classification ImageNet-R CLIP Accuracy 88.9 #10 of 12 Archive leaderboard report
Zero-Shot Transfer Image Classification ObjectNet CLIP Accuracy (Private) 72.3 #8 of 9 Archive leaderboard report
Zero-Shot Transfer Image Classification ObjectNet CLIP Accuracy (Public) - #8 of 9 Archive leaderboard report
Zero-Shot Transfer Image Classification SUN CLIP Accuracy 58.5 #2 of 3 Archive leaderboard report
Zero-Shot Transfer Image Classification aYahoo CLIP Accuracy 98.4 #1 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: CLIP

3D CNNCLIP

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections