Skip to main content
QUICK REVIEW

[Paper Review] Coarse-to-Fine Vision-Language Pre-training with Fusion in the Backbone

Zi-Yi Dou, Aishwarya Kamath|arXiv (Cornell University)|Jun 15, 2022
Multimodal Machine Learning ApplicationsComputer Science67 citations
TL;DR

Fiber inserts cross-attention into vision and text backbones to fuse modalities inside the backbone, and uses a two-stage coarse-to-fine pre-training to support both image-level and region-level vision-language tasks.

ABSTRACT

Vision-language (VL) pre-training has recently received considerable attention. However, most existing end-to-end pre-training approaches either only aim to tackle VL tasks such as image-text retrieval, visual question answering (VQA) and image captioning that test high-level understanding of images, or only target region-level understanding for tasks such as phrase grounding and object detection. We present FIBER (Fusion-In-the-Backbone-based transformER), a new VL model architecture that can seamlessly handle both these types of tasks. Instead of having dedicated transformer layers for fusion after the uni-modal backbones, FIBER pushes multimodal fusion deep into the model by inserting cross-attention into the image and text backbones, bringing gains in terms of memory and performance. In addition, unlike previous work that is either only pre-trained on image-text data or on fine-grained data with box-level annotations, we present a two-stage pre-training strategy that uses both these kinds of data efficiently: (i) coarse-grained pre-training based on image-text data; followed by (ii) fine-grained pre-training based on image-text-box data. We conduct comprehensive experiments on a wide range of VL tasks, ranging from VQA, image captioning, and retrieval, to phrase grounding, referring expression comprehension, and object detection. Using deep multimodal fusion coupled with the two-stage pre-training, FIBER provides consistent performance improvements over strong baselines across all tasks, often outperforming methods using magnitudes more data. Code is available at https://github.com/microsoft/FIBER.

Motivation & Objective

  • Motivate a unified vision-language pre-training framework that handles both image-level and region-level tasks.
  • Develop an architecture that embeds multimodal fusion inside backbones for efficiency and performance gains.
  • Propose a two-stage pre-training strategy leveraging image-text data first, then image-text-box data for grounding/detection.

Proposed method

  • Insert cross-attention blocks into both image and text backbones with a learnable fusion gate to enable deep multimodal fusion.
  • Use a coarse-grained pre-training stage with low-resolution images and objectives of ITM, MLM, and ITC when fusion is off, and ITM/MLM/ITC when fusion is on.
  • Use a fine-grained pre-training stage with high-resolution images, Swin backbone, and an object detector head (Dynamic Head) to learn region-level grounding and detection.
  • Adopt a two-stage pre-training paradigm where parameters are shared between stages to leverage both data types efficiently.
  • Adapt Fiber to downstream tasks by toggling cross-attention (dual encoder vs. fusion encoder) and using an OD head for grounding/detection.

Experimental results

Research questions

  • RQ1Can a single model architecture perform both image-level tasks (VQA, captioning, retrieval) and region-level tasks (grounding, object detection) effectively?
  • RQ2Does fusing modalities inside the backbone (instead of post-fusion layers) provide memory and performance benefits across VL tasks?
  • RQ3Does a two-stage coarse-to-fine pre-training paradigm improve data efficiency and performance for grounding and detection while still supporting captioning and VQA?
  • RQ4How does Fiber perform on standard VL benchmarks compared to prior end-to-end and region-focused models?

Key findings

  • Fiber achieves consistent improvements across VL tasks including VQA, captioning, retrieval, grounding, and object detection.
  • The fusion-in-backbone design uses about 26M additional parameters for fusion and yields lower FLOPs than some baselines, enabling more efficient training.
  • In head-to-head comparisons, Fiber often outperforms methods trained with magnitudes more data or larger models on several tasks.
  • The two-stage coarse-to-fine pre-training enables strong performance on fine-grained tasks using coarse-grained pre-training, with gains even when limited bounding-box data is available.
  • Fiber attains competitive or superior results in image-text retrieval with or without fusion-based re-ranking, and achieves strong grounding and detection results on standard benchmarks.

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.