TL;DR
This paper introduces MVPTR, a novel multi-stage pre-training framework for vision-language models that explicitly models semantic alignment across multiple levels, from individual tokens to phrases and object concepts. By disentangling uni-modal and cross-modal learning, MVPTR achieves state-of-the-art results on various downstream tasks, particularly in image-text retrieval.
What Problem Does This Paper Address?
Vision-language pre-training (VLP) models have made significant strides by learning to align visual and textual information. However, existing methods often focus on aligning low-level features like image patches or detected object bounding boxes with text tokens. The authors argue that this approach limits the ability to perform higher-level semantic alignments, such as grounding phrases to specific image regions. They propose that a richer understanding of vision-language relationships requires modeling these alignments at multiple semantic granularities simultaneously, recognizing that language and vision have inherent hierarchical structures (words form phrases, phrases form sentences; objects form regions, regions form images).
Methods
MVPTR tackles this problem with a two-stage, multi-level semantic alignment approach:
- Multi-Level Input Construction:
- Textual Input: Beyond standard tokenization, MVPTR incorporates "phrase concepts" derived from scene graphs (e.g., "big wave," "man rides wave"). These phrases act as intermediate semantic units.
- Visual Input: Object tags (e.g., "surfboard," "wave," "man") are used as "object-level concepts" to anchor region features.
- Two-Stage Pre-training Framework:
- Stage 1: Uni-Modal Learning: This stage focuses on learning within each modality separately.
- Masked Concept Recovering (MCR): A novel task where either visual object tags or textual phrase concepts are masked and the model must predict them. This encourages explicit alignment between region features and object tags (visual) and injects structural knowledge into phrase representations (textual).
- Visual Semantic Contrastive (VSC) Loss: A coarse-grained alignment task that pulls together global image and text embeddings.
- Stage 2: Cross-Modal Learning: This stage enforces interactions between modalities.
- Weakly-Supervised Phrase Grounding (WPG): Leverages the learned phrase and region representations to align them without explicit ground-truth bounding boxes for phrases.
- Image-Text Matching (ITM) & Masked Language Modeling (MLM): Standard VLP tasks are used to further refine global and token-level alignments, respectively.
The staged approach is designed to prevent interference between uni-modal and cross-modal learning, allowing each to be optimized effectively.
Datasets
- Pre-training: MSCOCO, Flickr30k, GQA, Conceptual Captions, SBU, and OpenImages.
- Fine-tuning:
- Image-Text Retrieval: Flickr30k, MSCOCO.
- Multi-Modal Classification: VQA v2.
- Visual Entailment (VE): SNLI-VE.
- Visual Grounding: Flickr30k Entities.
Key Insights and Ideas
- Hierarchy Matters: Explicitly modeling multi-level semantics (tokens, phrases, object concepts) is crucial for robust vision-language understanding, going beyond simple token-to-region alignment.
- Disentangled Learning is Beneficial: Separating uni-modal and cross-modal learning stages helps models learn more effectively by avoiding conflicting objectives.
- Object Tags as Anchors: Using object tags as explicit concepts significantly aids in aligning visual region features with textual information.
- Phrase Concepts Bridge the Gap: Phrase concepts derived from scene graphs provide a richer semantic representation that can effectively link related tokens and align with image regions.
- Weak Supervision for Grounding: Weakly-supervised phrase grounding (WPG) is effective for learning phrase-level alignments when explicit ground truth is unavailable.
Key Results
- State-of-the-Art Performance: MVPTR achieves state-of-the-art results on image-text retrieval tasks on MSCOCO and Flickr30k, outperforming existing methods like ALIGN.
- Strong Performance on Downstream Tasks: The model also shows competitive or state-of-the-art performance on VQA, VE, and Visual Grounding tasks.
- Efficient Uni-Modal Encoders: The uni-modal encoders of MVPTR, despite having fewer parameters (6 layers vs. 12 layers in some baselines), perform better than comparable uni-modal methods on MSCOCO and Flickr30k.
- Ablation Studies: Removing object-level alignment (MCR) or phrase-level alignment (WPG) significantly degrades performance, highlighting the importance of these components. The staged approach (comparing to a "merged attention" variant) also shows clear benefits.
Limitations and Future Work
- VQA "Number" Questions: MVPTR slightly underperforms VinVL on "number" questions in VQA. The authors hypothesize this is due to VinVL's longer pre-training and potential interaction between questions and object tags during its pre-training, which MVPTR's pre-training prohibits.
- Phrase Generalizability: While phrases are generally useful, the authors note that their frequency-based extraction might limit generalizability, especially for datasets with less diverse phrasing.
- Future Work:
- Better hierarchical modeling of image-text pairs, potentially incorporating explicit object relationships.
- Applying multi-level semantic modeling to end-to-end models like Vision Transformers.
- Integrating more general concepts, potentially linking them to common sense knowledge graphs.
Summary updated