Skip to main content
QUICK REVIEW

[Paper Review] Step-Wise Hierarchical Alignment Network for Image-Text Matching

Zhong Ji, Kexin Chen|arXiv (Cornell University)|Jun 11, 2021
Multimodal Machine Learning ApplicationsComputer Science19 references10 citations
TL;DR

This paper proposes a Step-wise Hierarchical Alignment Network (SHAN) for image-text matching that progressively performs local-to-local, global-to-local, and global-to-global cross-modal alignments to capture fine-grained and hierarchical visual-semantic correlations. The method achieves state-of-the-art performance on Flickr30k and MS-COCO, with a 2.8% improvement in R@1 for text retrieval on Flickr30k and 62.6% R@1 for image retrieval on MS-COCO.

ABSTRACT

Image-text matching plays a central role in bridging the semantic gap between vision and language. The key point to achieve precise visual-semantic alignment lies in capturing the fine-grained cross-modal correspondence between image and text. Most previous methods rely on single-step reasoning to discover the visual-semantic interactions, which lacks the ability of exploiting the multi-level information to locate the hierarchical fine-grained relevance. Different from them, in this work, we propose a step-wise hierarchical alignment network (SHAN) that decomposes image-text matching into multi-step cross-modal reasoning process. Specifically, we first achieve local-to-local alignment at fragment level, following by performing global-to-local and global-to-global alignment at context level sequentially. This progressive alignment strategy supplies our model with more complementary and sufficient semantic clues to understand the hierarchical correlations between image and text. The experimental results on two benchmark datasets demonstrate the superiority of our proposed method.

Motivation & Objective

  • To address the challenge of matching image and text pairs with subtle semantic differences, especially hard negative examples.
  • To improve fine-grained visual-semantic alignment by leveraging both fragment-level and context-level information.
  • To overcome the limitations of single-step reasoning in existing methods that fail to exploit hierarchical correlations.
  • To design a progressive, multi-step alignment mechanism that enhances cross-modal similarity modeling.
  • To demonstrate the effectiveness of hierarchical alignment through ablation and benchmark evaluations.

Proposed method

  • The model performs three sequential alignment steps: local-to-local (L2L), global-to-local (G2L), and global-to-global (G2G) cross-modal alignment.
  • L2L alignment uses cross-attention to match image regions with textual words at the fragment level.
  • Adaptive cross-modal feature fusion combines local alignment outputs to generate global context representations for both modalities.
  • G2L alignment measures cross-modal similarity using the generated global context representations and local features.
  • G2G alignment further refines the matching by comparing full global representations with enhanced context awareness.
  • The model is trained using triplet loss with margin m=0.2 and weighted supervision via hyperparameters μ1=0.3 and μ2=0.5.

Experimental results

Research questions

  • RQ1Can a step-wise hierarchical alignment strategy improve image-text matching by capturing multi-level visual-semantic correlations?
  • RQ2Does incorporating context-level global-to-local and global-to-global alignment enhance discrimination of hard negative examples?
  • RQ3How effective is the progressive alignment mechanism compared to single-step reasoning in fine-grained interaction learning?
  • RQ4What is the contribution of each alignment stage (L2L, G2L, G2G) to the overall performance?
  • RQ5How do different word embedding strategies affect the model’s retrieval accuracy?

Key findings

  • The SHAN-full model achieves a 2.8% absolute improvement in R@1 for text retrieval on Flickr30k compared to prior state-of-the-art methods.
  • On MS-COCO, the model achieves 62.6% R@1 for image retrieval, outperforming all compared methods.
  • Ablation studies confirm that both the G2L and G2G alignment modules significantly improve performance, with G2L providing a notable boost.
  • Using a combination of pre-trained GloVe and learnable embeddings yields better results than using either alone.
  • Visualization shows that attention weights are correctly localized on relevant image regions and textual words, confirming effective cross-modal alignment.
  • The model effectively suppresses irrelevant or noisy features during context-level alignment, improving robustness to hard negatives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.