HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Composed Image Retrieval for Training-Free Domain Conversion

Nikos Efthymiadis; Bill Psomas; Zakaria Laskar; Konstantinos Karantzalos; Yannis Avrithis; Ondřej Chum; Giorgos Tolias

Composed Image Retrieval for Training-Free Domain Conversion

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

Code Repositories

nikosefth/freedom
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
zero-shot-composed-image-retrieval-zs-cir-on-6FreeDom (CLIP-L/14)
mAP: 29.91
zero-shot-composed-image-retrieval-zs-cir-on-6CompoDiff (CLIP-L/14)
mAP: 12.88
zero-shot-composed-image-retrieval-zs-cir-on-6SEARLE (CLIP-L/14)
mAP: 14.04
zero-shot-composed-image-retrieval-zs-cir-on-6Pic2Word (CLIP-L/14)
mAP: 7.88
zero-shot-composed-image-retrieval-zs-cir-on-6WeiCom (CLIP-L/14)
mAP: 10.47
zero-shot-composed-image-retrieval-zs-cir-on-6MagicLens (CLIP-L/14)
mAP: 9.13
zero-shot-composed-image-retrieval-zs-cir-on-7CompoDiff (CLIP-L/14)
mAP: 22.95
zero-shot-composed-image-retrieval-zs-cir-on-7Pic2Word (CLIP-L/14)
mAP: 12
zero-shot-composed-image-retrieval-zs-cir-on-7MagicLens (CLIP-L/14)
mAP: 20.06
zero-shot-composed-image-retrieval-zs-cir-on-7SEARLE (CLIP-L/14)
mAP: 21.78
zero-shot-composed-image-retrieval-zs-cir-on-7WeiCom (CLIP-L/14)
mAP: 8.52
zero-shot-composed-image-retrieval-zs-cir-on-7FreeDom (CLIP-L/14)
mAP: 37.27
zero-shot-composed-image-retrieval-zs-cir-on-8FreeDom (CLIP-L/14)
mAP: 26.1
zero-shot-composed-image-retrieval-zs-cir-on-8WeiCom (CLIP-L/14)
mAP: 10.54
zero-shot-composed-image-retrieval-zs-cir-on-8MagicLens (CLIP-L/14)
mAP: 19.66
zero-shot-composed-image-retrieval-zs-cir-on-8SEARLE (CLIP-L/14)
mAP: 15.13
zero-shot-composed-image-retrieval-zs-cir-on-8CompoDiff (CLIP-L/14)
mAP: 10.32
zero-shot-composed-image-retrieval-zs-cir-on-8Pic2Word (CLIP-L/14)
mAP: 9.76
zero-shot-composed-image-retrieval-zs-cir-on-9FreeDom (CLIP-L/14)
mAP: 33.24
zero-shot-composed-image-retrieval-zs-cir-on-9SEARLE (CLIP-L/14)
mAP: 25.46
zero-shot-composed-image-retrieval-zs-cir-on-9Pic2Word (CLIP-L/14)
mAP: 21.27
zero-shot-composed-image-retrieval-zs-cir-on-9CompoDiff (CLIP-L/14)
mAP: 21.61
zero-shot-composed-image-retrieval-zs-cir-on-9WeiCom (CLIP-L/14)
mAP: 26.6
zero-shot-composed-image-retrieval-zs-cir-on-9MagicLens (CLIP-L/14)
mAP: 24.21

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp