[Paper Review] Polysemous Visual-Semantic Embedding for Cross-Modal Retrieval
This paper proposes Polysemous Visual-Semantic Embedding (PVSE), a one-to-many instance embedding framework using Multi-Head Self-Attention and residual learning to generate diverse, context-aware representations for ambiguous visual and textual instances. By tying two Polysemous Instance Embedding Networks (PIE-Nets) in a Multiple-Instance Learning (MIL) framework and regularizing with Maximum Mean Discrepancy (MMD), PVSE improves robustness to partial associations and polysemy in image-text and video-text retrieval, achieving state-of-the-art performance on MS-COCO, TGIF, and a new 50K video-sentence dataset (MRW).
Visual-semantic embedding aims to find a shared latent space where related visual and textual instances are close to each other. Most current methods learn injective embedding functions that map an instance to a single point in the shared space. Unfortunately, injective embedding cannot effectively handle polysemous instances with multiple possible meanings; at best, it would find an average representation of different meanings. This hinders its use in real-world scenarios where individual instances and their cross-modal associations are often ambiguous. In this work, we introduce Polysemous Instance Embedding Networks (PIE-Nets) that compute multiple and diverse representations of an instance by combining global context with locally-guided features via multi-head self-attention and residual learning. To learn visual-semantic embedding, we tie-up two PIE-Nets and optimize them jointly in the multiple instance learning framework. Most existing work on cross-modal retrieval focuses on image-text data. Here, we also tackle a more challenging case of video-text retrieval. To facilitate further research in video-text retrieval, we release a new dataset of 50K video-sentence pairs collected from social media, dubbed MRW (my reaction when). We demonstrate our approach on both image-text and video-text retrieval scenarios using MS-COCO, TGIF, and our new MRW dataset.
Motivation & Objective
- Address the limitations of injective visual-semantic embedding in handling polysemous instances with multiple meanings.
- Overcome the challenge of partial cross-modal associations where text descriptions only refer to parts of an image or video.
- Develop a method that generates multiple diverse representations per instance to better capture ambiguous semantics.
- Improve retrieval performance on both image-text and video-text tasks by modeling uncertainty and partial alignment.
- Facilitate research in video-text retrieval by releasing a new 50K video-sentence dataset (MRW) collected from social media.
Proposed method
- Propose Polysemous Instance Embedding Networks (PIE-Nets) that generate K diverse representations per input using multi-head self-attention to attend to different local regions or frames.
- Combine each local representation with a global context embedding via residual learning to preserve informative features and avoid redundancy.
- Introduce a diversity regularization loss to prevent the K representations from collapsing into a single mean or mode.
- Tie two PIE-Nets (one for vision, one for text) and train jointly in a Multiple-Instance Learning (MIL) framework, where only one of the K×K embedding pairs needs to be well-aligned.
- Apply Maximum Mean Discrepancy (MMD) to minimize distributional discrepancy between the visual and textual embedding spaces, improving alignment robustness.
- Optimize the full model end-to-end using contrastive loss with MIL relaxation and MMD regularization to handle ambiguous and partial associations.
Experimental results
Research questions
- RQ1Can a one-to-many embedding approach better represent polysemous visual and textual instances than traditional injective mapping?
- RQ2How does modeling multiple diverse representations improve cross-modal retrieval under partial or implicit cross-modal associations?
- RQ3To what extent does the proposed MIL-based training objective outperform standard contrastive learning in ambiguous retrieval scenarios?
- RQ4How does the integration of multi-head self-attention and residual learning enhance representation quality in visual-semantic embedding?
- RQ5Can the proposed method generalize to challenging video-text retrieval tasks, especially when associations are implicit or ambiguous?
Key findings
- PVSE achieves state-of-the-art performance on image-text retrieval using the MS-COCO dataset, outperforming prior methods in both R@1 and R@5 metrics.
- On the TGIF video-text retrieval benchmark, PVSE demonstrates superior performance by effectively capturing temporal and semantic variations in video content.
- The proposed MRW dataset of 50K video-sentence pairs from social media reveals high ambiguity in visual-textual associations, with multiple plausible matches per query.
- Qualitative analysis shows that visual and textual attention maps in PVSE highlight salient regions and words, with retrieved results aligning with attention patterns.
- The model's robustness to partial associations is validated by its ability to retrieve relevant results even when only parts of the video or sentence are semantically aligned.
- The use of MMD regularization significantly reduces distributional discrepancy between visual and textual embedding spaces, improving generalization and alignment quality.
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.