
CLIP
Multimodal964 ops151.3M params
CLIP model: an image encoder trained contrastively with a text encoder to match images and captions.
Multimodal · 913 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
BioCLIP is a foundation model for the tree of life, built using the CLIP architecture as a vision model for general organismal biology. It was trained on TreeOfLife-10M from OpenAI's ViT-B/16 checkpoint, using OpenCLIP's code.
CLIP, for Contrastive Language-Image Pre-training, learns image representations from captions instead of a fixed set of predetermined object categories. The pre-training task is to predict which caption goes with which image, on a dataset of 400 million (image, text) pairs collected from the internet.
An image encoder and a text encoder are trained jointly to maximize the cosine similarity of the image and text embeddings of the real pairs in a batch. Each encoder's representation is mapped into the multi-modal embedding space by a linear projection only. The paper considers two architectures for the image encoder, a ResNet-50 base and a Vision Transformer, and the text encoder is a Transformer. At test time the text encoder synthesizes a zero-shot linear classifier by embedding the names or descriptions of the target dataset's classes.
The paper trained a series of eight models, among them the Vision Transformers ViT-B/32, ViT-B/16 and ViT-L/14. It reports that the best CLIP model reaches 76.2% zero-shot accuracy on ImageNet, matching the original ResNet-50 while using none of the 1.28 million crowd-labeled training examples available for that dataset.
Key idea. CLIP showed that predicting which caption goes with which image, over 400 million image-text pairs, yields image representations that transfer zero-shot to downstream tasks through natural language.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{radford2021learningtransferablevisualmodels,
title={Learning Transferable Visual Models From Natural Language Supervision},
author={Alec Radford and Jong Wook Kim and Chris Hallacy and Aditya Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever},
year={2021},
eprint={2103.00020},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2103.00020},
}