PAPER REPORTENAll readings ↗

Learning Transferable Visual Models From Natural Language Supervision

English reading report: Method, equations, original figures, experiments and reproducibility.

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

Affiliations: OpenAI, San Francisco, CA 94110, USA

Source: ICML 2021 · ref-6f620ba80d9567d982a6 ↗ · Catalog record

Reading: 503 / 558 · 6 original figures & tables · ~19 min ·

1. Paper overview

In one sentence: Learning which image and text belong together creates a language-defined visual classifier, but broad transfer still depends on data coverage, label design and evaluation protocol. pairingzero-shotobjective-diagnosticinitial-resultstransfer-profilerepresentationsrobustnesssupplement-scope

At a glanceWhat to know
Research problem
Source description

Fixed-label visual supervision ties a model to predetermined categories. CLIP asks whether naturally occurring image–text pairs can teach reusable concepts whose downstream tasks are specified through language. Here, zero-shot means transfer to unseen datasets; it does not establish that every test concept was absent from pre-training. identityzero-shotoverlap

Core mechanism
Source description

The contribution is a scalable combination of web image–text data, symmetric contrastive learning and language-defined classifiers. The authors position scale and behavioral analysis as central, acknowledging earlier natural-language supervision and contrastive objectives. identitydatasetpairing

A key reported resultZero-shot ImageNet classification: 76.2%

Top-1 accuracy. ViT-L/14@336px; ImageNet evaluation, with validation-set identity explicit in Figure 7; no classifier fitting on ImageNet training labels.

Visual N-Grams: 11.5%; the paper compares CLIP with the original supervised ResNet50. A strong transfer result; differences in data, architecture and training prevent an objective-only attribution. Table 1 supplies no uncertainty. pretraininginitial-resultsrobustness

Reading caution
Source description

Authors acknowledge repeatedly consulting validation sets and choosing a 27-dataset suite co-adapted with CLIP. Zero-shot parameter transfer therefore coexists with development-time evaluation feedback. Counting, traffic signs, satellite imagery and medical imagery expose task-specific weaknesses. limitationstransfer-profile

Core contributions

  • Source description

    The contribution is a scalable combination of web image–text data, symmetric contrastive learning and language-defined classifiers. The authors position scale and behavioral analysis as central, acknowledging earlier natural-language supervision and contrastive objectives. identitydatasetpairing

  • Reader analysis

    Separate evaluations test zero-shot task transfer, supervised linear-probe representation quality and robustness under natural distribution shifts. These protocols answer different questions and must remain separate. zero-shotfew-shotrepresentationsrobustness

Figure 1. Pair alignment during pre-training becomes a reusable classifier interface. Original paper, p. 2 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. Start on the left with the two separate input streams. Text embeddings occupy the columns and image embeddings the rows; the blue diagonal marks the pairings actually observed in the training batch. Figure 3 confirms that these embeddings are normalized and scored in both cross-entropy directions. Now follow the upper-right branch: class names enter a prompt template and the same text encoder produces classifier vectors. In the lower-right branch, the new image is compared with those vectors, and the selected text describes the prediction. The arrows depict encoding and scoring, not iterative planning or image generation. pairingzero-shot

What it supports. The key reuse is the shared embedding geometry: a text encoder trained to distinguish paired captions can also encode descriptions of candidate classes. The test-time class set can therefore change without fitting a new classifier to task-specific image labels. Figure 1 connects that interface directly to the training objective.

Where the evidence stops. The diagram omits normalization and learned logit scaling, which are explicit in Figure 3. Its class-description output is a selected alternative, not a generated caption or executable action. Prompt and class-set choices remain part of the evaluation.

2. Motivation

2.1 The problem and the proposed response

Source description

Fixed-label visual supervision ties a model to predetermined categories. CLIP asks whether naturally occurring image–text pairs can teach reusable concepts whose downstream tasks are specified through language. Here, zero-shot means transfer to unseen datasets; it does not establish that every test concept was absent from pre-training. identityzero-shotoverlap

2.2 What this reading follows

