XR: Cross-Modal Agents for Composed Image Retrieval

Zhongyu Yang, Wei Pang, Yingfang Yuan

TL;DR

This paper introduces XR, a novel training-free, multi-agent framework for Composed Image Retrieval (CIR). XR uses specialized "agents" to "imagine" target images, perform coarse filtering based on similarity, and then fine-tune results with factual verification, significantly outperforming existing methods by better understanding complex user intents.

What Problem Does This Paper Address?

Traditional image retrieval often relies on simple similarity matching. However, Composed Image Retrieval (CIR) presents a more complex challenge: users provide a reference image and a textual modification, expecting a retrieved image that not only resembles the reference but also accurately incorporates the specified changes. Existing methods, like those using joint embeddings or caption-based approaches, struggle with fine-grained details and robust semantic reasoning, often failing to capture the precise intent behind these composed queries. This gap limits the effectiveness of image retrieval in applications requiring nuanced understanding, such as e-commerce or personalized search.

Methods

XR tackles CIR with a unique, training-free, multi-agent framework that orchestrates a progressive reasoning process. It comprises three key stages:

  • Imagination: "Imagination agents" synthesize target representations. One agent uses the reference image and modification text to generate a vision-based caption, while another uses the reference image caption and modification text for a text-based caption. These agents also output "modification" signals that describe the desired changes. This stage aims to create a rich, cross-modal understanding of the target image.
  • Coarse Filtering: "Similarity agents" evaluate candidate images. These agents use both text and vision modalities, conditioned on the imagined captions, to generate similarity scores. These scores are then aggregated using Reciprocal Rank Fusion (RRF) to create an initial, ranked subset of candidates. This hybrid approach leverages multiple perspectives to improve robustness.
  • Fine Filtering: "Question agents" perform factual verification. Based on the modification signals from the imagination stage, these agents generate specific true/false questions about the candidate images. These questions are then used by text and vision agents to score candidates for factual consistency.
  • Cross-Modal Re-ranking: Finally, the scores from the similarity and question-based agents are combined through a re-ranking mechanism to produce the final, refined set of retrieved images.

Datasets

XR was evaluated on three established CIR benchmarks:

  • CIRR [30]: A natural-image CIR dataset focused on fine-grained candidate discrimination.
  • CIRCO [4]: A large-scale benchmark with multiple ground truths, designed to reduce false negatives.
  • FashionIQ [45]: A fashion-domain dataset with categories like dress, shirt, and toptee, focusing on attribute-level edits.

Key Insights and Ideas

  • Agentic AI for Retrieval: The paper demonstrates that framing retrieval as a coordinated reasoning process involving multiple specialized agents can significantly outperform traditional similarity-based methods, especially for complex, compositional queries.
  • Imagination as a Precursor: The "imagination" stage, which synthesizes target representations through cross-modal captioning, is crucial for anchoring semantic understanding and reducing modality gaps before retrieval even begins.
  • Verification is Key: Explicit factual verification through question-answering agents is essential for fine-grained edits, catching errors that pure similarity matching might miss. This highlights the importance of moving beyond just "likeness" to "correctness."
  • Training-Free Advantage: XR's training-free nature makes it adaptable and generalizable across different datasets and domains without requiring extensive task-specific fine-tuning.

Key Results

XR achieved state-of-the-art performance across all tested benchmarks. Notably:

  • On FashionIQ, XR achieved an average R@10 of 36.66% and R@50 of 57.10%, surpassing strong baselines by over 8 points in R@10.
  • On CIRCO, XR attained 30.95% mAP@50, a gain of over 7 points compared to the best baseline, showcasing robustness in noisy, large-scale retrieval.
  • On CIRRsubset, XR reached 83.15% R@10 and 95.21% R@3, demonstrating its effectiveness in fine-grained scenarios.
  • Ablation studies confirmed that each agent (imagination, similarity, question-based) contributes significantly, and their integration is vital for optimal performance.

Limitations and Future Work

The authors acknowledge several limitations:

  • Modality Scope: XR is currently focused on image-text composition and hasn't been extended to richer modalities like video or audio, or temporal data.
  • Potential Biases: The reliance on large language models for generating captions and verification questions could introduce subtle biases.
  • Efficiency for Large Pools: Scaling XR to extremely large candidate pools requires further optimization for efficiency.

Future work directions include:

  • Extending XR to other modalities (video, audio) and interactive queries.
  • Developing more lightweight and adaptive agents.
  • Exploring diverse verification signals to enhance robustness and scalability.
  • Positioning XR as a foundational paradigm for retrieval-augmented reasoning in general multimodal systems.

Summary updated

Abstract

Retrieval is being redefined by agentic AI, demanding multimodal reasoning beyond conventional similarity-based paradigms. Composed Image Retrieval (CIR) exemplifies this shift as each query combines a reference image with textual modifications, requiring compositional understanding across modalities. While embedding-based CIR methods have achieved progress, they remain narrow in perspective, capturing limited cross-modal cues and lacking semantic reasoning. To address these limitations, we introduce XR, a training-free multi-agent framework that reframes retrieval as a progressively coordinated reasoning process. It orchestrates three specialized types of agents: imagination agents synthesize target representations through cross-modal generation, similarity agents perform coarse filtering via hybrid matching, and question agents verify factual consistency through targeted reasoning for fine filtering. Through progressive multi-agent coordination, XR iteratively refines retrieval to meet both semantic and visual query constraints, achieving up to a 38% gain over strong training-free and training-based baselines on FashionIQ, CIRR, and CIRCO, while ablations show each agent is essential. Code is available: https://01yzzyu.github.io/xr.github.io/.
BibTeX
@inproceedings{yang2026xr,
  author = {Zhongyu Yang and Wei Pang and Yingfang Yuan},
  title = {{XR: Cross-Modal Agents for Composed Image Retrieval}},
  booktitle = {The Web Conference},
  year = {2026},
  url = {https://openreview.net/forum?id=3OnSZQH3dy},
}
Figure