CompoDiff: Versatile Composed Image Retrieval With Latent Diffusion

21 Mar 2023  ·  Geonmo Gu, Sanghyuk Chun, Wonjae Kim, HeeJae Jun, Yoohoon Kang, Sangdoo Yun ·

This paper proposes a novel diffusion-based model, CompoDiff, for solving zero-shot Composed Image Retrieval (ZS-CIR) with latent diffusion. This paper also introduces a new synthetic dataset, named SynthTriplets18M, with 18.8 million reference images, conditions, and corresponding target image triplets to train CIR models. CompoDiff and SynthTriplets18M tackle the shortages of the previous CIR approaches, such as poor generalizability due to the small dataset scale and the limited types of conditions. CompoDiff not only achieves a new state-of-the-art on four ZS-CIR benchmarks, including FashionIQ, CIRR, CIRCO, and GeneCIS, but also enables a more versatile and controllable CIR by accepting various conditions, such as negative text, and image mask conditions. CompoDiff also shows the controllability of the condition strength between text and image queries and the trade-off between inference speed and performance, which are unavailable with existing CIR methods. The code and dataset are available at https://github.com/navervision/CompoDiff

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRCO CompoDiff (CLIP G/14) mAP@10 17.71 # 3
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRCO CompoDiff (CLIP L/14) mAP@10 13.51 # 5
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRR CompoDiff (CLIP L/14) R@5 54.36 # 9
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRR CompoDiff (CLIP G/14) R@5 57.61 # 6
Zero-Shot Composed Image Retrieval (ZS-CIR) Fashion IQ CompoDiff (CLIP L/14) (Recall@10+Recall@50)/2 44.11 # 5
Zero-Shot Composed Image Retrieval (ZS-CIR) Fashion IQ CompoDiff (CLIP G/14) (Recall@10+Recall@50)/2 45.37 # 3

Methods