UniIR: Training and Benchmarking Universal Multimodal Information Retrievers
Cong Wei, Yang Chen, Haonan Chen, Hexiang Hu, Ge Zhang, Jie Fu, Alan Ritter, Wenhu Chen
TL;DR
UniIR introduces a universal multimodal information retriever trained with instruction tuning to handle eight retrieval tasks across modalities. It builds M-BEIR, a large-scale benchmark of 10 datasets across 8 tasks with instruction-based queries and a 5.6M candidate pool, enabling standardized evaluation of cross-modal retrieval. The study demonstrates that instruction tuning and multi-task training substantially boost generalization to unseen tasks and held-out datasets, while architecture alignment with pre-training further enhances performance. Together, these elements establish a strong baseline for universal multimodal retrieval and highlight directions for scaling vision-language pretraining to broader retrieval tasks.
Abstract
Existing information retrieval (IR) models often assume a homogeneous format, limiting their applicability to diverse user needs, such as searching for images with text descriptions, searching for a news article with a headline image, or finding a similar photo with a query image. To approach such different information-seeking demands, we introduce UniIR, a unified instruction-guided multimodal retriever capable of handling eight distinct retrieval tasks across modalities. UniIR, a single retrieval system jointly trained on ten diverse multimodal-IR datasets, interprets user instructions to execute various retrieval tasks, demonstrating robust performance across existing datasets and zero-shot generalization to new tasks. Our experiments highlight that multi-task training and instruction tuning are keys to UniIR's generalization ability. Additionally, we construct the M-BEIR, a multimodal retrieval benchmark with comprehensive results, to standardize the evaluation of universal multimodal information retrieval.
