Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision

Noisy alt-text pairs can train strong vision-language models at scale

  • Problem Curated vision-language datasets are expensive to build and clean, so they stay around 10M examples. That limits how far these models can scale.
  • Method ALIGN trains a dual encoder on over one billion raw alt-text pairs. It skips most cleaning and uses a contrastive loss to align image and text embeddings.
  • Results ALIGN reaches 76.4% zero-shot top-1 on ImageNet, compared to 76.2 for CLIP.

Why curated data caps pre-training

Vision models are usually pre-trained on labeled sets such as ImageNet, OpenImages and JFT-300M, and building such sets means gathering, sampling and human annotation. Vision-language sets such as Conceptual Captions, Visual Genome Dense Captions and ImageBERT need further annotation, semantic parsing and cleaning. The result is corpora of around 10M examples, at least an order of magnitude below their vision counterparts and far below the web text used for NLP pre-training.

The authors' bet is that labeling and cleaning, not the amount of web data available, is what caps the scale. They therefore accept noise on purpose, arguing that a much larger corpus of alt-text can make up for its noise.

Building the noisy alt-text corpus

The authors follow the Conceptual Captions recipe for collecting raw English alt-text, but relax most of its cleaning and keep only minimal frequency-based filtering. The result has 1.8B image-text pairs, which is noisier than Conceptual Captions and, per the paper, two orders of magnitude larger.

Image filters follow Sharma et al., so pornographic images are removed and only images whose shorter side exceeds 200 pixels with an aspect ratio below 3 are kept. Images with more than 1000 associated alt-texts are discarded, and duplicates or near-duplicates of downstream test images are removed so that the model never trains on them.

Alt-texts shared by more than 10 images are dropped, since they are often unrelated to the picture, such as '1920x1080'. Alt-texts with any token outside the 100 million most frequent unigrams and bigrams, or with fewer than 3 or more than 20 unigrams, are also removed.

Dual encoder with a contrastive objective

The key idea is to treat each paired caption as a fine-grained label for its image, so the text encoder supplies the label weights. The image encoder is EfficientNet with global pooling, and the text encoder is BERT taking the [CLS] embedding, with a linear fully-connected layer that matches the text width to the image tower. Cosine similarity links the two outputs, so retrieval and zero-shot classification both reduce to matching embeddings against each other.

Within a training batch, each matched pair is a positive and every other pairing in that batch is a negative. The image-to-text term is \( L_{i2t} \) in the display below, and the text-to-image term swaps the roles of x and y; the training loss is their sum. \[ L_{i2t} = -\frac{1}{N}\sum_{i=1}^{N}\log\frac{\exp(x_i^\top y_i/\sigma)}{\sum_{j=1}^{N}\exp(x_i^\top y_j/\sigma)} \] Here x_i and y_j are the L2-normalized image and text embeddings, N is the batch size, and σ is the temperature that scales the logits.

Embeddings from all computing cores are gathered, so the negatives span the whole global batch rather than one core's share. The temperature is learned together with the other parameters instead of being swept by hand.

Training recipe at scale

Both encoders start from scratch and are trained with LAMB, using weight decay 1e-5.

The softmax temperature starts at 1.0, shared by both losses, and label smoothing of 0.1 is applied in the softmax losses. The authors chose LAMB after trying SGD with momentum and ADAM, which they found less suited to training both encoders.

Flickr30K and MSCOCO retrieval

For fine-tuning, the global batch shrinks from 16384 to 2048, because with batches near the size of the training set false negatives become likely. The learning rate drops to 1e-5, and training runs for 3K steps on Flickr30K and 6K steps on MSCOCO.

Zero-shot, ALIGN scored 75.7 for text-to-image R@1 on Flickr30K, compared to 68.7 for CLIP. The authors report a gain of more than 7% in image retrieval over CLIP, which is the largest margin in the zero-shot table. Image-to-text was closer, with 88.6 compared to 88.0 for CLIP.

After fine-tuning on Flickr30K, image-to-text R@1 reaches 95.3, compared to 87.3 for UNITER, which uses cross-modal attention layers. On MSCOCO, image-to-text R@1 is 77.0 compared to 65.7 for UNITER. The authors credit scale more than architecture, and note that cross-attention models are too slow to be practical for real retrieval systems.

Crisscrossed Captions: cross-modal gains and intra-modal gaps

Using the MSCOCO fine-tuned model on CxC annotations, ALIGN's image-to-text R@1 is 78.1, compared to 55.9 for DET2T+I2T. On the semantic image-text similarity task, ALIGN scores 67.6 ± 1.2, compared to 61.9 ± 1.3 for DET2T+I2T.

The picture is different within one modality, where ALIGN trails the older baselines. Its STS score is 72.9 compared to 74.4 for VSE++, and its SIS score is 77.2 compared to 81.3 for DEI2T. The authors suspect this is because the objective targets cross-modal matching, and they leave multitask training to future work.

Zero-shot ImageNet classification

Class names are fed into the text encoder, wrapped in the prompt templates CLIP uses, and averaged into one class embedding. The class embedding is then L2-normalized, and this ensembling adds 2.9% to ImageNet top-1 accuracy. Zero-shot top-1 reaches 76.4%, compared to 76.2 for CLIP.

On ImageNet-R the gap widens, with 92.2 compared to 88.9 for CLIP. On ImageNet-A ALIGN is lower, 75.8 compared to 77.2, and both models tie at 70.1 on ImageNet-V2. The authors describe this as robustness across image distributions, similar to CLIP.

