Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CAMP: Cross-Modal Adaptive Message Passing for Text-Image Retrieval

About

Text-image cross-modal retrieval is a challenging task in the field of language and vision. Most previous approaches independently embed images and sentences into a joint embedding space and compare their similarities. However, previous approaches rarely explore the interactions between images and sentences before calculating similarities in the joint space. Intuitively, when matching between images and sentences, human beings would alternatively attend to regions in images and words in sentences, and select the most salient information considering the interaction between both modalities. In this paper, we propose Cross-modal Adaptive Message Passing (CAMP), which adaptively controls the information flow for message passing across modalities. Our approach not only takes comprehensive and fine-grained cross-modal interactions into account, but also properly handles negative pairs and irrelevant information with an adaptive gating scheme. Moreover, instead of conventional joint embedding approaches for text-image matching, we infer the matching score based on the fused features, and propose a hardest negative binary cross-entropy loss for training. Results on COCO and Flickr30k significantly surpass state-of-the-art methods, demonstrating the effectiveness of our approach.

Zihao Wang, Xihui Liu, Hongsheng Li, Lu Sheng, Junjie Yan, Xiaogang Wang, Jing Shao• 2019

Related benchmarks

TaskDatasetResultRank
Text-to-Image RetrievalFlickr30K
R@151.5
460
Image-to-Text RetrievalFlickr30K 1K (test)
R@168.1
439
Image-to-Text RetrievalFlickr30K
R@168.1
379
Text-to-Image RetrievalFlickr30K 1K (test)
R@151.5
375
Text-to-Image RetrievalMSCOCO 5K (test)
R@139
286
Image RetrievalMS-COCO 5K (test)
R@139
217
Image RetrievalFlickr30k (test)
R@151.5
195
Image RetrievalMS-COCO 1K (test)
R@161.6
128
Image-to-Text RetrievalMS-COCO 1K (test)
R@172.3
121
Text-to-Image RetrievalMSCOCO (1K test)
R@158.5
104
Showing 10 of 26 rows

Other info

Code

Follow for update