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

Composed Image Retrieval using Contrastive Learning and Task-oriented CLIP-based Features

About

Given a query composed of a reference image and a relative caption, the Composed Image Retrieval goal is to retrieve images visually similar to the reference one that integrates the modifications expressed by the caption. Given that recent research has demonstrated the efficacy of large-scale vision and language pre-trained (VLP) models in various tasks, we rely on features from the OpenAI CLIP model to tackle the considered task. We initially perform a task-oriented fine-tuning of both CLIP encoders using the element-wise sum of visual and textual features. Then, in the second stage, we train a Combiner network that learns to combine the image-text features integrating the bimodal information and providing combined features used to perform the retrieval. We use contrastive learning in both stages of training. Starting from the bare CLIP features as a baseline, experimental results show that the task-oriented fine-tuning and the carefully crafted Combiner network are highly effective and outperform more complex state-of-the-art approaches on FashionIQ and CIRR, two popular and challenging datasets for composed image retrieval. Code and pre-trained models are available at https://github.com/ABaldrati/CLIP4Cir

Alberto Baldrati, Marco Bertini, Tiberio Uricchio, Alberto del Bimbo• 2023

Related benchmarks

TaskDatasetResultRank
Composed Image RetrievalCIRR (test)
Recall@144.12
580
Composed Image RetrievalFashionIQ (val)
Average Recall@1043.3
489
Composed Image RetrievalFashion-IQ
Average Recall@5061.74
80
Composed Image RetrievalCIRCO
mAP@510.58
76
Composed Image RetrievalFBCIR-Data
Rs@133.4
10
Composed Image RetrievalStandard Benchmarks CIRR, FashionIQ, GeneCIS
Average Performance26
10
Showing 6 of 6 rows

Other info

Follow for update