Composed Image Retrieval for Training-Free Domain Conversion

Nikos Efthymiadis, Bill Psomas, Zakaria Laskar, Konstantinos Karantzalos, Yannis Avrithis +2 more
12/4/2024
cs.CV

Official code: NikosEfth/freedom (46 stars, MIT, last commit 2025-08-31).

Abstract

This work addresses composed image retrieval in the context of domain conversion, where the content of a query image is retrieved in the domain specified by the query text. We show that a strong vision-language model provides sufficient descriptive power without additional training. The query image is mapped to the text input space using textual inversion. Unlike common practice that invert in the continuous space of text tokens, we use the discrete word space via a nearest-neighbor search in a text vocabulary. With this inversion, the image is softly mapped across the vocabulary and is made more robust using retrieval-based augmentation. Database images are retrieved by a weighted ensemble of text queries combining mapped words with the domain text. Our method outperforms prior art by a large margin on standard and newly introduced benchmarks. Code: https://github.com/NikosEfth/freedom

View on arXivView PDF

Code Implementations(1)

NikosEfth/freedomOfficial100%
MIT

Official PyTorch implementation of the WACV 2025 Oral paper "Composed Image Retrieval for Training-FREE DOMain Conversion".

461PythonNov 8, 20241 years agoMIT
clipcomposed-image-retrievalcomputer-visioncross-domaincross-domain-learning+6 more

Similar Papers

Cite this paper

@article{efthymiadis2024composed,
  title  = {Composed Image Retrieval for Training-Free Domain Conversion},
  author = {Nikos Efthymiadis and Bill Psomas and Zakaria Laskar and Konstantinos Karantzalos and Yannis Avrithis and Ondřej Chum and Giorgos Tolias},
  year   = {2024},
  eprint = {2412.03297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03297v1}
}

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

Discussion