ImageNet with frozen and fine-tuned encoders

With the image encoder frozen and only the classification head trained, ALIGN reaches 85.5 top-1, compared to 85.4 for CLIP. That stage uses SGD with momentum 0.9, a global batch of 1024, and a train/eval resolution of 289/360.

After full fine-tuning, ALIGN reaches 88.64 top-1 with EfficientNet-L2, ahead of ViT-H/14 at 88.55. Meta Pseudo Labels reaches 90.2, which the authors attribute to deeper interaction between ImageNet training and large unlabeled data. ALIGN saves 44% of FLOPS against NoisyStudent and Meta Pseudo Labels by using a test resolution of 600 instead of 800.

VTAB and fine-grained transfer

Hyperparameters are swept over 50 trials on 800 training and 200 validation images per VTAB task, then retrained on the combined 1000 images. Over 19 tasks, ALIGN scores 79.99 ± 0.15, compared to 78.72 for BiT-L.

On the fine-grained benchmarks the results are mixed: ALIGN is best on Stanford Cars at 96.13, ties on Oxford Flowers, and is below on Oxford Pets and Food101.

Backbone scaling and temperature choice

The ablations pair EfficientNet B1 to L2 with BERT-Mini to BERT-Large and reduce training to 1M steps. Larger image encoders keep improving MSCOCO zero-shot retrieval and ImageNet KNN, but the KNN metric saturates from BERT-Base to BERT-Large with B7 and L2. The authors read this as vision needing image capacity more, while retrieval needs both encoders.

The baseline uses B5 with BERT-base and learns its temperature, which converges to about 1/64. Its MSCOCO image-to-text R@1 is 51.7, compared to 52.2 with a fixed temperature of 1/64, while a fixed 1/32 drops to 39.6. The authors keep the learnable temperature because it performs competitively and makes learning easier.

Using 50% of the in-batch negatives drops image-to-text R@1 from 51.7 to 50.2, and 25% drops it to 48.7.

Training data size and noise

With B7 and BERT-base, full ALIGN data gives MSCOCO image-to-text R@1 of 55.4, compared to 18.9 for CC-3M. CC-3M was trained with one tenth of the default steps, so this comparison is not at equal training budget.

At equal size, 3M ALIGN pairs score 8.1, well below the 18.9 of CC-3M. At 6M the score rises to 15.8 and at 12M to 23.8, so the authors conclude that data scale catches up with the extra noise. Twelve million noisy pairs outperform CC-3M with only about four times its size.

The smaller B3 with BERT-mini reaches 36.7 at 10% of ALIGN data, compared to 37.4 on full data, so it saturates. The larger B7 keeps improving with full data, which the authors read as a need for bigger models to use bigger data.

Multilingual ALIGN on Multi30k

ALIGNmling keeps the English pipeline, removes the language constraint, and matches the English size with 1.8B pairs. It uses a 250k wordpiece vocabulary and is tested on Multi30k, which has 31,783 images. Zero-shot, its mean Recall is 90.2 on English, 84.1 on German, 84.9 on French and 63.2 on Czech.

Against zero-shot M3P, the largest gain is on French, 84.9 compared to 27.1. On English, ALIGNmling is slightly below ALIGN trained on English only, at 92.2. Its zero-shot scores are comparable to fine-tuned M3P and UC2, except on Czech.

Retrieval with compound queries

The authors search an index of 160M CC-BY images with text queries that never appear in training, such as landmarks and artworks. Adding a text embedding to an image embedding retrieves images with the combined concept, and subtracting one removes an object or attribute from the scene. The best scale was 2 for the text embedding and 1 for the image embedding, although 1:1 also works well.

Word-level evaluation on SimLex-999

Word vectors are read from the [CLS] token before the projection layers, with each word's wordpieces fed through the model.

On the hard subset ALIGN reaches 31.7, the highest of the three, compared to 28.8 for Picturebook and 27.2 for GloVe. The authors read this as support for their hypothesis that image-based embeddings confuse similarity with relatedness less than text-based ones.

Limitations

Intra-modal similarity is weaker, since text-to-text and image-to-image gains are smaller than the cross-modal ones. Multitask training, which the authors think could balance the representations, was not tested.

Harmful text in alt-texts could reinforce harms, and web data could reinforce stereotypes. The authors call for data balancing, extra testing around sensitive religious or cultural items, and demographic analysis before production use.

The data-size comparison with CC-3M is not at equal training budget, since CC-3M used one tenth of the steps.

Paper info

Authors
Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yunhsuan Sung, Zhen Li, Tom Duerig
Venue
arXiv · Preprint
First published
2021-2-11
Added
2026-11-12
Updated
2021-6-11
Version
v2
arXiv
2102.05918
Category
cs.CV · cs.CL · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yunhsuan Sung, Zhen Li, Tom Duerig (2021). Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision. arXiv:2102.05918v2. https://arxiv.org/abs/2102.05918v2

BibTeX
@misc{jia2021scaling,
  title = {{Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision}},
  author = {Chao Jia and Yinfei Yang and Ye Xia and Yi-Ting Chen and Zarana Parekh and Hieu Pham and Quoc V. Le and Yunhsuan Sung and Zhen Li and Tom Duerig},
  year = {2021},
  eprint = {2102.05918},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05918v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up