TL;DR
Complementary Visual-Semantic Integration (CVSI) bridges the gap in Zero-Shot Composed Image Retrieval (ZS-CIR) by simultaneously extracting and fusing visual and semantic features from both queries and database images. By leveraging Large Language Models (LLMs) to predict object-level changes and dynamically weighting multi-modal features, CVSI achieves new state-of-the-art performance across major benchmarks.
What Problem Does This Paper Address?
Composed Image Retrieval (CIR) allows users to find a target image using a reference image combined with a text description of desired changes (e.g., taking a picture of a red bus and asking for it "in green and viewed from the front"). Collecting the triplets required to train these models is incredibly labor-intensive, prompting researchers to pivot toward Zero-Shot CIR (ZS-CIR).
Existing ZS-CIR approaches typically fall into two flawed camps:
- Textual Inversion Methods: They map the reference image into a "pseudo-token" and insert it into a rigid text template. While this preserves visual details, it lacks semantic coherence.
- LLM-Based Captioning Methods: They convert the reference image into a text caption and use an LLM to rewrite it based on the modification text. This maintains text flow but drops crucial visual nuances like shape, texture, and style.
Furthermore, prior methods focus almost entirely on enriching the query, ignoring the fact that database images also possess latent semantic context that could aid retrieval.
Methods
The authors introduce CVSI, a framework built on three core pillars designed to capture both the "look" and the "meaning" of the images:
- Visual Information Extraction: CVSI uses a standard vision encoder (CLIP) to extract global features. Concurrently, it employs a pre-trained mapping network to convert the image into a pseudo-token (
$). This token is combined with the modification text and an LLM-predicted list of "objects most likely added" to create a highly descriptive, fine-grained visual prompt. - Semantic Information Extraction: To prevent information loss, the reference image is processed via BLIP-2 with nucleus sampling to generate multiple diverse captions. An LLM then processes these captions alongside the modification text to generate modified captions and explicitly isolate the specific objects being introduced. Crucially, CVSI also generates text captions for all database images, ensuring a balanced semantic representation on both sides of the retrieval equation.
- Complementary Information Retrieval: Rather than treating retrieval as a purely text-based task, CVSI performs a weighted fusion of the visual and semantic features for both the query and the database targets before computing cosine similarity in the CLIP space.
Datasets
The framework was evaluated on three widely accepted benchmarks:
- CIRR (Composed Image Retrieval on Real-Life Images): Contains 36,554 queries featuring complex, real-world modification descriptions.
- CIRCO (Composed Image Retrieval deCOpled): An open-domain dataset based on COCO, containing multiple ground-truth target images per query to better reflect real-world search ambiguity.
- FashionIQ: A domain-specific dataset focused entirely on clothing (Dress, Shirt, Toptee) where modifications are simpler and heavily reliant on visual attributes.
Key Insights and Ideas
- The Database Matters: Enriching database images with text captions—instead of relying solely on raw image features—significantly improves cross-modal alignment.
- Object-Level Priors: Instead of asking the LLM to just rewrite a caption, explicitly prompting it to isolate "objects most likely added" provides a powerful fine-grained anchor that guides the vision network.
- Context-Dependent Weighting: Simple modifications (like those in FashionIQ) depend heavily on visual features, while complex modifications (like those in CIRCO) require deep semantic understanding. CVSI introduces tunable hyperparameters ($\alpha, \beta, \gamma$) to dynamically balance these modalities depending on the dataset's nature.
Key Results
CVSI achieved substantial performance gains over previous state-of-the-art methods like LDRE and CIReVL:
- CIRCO Benchmark: Reached a 28.24% mAP@10 (using a ViT-L/14 backbone), outperforming the previous best method (LDRE) by over 4%.
- CIRR Benchmark: Achieved a 33.81% Recall@1, a notable jump from LDRE's 26.53%.
- LLM Scalability: The authors found that upgrading the underlying LLM from GPT-3.5 to GPT-4o yielded an additional ~2.5% average performance boost, showing that the framework scales effectively with stronger language models.
- Efficiency Trade-off: While generating multiple captions increases inference time slightly (+0.8 seconds compared to LDRE), it eliminates the need for users to perform multiple iterative searches.
Limitations and Future Work
The authors note that CVSI's performance gains on FashionIQ were relatively limited compared to the open-domain datasets. Because FashionIQ is highly specialized, general-purpose captioning models (like BLIP-2) and LLMs occasionally struggle with fine-grained fashion terminology.
For future work, the team plans to explore deeper applications of this complementary architecture within broader multi-modal retrieval and fusion tasks.
Summary updated