Abstract
Multi-modal retrieval becomes increasingly popular in practice. However, the existing retrievers are mostly text-oriented, which lack the capability to process visual information. Despite the presence of vision-language models like CLIP, the current methods are severely limited in representing the text-only and image-only data. In this work, we present a new embedding model VISTA for universal multi-modal retrieval. Our work brings forth threefold technical contributions. Firstly, we introduce a flexible architecture which extends a powerful text encoder with the image understanding capability by introducing visual token embeddings. Secondly, we develop two data generation strategies, which bring high-quality composed image-text to facilitate the training of the embedding model. Thirdly, we introduce a multi-stage training algorithm, which first aligns the visual token embedding with the text encoder using massive weakly labeled data, and then develops multi-modal representation capability using the generated composed image-text data. In our experiments, VISTA achieves superior performances across a variety of multi-modal retrieval tasks in both zero-shot and supervised settings.
Introduction
Information Retrieval (IR) serves as the foundation for modern search engines and AI assistants. While text-only retrieval has reached high maturity with models like BGE and E5, multi-modal retrieval—where queries or documents may combine text and images—remains a significant challenge. Existing Vision-Language Models (VLMs) like CLIP often suffer from two primary limitations: weak text representation compared to dedicated linguistic models, and "shallow fusion" where modalities are encoded separately and combined via simple score fusion, failing to capture deep cross-modal nuances.
The VISTA Architecture
To address these gaps, VISTA (Visualized Text Embedding) introduces a novel "Image Tokenizer" architecture. Rather than training a joint model from scratch, VISTA leverages a powerful, frozen pre-trained text encoder (typically BERT-based).
As shown in Figure 1, a Vision Transformer (ViT) acts as an image tokenizer, converting image patches into a sequence of visual tokens. These tokens are then fed into the frozen text encoder alongside standard text tokens. This design ensures that the model retains its original high-quality text retrieval capabilities while enabling "in-depth fusion" through the transformer's attention mechanism, allowing the model to understand exactly how specific words relate to specific image regions.
Training and Synthetic Data Generation
VISTA is trained in two stages. The first stage focuses on cross-modal alignment using massive weakly labeled data (LAION-2B) to map visual tokens into the text encoder's semantic space. The second stage develops multi-modal representation capabilities using composed image-text data.
A major hurdle in multi-modal retrieval is the scarcity of high-quality "composed" training data. VISTA overcomes this through two automated pipelines:
- IT2I (Image & Text To Image): Uses GPT-3.5 to generate editing instructions and Stable Diffusion to create modified images. This provides high-quality "hard negatives" that prevent the model from relying on general image similarity.
- T2IT (Text To Image & Text): Uses detailed captions and GPT-3.5 to generate related articles and search queries to simulate real-world knowledge retrieval scenarios.
Experimental Results
VISTA demonstrates state-of-the-art (SOTA) performance across diverse benchmarks, including WebQA, ReMuQ, CIRR, FashionIQ, and OVEN-QS.
In zero-shot settings (Figure 4), VISTA achieved an average Recall@5 of 36.65%, nearly doubling CLIP's 18.72% and significantly outperforming specialized models like Pic2Word. In supervised fine-tuning, VISTA reached 74.9% Recall@5 on WebQA and a remarkable 96.3% on ReMuQ, showcasing its robust ability to handle complex multi-modal knowledge queries.
Conclusion
VISTA successfully bridges the gap between high-performance text encoders and multi-modal data. By freezing the text encoder and adapting visual tokens to its space, VISTA maintains linguistic precision while achieving deep cross-modal understanding. While computational efficiency remains a challenge due to long token sequences, VISTA sets a new standard for universal multi-modal retrieval.
Reference: Zhou, J., et al. (2024). VISTA: Visualized Text Embedding For Universal Multi-Modal Retrieval. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL 2024).
Summary updated