CLIP changes how a visual task is specified: a researcher can supply class descriptions instead of fitting a new classifier from labeled images. Its image and text encoders learn compatible representations from Internet pairs, and their similarity becomes the classification score. This edition follows that mechanism through the objective diagnostic, the original zero-shot comparison, uneven transfer across tasks, supervised representation tests and natural distribution shifts. The distinctions matter: a useful embedding, a successful zero-shot classifier and a robust model are related achievements with different evidence. The supplied ICML proceedings paper supports all three, while leaving detailed supplementary protocols outside this reading. pairingzero-shotobjective-diagnosticinitial-resultstransfer-profilerepresentationsrobustnesssupplement-scope

3. Research context

We place the paper in the collection through its world–action interface. The catalog labels and the reading’s assessment are shown separately.

Catalog dimensionRecorded classification
Major categoryFoundational work
ArchitectureNot applicable
Prediction paradigmNot applicable
QuadrantNot applicable

This table preserves the labels recorded at reading time. The current major category is Components of WAMs. View the current classification.

3.1 Evidence-based assessment

Supports the recorded classification

Reader analysis

The foundational visual-encoder and language/VLM-backbone categories fit the contrastively aligned image and text encoders. World-action architecture, prediction paradigm and quadrant are correctly not applicable: there is no future-state predictor, joint future/action head, inverse-dynamics action extractor or control policy. Joint encoder training alone does not establish a One Model world-action system. pairingzero-shot

This is the collection’s architectural analysis, not a new related-work survey. Benchmark comparisons and their protocols appear in Section 6.

4. Problem formulation

4.1 Inputs and outputs

InputsOutputs
  • Training: aligned Internet image–text pairs from WIT.
  • Zero-shot inference: an image and candidate class names or prompted descriptions.
  • Normalized visual/text embeddings and image–text similarity scores.
  • A selected candidate class; linear-probe experiments instead fit a supervised classifier on image features.

4.2 Equations and their role

logits=IeTeTexp(t),loss=lossi+losst2\mathrm{logits}=I_eT_e^{\mathsf{T}}\exp(t),\qquad \mathrm{loss}=\frac{\mathrm{loss}_i+\mathrm{loss}_t}{2}
This transcribes Figure 3. I_e and T_e are matrices of normalized, linearly projected image and text embeddings; t is the learned log-scale parameter. loss_i and loss_t are cross-entropies along the two similarity-matrix axes, using corresponding batch indices as labels. Averaging them trains both matching directions. pairing

5. Method in detail

5.1 Turn a batch into two matching problems

Source description

A CLIP batch supplies aligned image–text pairs, so the pair index itself becomes a training label. Each encoder extracts features independently, learned linear maps put the features into a common space, and L2 normalization makes their dot products cosine similarities. The full matrix asks two questions: which text belongs to each image, and which image belongs to each text? Figure 3 implements both with cross-entropy and averages their losses. Its learned exp(t) multiplier controls the logit scale without changing which pair has the highest cosine similarity. This is the mechanistic reason to inspect both the architecture and pseudocode: Figure 1 shows the information flow, while Figure 3 specifies the normalized scoring rule and symmetric supervision. Both encoders learn from this objective; no future-state or action target is introduced. pairingpretraining

5.2 Use language to specify the decision boundary

Source description

After pre-training, a target dataset supplies class alternatives rather than new image–text training batches. The text encoder transforms those class descriptions into vectors, and the image encoder provides the vector to compare against them. A template such as the one in Figure 1 supplies context for an otherwise bare class name; Section 2.5 also describes exploring ensembles of templates. This explains why zero-shot classification and linear probing are separate evaluations. A linear probe learns its class weights from labeled examples on fixed visual features, whereas the zero-shot classifier obtains them through language. Figure 5 makes the distinction concrete: on its 20-dataset subset, zero-shot CLIP matches approximately four-shot logistic regression on the same representations. The authors suggest that language communicates the intended concept more directly than a few ambiguous examples. zero-shotfew-shotpairing

5.3 Keep transfer, representation quality and robustness separate

Reader analysis

Reader interpretation: the experimental argument is strongest when each protocol retains its own question. Table 1 establishes a useful language-defined classifier but does not control the many changes from Visual N-Grams. Figure 4 asks how that classifier compares with a supervised ResNet50-feature baseline and reveals substantial failures as well as wins. Figure 6 removes language-defined classification from the comparison by fitting linear probes, testing the usefulness of the image representations. Figure 7 then conditions the robustness comparison on ImageNet performance to distinguish improved shift behavior from an ordinary accuracy gain. Together these results support broad visual transfer, not a universal capability claim. Validation-set consultation, suite co-adaptation and missing supplementary details further bound the conclusions. None of these experiments evaluates a learned dynamics model or an executed control policy. initial-resultstransfer-profilerepresentationsrobustnesslimitationssupplement-scopepairing

