HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

PaLI: A Jointly-Scaled Multilingual Language-Image Model

Xi Chen; Xiao Wang; Soravit Changpinyo; AJ Piergiovanni; Piotr Padlewski; Daniel Salz; Sebastian Goodman; Adam Grycner; Basil Mustafa; Lucas Beyer; Alexander Kolesnikov; Joan Puigcerver; Nan Ding; Keran Rong; Hassan Akbari; Gaurav Mishra; Linting Xue; Ashish Thapliyal; James Bradbury; Weicheng Kuo; Mojtaba Seyedhosseini; Chao Jia; Burcu Karagol Ayan; Carlos Riquelme; Andreas Steiner; Anelia Angelova; Xiaohua Zhai; Neil Houlsby; Radu Soricut

PaLI: A Jointly-Scaled Multilingual Language-Image Model

Abstract

Effective scaling and a flexible task interface enable large language models to excel at many tasks. We present PaLI (Pathways Language and Image model), a model that extends this approach to the joint modeling of language and vision. PaLI generates text based on visual and textual inputs, and with this interface performs many vision, language, and multimodal tasks, in many languages. To train PaLI, we make use of large pre-trained encoder-decoder language models and Vision Transformers (ViTs). This allows us to capitalize on their existing capabilities and leverage the substantial cost of training them. We find that joint scaling of the vision and language components is important. Since existing Transformers for language are much larger than their vision counterparts, we train a large, 4-billion parameter ViT (ViT-e) to quantify the benefits from even larger-capacity vision models. To train PaLI, we create a large multilingual mix of pretraining tasks, based on a new image-text training set containing 10B images and texts in over 100 languages. PaLI achieves state-of-the-art in multiple vision and language tasks (such as captioning, visual question-answering, scene-text understanding), while retaining a simple, modular, and scalable design.

Code Repositories

google-research/big_vision
Official
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-captioning-on-nocaps-in-domainPaLI
CIDEr: 149.1
image-captioning-on-nocaps-in-domainPaLI
B1: 88.02
B2: 75.21
B3: 59.38
B4: 41.16
CIDEr: 121.09
METEOR: 34.22
ROUGE-L: 64.39
SPICE: 15.69
image-captioning-on-nocaps-near-domainPaLI
SPICE: 15.75
image-captioning-on-nocaps-near-domainPaLI
B1: 88.57
B2: 75.56
B3: 58.99
B4: 39.98
CIDEr: 124.35
METEOR: 33.47
ROUGE-L: 63.99
SPICE: 15.75
image-captioning-on-nocaps-out-of-domainPaLI
B1: 86.28
B2: 71.19
B3: 52.63
B4: 32.0
CIDEr: 126.67
METEOR: 30.99
ROUGE-L: 61.35
SPICE: 15.49
image-classification-on-imagenet-v2ViT-e
Top 1 Accuracy: 84.3
image-classification-on-objectnetViT-e
Top-1 Accuracy: 72.0
visual-question-answering-on-ok-vqaPaLI 17B
Accuracy: 64.5
visual-question-answering-on-textvqa-test-1PaLI
overall: 73.1
visual-question-answering-on-vizwiz-2020-vqaPaLI
overall: 73.3
visual-question-answering-on-vqa-v2-test-devPaLI
Accuracy: 84.3
zero-shot-transfer-image-classification-on-1LiT ViT-e
Accuracy (Private): 85.4
zero-shot-transfer-image-classification-on-1PaLI
Accuracy (Private): 72.11
zero-shot-transfer-image-classification-on-3PaLI
Accuracy (Private): 64.46
zero-shot-transfer-image-classification-on-3LiT ViT-e
Accuracy (Private): 80.6
zero-shot-transfer-image-classification-on-4PaLI
Accuracy: 81.97
zero-shot-transfer-image-classification-on-4LiT ViT-e
Accuracy: 96.1
zero-shot-transfer-image-classification-on-5LiT ViT-e
Accuracy (Private): 88.0
zero-shot-transfer-image-classification-on-5PaLI
Accuracy (Private): 44.7
zero-shot-transfer-image-classification-on-6PaLI
Accuracy (Private): 42.62
Top 5 Accuracy: 58.35
zero-shot-transfer-image-classification-on-6LiT ViT-e
Accuracy (Private): 84.9
zero-shot-transfer-image-classification-on-9PaLI
Accuracy (Private): 63.83
Top 5 Accuracy: 79.3

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