3SHNet: Boosting Image-Sentence Retrieval via Visual Semantic-Spatial Self-Highlighting
Xuri Ge, Songpei Xu, Fuhai Chen, Jie Wang, Guoxin Wang, Shan An, Joemon M. Jose
TL;DR
This work tackles image-sentence retrieval by bridging the semantic gap with a modality-independent framework that preserves efficient cross-modal alignment. It introduces 3SHNet, which employs segmentation-guided Visual-Semantic Modelling (VSeM) and Visual-Spatial Modelling (VSpM) to self-highlight semantic and spatial saliencies, fused through a Generalized Pooling Operator into a $1024$-dimensional joint embedding. Training uses a bidirectional triplet ranking loss with hard negative mining and a margin of $\\gamma=0.2$, achieving state-of-the-art results on MS-COCO and Flickr30K across region-, grid-, and hybrid-level features, while demonstrating strong cross-dataset generalization and improved inference speed via modality independence. The approach reduces reliance on text-driven visual guidance and highlights human-like attention mechanisms through segmentation, offering practical benefits for real-world multi-modal retrieval systems and scalable deployment.
Abstract
In this paper, we propose a novel visual Semantic-Spatial Self-Highlighting Network (termed 3SHNet) for high-precision, high-efficiency and high-generalization image-sentence retrieval. 3SHNet highlights the salient identification of prominent objects and their spatial locations within the visual modality, thus allowing the integration of visual semantics-spatial interactions and maintaining independence between two modalities. This integration effectively combines object regions with the corresponding semantic and position layouts derived from segmentation to enhance the visual representation. And the modality-independence guarantees efficiency and generalization. Additionally, 3SHNet utilizes the structured contextual visual scene information from segmentation to conduct the local (region-based) or global (grid-based) guidance and achieve accurate hybrid-level retrieval. Extensive experiments conducted on MS-COCO and Flickr30K benchmarks substantiate the superior performances, inference efficiency and generalization of the proposed 3SHNet when juxtaposed with contemporary state-of-the-art methodologies. Specifically, on the larger MS-COCO 5K test set, we achieve 16.3%, 24.8%, and 18.3% improvements in terms of rSum score, respectively, compared with the state-of-the-art methods using different image representations, while maintaining optimal retrieval efficiency. Moreover, our performance on cross-dataset generalization improves by 18.6%. Data and code are available at https://github.com/XuriGe1995/3SHNet.