5.4 Training and inference

During training

Source description

Both encoders train from scratch. CLIP removes nonlinear projection heads and sentence subsampling; random square crops are its stated image augmentation. The similarity scale is learned. Masked text attention permits a future language-modeling auxiliary loss, but that loss is not part of the reported method. pairingpretrainingtext-encoder

Source description

The study trains five ResNets and three ViTs. RN50x64 takes 18 days on 592 V100 GPUs; the largest ViT takes 12 days on 256 V100s. ViT-L/14 receives an additional epoch at 336-pixel resolution. Unless specified otherwise, reported CLIP results use ViT-L/14@336px. pretraining

During inference

Reader analysis

Zero-shot prediction scores supplied label alternatives using pretrained encoders. Linear probing separately evaluates supervised classifiers on fixed image features. Neither procedure predicts future states or extracts executable actions; the method contains no environment-feedback control loop. pairingzero-shotrepresentations

5.5 Implementation flow

  1. Collect broad but query-shaped supervision

    WIT contains 400 million pairs. Collection searches 500,000 textual queries and caps each at 20,000 pairs for approximate balance. Queries combine Wikipedia-derived terms and WordNet synsets. This supplies broad supervision while retaining collection-dependent coverage. dataset

  2. Encode each modality independently

    The image branch is a modified ResNet or ViT. ResNets use antialiasing and attention pooling; ViTs add pre-transformer layer normalization. The base text transformer has 12 layers, width 512 and 8 heads. Lower-cased BPE text is bracketed by SOS/EOS; the final EOS representation is normalized and projected. image-encodertext-encoder

  3. Learn paired geometry

    Linear projections map both branches into one embedding space and L2 normalization enables cosine scoring. Every image is compared with every text in its batch. Original pairs form the diagonal targets; all other pairings serve as negatives in a symmetric cross-entropy objective. pairing

  4. Construct the downstream classifier

    Embed class descriptions, encode the query image and select the most probable pairing. Figure 1 uses the template “A photo of a {object}.” The paper also explores multiple templates. Classifier construction reuses the learned alignment without downstream parameter fitting. zero-shot

6. Experiments & results

CLIP learns image and text embeddings by identifying paired examples in Internet data, then turns natural-language class descriptions into a visual classifier. Its strongest model reaches 76.2% ImageNet accuracy without fitting on ImageNet training labels. Transfer breadth and natural-shift robustness are substantial, but specialized tasks, evaluation co-adaptation and missing supplementary protocols limit the conclusions.

Source and visual limitations
Reader analysis

The supplied proceedings PDF contains seven figures and one quantitative table; six original visuals are included, with Figure 2 serving as the objective diagnostic. Full hyperparameter tables, individual per-dataset linear-probe scores, detailed evaluation protocols and expanded overlap/impact analyses are deferred to a separate supplement absent from this snapshot. This edition cannot visually verify those missing details or infer them from another version. supplement-scopeobjective-diagnosticrepresentations

6.1 Read the original evidence

Table 1. The original table establishes a large zero-shot transfer improvement. Original paper, p. 4 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. Read down each column to compare the two methods on the same named benchmark. For aYahoo the table gives 72.4 for Visual N-Grams and 98.4 for CLIP; for ImageNet, 11.5 and 76.2; for SUN, 23.0 and 58.5. Section 3.1 identifies the ImageNet result as accuracy and relates CLIP to the original supervised ResNet50. Section 2.4 identifies the default CLIP checkpoint as ViT-L/14@336px. Keep these rows separate from the supervised linear-probe results later in the paper: here the class predictor is constructed from text. The small table contains no per-run uncertainty or detailed split definitions. initial-resultspretrainingzero-shot

What it supports. The headline ImageNet result is 76.2% zero-shot top-1 accuracy, versus 11.5% for Visual N-Grams. This makes the language-defined classifier practically consequential in the reported setting. Its significance comes from transferring pretrained alignment without fitting the downstream ImageNet classifier on its training labels.

Where the evidence stops. The authors explicitly warn that data, architectures and training differ across these methods. This historical comparison cannot isolate the contrastive loss. Exact aYahoo and SUN split/metric details are not supplied in this table and are not reconstructed from another edition.

