[Paper Review] Seeing Out of tHe bOx: End-to-End Pre-training for Vision-Language Representation Learning
SOHO proposes an end-to-end vision-language pre-training model that uses a trainable visual encoder and a dynamic visual dictionary to learn cross-modal representations from image-text pairs, achieving faster inference and state-of-the-art-like gains on several VL tasks.
We study joint learning of Convolutional Neural Network (CNN) and Transformer for vision-language pre-training (VLPT) which aims to learn cross-modal alignments from millions of image-text pairs. State-of-the-art approaches extract salient image regions and align regions with words step-by-step. As region-based visual features usually represent parts of an image, it is challenging for existing vision-language models to fully understand the semantics from paired natural languages. In this paper, we propose SOHO to "See Out of tHe bOx" that takes a whole image as input, and learns vision-language representation in an end-to-end manner. SOHO does not require bounding box annotations which enables inference 10 times faster than region-based approaches. In particular, SOHO learns to extract comprehensive yet compact image features through a visual dictionary (VD) that facilitates cross-modal understanding. VD is designed to represent consistent visual abstractions of similar semantics. It is updated on-the-fly and utilized in our proposed pre-training task Masked Visual Modeling (MVM). We conduct experiments on four well-established vision-language tasks by following standard VLPT settings. In particular, SOHO achieves absolute gains of 2.0% R@1 score on MSCOCO text retrieval 5k test split, 1.5% accuracy on NLVR$^2$ test-P split, 6.7% accuracy on SNLI-VE test split, respectively.
Motivation & Objective
- Motivate end-to-end vision-language pre-training without bounding-box region features.
- Address the semantic gap between dense visual features and language tokens.
- Introduce a visual dictionary to produce compact visual tokens and enable dynamic updating during training.
- Develop Masked Vision Modeling, Masked Language Modeling, and Image-Text Matching as pre-training objectives.
Proposed method
- Use a trainable CNN visual encoder to extract whole-image features.
- Introduce a visual dictionary (VD) that maps visual features to k cluster centers and updates via a moving-average (momentum) rule.
- Define a non-differentiable nearest-neighbor mapping for VD and apply a stop-gradient update to allow end-to-end training.
- Train with three objectives: MLM, MVM, and ITM, combined to form the pre-training objective.
- Pre-train on in-domain VG and MSCOCO data to learn cross-modal representations.
- Fine-tune on downstream tasks including image-text retrieval, VQA, NLVR, and visual entailment.
Experimental results
Research questions
- RQ1Can end-to-end VLPT without region-based features learn effective cross-modal representations from image-text pairs?
- RQ2Does a dynamically-updated visual dictionary improve cross-modal alignment compared with region-based or grid-based features?
- RQ3What are the performance and efficiency benefits of SOHO on standard VL tasks?
- RQ4How should pre-training losses (MLM, MVM, ITM) be balanced for best cross-modal learning?
Key findings
- SOHO achieves notable improvements on several VL benchmarks: 2.0% absolute R@1 gain on MSCOCO text retrieval (5k test split).
- SOHO achieves 1.5% accuracy gain on NLVR 2 test-P split.
- SOHO achieves 6.7% accuracy gain on SNLI-VE test split.
- SOHO achieves 0.56% VQA score gain on VQA2.0 test-std split.
- Inference with SOHO is about 10x faster than region-based BUTD-style methods due to end-to-end processing and no region proposals.
- A VD size of 2048 often yields the best performance improvements across tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.