Skip to main content
QUICK REVIEW

[Paper Review] Unified Vision-Language Pre-Training for Image Captioning and VQA

Luowei Zhou, Hamid Palangi|arXiv (Cornell University)|Sep 24, 2019
Multimodal Machine Learning ApplicationsComputer Science30 references74 citations
TL;DR

A single unified Vision-Language Pre-training (VLP) model uses one shared encoder-decoder Transformer with both bidirectional and seq2seq masking to pre-train on image-text pairs, achieving state-of-the-art results on image captioning and VQA across COCO, Flickr30k, and VQA 2.0.

ABSTRACT

This paper presents a unified Vision-Language Pre-training (VLP) model. The model is unified in that (1) it can be fine-tuned for either vision-language generation (e.g., image captioning) or understanding (e.g., visual question answering) tasks, and (2) it uses a shared multi-layer transformer network for both encoding and decoding, which differs from many existing methods where the encoder and decoder are implemented using separate models. The unified VLP model is pre-trained on a large amount of image-text pairs using the unsupervised learning objectives of two tasks: bidirectional and sequence-to-sequence (seq2seq) masked vision-language prediction. The two tasks differ solely in what context the prediction conditions on. This is controlled by utilizing specific self-attention masks for the shared transformer network. To the best of our knowledge, VLP is the first reported model that achieves state-of-the-art results on both vision-language generation and understanding tasks, as disparate as image captioning and visual question answering, across three challenging benchmark datasets: COCO Captions, Flickr30k Captions, and VQA 2.0. The code and the pre-trained models are available at https://github.com/LuoweiZhou/VLP.

Motivation & Objective

  • Motivate the need for a single unified model that can handle both vision-language generation and understanding tasks (e.g., image captioning and VQA).
  • Propose a unified encoder-decoder Transformer that shares parameters for encoding and decoding.
  • Pre-train on large image-text pairs with two objectives (bidirectional and seq2seq masked vision-language prediction).
  • Demonstrate that the unified VLP achieves state-of-the-art results on multiple vision-language benchmarks.
  • Show that joint pre-training and fine-tuning speed up learning and improve downstream performance.

Proposed method

  • Use a single Vision-Language Transformer with 12 layers for both encoding and decoding.
  • Represent images as region proposals and integrate region features, class probabilities, and geometry into region embeddings.
  • Apply two unsupervised pre-training objectives: bidirectional prediction and sequence-to-sequence (seq2seq) prediction via masked language modeling with different self-attention masks.
  • Control context for prediction by adjusting self-attention masks to enable either full bidirectional context or auto-regressive seq2seq context.
  • Fine-tune for downstream tasks: image captioning via seq2seq generation and VQA as a multi-label classification over a fixed answer vocabulary.
  • Train on Conceptual Captions for pre-training and evaluate on COCO Captions, Flickr30k Captions, and VQA 2.0 for downstream tasks.
  • Compare against prior vision-language pre-training works and ablate effects of pre-training objectives, initialization, and input design.

Experimental results

Research questions

  • RQ1Can a single unified encoder-decoder model with shared parameters support both vision-language generation and understanding tasks effectively?
  • RQ2Do bidirectional and seq2seq vision-language pre-training objectives, when jointly trained, yield improvements on both image captioning and VQA?
  • RQ3Does pre-training on large image-text data accelerate downstream learning and improve performance compared to language-only pre-training or no pre-training?
  • RQ4What is the impact of design choices (region inputs, pretext tasks, and model initialization) on downstream vision-language tasks?

Key findings

  • The unified VLP model achieves state-of-the-art results on image captioning and VQA across COCO Captions, Flickr30k, and VQA 2.0.
  • Pre-training with vision-language objectives significantly speeds up downstream fine-tuning and improves task performance versus non-pre-trained or language-only baselines.
  • Jointly training bidirectional and seq2seq objectives yields robust representations that transfer well to both generation (captioning) and understanding (VQA) tasks.
  • Initializing from UniLM or BERT-based language models and incorporating region-level inputs improves captioning and VQA performance.
  • A single shared Transformer-based architecture can reduce the need for task-specific models while maintaining competitive downstream accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.