Universal Vision-Language Dense Retrieval: Learning A Unified Representation Space for Multi-Modal Retrieval

Zhenghao Liu, Chenyan Xiong, Yuanhuiyi Lv, Zhiyuan Liu, Yu Ge · DOI

Abstract

This paper presents Universal Vision-Language Dense Retrieval (UniVL-DR), which builds a unified model for multi-modal retrieval. UniVL-DR encodes queries and multi-modality resources in an embedding space for searching candidates from different modalities. To learn a unified embedding space for multi-modal retrieval, UniVL-DR proposes two techniques: 1) Universal embedding optimization strategy, which contrastively optimizes the embedding space using the modality-balanced hard negatives; 2) Image verbalization method, which bridges the modality gap between images and texts in the raw data space. UniVL-DR achieves the state-of-the-art on the multi-modal open-domain question answering benchmark, WebQA, and outperforms all retrieval models on the two subtasks, text-text retrieval and text-image retrieval. It demonstrates that universal multi-modal search is feasible to replace the divide-and-conquer pipeline with a united model and also benefits single/cross modality tasks.

The Challenge: Beyond Divide-and-Conquer

Traditional multi-modal search engines typically employ a divide-and-conquer strategy. In this paradigm, separate retrieval systems are maintained for different modalities (e.g., one for text, one for images). The results from these disparate systems are then combined using a secondary fusion or re-ranking layer.

Comparison between the traditional divide-and-conquer pipeline and the proposed universal search approach.

This approach faces two significant hurdles:

  1. The Modality Gap: Text and images exist in fundamentally different mathematical spaces, making direct comparison difficult.
  2. Pipeline Complexity: The fusion step often becomes a bottleneck, struggling to accurately weigh the relevance of a text snippet against a visual asset.

UniVL-DR addresses these by mapping queries, text documents, and images into a single, unified vector space, enabling efficient end-to-end K-Nearest Neighbor (KNN) search across all modalities simultaneously.

Methodology

UniVL-DR introduces two core innovations to bridge the modality gap and ensure effective joint retrieval:

1. Universal Embedding Optimization

Standard contrastive learning often suffers from "modality bias." If a model is trained primarily with text-based negatives, it may only learn to distinguish between formats rather than semantic relevance. UniVL-DR employs Modality-Balanced Hard Negatives, ensuring that during training, the most challenging incorrect results are strictly balanced between text and images. This forces the model to learn deep semantic features that transcend the data format.

2. Image Verbalization

To align visual data with linguistic queries, UniVL-DR converts image features into a textual format termed "mentalese." Using a vision-language model (VinVL), the system detects objects and generates descriptive facts or potential queries related to the image. These verbalized descriptions are fused with original image features, providing the retriever with rich linguistic context to match against user queries.

Evaluation and Results

The model was evaluated on WebQA, a complex multi-hop, multi-modal benchmark requiring retrieval from over 1.1 million sources (400k images and 800k text snippets).

Examples of text-text and cross-modality retrieval tasks within the WebQA benchmark.

Key Findings

  • State-of-the-Art Performance: UniVL-DR achieved an MRR@10 of 62.40, a substantial improvement over previous multi-modal baselines (approx. 48.83).
  • Superiority over Pipelines: The model outperformed "Oracle" divide-and-conquer systems—models that were pre-informed of the target modality—demonstrating the robustness of the unified embedding space.
  • Cross-Modality Benefits: Training on multi-modal data improved performance on single-modality (text-only) tasks, suggesting that visual grounding enhances the model's overall linguistic understanding.

Conclusion and Future Work

UniVL-DR proves that a unified model for multi-modal search is not only feasible but superior to complex multi-stage pipelines. While the current implementation relies on external models for image verbalization, future work aims to integrate this process directly into the training loop. Expanding this universal space to include video and audio remains a promising frontier for dense retrieval research.

Summary updated

BibTeX
@inproceedings{liu2023universal,
  author = {Zhenghao Liu and Chenyan Xiong and Yuanhuiyi Lv and Zhiyuan Liu and Yu Ge},
  title = {{Universal Vision-Language Dense Retrieval: Learning A Unified Representation Space for Multi-Modal Retrieval}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=PQOlkgsBsik},
}
Figure