Figure 4. Broad transfer includes large wins and substantial task-specific deficits. Original paper, p. 5 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. Use the vertical zero line as the reference. Green bars to the right favor zero-shot CLIP; blue bars to the left favor the supervised classifier fitted to ResNet50 features. Each number is a difference on that dataset’s percentage-score scale, not CLIP’s absolute accuracy. StanfordCars and Food101 show large positive differences, while EuroSAT, KITTI Distance and CLEVRCounts reveal weaknesses. The baseline receives dataset-specific labels; CLIP receives class text. The caption counts 16 wins across 27 datasets. Reading the whole profile is more informative than treating that win count as uniform competence across medical, satellite, counting and ordinary object-recognition tasks. transfer-profilezero-shotsupplement-scope

What it supports. StanfordCars is +28.9 score points, but EuroSAT is −37.1 and KITTI Distance is −34.0. The same transfer mechanism can therefore succeed strongly on one task and fail relative to a conventional baseline on another. Section 3.2 attributes possible variation to unequal supervision across pre-training datasets, as a hypothesis.

Where the evidence stops. An internal inconsistency remains: Section 3.2 calls STL10 the largest improvement, while this figure shows STL10 at +3.0 and StanfordCars at +28.9. The crop is preserved and the plotted values are used. The bars also combine task-specific metrics whose detailed definitions are deferred.

Figure 6. Representation quality improves with scale, and the measured advantage depends on the benchmark suite. Original paper, p. 7 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. First distinguish the panels: the left averages the 12 datasets used by Kornblith and colleagues, while the right averages the broader 27-dataset suite. Then follow the red stars through increasing model sizes. Filled stars are CLIP ViTs and open stars are CLIP ResNets; the legend identifies the other pretrained model families. Higher means better average score, and farther left means fewer forward-pass GFLOPs per image. Dotted segments denote higher-resolution fine-tuning or evaluation, as clarified by the caption. These are supervised linear probes on learned visual features, so the figure evaluates representation quality rather than constructing the classifier from natural-language labels. representationspretraininglimitationssupplement-scope

What it supports. Section 3.3 reports that the best CLIP improves average score over prior systems by 2.6 points on the 12-dataset suite and 5 points on the broader suite. The plot supports a strong score-versus-forward-compute tradeoff for the evaluated CLIP representations, especially the ViT models.

Where the evidence stops. The x-axis is inference-side image-encoder work, not the total pre-training budget. Different pre-training datasets and recipes prevent a controlled architecture-only conclusion. The broader suite is acknowledged as co-adapted with CLIP, and individual per-dataset scores are deferred to the missing supplement.

Figure 7. At matched ImageNet accuracy, CLIP retains more accuracy under natural shifts. Original paper, p. 8 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. Begin with the left panel: the horizontal axis averages class-subsampled ImageNet accuracy, while the vertical axis averages accuracy across seven natural distribution shifts. The dashed identity line marks equal performance in and out of distribution. Purple CLIP points lie above the standard-training trend, illustrating effective robustness rather than merely higher ImageNet accuracy. The fitted curves use logit-transformed values; shaded regions are bootstrap 95% confidence intervals for those fits. On the right, banana images illustrate how the distributions differ. Read the adjacent scores as dataset-level comparisons under the source protocol, not as accuracy on only those displayed banana images. robustnesssupplement-scope

What it supports. Both models in the right-hand comparison score 76.2% on ImageNet, while ImageNetV2 gives CLIP 70.1% and ResNet101 64.3%. This matched-accuracy comparison supports improved transfer under shift. The authors’ broader claim is up to 75% reduction of the robustness gap, which is distinct from a percentage-point accuracy increase.

Where the evidence stops. The benchmark tests natural distribution shifts and does not establish universal robustness. The left panel averages seven shifts; the right illustrates only five shifted datasets plus ImageNet. Full class mappings and evaluation details are unavailable in the supplied proceedings text.

6.2 Results and evaluation conditions

Task & protocolReported resultComparison & interpretation
Zero-shot ImageNet classification

ViT-L/14@336px; ImageNet evaluation, with validation-set identity explicit in Figure 7; no classifier fitting on ImageNet training labels.

76.2%

Top-1 accuracy

Visual N-Grams: 11.5%; the paper compares CLIP with the original supervised ResNet50.

