Skip to main content
QUICK REVIEW

[Paper Review] Identity-Aware Textual-Visual Matching with Latent Co-attention

Shuang Li, Tong Xiao|arXiv (Cornell University)|Aug 7, 2017
Multimodal Machine Learning ApplicationsComputer Science33 references36 citations
TL;DR

This paper proposes a two-stage identity-aware framework for textual-visual matching that leverages identity-level annotations to improve feature discrimination. The first stage uses a CNN-LSTM with a novel Cross-Modal Cross-Entropy (CMCE) loss to embed images and text while minimizing intra-identity distances; the second stage applies a latent co-attention mechanism to refine matching by aligning words to image regions and mitigating sentence structure variations, achieving state-of-the-art performance on CUB and Flowers datasets with a 57.6% AP@50 on text-to-image retrieval.

ABSTRACT

Textual-visual matching aims at measuring similarities between sentence descriptions and images. Most existing methods tackle this problem without effectively utilizing identity-level annotations. In this paper, we propose an identity-aware two-stage framework for the textual-visual matching problem. Our stage-1 CNN-LSTM network learns to embed cross-modal features with a novel Cross-Modal Cross-Entropy (CMCE) loss. The stage-1 network is able to efficiently screen easy incorrect matchings and also provide initial training point for the stage-2 training. The stage-2 CNN-LSTM network refines the matching results with a latent co-attention mechanism. The spatial attention relates each word with corresponding image regions while the latent semantic attention aligns different sentence structures to make the matching results more robust to sentence structure variations. Extensive experiments on three datasets with identity-level annotations show that our framework outperforms state-of-the-art approaches by large margins.

Motivation & Objective

  • To address the limitation of existing textual-visual matching methods that ignore identity-level annotations in benchmark datasets.
  • To improve feature discrimination by minimizing intra-identity feature distances and maximizing inter-identity distances across cross-modal embeddings.
  • To reduce the impact of sentence structure variations on textual representation without relying on explicit linguistic parsing.
  • To develop a two-stage deep learning framework that enables efficient screening of incorrect matchings and refined matching via co-attention.
  • To achieve state-of-the-art performance in image-to-text and text-to-image retrieval using identity-aware training.

Proposed method

  • A two-stage CNN-LSTM architecture is proposed: stage-1 learns identity-aware cross-modal embeddings using a novel Cross-Modal Cross-Entropy (CMCE) loss with dynamic feature buffers.
  • The CMCE loss implicitly minimizes intra-identity feature distances and maximizes inter-identity distances over the entire dataset, avoiding the diminishing probability of hard negative sampling in triplet or pairwise losses.
  • Stage-1 provides initial matching results and serves as a training initialization point for stage-2, efficiently filtering easy incorrect pairs.
  • Stage-2 employs a tightly coupled CNN-LSTM with a latent co-attention mechanism that jointly learns spatial attention (word-to-image region alignment) and latent semantic attention (sentence structure invariance via an alignment decoder LSTM).
  • The latent semantic attention module dynamically reweights word features at each LSTM step to reduce sensitivity to sentence structure variations.
  • The stage-2 network is trained with binary cross-entropy loss to predict final textual-visual matching confidence.

Experimental results

Research questions

  • RQ1Can identity-level annotations be effectively leveraged to improve cross-modal feature representation in textual-visual matching?
  • RQ2Does a two-stage training framework with CMCE loss and co-attention lead to better performance than end-to-end or single-stage methods?
  • RQ3To what extent can latent co-attention reduce the impact of sentence structure variations on matching accuracy?
  • RQ4How does the proposed CMCE loss compare to triplet or pairwise losses in terms of hard negative sampling and convergence speed?
  • RQ5Can the stage-1 network serve as an effective initialization and screening mechanism for the stage-2 refinement?

Key findings

  • The proposed method achieves a 57.6% AP@50 on text-to-image retrieval on the CUB dataset, outperforming the previous SOTA by over 10% in this metric.
  • On the Flowers dataset, the method achieves 70.1% AP@50 on text-to-image retrieval, significantly outperforming the triplet loss baseline, which dropped by 3.1% in AP@50.
  • The stage-1 network alone achieves 61.5% top-1 accuracy on image-to-text retrieval on CUB, surpassing all prior baselines including Word CNN-RNN.
  • The stage-2 network improves the text-to-image AP@50 by 12.1 percentage points compared to stage-1 on the CUB dataset, demonstrating the effectiveness of refinement with co-attention.
  • Qualitative results show that the model correctly retrieves multiple images of the same identity, minimizing intra-identity distances while correctly rejecting visually similar but incorrect matches.
  • Ablation studies confirm that both the CMCE loss and the latent co-attention mechanism contribute significantly to performance gains, with the co-attention mechanism being particularly effective in handling sentence structure variations.

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.