Category-level Text-to-Image Retrieval Improved: Bridging the Domain Gap with Diffusion Models and Vision Encoders

Faizan Farooq Khan, Vladan Stojnić, Zakaria Laskar, Mohamed Elhoseiny, Giorgos Tolias
8/29/2025
cs.CV

Official code: faixan-khan/cletir (3 stars, last commit 2025-09-22).

Abstract

This work explores text-to-image retrieval for queries that specify or describe a semantic category. While vision-and-language models (VLMs) like CLIP offer a straightforward open-vocabulary solution, they map text and images to distant regions in the representation space, limiting retrieval performance. To bridge this modality gap, we propose a two-step approach. First, we transform the text query into a visual query using a generative diffusion model. Then, we estimate image-to-image similarity with a vision model. Additionally, we introduce an aggregation network that combines multiple generated images into a single vector representation and fuses similarity scores across both query modalities. Our approach leverages advancements in vision encoders, VLMs, and text-to-image generation models. Extensive evaluations show that it consistently outperforms retrieval methods relying solely on text queries. Source code is available at: https://github.com/faixan-khan/cletir

View on arXivView PDF

Code Implementations(1)

faixan-khan/cletirOfficial100%
30PythonAug 5, 20251 years ago

Similar Papers

Cite this paper

@article{khan2025categorylevel,
  title  = {Category-level Text-to-Image Retrieval Improved: Bridging the Domain Gap with Diffusion Models and Vision Encoders},
  author = {Faizan Farooq Khan and Vladan Stojnić and Zakaria Laskar and Mohamed Elhoseiny and Giorgos Tolias},
  year   = {2025},
  eprint = {2509.00177},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.00177v1}
}

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/2509.00177.svg)](https://codeofpaper.com/paper/2509.00177)

Discussion