A strong transfer result; differences in data, architecture and training prevent an objective-only attribution. Table 1 supplies no uncertainty. pretraininginitial-resultsrobustness

Objective-efficiency diagnostic

Figure 2: zero-shot ImageNet accuracy versus pre-training images processed, comparing caption prediction, bag-of-words prediction and bag-of-words contrastive learning.

Reported 3× improvement from caption to bag-of-words prediction, then 4× from predictive to contrastive bag-of-words training.

Examples processed to attain comparable accuracy

Transformer language-model and bag-of-words predictive baselines.

Supports the contrastive choice in this diagnostic; the axis is images processed, not wall-clock time, and the green curve is not the final transformer-text model. objective-diagnostic

Breadth of zero-shot transfer

27-dataset suite; zero-shot CLIP against supervised logistic regression on canonical ResNet50 features; detailed splits deferred to the supplement.

Wins on 16/27; StanfordCars +28.9, EuroSAT −37.1 score points.

Dataset wins and score differences

Fully supervised ResNet50-feature classifiers.

Average competitiveness masks large task variation. Figure 4 values are preserved despite the prose incorrectly naming STL10 as the largest improvement. transfer-profile

Few-shot comparison on fixed representations

20 datasets with at least 16 labeled examples per class; logistic regression on fixed features.

Zero-shot CLIP matches approximately four-shot linear probing on CLIP features.

Average evaluation score

Nearly matches the best evaluated 16-shot classifier.

Language supplies task information absent from isolated examples; this is not equivalence on every dataset. few-shot

Supervised linear-probe transfer

Separate 12-dataset and 27-dataset suites; supervised classifiers on fixed features.

Best CLIP improves average score by 2.6 points on the 12-dataset suite and 5 points on the 27-dataset suite.

Difference in average score

Best prior evaluated systems, including Noisy Student EfficientNet-L2.

These are representation-transfer results, not zero-shot scores. Figure 6 measures forward-pass GFLOPs per image, not total training cost. representations

Natural distribution shift: ImageNetV2

Figure 7 right panel; CLIP and supervised ResNet101 matched at 76.2% ImageNet validation accuracy.

CLIP 70.1%

Top-1 accuracy

ResNet101 64.3%; difference +5.8 percentage points.

Supports robustness at matched in-distribution accuracy. Across seven shifts the authors report up to 75% gap reduction, not a 75-point accuracy gain. robustness

6.3 Ablations and diagnostic examples

Read component removals and qualitative examples within their stated evaluation conditions.

Figure 2. Matching whole pairs learns transferable classification faster in the paper’s diagnostic. Original paper, p. 3 ↗

Excerpt from the authors’ paper; cropped without altering the figure or table.

How to read it. Read horizontally at a shared accuracy level: a curve farther left has needed fewer processed images to reach it. The blue line predicts captions with a transformer language model; orange predicts bag-of-words text; green applies the contrastive objective to bag-of-words text. The two leftward arrows illustrate the reported 3× gain from changing caption prediction to bag-of-words prediction and a further 4× gain from changing that predictive objective to contrastive matching. Their direction and interpretation agree with Section 2.2. Read the legend carefully: this green curve is an objective-selection experiment, not the final transformer-text CLIP model used in Table 1. objective-diagnosticpairingpretraining

What it supports. The diagnostic motivates a simpler learning target: distinguish the paired text from other texts rather than recover every word in order. The orange-to-green comparison is particularly relevant because both use bag-of-words text encoding. It supports the authors’ choice of contrastive learning for efficient zero-shot transfer in this setting.

Where the evidence stops. The horizontal axis counts images processed, not training seconds or total FLOPs. The source gives no uncertainty bands here, and the caption-prediction comparison changes the text representation as well as the objective. Do not generalize the annotated factors to every model or task.

7. Analysis & limitations

7.1 What the evidence leaves open

Source description

Authors acknowledge repeatedly consulting validation sets and choosing a 27-dataset suite co-adapted with CLIP. Zero-shot parameter transfer therefore coexists with development-time evaluation feedback. Counting, traffic signs, satellite imagery and medical imagery expose task-specific weaknesses. limitationstransfer-profile

Reader analysis

The overlap study finds median detected overlap of 2.2%, with a maximum detected accuracy benefit of 0.6 points on Birdsnap. This argues against a large measured duplication effect, but cannot certify unseen concepts or undetected duplicates. overlap

