AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Vision

    CLIP (2021)

    Learning Transferable Visual Models From Natural Language Supervision

    Learn images from 400 million captions found on the web, then classify anything you can name.

    Why it matters

    CLIP replaced fixed label sets with free text and showed that web captions are enough supervision for strong, general image features. Its encoders became a building block for text-to-image models and for image search. The paper also reported where zero-shot CLIP is weak, for example on satellite images such as EuroSAT.

    First page of “Learning Transferable Visual Models From Natural Language Supervision”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2021
    Authors
    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
    Venue
    ICML 2021
    Data
    ImageNet (ILSVRC), Flickr30k, EuroSAT

    The idea

    Train an image encoder and a text encoder together so that each image lands close to its own caption and far from the other captions in the batch. To classify, write each class as a sentence ("a photo of a dog") and pick the one closest to the image.

    The result

    76.2% zero-shot top-1 on ImageNet, matching the original ResNet-50 without using any of its 1.28 million labeled training images.

    images →captions ↓
    Image 1
    Image 2
    Image 3
    Image 4
    A person upside down on a water board.
    ✓
    A man is milling wood at a festival.
    ✓
    Asian people in a SuperMarket.
    ✓
    A girl is jumping.
    ✓
    CLIP's training objective on four Flickr30k images and their captions. The image and text encoders are trained so that each image scores highest with its own caption (the diagonal) and low with every other caption in the batch. CLIP did this with batches of 32,768 pairs from the web.

    The data

    ImageNet (ILSVRC)

    2009

    1.28 million photos across 1,000 classes, the dataset behind the deep learning boom. (12 years earlier)

    Flickr30k

    2014

    31,000 Flickr photos of people and everyday scenes, each with five written captions. (7 years earlier)

    Retrieval

    EuroSAT

    2017

    27,000 Sentinel-2 satellite tiles of Europe, 64×64 pixels, in 10 land-use classes. (4 years earlier)

    Remote sensing

    Builds on

    • ViT (2020): Cut an image into 16×16 patches, treat them as words, and a plain Transformer matches the best convolutional networks.
    • Transformer (2017): A translation model built only from attention, and the architecture behind every large language model since.

    Led to

    • Flamingo (2022): Bridged a frozen vision encoder and a frozen LLM with gated cross-attention so one model learns new visual tasks from a few examples in the prompt.
    • BLIP-2 (2023): Connected off-the-shelf frozen ViTs and frozen LLMs through a compact 188M-parameter Querying Transformer trained in two stages.
    • LLaVA (2023): Dropped complex multimodal adapters for a single linear projection from CLIP to an LLM, trained on 158k GPT-4-synthesized image conversations.
    • SAM (2023): A model that cuts out whatever you point at, in any image, trained on a billion masks.
    • SigLIP (2023): Replaced CLIP's batch-wide softmax contrastive loss with an independent pairwise sigmoid loss, training stronger vision encoders at smaller and larger batch sizes alike.
    • Molmo (2024): Matched proprietary frontier VLMs using only open weights and newly collected human speech captions and 2D pointing data—with zero distillation from closed VLMs.