[Paper Review] Finding beans in burgers: Deep semantic-visual embedding with localization
The paper presents a two-path semantic-visual embedding with a fully convolutional visual path and a scratch-trained text path, achieving state-of-the-art cross-modal retrieval and providing weakly supervised phrase localization in images.
Several works have proposed to learn a two-path neural network that maps images and texts, respectively, to a same shared Euclidean space where geometry captures useful semantic relationships. Such a multi-modal embedding can be trained and used for various tasks, notably image captioning. In the present work, we introduce a new architecture of this type, with a visual path that leverages recent space-aware pooling mechanisms. Combined with a textual path which is jointly trained from scratch, our semantic-visual embedding offers a versatile model. Once trained under the supervision of captioned images, it yields new state-of-the-art performance on cross-modal retrieval. It also allows the localization of new concepts from the embedding space into any input image, delivering state-of-the-art result on the visual grounding of phrases.
Motivation & Objective
- Motivate and learn a joint embedding for images and text to capture semantic relationships in a shared space.
- Introduce a space-aware, selective spatial pooling in the visual path to improve feature extraction without region proposals.
- Train a text encoder from scratch while leveraging pre-trained word2vec for word representations.
- Enable localization of concepts within images by deriving heatmaps from the embedding space without explicit region-level supervision.
Proposed method
- Use a dual-path network: a fully convolutional visual path (ResNet-152 base, 1x1 adaptation, selective spatial pooling, final projection) producing x in R^d.
- Text path encodes sentences with word2vec input followed by a simple SRU encoder to produce v in R^d.
- Train with a contrastive triplet ranking loss with batch-based hard negative mining to align image and caption embeddings.
- Localization is achieved by mapping embedding vectors to a set of feature maps via a learned 1x1 projection and combining the maps weighted by the top-k text embedding entries to form a heatmap.
- Employ selective spatial pooling (neg evidence) inspired by weakly supervised localization to retain spatial information in the visual path.
- Train in two stages: pretrain visual projection with ImageNet initialization, then end-to-end fine-tuning on MS-COCO with Adam optimizer.
Experimental results
Research questions
- RQ1Can a jointly trained image-text embedding with space-aware pooling achieve state-of-the-art cross-modal retrieval without region proposals?
- RQ2Can the embedding space enable localization of arbitrary textual concepts inside images, including unseen ones, via weakly supervised localization?
- RQ3How does hard negative mining impact cross-modal embedding performance compared to random negatives?
- RQ4What is the effect of replacing the final pooling with global average pooling on retrieval and localization performance?
- RQ5How well does a model trained on MS-COCO transfer to other datasets like Flickr-30K and Visual Genome for grounding tasks?
Key findings
- Achieves state-of-the-art cross-modal retrieval on MS-COCO, outperforming prior methods in R@1, R@5, and R@10 metrics.
- Demonstrates strong phrase grounding capabilities with a pointing-game accuracy of 33.8% on the MS-COCO-based evaluation, surpassing prior methods.
- Localization heatmaps can be derived from the embedding space to localize concepts within images, including unseen ones, without region proposals.
- Hard-negative mining substantially improves retrieval performance over using only random negatives.
- The model shows reasonable transfer to Flickr-30K and qualitative zero-shot localization capabilities, with room for further fine-tuning.
- Replacing selective pooling with Global Average Pooling degrades performance (albeit modestly) across tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.