Reader analysis

Candidate-label design changes both predictions and demographic harms. The impact analysis documents label-sensitive harmful assignments and discusses privacy implications. Flexible text specification therefore requires evaluating the chosen label set as part of the system. broader-impacts

7.2 Questions for discussion

  1. Does the contrastive advantage persist when architectures, batches, data order and measured compute are held fixed?
  2. How much of the zero-shot/few-shot gap comes from information conveyed by label text?
  3. Would the transfer ranking persist on a preregistered suite unavailable during model development?

8. Reproducibility audit

8.1 Requirements and known gaps

Reader analysis

Faithful training needs the WIT collection, encoder variants, projections, batch construction and training schedule. The body gives query design and hardware scale but defers full hyperparameters; it does not provide a complete recoverable corpus or exact search-volume threshold. Exact optimizer, batch-size and schedule settings cannot be verified here. datasetpairingpretrainingsupplement-scope

Reader analysis

Evaluation replication needs checkpoint/resolution identity, exact prompts, dataset splits, metric definitions, class mappings and linear-probe tuning. These are not fully supplied. Proposed checks below isolate objective choice and language versus example-based classifier construction; they are not completed reproductions. zero-shotobjective-diagnosticfew-shotrepresentationssupplement-scope

8.2 Proposed reproduction checks

The following checks are proposals motivated by the paper. They have not been run as part of this reading.

Check 1: Isolate the bag-of-words objective change

Reader-proposed check, not run: train predictive and contrastive bag-of-words variants on the same fixed image–text subset, sharing image architecture, text representation, data order, augmentation, initialization policy and batch size. Use several seeds and preregister one zero-shot ImageNet accuracy target reachable by both. Record images processed, measured training FLOPs and elapsed time to that target, plus learning curves. A reliably lower sample count for the contrastive variant would support the Figure 2 mechanism at this scale; disappearance or reversal of the gain would limit it. Keep the caption-transformer baseline separate because it changes the representation too. This is a controlled diagnostic, not a replication of the full WIT run. objective-diagnosticpairingpretrainingsupplement-scope

Check 2: Separate language information from few-shot fitting

Reader-proposed check, not run: freeze one CLIP checkpoint and compare its fixed-prompt zero-shot classifier with regularized linear probes trained on 1, 2, 4, 8 and 16 examples per class from fixed splits. Repeat sampled support sets, choose regularization without test labels and report per-dataset scores before averaging. Add a probe initialized from class-text vectors and a control with those class-vector assignments randomly permuted. If meaningful text initialization reduces the low-shot deficit while the permutation control does not, that supports the authors’ task-information explanation. If neither changes the deficit, investigate fitting and regularization instead. Fix prompts before testing to address the paper’s development-feedback limitation. few-shotzero-shotlimitationssupplement-scope

8.3 Reading coverage

Visual audit: The title/author/affiliation block on page 1, Figures 1–7, Figure 3 pseudocode, Table 1 and all method, training, numerical, limitation and reproduction-support pages were rendered and visually inspected. Page 6 supplies the uncropped few-shot evidence; pages 8–9 supply overlap, impact and evaluation caveats; page 16 confirms the reference ending. All six final original crops were separately viewed with readable labels and intact legends/headers. Figure 1 arrows and diagonal targets were cross-checked against Figure 3; Figure 2 arrows against Section 2.2. Figure 4’s STL10 prose discrepancy is disclosed. Reference-only pages 10–15 were read in the complete text chunks but not visually inspected. No supplementary appendix was supplied.

PDF pages inspected for this edition: 1, 2, 3, 4, 5, 6, 7, 8, 9, 16. Appendix coverage: not present.

Original figures and tables remain the work of the source’s authors. Extractions preserve their scientific content; any HTML wrapper layout is disclosed with each figure. The surrounding reading notes are our own.

