Reproduce “Sentence-level Prompts Benefit Composed Image Retrieval” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yang Bai, Xinxing Xu, Yong Liu, Salman Khan, Fahad Khan, Wangmeng Zuo, Rick Siow Mong Goh, Chun-Mei Feng

A new approach called Sentence-level Prompt for Composed Image Retrieval (SPRC) improves image retrieval by generating dynamic sentence-level prompts that offer precise descriptions of reference image content relevant to modification requests. SPRC achieved an average recall of 64.2% on CIRR and 83.4% on Fashion-IQ, outperforming previous state-of-the-art methods on both datasets.

Key insights

  • Dynamic sentence-level prompts offer richer and more precise descriptions than pseudo-words or fixed tokens, enabling better handling of complex image modification requests.
  • Transforming Composed Image Retrieval into a text-to-image retrieval task allows effective leveraging of powerful pre-trained vision-language foundation models like BLIP-2.
  • A dual-loss learning framework, combining image-text contrastive loss and text prompt alignment loss, is crucial for guiding the generation of context-aware and effective sentence-level prompts.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.