HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Chao Jia; Yinfei Yang; Ye Xia; Yi-Ting Chen; Zarana Parekh; Hieu Pham; Quoc V. Le; Yunhsuan Sung; Zhen Li; Tom Duerig

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

Abstract

Pre-trained representations are becoming crucial for many NLP and perception tasks. While representation learning in NLP has transitioned to training on raw text without human annotations, visual and vision-language representations still rely heavily on curated training datasets that are expensive or require expert knowledge. For vision applications, representations are mostly learned using datasets with explicit class labels such as ImageNet or OpenImages. For vision-language, popular datasets like Conceptual Captions, MSCOCO, or CLIP all involve a non-trivial data collection (and cleaning) process. This costly curation process limits the size of datasets and hence hinders the scaling of trained models. In this paper, we leverage a noisy dataset of over one billion image alt-text pairs, obtained without expensive filtering or post-processing steps in the Conceptual Captions dataset. A simple dual-encoder architecture learns to align visual and language representations of the image and text pairs using a contrastive loss. We show that the scale of our corpus can make up for its noise and leads to state-of-the-art representations even with such a simple learning scheme. Our visual representation achieves strong performance when transferred to classification tasks such as ImageNet and VTAB. The aligned visual and language representations enables zero-shot image classification and also set new state-of-the-art results on Flickr30K and MSCOCO image-text retrieval benchmarks, even when compared with more sophisticated cross-attention models. The representations also enable cross-modality search with complex text and text + image queries.

Code Repositories

facebookresearch/metaclip
pytorch
Mentioned in GitHub
kakaobrain/coyo-dataset
pytorch
Mentioned in GitHub
MicPie/clasp
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
cross-modal-retrieval-on-coco-2014ALIGN
Image-to-text R@1: 77
Image-to-text R@10: 96.9
Image-to-text R@5: 93.5
Text-to-image R@1: 59.9
Text-to-image R@10: 89.8
Text-to-image R@5: 83.3
cross-modal-retrieval-on-flickr30kALIGN
Image-to-text R@1: 95.3
Image-to-text R@10: 100
Image-to-text R@5: 99.8
Text-to-image R@1: 84.9
Text-to-image R@10: 98.6
Text-to-image R@5: 97.4
fine-grained-image-classification-on-food-101ALIGN
Accuracy: 95.88
fine-grained-image-classification-on-oxford-1ALIGN
Accuracy: 96.19%
fine-grained-image-classification-on-stanfordALIGN
Accuracy: 96.13%
image-classification-on-flowers-102ALIGN
Accuracy: 99.65%
image-classification-on-imagenetALIGN (EfficientNet-L2)
Hardware Burden:
Number of params: 480M
Operations per network pass:
Top 1 Accuracy: 88.64%
image-classification-on-vtab-1k-1ALIGN (50 hypers/task)
Top-1 Accuracy: 79.99
zero-shot-cross-modal-retrieval-on-coco-2014ALIGN
Image-to-text R@1: 58.6
Image-to-text R@10: 89.7
Image-to-text R@5: 83.0
Text-to-image R@1: 45.6
Text-to-image R@10: 78.6
Text-to-image R@5: 69.8
zero-shot-cross-modal-retrieval-on-flickr30kALIGN
Image-to-text R@1: 88.6
Image-to-text R@10: 99.7
Image-to-text R@5: 98.7
Text-to-image R@1: 75.7
Text-to-image R@10: 96.8
Text-to-image R@5: 93.8
zero-shot-transfer-image-classification-on-1ALIGN
Accuracy (Private): 76.4
Accuracy (Public): -
zero-shot-transfer-image-classification-on-3ALIGN
Accuracy (Private): 70.1
Accuracy (Public): -
zero-shot-transfer-image-classification-on-4ALIGN
Accuracy: 92.2
zero-shot-transfer-image-classification-on-5ALIGN
Accuracy (Private): 75.8
Accuracy (Public): -

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision | Papers | HyperAI