Single-Stream Multi-level Alignment for Vision-Language Pretraining

Zaid Khan, B. G. Vijay Kumar, Xiang Yu, Samuel Schulter, Manmohan Chandraker, Yun Fu

Introduction

Vision-Language Pretraining (VLP) has seen significant advancements with models like CLIP, which typically utilize a "dual-stream" architecture. While effective for scaling, these models often fail to capture fine-grained local details because they primarily align global summaries of images and text. Previous attempts to address this relied on pre-trained object detectors, which are often limited by fixed categories and expensive human annotations.

SIMLA (SIngle-Stream Multi-Level Alignment) introduces a novel framework designed to learn multi-level alignment—global, local (patch-token), and conceptual—from scratch using only raw image-text pairs. By employing an asymmetric single-stream architecture and innovative self-supervised tasks, SIMLA achieves superior data efficiency and state-of-the-art performance in retrieval and grounding.

Methodology

Asymmetric Architecture

SIMLA utilizes a 24-layer transformer stack with an asymmetric design. The first 12 layers function as a dedicated vision encoder ($E_V$), while the subsequent 12 layers serve as a multimodal encoder ($E_{MM}$). This design acknowledges the inherent differences between modalities: dense, low-level visual data requires more initial processing to reach the semantic abstraction level of sparse, high-level text.

The SIMLA architecture featuring asymmetric encoders and multi-level alignment tasks including ITC, ITM, XMM, and PSL.

Multi-Level Training Objectives

The model is trained using four complementary tasks to ensure alignment across different granularities:

  1. Image-Text Contrastive (ITC) & Matching (ITM): Standard global alignment tasks.
  2. Symmetric Cross-Modality Reconstruction (XMM): The model reconstructs masked image patches or text tokens using the opposite modality, forcing the learning of precise patch-to-word correspondences.
  3. Pseudo-labeled Keyword Prediction (PSL): To address the "lazy" nature of human captions, a momentum encoder identifies important visual concepts (e.g., "sky", "grass") that are present in the image but missing from the text. The vision encoder is then trained to predict these "unspoken" keywords.

Experimental Results

SIMLA was pretrained on a standard 4M image-text dataset and evaluated across various benchmarks, demonstrating exceptional data efficiency and grounding capabilities.

Retrieval and Grounding Performance

On the Flickr30k benchmark, SIMLA achieved a 91.9% Recall@1, surpassing ALBEF (90.5%) and significantly larger models like CLIP (88.0%) and ALIGN (88.6%). In visual grounding tasks on RefCOCO+, SIMLA established a new state-of-the-art for weakly-supervised grounding with 67.4% accuracy on the TestA set.

Visualization of cross-modal attention maps demonstrating SIMLA's ability to achieve fine-grained alignment between text tokens and specific image regions.

Efficiency and Speed

Beyond accuracy, SIMLA is highly optimized for inference. It processes approximately 7.2 image-text pairs per second, making it nearly seven times faster than competitors like UNITER or VILLA (~1.1 pairs/sec).

Discussion and Insights

The success of SIMLA highlights two key insights in VLP:

  • The Importance of the "Unspoken": The PSL task allows the model to develop a richer visual vocabulary by learning from concepts that humans typically omit from captions.
  • Architectural Asymmetry: Processing images with more depth before multimodal fusion is more efficient than the symmetric processing found in dual-stream models.

While single-stream models can face computational bottlenecks during massive-scale retrieval, SIMLA mitigates this by using the model for high-precision re-ranking. Future work may explore scaling the PSL task to even larger vocabularies or applying these multi-level alignments to generative text-to-image tasks.

Summary updated

BibTeX
@inproceedings{khan2022single,
  author = {Zaid Khan and B. G. Vijay Kumar and Xiang Yu and Samuel Schulter and Manmohan Chandraker and Yun Fu},
  title = {{Single-Stream Multi-level Alignment for Vision-Language Pretraining}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20059-5\_42},
}
Figure