Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning Transferable Visual Models From Natural Language Supervision

About

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.

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• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy76.94
3518
Image ClassificationCIFAR-10 (test)
Accuracy95.85
3381
Semantic segmentationADE20K (val)
mIoU47.8
2731
Object DetectionCOCO 2017 (val)
AP53.6
2454
Semantic segmentationPASCAL VOC 2012 (val)
Mean IoU57.2
2040
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy86.1
1866
Image ClassificationImageNet-1k (val)
Top-1 Accuracy80.5
1453
Image ClassificationImageNet (val)
Top-1 Acc76.2
1206
Visual Question AnsweringVQA v2
Accuracy78
1165
ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy (%)88.4
1155
Showing 10 of 3156 rows
...

Other info

Code

Follow for update