CLIP / contrastive vision-language

Vision transformers · neural · 2021 · multimodal · images · text

What it is

Jointly embeds images and captions into one space with a contrastive objective, enabling zero-shot classification.

When to use it

Open-vocabulary classification, retrieval, and as the vision tower for nearly every VLM.

Caveats

It matches images to captions as a whole, so it is weak at counting, spatial relations and attribute binding. Zero-shot accuracy depends on prompt wording, it inherits biases from web data, and training needs very large batches.

Key ideas

  • Trains an image encoder and a text encoder so that matching pairs score highest
  • Learns from hundreds of millions of image-caption pairs from the web
  • Zero-shot classification by comparing an image with a text prompt for each class
  • Its embeddings are reused in text-to-image and vision-language models

Related architectures

Original paper

Learning Transferable Visual Models From Natural Language Supervision (2021, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted