[Paper Review] Cross-modal Scene Graph Matching for Relationship-aware Image-Text Retrieval
This paper proposes a relationship-aware image-text retrieval method using cross-modal scene graph matching. It models images and text as visual and textual scene graphs, respectively, and employs dedicated graph encoders to learn joint object and relationship representations, achieving state-of-the-art performance on Flickr30k and MSCOCO by explicitly capturing semantic relationships between entities.
Image-text retrieval of natural scenes has been a popular research topic. Since image and text are heterogeneous cross-modal data, one of the key challenges is how to learn comprehensive yet unified representations to express the multi-modal data. A natural scene image mainly involves two kinds of visual concepts, objects and their relationships, which are equally essential to image-text retrieval. Therefore, a good representation should account for both of them. In the light of recent success of scene graph in many CV and NLP tasks for describing complex natural scenes, we propose to represent image and text with two kinds of scene graphs: visual scene graph (VSG) and textual scene graph (TSG), each of which is exploited to jointly characterize objects and relationships in the corresponding modality. The image-text retrieval task is then naturally formulated as cross-modal scene graph matching. Specifically, we design two particular scene graph encoders in our model for VSG and TSG, which can refine the representation of each node on the graph by aggregating neighborhood information. As a result, both object-level and relationship-level cross-modal features can be obtained, which favorably enables us to evaluate the similarity of image and text in the two levels in a more plausible way. We achieve state-of-the-art results on Flickr30k and MSCOCO, which verifies the advantages of our graph matching based approach for image-text retrieval.
Motivation & Objective
- To address the limitation of existing image-text retrieval methods that focus only on global features or isolated objects, by incorporating relational information in complex scenes.
- To improve retrieval accuracy in natural scenes with multiple objects by modeling semantic relationships between them in both images and text.
- To develop a unified framework that enables joint matching of object-level and relationship-level features across modalities.
- To validate the hypothesis that modeling relationships significantly enhances cross-modal similarity measurement in image-text retrieval.
Proposed method
- The method constructs a visual scene graph (VSG) from image objects and their detected relationships, and a textual scene graph (TSG) from syntactic parsing of text sentences.
- A Multi-modal Graph Convolution Network (MGCN) encodes the VSG by aggregating neighborhood information to refine object and relationship features.
- Two separate bi-directional GRUs encode the TSG, processing object and relationship features independently to preserve modality-specific semantics.
- Object-level and relationship-level features are learned separately in both modalities and matched across modalities for cross-modal retrieval.
- The model uses a contrastive loss to optimize the alignment of image and text representations at both levels.
- Graph encoders refine node representations by aggregating information from connected neighbors, enhancing semantic expressiveness.
Experimental results
Research questions
- RQ1Can modeling relationships between objects in images and text improve image-text retrieval performance beyond object-level matching?
- RQ2How does explicit modeling of relationships in scene graphs affect the alignment of cross-modal representations?
- RQ3Does a two-level matching strategy—object-level and relationship-level—lead to better retrieval accuracy than global or object-only methods?
- RQ4To what extent do relationship-aware features improve retrieval in complex scenes with ambiguous object compositions?
Key findings
- The proposed SGM model achieves state-of-the-art performance on both Flickr30k and MSCOCO datasets, outperforming prior methods significantly.
- On Flickr30k, the model improves R@1 for image retrieval by 16.18% relatively and for caption retrieval by 16.8% relatively compared to the best existing method.
- On MSCOCO 5k test split, the model achieves a 10.62% relative improvement in caption retrieval and a 6.65% relative improvement in image retrieval based on R@1.
- On MSCOCO 1k test split, the model achieves superior performance on the critical R@1 metric, demonstrating robustness in challenging retrieval scenarios.
- Qualitative results show that modifying relationship words in text queries leads to significant changes in retrieved images, confirming that the model captures and utilizes relational semantics.
- The model outperforms both global representation-based and local object-based methods, validating the necessity of modeling relationships in complex image-text retrieval.
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.