Abstract
Composed Image Retrieval (CIR) involves finding a target image using a reference image and a text modification query. Traditional zero-shot approaches rely on a disjointed two-stage pipeline—captioning followed by reasoning—which often leads to information loss and intent misalignment. We present OSrCIR, a training-free, one-stage framework that leverages Multimodal Large Language Models (MLLMs) through a Reflective Chain-of-Thought (CoT) process. By reasoning directly on visual and textual inputs, OSrCIR achieves state-of-the-art performance across multiple benchmarks while significantly reducing inference latency.
Introduction: The Information Loss Problem
Composed Image Retrieval (CIR) is a challenging task where a user seeks a target image by providing a reference image and a natural language instruction for modification (e.g., "change the background to a beach"). Current state-of-the-art zero-shot methods typically employ a two-stage "Caption-then-Reason" pipeline. First, an image captioner describes the reference image; second, a Large Language Model (LLM) modifies that text based on the user's instruction.
However, this separation creates a significant information bottleneck. If the initial captioner omits a crucial detail—such as a specific dog breed or a subtle texture—the LLM in the second stage cannot recover it. This often results in "hallucinated" target descriptions that lose the context of the original image.
Methodology: One-Stage Reflective Reasoning
To address these limitations, we propose OSrCIR (One-Stage Reflective Chain-of-Thought Reasoning). Instead of sequential models, OSrCIR utilizes a single Multimodal Large Language Model (MLLM) to process the image and text instructions simultaneously. This allows the model to "see" the visual details it is asked to modify, preventing the information loss inherent in text-only reasoning.
Reflective Chain-of-Thought (CoT)
The core innovation is a four-step Reflective CoT prompt that guides the MLLM's reasoning process:
- Original Image Description: The model generates a description focused specifically on visual details relevant to the user's manipulation text.
- Thoughts: The model infers potential user intentions and conceptualizes the required changes.
- Reflections: A critical self-correction phase where the model filters out irrelevant intentions and ensures the proposed changes maintain coherence with the original scene.
- Target Image Description: The final refined query used for retrieval via a vision-language model (e.g., CLIP).
By incorporating the "Reflections" step, the model can identify and correct its own logical errors—for instance, ensuring it doesn't accidentally remove a primary subject when only a background change was requested.
Experimental Evaluation
OSrCIR was evaluated across four major CIR benchmarks:
- CIRR & CIRCO: General natural image datasets with open-ended instructions.
- FashionIQ: A domain-specific benchmark focused on complex clothing attributes.
- GeneCIS: A benchmark testing the composition of specific attributes and objects.
Key Results
- Performance Gains: OSrCIR consistently outperformed previous training-free methods, showing improvements of 1.80% to 6.44% across tasks. It established new state-of-the-art (SOTA) results for zero-shot retrieval on CIRCO and FashionIQ.
- Efficiency: By consolidating the pipeline into a single stage, OSrCIR is approximately 66% faster than leading two-stage baselines (0.6s vs 1.8s per query), as it eliminates redundant model calls.
- Qualitative Fidelity: The model excels at preserving fine-grained details. While baseline models might generalize a "pug" to a generic "dog," OSrCIR maintains the specific breed throughout the reasoning process.
Conclusion and Future Work
OSrCIR demonstrates that a unified, reflective reasoning process is superior to disjointed pipelines for zero-shot CIR. While highly effective, the framework's performance is currently tied to the capabilities of the underlying MLLM and the alignment of the retrieval backbone (e.g., CLIP). Future work will focus on improving the retrieval of complex fashion textures and exploring the use of smaller, locally-hosted MLLMs to reduce API dependency.
Summary updated