[Paper Review] Image Retrieval on Real-life Images with Pre-trained Vision-and-Language Models
This paper introduces CIRR, a large-scale open-domain dataset of 36,000 real-life image-text pairs for composed image retrieval, and proposes CIRPLANT, a transformer-based model that leverages pre-trained vision-and-language representations to conditionally modify visual features using natural language. CIRPLANT achieves state-of-the-art performance on both open-domain CIRR and narrow-domain Fashion-IQ benchmarks, demonstrating the effectiveness of vision-and-language pre-training for fine-grained visual reasoning in complex, real-world contexts.
We extend the task of composed image retrieval, where an input query consists of an image and short textual description of how to modify the image. Existing methods have only been applied to non-complex images within narrow domains, such as fashion products, thereby limiting the scope of study on in-depth visual reasoning in rich image and language contexts. To address this issue, we collect the Compose Image Retrieval on Real-life images (CIRR) dataset, which consists of over 36,000 pairs of crowd-sourced, open-domain images with human-generated modifying text. To extend current methods to the open-domain, we propose CIRPLANT, a transformer based model that leverages rich pre-trained vision-and-language (V&L) knowledge for modifying visual features conditioned on natural language. Retrieval is then done by nearest neighbor lookup on the modified features. We demonstrate that with a relatively simple architecture, CIRPLANT outperforms existing methods on open-domain images, while matching state-of-the-art accuracy on the existing narrow datasets, such as fashion. Together with the release of CIRR, we believe this work will inspire further research on composed image retrieval.
Motivation & Objective
- To address the limitation of existing composed image retrieval datasets, which are restricted to narrow domains like fashion and lack open-domain, complex real-life images.
- To study fine-grained visual reasoning in rich, ambiguous visual and linguistic contexts where subtle attribute changes must be detected.
- To develop a retrieval method that effectively leverages large-scale pre-trained vision-and-language models for open-domain composed image retrieval.
- To enable evaluation on fully labeled subsets to eliminate false negatives common in existing datasets.
- To inspire future research on iterative, dialog-based image retrieval and fine-grained visiolinguistic understanding.
Proposed method
- Collects CIRR, a dataset of 36,000 open-domain, real-life image-text pairs with human-annotated modifications, emphasizing visually similar image distinctions.
- Proposes CIRPLANT, a transformer-based model that uses a pre-trained vision-and-language model (e.g., OSCAR) to jointly embed image and text inputs for feature composition.
- Adapts the vision-and-language pre-trained model to perform language-conditioned image feature modification, preserving global image features while adapting them via cross-attention to textual descriptions.
- Employs a metric learning pipeline where retrieval is performed via ℓ₂-norm distance between the modified query features and candidate image features.
- Uses a non-regressive, non-classification approach to avoid high computational cost of exhaustive pairwise scoring during inference.
- Leverages self-attention in transformers to attend to individual words in the modifying text, enabling fine-grained understanding of linguistic cues.
Experimental results
Research questions
- RQ1Can pre-trained vision-and-language models effectively support composed image retrieval in open-domain, real-life image settings with complex visual and linguistic nuances?
- RQ2How does the transformer architecture’s ability to attend to individual words improve retrieval performance compared to sequence-encoding models like LSTMs?
- RQ3To what extent does vision-and-language pre-training transfer knowledge to composed image retrieval in domains different from the pre-training data?
- RQ4How do models perform on distinguishing visually similar images when the modifying text describes subtle, implicit changes?
- RQ5Can a unified model achieve state-of-the-art performance on both open-domain and narrow-domain composed image retrieval benchmarks?
Key findings
- CIRPLANT with OSCAR initialization achieves state-of-the-art performance on the Fashion-IQ dataset, outperforming existing methods including TIRG and MAAF.
- On the CIRR dataset, CIRPLANT without any fine-tuning surpasses all prior SoTA methods in Recall, demonstrating strong zero-shot generalization to open-domain images.
- CIRPLANT achieves significantly higher Recall on the subset of queries requiring fine-grained visual reasoning, indicating superior ability to capture subtle linguistic cues like 'takes people around'.
- The model's performance on CIRR is notably lower than on Fashion-IQ, suggesting a domain shift challenge due to the complexity and diversity of real-life images.
- Qualitative analysis shows CIRPLANT better captures rare visual concepts (e.g., pavement) and implicit requirements (e.g., preserving dog breed), while still failing on fine-grained attribute preservation tasks.
- The failure cases highlight that preserving specific attributes like dog breed across images remains a major challenge, indicating a need for improved fine-grained visiolinguistic grounding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.