VisRet: Visualization Improves Knowledge-Intensive Text-to-Image Retrieval

Di Wu, Yixin Wan, Kai-Wei Chang
5/26/2025
cs.CVcs.CL

Official code: xiaowu0162/Visualize-then-Retrieve (10 stars, MIT, last commit 2025-10-11).

Abstract

Text-to-image retrieval (T2I retrieval) remains challenging because cross-modal embeddings often behave as bags of concepts, underrepresenting structured visual relationships such as pose and viewpoint. We propose Visualize-then-Retrieve (VisRet), a retrieval paradigm that mitigates this limitation of cross-modal similarity alignment. VisRet first projects textual queries into the image modality via T2I generation, then performs retrieval within the image modality to bypass the weaknesses of cross-modal retrievers in recognizing subtle visual-spatial features. Across four benchmarks (Visual-RAG, INQUIRE-Rerank, Microsoft COCO, and our new Visual-RAG-ME featuring multi-entity comparisons), VisRet substantially outperforms cross-modal similarity matching and baselines that recast T2I retrieval as text-to-text similarity matching, improving nDCG@30 by 0.125 on average with CLIP as the retriever and by 0.121 with E5-V. For downstream question answering, VisRet increases accuracy on Visual-RAG and Visual-RAG-ME by 3.8% and 15.7% in top-1 retrieval, and by 3.9% and 11.1% in top-10 retrieval. Ablation studies show compatibility with different T2I instruction LLMs, T2I generation models, and downstream LLMs. VisRet provides a simple yet effective perspective for advancing in text-image retrieval. Our code and the new benchmark are publicly available at https://github.com/xiaowu0162/Visualize-then-Retrieve.

View on arXivView PDF

Code Implementations(1)

MIT

VisRet: Visualization Improves Knowledge-Intensive Text-to-Image Retrieval

100Shell, PythonMay 20, 20251 years agoMIT

Similar Papers

Cite this paper

@article{wu2025visret,
  title  = {VisRet: Visualization Improves Knowledge-Intensive Text-to-Image Retrieval},
  author = {Di Wu and Yixin Wan and Kai-Wei Chang},
  year   = {2025},
  eprint = {2505.20291},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20291v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20291.svg)](https://codeofpaper.com/paper/2505.20291)

Discussion