Learning Two-Branch Neural Networks for Image-Text Matching Tasks
Preprint
Abstract
Image-language matching tasks have recently attracted a lot of attention in the computer vision field. These tasks include image-sentence matching, i.e., given an image query, retrieving relevant sentences and vice versa, and region-phrase matching or visual grounding, i.e., matching a phrase to relevant regions. This paper investigates two-branch neural networks for learning the similarity between these two data modalities. We propose two network structures that produce different output representations. The first one, referred to as an embedding network, learns an explicit shared latent embedding space with a maximum-margin ranking loss and novel neighborhood constraints. Compared to standard triplet sampling, we perform improved neighborhood sampling that takes neighborhood information into consideration while constructing mini-batches. The second network structure, referred to as a similarity network, fuses the two branches via element-wise product and is trained with regression loss to directly predict a similarity score. Extensive experiments show that our networks achieve high accuracies for phrase localization on the Flickr30K Entities dataset and for bi-directional image-sentence retrieval on Flickr30K and MSCOCO datasets.Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence ModelsInternational Journal of Computer Vision, 2016
- Modeling Context in Referring Expressions2016
- Grounding of Textual Phrases in Images by Reconstruction2016
- Structured Matching for Phrase Localization2016
- Revisiting Visual Question Answering Baselines2016
- Deep Metric Learning Using Triplet Network2015
- Microsoft COCO: Common Objects in Context2014
- Improving Image-Sentence Embeddings Using Large Weakly Annotated Photo Collections2014
- Metric Learning for Large Scale Image Classification: Generalizing to New Classes at Near-Zero Cost2012
- Improving the Fisher Kernel for Large-Scale Image Classification2010