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

Language-only Efficient Training of Zero-shot Composed Image Retrieval

About

Composed image retrieval (CIR) task takes a composed query of image and text, aiming to search relative images for both conditions. Conventional CIR approaches need a training dataset composed of triplets of query image, query text, and target image, which is very expensive to collect. Several recent works have worked on the zero-shot (ZS) CIR paradigm to tackle the issue without using pre-collected triplets. However, the existing ZS-CIR methods show limited backbone scalability and generalizability due to the lack of diversity of the input texts during training. We propose a novel CIR framework, only using language for its training. Our LinCIR (Language-only training for CIR) can be trained only with text datasets by a novel self-supervision named self-masking projection (SMP). We project the text latent embedding to the token embedding space and construct a new text by replacing the keyword tokens of the original text. Then, we let the new and original texts have the same latent embedding vector. With this simple strategy, LinCIR is surprisingly efficient and highly effective; LinCIR with CLIP ViT-G backbone is trained in 48 minutes and shows the best ZS-CIR performances on four different CIR benchmarks, CIRCO, GeneCIS, FashionIQ, and CIRR, even outperforming supervised method on FashionIQ. Code is available at https://github.com/navervision/lincir

Geonmo Gu, Sanghyuk Chun, Wonjae Kim, Yoohoon Kang, Sangdoo Yun• 2023

Related benchmarks

TaskDatasetResultRank
Composed Image RetrievalCIRR (test)
Recall@135.25
481
Composed Image RetrievalFashionIQ (val)
Shirt Recall@1029.1
455
Composed Image RetrievalCIRCO (test)
mAP@1021.01
234
Composed Image RetrievalFashion-IQ (test)
Dress Recall@100.3808
145
Composed Image Retrieval (Image-Text to Image)CIRR
Recall@134.9
75
Composed Image RetrievalFashion-IQ
Average Recall@1044.5
40
Composed Image RetrievalGeneCIS (test)
Recall@112.45
38
Composed Image RetrievalCIRR Subset (test)
R@163.35
26
Object CompositionCOCO
Recall@111.37
25
Composed Image RetrievalGeneCIS
Recall@113.76
19
Showing 10 of 12 rows

Other info

Code

Follow for update