Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Vision-by-Language for Training-Free Compositional Image Retrieval

About

Given an image and a target modification (e.g an image of the Eiffel tower and the text "without people and at night-time"), Compositional Image Retrieval (CIR) aims to retrieve the relevant target image in a database. While supervised approaches rely on annotating triplets that is costly (i.e. query image, textual modification, and target image), recent research sidesteps this need by using large-scale vision-language models (VLMs), performing Zero-Shot CIR (ZS-CIR). However, state-of-the-art approaches in ZS-CIR still require training task-specific, customized models over large amounts of image-text pairs. In this work, we propose to tackle CIR in a training-free manner via our Compositional Image Retrieval through Vision-by-Language (CIReVL), a simple, yet human-understandable and scalable pipeline that effectively recombines large-scale VLMs with large language models (LLMs). By captioning the reference image using a pre-trained generative VLM and asking a LLM to recompose the caption based on the textual target modification for subsequent retrieval via e.g. CLIP, we achieve modular language reasoning. In four ZS-CIR benchmarks, we find competitive, in-part state-of-the-art performance - improving over supervised methods. Moreover, the modularity of CIReVL offers simple scalability without re-training, allowing us to both investigate scaling laws and bottlenecks for ZS-CIR while easily scaling up to in parts more than double of previously reported results. Finally, we show that CIReVL makes CIR human-understandable by composing image and text in a modular fashion in the language domain, thereby making it intervenable, allowing to post-hoc re-align failure cases. Code will be released upon acceptance.

Shyamgopal Karthik, Karsten Roth, Massimiliano Mancini, Zeynep Akata• 2023

Related benchmarks

TaskDatasetResultRank
Composed Image RetrievalCIRR (test)
Recall@167.95
481
Composed Image RetrievalFashionIQ (val)
Shirt Recall@1046.76
455
Composed Image RetrievalCIRCO (test)
mAP@1028.01
234
Composed Image RetrievalFashion-IQ (test)
Dress Recall@100.2707
145
Composed Image Retrieval (Image-Text to Image)CIRR
Recall@134.65
75
Composed Image RetrievalCIRCO
mAP@526.77
63
Compositional Image RetrievalFashionIQ 1.0 (val)
Average Recall@1028.6
42
Composed Image RetrievalFashion-IQ
Average Recall@1032.2
40
Composed Image RetrievalGeneCIS (test)
Recall@115.9
38
Composed Image RetrievalCIRCO 1.0 (test)
mAP@526.8
36
Showing 10 of 30 rows

Other info

Code

Follow for update