MegaPairs: Massive Data Synthesis For Universal Multimodal Retrieval

Junjie Zhou, Zheng Liu, Ze Liu, Shitao Xiao, Yueze Wang +4 more
12/19/2024
cs.CVcs.CL

No official code found. Best implementation: VectorSpaceLab/MegaPairs (249 stars, MIT, last commit 2025-11-06).

Abstract

Despite the rapidly growing demand for multimodal retrieval, progress in this field remains severely constrained by a lack of training data. In this paper, we introduce MegaPairs, a novel data synthesis method that leverages vision language models (VLMs) and open-domain images, together with a massive synthetic dataset generated from this method. Our empirical analysis shows that MegaPairs generates high-quality data, enabling the multimodal retriever to significantly outperform the baseline model trained on 70$\times$ more data from existing datasets. Moreover, since MegaPairs solely relies on general image corpora and open-source VLMs, it can be easily scaled up, enabling continuous improvements in retrieval performance. In this stage, we produced more than 26 million training instances and trained several models of varying sizes using this data. These new models achieve state-of-the-art zero-shot performance across 4 popular composed image retrieval (CIR) benchmarks and the highest overall performance on the 36 datasets provided by MMEB. They also demonstrate notable performance improvements with additional downstream fine-tuning. Our produced dataset, well-trained models, and data synthesis pipeline will be made publicly available to facilitate the future development of this field.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL 2025 Oral] πŸ”₯πŸ”₯ MegaPairs: Massive Data Synthesis for Universal Multimodal Retrieval

24910Python, Jupyter NotebookDec 19, 202411 months agoMIT

Cite this paper

@article{zhou2024megapairs,
  title  = {MegaPairs: Massive Data Synthesis For Universal Multimodal Retrieval},
  author = {Junjie Zhou and Zheng Liu and Ze Liu and Shitao Xiao and Yueze Wang and Bo Zhao and Chen Jason Zhang and Defu Lian and Yongping Xiong},
  year   = {2024},
  eprint = {2412.14475},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14475v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14475.svg)](https://codeofpaper.com/paper/2412.14475)

Discussion