Text reading scope & known omissions
  • Abstract (p. 1)
  • 1. Introduction and Motivating Work (pp. 1–2)
  • 2.1. Creating a Sufficiently Large Dataset (p. 2)
  • 2.2. Selecting an Efficient Pre-Training Method (pp. 2–3)
  • 2.3. Choosing and Scaling a Model (pp. 3–4)
  • 2.4. Pre-training (p. 4)
  • 2.5. Using CLIP (p. 4)
  • 3.1. Initial Comparison to Visual N-Grams (p. 4)
  • 3.2. Zero-Shot Performance (pp. 5–6)
  • 3.3. Representation Learning (pp. 6–7)
  • 3.4. Robustness to Natural Distribution Shift (pp. 6–8)
  • 4. Data Overlap Analysis (p. 8)
  • 5. Broader Impacts (p. 8)
  • 6. Limitations (pp. 8–9)
  • 7. Related Work (p. 9)
  • 8. Conclusion and Acknowledgments (p. 9)
  • References (pp. 9–16)

Outside the original text pass

  • Text extraction does not reconstruct figure images; inspect the retained PDF for figures and equation/table layout.
  • Separate supplemental material availability has not been fully verified.
  • The extraction-only visual gap was addressed by inspecting Figures 1–7 and Table 1, including every page supporting retained scientific claims. Reference-only pages 10–15 were read in text but not rendered.
  • This is the supplied 16-page ICML 2021 proceedings edition, PMLR 139. The exact title and all twelve authors match the catalog; Radford and Kim share equal credit. No revision number is printed and no other edition was supplied or compared.
  • The complete supplied paper was read in all seven chunks. Appendix A and separate supplementary training, evaluation, overlap and impact details are referenced but absent and unread; extraction headings resembling appendix titles are bibliography entries.
  • Code and pretrained weights are announced by the paper, but neither was inspected. No experiment was reproduced.

The visual audit above records the subsequent illustrated pass.

8.4 Traceable evidence

identityPDF p. 1, title, author block, affiliation footnote, Abstract and Section 1Inspect

The title and all twelve authors match the catalog. All authors are affiliated with OpenAI, San Francisco, CA 94110, USA; Radford and Kim have equal-contribution marks. The publication identifies ICML 2021, PMLR 139. The abstract describes image–text pre-training and zero-shot visual transfer and announces code and weights.

Go to primary source ↓
datasetPDF p. 2, Section 2.1 and footnote 1Inspect

WIT contains 400 million image–text pairs collected from public Internet sources. Collection uses 500,000 textual queries and up to 20,000 pairs per query. Queries draw on frequent English Wikipedia words, high-PMI bigrams, article names above a search-volume threshold, and WordNet synsets.

Go to primary source ↓
pairingPDF p. 2, Figure 1 and caption; p. 3, Section 2.2 and Figure 3Inspect

Separate image and text encoders produce linearly projected, L2-normalized embeddings. Training scores all within-batch pairings, with original pairs on the diagonal. The pseudocode multiplies cosine similarities by exp(t) and averages cross-entropy losses across the two matrix axes. The diagram converts class descriptions into a zero-shot linear classifier.

Go to primary source ↓
objective-diagnosticPDF p. 2, Section 2.2; p. 3, Figure 2, caption and Section 2.2Inspect

Figure 2 compares transformer caption prediction, bag-of-words prediction, and bag-of-words contrastive learning against images processed. The arrows and text report 3× faster ImageNet zero-shot learning for bag-of-words prediction than caption prediction, then another 4× for the contrastive objective. The contrastive curve uses bag-of-words text encoding.

Go to primary source ↓
image-encoderPDF p. 3, Section 2.3Inspect

The modified ResNet uses ResNetD changes, antialiased rect-2 blur pooling, and attention pooling whose query depends on the globally average-pooled image representation. The ViT adds layer normalization before the transformer and changes initialization.

Go to primary source ↓
text-encoderPDF p. 4, Section 2.3 continuationInspect

The base text transformer has 12 layers, width 512 and 8 attention heads, uses lower-cased BPE with SOS/EOS tokens, and projects the layer-normalized final EOS representation. Masked attention retains the possibility of an auxiliary language-modeling objective, left to future work. Text-encoder scaling changes width only.

Go to primary source ↓
pretrainingPDF p. 3, Section 2.2; p. 4, Section 2.4Inspect

CLIP is trained from scratch, with linear projections, no sentence subsampling and random square image crops. Five ResNets and three ViTs are trained. RN50x64 takes 18 days on 592 V100 GPUs; the largest ViT takes 12 days on 256 V100 GPUs. ViT-L/14 receives one additional epoch at 336-pixel resolution; ViT-L/14@336px is the default reported CLIP model.

