Improving Cross-Modal Retrieval with Set of Diverse Embeddings
About
Cross-modal retrieval across image and text modalities is a challenging task due to its inherent ambiguity: An image often exhibits various situations, and a caption can be coupled with diverse images. Set-based embedding has been studied as a solution to this problem. It seeks to encode a sample into a set of different embedding vectors that capture different semantics of the sample. In this paper, we present a novel set-based embedding method, which is distinct from previous work in two aspects. First, we present a new similarity function called smooth-Chamfer similarity, which is designed to alleviate the side effects of existing similarity functions for set-based embedding. Second, we propose a novel set prediction module to produce a set of embedding vectors that effectively captures diverse semantics of input by the slot attention mechanism. Our method is evaluated on the COCO and Flickr30K datasets across different visual backbones, where it outperforms existing methods including ones that demand substantially larger computation at inference.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image-to-Text Retrieval | Flickr30K 1K (test) | R@180.9 | 439 | |
| Text-to-Image Retrieval | Flickr30k (test) | Recall@175.9 | 423 | |
| Text-to-Image Retrieval | Flickr30K 1K (test) | R@159.4 | 375 | |
| Image-to-Text Retrieval | Flickr30k (test) | R@190.6 | 370 | |
| Image-to-Text Retrieval | MS-COCO 5K (test) | R@160.4 | 299 | |
| Text-to-Image Retrieval | MS-COCO 5K (test) | R@153.4 | 223 | |
| Image Retrieval | Flickr30K 1K (test) | -- | 70 | |
| Image-to-Text Retrieval | MS-COCO 5-fold 1K (test) | R@180.6 | 31 | |
| Text-to-Image Retrieval | MS-COCO 5-fold 1K (test) | R@164.7 | 31 | |
| Image-to-Text Retrieval | COCO 1K 5-fold average (test) | R@186.6 | 17 |