Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MagicLens: Self-Supervised Image Retrieval with Open-Ended Instructions

About

Image retrieval, i.e., finding desired images given a reference image, inherently encompasses rich, multi-faceted search intents that are difficult to capture solely using image-based measures. Recent works leverage text instructions to allow users to more freely express their search intents. However, they primarily focus on image pairs that are visually similar and/or can be characterized by a small set of pre-defined relations. The core thesis of this paper is that text instructions can enable retrieving images with richer relations beyond visual similarity. To show this, we introduce MagicLens, a series of self-supervised image retrieval models that support open-ended instructions. MagicLens is built on a key novel insight: image pairs that naturally occur on the same web pages contain a wide range of implicit relations (e.g., inside view of), and we can bring those implicit relations explicit by synthesizing instructions via foundation models. Trained on 36.7M (query image, instruction, target image) triplets with rich semantic relations mined from the web, MagicLens achieves results comparable with or better than prior best on eight benchmarks of various image retrieval tasks, while maintaining high parameter efficiency with a significantly smaller model size. Additional human analyses on a 1.4M-image unseen corpus further demonstrate the diversity of search intents supported by MagicLens. Code and models are publicly available at https://open-vision-language.github.io/MagicLens/.

Kai Zhang, Yi Luan, Hexiang Hu, Kenton Lee, Siyuan Qiao, Wenhu Chen, Yu Su, Ming-Wei Chang• 2024

Related benchmarks

TaskDatasetResultRank
Composed Image RetrievalCIRR (test)
Recall@133.3
580
Image-to-Text RetrievalFlickr30K 1K (test)
R@189.6
491
Composed Image RetrievalFashionIQ (val)--
489
Text-to-Image RetrievalFlickr30K 1K (test)
R@179.7
432
Text-to-Image RetrievalMSCOCO 5K (test)
R@153.1
308
Composed Image RetrievalCIRCO (test)
mAP@1035.4
260
Composed Image RetrievalFashion-IQ (test)
Average Recall@100.307
169
Composed Image Retrieval (Image-Text to Image)CIRR
Recall@561.7
93
Composed Image RetrievalFashion-IQ
Average Recall@5052.5
80
Composed Image RetrievalCIRCO
mAP@534.1
76
Showing 10 of 67 rows

Other info

Code

Follow for update