Fine-Grained Semantically Aligned Vision-Language Pre-Training

Juncheng Li, Xin He, Longhui Wei, Long Qian, Linchao Zhu, Lingxi Xie, Yueting Zhuang, Qi Tian, Siliang Tang

Introduction

LOUPE is a novel vision-language pre-training framework that leverages game-theoretic Shapley interactions to explicitly align image regions with textual phrases. By learning these fine-grained relationships directly from raw image-caption pairs, LOUPE achieves state-of-the-art retrieval performance and enables impressive zero-shot object detection and visual grounding—all without relying on any human-annotated bounding boxes.

The Challenge: Efficiency vs. Fine-Grained Alignment

Most vision-language models fall into two distinct camps:

  • Dual-encoders (like CLIP) are highly efficient but only align global images to global text, missing out on detailed spatial understanding.
  • Fusion-encoders capture precise, fine-grained alignments but are computationally heavy and too slow for large-scale retrieval tasks.

The ideal model would maintain the lightning-fast inference of a dual-encoder while capturing fine-grained alignment—knowing exactly which part of an image corresponds to a specific phrase like "a dog led by a man." Traditionally, learning this requires expensive, manually labeled datasets with bounding boxes. LOUPE aims to learn these fine-grained semantics using only the massive, "noisy" image-text pairs available on the open web.

Methodology: The LOUPE Framework

The authors introduce LOUPE (fine-grained semantically aLigned visiOn-langUage PrE-training), which treats image patches and text words as "players" in a cooperative game. The "score" of this game is the overall similarity between the image and the text.

Overview of the LOUPE framework showing the dual-encoder architecture and the Shapley interaction modules.

The framework operates in two main stages:

  1. Token-level Shapley Interaction: This module groups image patches into "semantic regions." If a group of patches has a high Shapley interaction value, it means they "cooperate" strongly to contribute to the overall image-text similarity, suggesting they form a single visual entity (e.g., a person or a car).
  2. Semantics-level Shapley Interaction: Once regions are identified, this module measures the interaction between specific regions and textual phrases (extracted via an off-the-shelf parser). This provides the explicit supervision needed to align a specific visual region with a phrase like "wooden bench."

The Efficiency Trick (UNSIL): Computing exact Shapley values is NP-hard and computationally expensive. To solve this, the authors propose UNSIL (Uncertainty-aware Neural Shapley Interaction Learning). This module uses a neural network to predict the interaction values. If the network is confident (low uncertainty), it uses the prediction; if it's unsure, it falls back to expensive sampling. This hybrid strategy reduces training time from nearly 10 seconds per iteration to less than 2 seconds.

Key Insights

  • Game Theory as Supervision: The most novel insight is using Shapley interactions—a concept from economics—to derive "soft labels" for alignment. It turns a weakly-supervised problem (global captions) into a self-supervised fine-grained problem.
  • Emergent Object Detection: Because the model is forced to find regions that "cooperate" to match the text, it naturally learns to localize objects. This allows it to perform object detection tasks without ever seeing a human-drawn bounding box during training.
  • Dual-Encoder Efficiency: Unlike fusion models, the fine-grained modules in LOUPE are only used during training as proxy objectives. During inference, they can be discarded, leaving a standard, lightning-fast dual-encoder.

Key Results

Trained on a massive dataset of 240 million web-crawled image-text pairs, LOUPE consistently outperforms existing state-of-the-art models across multiple benchmarks:

  • Image-Text Retrieval: On MSCOCO text-to-image retrieval, LOUPE achieved 50.1% Recall@1, a significant jump over its strongest competitor, FILIP (45.9%).
  • Zero-shot Classification: LOUPE achieved an average top-1 accuracy of 76.1% across 11 diverse datasets (including ImageNet, CIFAR10, and OxfordPets), outperforming CLIP's 73.0%.
  • Zero-shot Transfer: Without any fine-tuning or object-level annotations, LOUPE achieved 12.1% [email protected] on COCO object detection and 30.3% [email protected] on PASCAL VOC, proving it truly understands fine-grained spatial semantics.
Zero-shot transfer performance on object detection and visual grounding.

Limitations and Future Work

The authors identify two primary limitations:

  1. External Parser Dependency: The model relies on an off-the-shelf constituency parser to identify phrases in the text. If the parser makes a mistake, the alignment supervision becomes noisy.
  2. Web Data Noise: Like all models trained on internet data, LOUPE is susceptible to mismatched image-text pairs and potential biases inherent in web-crawled content.

Future work could involve learning the phrase extraction end-to-end or applying this game-theoretic approach to video-language pre-training.

Summary updated

BibTeX
@inproceedings{li2022fine,
  author = {Juncheng Li and XIN HE and Longhui Wei and Long Qian and Linchao Zhu and Lingxi Xie and Yueting Zhuang and Qi Tian and Siliang Tang},
  title = {{Fine-Grained Semantically Aligned Vision-Language Pre-Training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=yam42JWePu},
}
Figure