Skip to main content
QUICK REVIEW

[Paper Review] Grid-VLP: Revisiting Grid Features for Vision-Language Pre-training

Ming Yan, Haiyang Xu|arXiv (Cornell University)|Aug 21, 2021
Multimodal Machine Learning ApplicationsComputer Science22 references6 citations
TL;DR

This paper proposes Grid-VLP, a vision-language pre-training method that replaces region-based features with grid-based convolutional features from pre-trained CNNs like ResNeXt, enabling faster, simpler, and more effective cross-modal learning. Despite using only in-domain data (MS-COCO and Visual Genome), Grid-VLP outperforms most region-based VLP models on VQA, NLVR2, and GQA, even surpassing end-to-end PixelBERT, demonstrating the strong potential of grid features for efficient and high-performing VLP.

ABSTRACT

Existing approaches to vision-language pre-training (VLP) heavily rely on an object detector based on bounding boxes (regions), where salient objects are first detected from images and then a Transformer-based model is used for cross-modal fusion. Despite their superior performance, these approaches are bounded by the capability of the object detector in terms of both effectiveness and efficiency. Besides, the presence of object detection imposes unnecessary constraints on model designs and makes it difficult to support end-to-end training. In this paper, we revisit grid-based convolutional features for vision-language pre-training, skipping the expensive region-related steps. We propose a simple yet effective grid-based VLP method that works surprisingly well with the grid features. By pre-training only with in-domain datasets, the proposed Grid-VLP method can outperform most competitive region-based VLP methods on three examined vision-language understanding tasks. We hope that our findings help to further advance the state of the art of vision-language pre-training, and provide a new direction towards effective and efficient VLP.

Motivation & Objective

  • To address the inefficiency and constraints imposed by object detectors in existing region-based vision-language pre-training (VLP) methods.
  • To investigate whether grid-based convolutional features can serve as a viable and superior alternative to region-based features in VLP.
  • To enable faster, simpler, and end-to-end trainable VLP models by eliminating dependency on object detection.
  • To evaluate the performance of grid-based features on standard vision-language understanding benchmarks without complex data augmentation or fine-tuning tricks.

Proposed method

  • Grid-VLP uses a pre-trained CNN (e.g., ResNeXt) to extract grid-based feature maps from images instead of region proposals from an object detector.
  • Cross-modal fusion is performed directly between text tokens and the 2D grid feature map using a two-stream Transformer architecture, similar to LXMERT.
  • A random grid sampling mechanism is applied during pre-training to reduce sequence length and accelerate training, improving robustness to long visual sequences.
  • The model is pre-trained on MS-COCO and Visual Genome using standard VLP objectives: masked language modeling, image-text matching, and image question answering.
  • The image resolution is set to resize the shorter side to 600, with a maximum longer side of 1000, and 100 random grids are sampled per image during pre-training.
  • Training uses 8 V100 GPUs, a batch size of 512, AdamW optimizer, and a base learning rate of $10^{-4}$ for 30 epochs.

Experimental results

Research questions

  • RQ1Can grid-based convolutional features outperform region-based features in vision-language pre-training without relying on object detectors?
  • RQ2How does the choice of image encoder backbone (e.g., ResNeXt-50, -101, -152) affect the performance of grid-based VLP?
  • RQ3What is the impact of input image resolution on the accuracy and inference speed of Grid-VLP?
  • RQ4Can a simple grid-based approach achieve state-of-the-art performance with only in-domain pre-training data?

Key findings

  • Grid-VLP outperforms most competitive region-based VLP methods on all three downstream tasks: VQA, NLVR2, and GQA, even without data augmentation or adversarial training.
  • On the VQA v2.0 benchmark, Grid-VLP with ResNeXt-152 achieves 76.05% accuracy, surpassing the region-based ResNeXt-152 baseline (75.12%) despite significantly lower feature extraction time.
  • Using a smaller input image size (448×448) results in a 3x speedup with only a 0.34% drop in VQA accuracy compared to the full 600×1000 resolution.
  • Increasing the image encoder depth from ResNeXt-50 to ResNeXt-152 improves VQA accuracy from 74.34% to 76.05%, confirming the importance of strong visual backbones.
  • Grid-VLP achieves state-of-the-art performance on GQA and NLVR2 with only in-domain pre-training data, outperforming models that use large-scale out-of-domain detection data.
  • The model’s performance is robust to random grid sampling, with no significant performance drop when reducing the number of sampled grids from 100 to 64 or 128.

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.