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

Zihao Wang, Xihui Liu, Hongsheng Li, Lu Sheng, Junjie Yan +2 more
9/12/2019
cs.CV

Official code: ZihaoWang-CV/CAMP_iccv19 (126 stars, Python, Apache-2.0, last commit 2020-02-26).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

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

12620PythonAug 13, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2019camp,
  title  = {CAMP: Cross-Modal Adaptive Message Passing for Text-Image Retrieval},
  author = {Zihao Wang and Xihui Liu and Hongsheng Li and Lu Sheng and Junjie Yan and Xiaogang Wang and Jing Shao},
  year   = {2019},
  eprint = {1909.05506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.05506}
}

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

Discussion