Go to primary source ↓
zero-shotPDF p. 2, Figure 1; p. 4, Section 2.5; p. 5, Section 3.2 openingInspect

Class names or descriptions become candidate image–text pairings. The most probable pairing determines the prediction. Prompts and multiple templates are explored. Zero-shot here means transfer to unseen datasets as a proxy for unseen tasks; linear probes separately assess representations.

Go to primary source ↓
initial-resultsPDF p. 4, Table 1, both rows and all columns; Section 3.1Inspect

Table 1 reports CLIP versus Visual N-Grams: aYahoo 98.4 versus 72.4, ImageNet 76.2 versus 11.5, SUN 58.5 versus 23.0. Section 3.1 identifies the ImageNet accuracy result, comparison with the original supervised ResNet50, and 95% top-5 accuracy. Many differences from Visual N-Grams are explicitly uncontrolled.

Go to primary source ↓
transfer-profilePDF p. 5, Figure 4, caption and Section 3.2Inspect

Zero-shot CLIP wins on 16 of 27 datasets against supervised logistic regression on canonical ResNet50 features. Figure 4 shows StanfordCars +28.9, Food101 +22.5, EuroSAT −37.1, KITTI Distance −34.0, CLEVRCounts −18.2 and STL10 +3.0 score points. The adjacent prose calls STL10 the greatest improvement, conflicting with the figure. Specialized and abstract tasks are identified as weaknesses.

Go to primary source ↓
few-shotPDF p. 6, Figure 5, caption and Section 3.2 continuationInspect

Across 20 datasets with at least 16 examples per class, zero-shot CLIP matches the average performance of a four-shot linear classifier on CLIP features and nearly matches the best evaluated 16-shot classifier. The text contrasts specifying concepts through language with inferring them from few examples.

Go to primary source ↓
representationsPDF p. 6, Section 3.3; p. 7, Figure 6 and captionInspect

Linear-probe performance is averaged over separate 12-dataset and 27-dataset suites and plotted against forward-pass GFLOPs per image. The text reports a 2.6-point average-score advantage on the former and 5-point advantage on the latter for the best CLIP over previous systems. Filled/open red stars distinguish CLIP ViTs/ResNets; dotted segments indicate higher-resolution fine-tuning or evaluation.

Go to primary source ↓
robustnessPDF p. 7, Section 3.4; p. 8, Figure 7, both panels and captionInspect

Effective robustness measures shift accuracy beyond the relationship predicted by ImageNet accuracy. The left panel averages seven natural shifts against class-subsampled ImageNet accuracy, with logit-space fits and bootstrap 95% confidence intervals. The authors report up to 75% reduction in the robustness gap. The right panel compares CLIP with ResNet101, both 76.2% on ImageNet: ImageNetV2 is 70.1% versus 64.3%. Banana examples illustrate distributions, not a banana-only scoring task.

Go to primary source ↓
overlapPDF p. 8, Section 4Inspect

Among 35 evaluated datasets, nine have no detected pre-training overlap. Median detected overlap is 2.2%; mean is 3.2%. The maximum detected accuracy improvement is 0.6 percentage points on Birdsnap. Detection and de-duplication details are deferred to supplementary material.

Go to primary source ↓
broader-impactsPDF p. 8, Section 5Inspect

Changing candidate labels changes harmful classifications of people: adding a child label reduces reported egregious-label assignment for ages 0–20 from 32.3% to 8.7%. The authors also discuss demographic disparities and privacy/surveillance implications of celebrity identification.

Go to primary source ↓
limitationsPDF pp. 8–9, Section 6Inspect

The authors describe zero-shot CLIP as often competitive only with a ResNet50-feature baseline, acknowledge repeated validation-set consultation and a co-adapted 27-dataset suite, and note difficulty specifying complex tasks through text. Few-shot adaptation is not directly optimized. The 1000× compute figure is an estimate, not an executed experiment.

Go to primary source ↓
supplement-scopePDF p. 4, Section 2.4; p. 6, Section 3.3; p. 8, Sections 4–5; p. 9, start of References; p. 16, end of ReferencesInspect

The body defers full hyperparameters, evaluation details, overlap analysis and expanded impact analysis to supplementary material and mentions Appendix A. The supplied PDF ends with references and contains no such appendix. No separate supplement accompanies this source.

Go to primary source ↓

8.5 Primary sources

Scroll across the image to inspect details. Press Esc to close.