Preprint
Computer Vision

PaLI-X

May 1, 2023

0

Citations

0

Influential Citations

Venue

2023

Year

Abstract

A multilingual vision and language model with scaled-up components, specifically ViT-22 B and UL2 32B, exhibits emergent properties such as complex counting and multilingual object detection, and demonstrates improved performance across various tasks.

Analysis

Why This Paper Matters

The PaLI-X paper is a landmark in the scaling of vision-language models (VLMs). By pushing parameters to 55 billion—a 22B ViT encoder paired with a 32B UL2 encoder-decoder—the authors show that sheer scale yields qualitatively new behaviors. These include complex counting (e.g., accurately counting objects in cluttered scenes) and multilingual object detection, capabilities that smaller models struggle with. The model achieves state-of-the-art results on over 25 diverse benchmarks, spanning image captioning, visual question answering, video understanding, object detection, and image classification. This work provides strong evidence that scaling laws apply to multimodal models, and that emergent abilities appear at sufficient scale, much like in large language models.

How It Works

Figure 1

The architecture follows a classic encoder-decoder design. Images are processed by a Vision Transformer (ViT) with 22B parameters, producing visual embeddings. These are projected and concatenated with text token embeddings (e.g., questions or prompts) before being fed into the UL2-based encoder-decoder backbone (32B parameters). The model can handle multiple images as input, enabling few-shot and video tasks.

Vision Model: The ViT-22B is pre-trained on JFT-3B for classification and further trained on WebLI data with OCR annotations from Google Cloud Vision API. A novel OCR-based classification task (predicting whether a token appears in the image) equips the model with strong text-reading abilities.

Language Model: The encoder-decoder is initialized from UL2 32B, a powerful multilingual model. This provides a strong foundation for language understanding and generation.

Visual input for videos.

Pre-training Data: The training mixture is exceptionally diverse, including:

  • Span corruption on text-only data (15% of tokens)
  • Captioning on WebLI alt-text and CC3M (35 languages)
  • OCR tasks (split-OCR, pix2struct on DOM trees)
  • Visual question answering (VQ2A and Object-Aware methods)
  • Video captioning (4 frames per video)
  • Object detection using OWL-ViT pseudo-labels
  • Image token prediction via ViT-VQGAN

Training Stages:

  1. Stage 1: Frozen ViT encoder, train rest on 2.2B examples at 224x224 resolution.
  2. Stage 2: Continue with OCR and detection objectives, gradually increasing resolution to 448, 672, and finally 756 pixels.

Figure 3

Few-shot Formulation: For few-shot tasks, all images (support and query) are independently encoded by the ViT. Their patch embeddings are flattened, concatenated, projected, and combined with text embeddings to form the multimodal input sequence.

Results

Image Captioning and VQA: Figure 4 Figure 5

PaLI-X outperforms prior SOTA by large margins on challenging scene-text and document understanding tasks. Multitask fine-tuning achieves performance on par with single-task fine-tuning, demonstrating the model's versatility.

Scores from multitask fine-tuning compared with those from single-task fine-tuning for Image Captioning. Validation or test-dev set numbers are reported for some tasks.

Few-shot Learning: Few-shot performance of the PaLI-X model (multilingual captioning for XM3600).

PaLI-X achieves SOTA on COCO captioning with only 4 or 32 shots, and shows strong multilingual captioning on XM3600.

Video Understanding: Results for Video Captioning and Video-QA using 8 frames (8fr) or 16 frames (16fr).

Using 16 frames yields significant gains (e.g., +6 CIDEr on ActivityNet Captions). PaLI-X sets new SOTA on 5 of 7 video tasks.

Image Classification: Classification accuracy (top-1) fine-tuned on Imagenet.

PaLI-X achieves SOTA for generative models on ImageNet, competitive with discriminative models.

Object Detection: PaLI-X object detection results on LVIS.

On LVIS, the detection-tuned model achieves 31 mAP overall and 31.4 on rare classes. Zero-shot mAP is ~12 for both common and rare classes, showing balanced performance without complex sampling.

Significance

PaLI-X demonstrates that scaling VLMs to 55B parameters unlocks emergent abilities and sets new standards across a wide range of multimodal tasks. The two-stage training with progressive resolution is a practical recipe for training large models efficiently. The model's strong few-shot and multilingual performance suggests that scale can reduce the need for task-specific data. However, the enormous computational cost limits accessibility. Future work may focus on distillation, efficient architectures, or data curation to democratize such capabilities. PaLI-X solidifies the trend that bigger models, trained on diverse data, are the path to generalist vision-language AI.