Deep Supervised Cross-Modal Retrieval.

Liangli Zhen, Peng Hu, Xu Wang, Dezhong PengCVPR 2019 · DOI

TL;DR

This paper introduces Deep Supervised Cross-modal Retrieval (DSCMR), a novel method for finding common representations of data from different modalities (like images and text). DSCMR effectively bridges the "heterogeneity gap" by simultaneously learning discriminative features and ensuring modality invariance, leading to significant performance improvements in cross-modal retrieval tasks.

What Problem Does This Paper Address?

The core challenge in cross-modal retrieval is enabling effective search across different data types, such as finding images using a text query or vice-versa. This is difficult because images and text have fundamentally different structures and representations, creating a "heterogeneity gap." Traditional methods often struggle to capture the complex relationships between these modalities. While deep learning has shown promise, existing approaches often focus on either unsupervised learning or only partially exploit semantic information, leaving room for improvement in learning truly discriminative and modality-invariant representations.

Methods

DSCMR employs a deep learning architecture with two sub-networks: one for image modality and one for text modality. These networks are trained end-to-end. The key innovations lie in the objective function designed to learn a shared "common representation space":

  • Discrimination Loss (Label Space): A linear classifier is applied to the common representations to predict semantic labels. Minimizing the error of this classifier (J₁) encourages the model to learn representations that are good for classification, thus making them semantically discriminative.
  • Discrimination Loss (Common Space): This term (J₂) directly measures the discriminative power of the learned representations in the common space by considering inter-modal and intra-modal similarities. It aims to push samples from different categories apart and pull similar samples together.
  • Modality Invariance Loss: This term (J₃) directly minimizes the difference between the representations of corresponding image-text pairs in the common space. This is achieved through a weight-sharing strategy in the final layers of the sub-networks and a direct loss term, effectively reducing the cross-modal discrepancy.

By jointly optimizing these three loss components, DSCMR aims to create a common space where samples from different modalities but the same semantic category are close, while samples from different categories are far apart, and importantly, the representations are robust to the original modality.

Datasets

The paper evaluates DSCMR on four widely-used benchmark datasets:

  • Wikipedia: A dataset for image-text retrieval.
  • Pascal Sentence: Another dataset for image-text retrieval.
  • NUS-WIDE-10K: A large-scale dataset for cross-modal retrieval.
  • XMediaNet: A dataset for cross-modal retrieval.

The authors followed existing strategies for dataset partitioning and feature extraction, using VGGNet for image features and sentence CNN for text features.

Key Insights and Ideas

  • Joint Optimization is Key: The paper strongly suggests that simultaneously learning discriminative features (from labels and within the common space) and enforcing modality invariance is crucial for effective cross-modal retrieval.
  • Label Information is Powerful: Leveraging semantic labels through a linear classifier in the common space significantly boosts performance, highlighting the importance of supervised signals.
  • Weight Sharing for Modality Invariance: Sharing weights in the final layers of the modality-specific networks is an effective way to encourage them to learn similar representations for corresponding cross-modal pairs.
  • Visualizing the Common Space: t-SNE visualizations reveal that DSCMR successfully clusters samples by semantic category in the common space and effectively mixes image and text representations, demonstrating reduced modality discrepancy.

Key Results

DSCMR consistently outperforms state-of-the-art methods across all four benchmark datasets. For instance, on the Wikipedia dataset, DSCMR achieved an average mAP of 0.499, outperforming the next best method (ACMR) by 0.018. Similar improvements were observed on other datasets, with DSCMR showing a significant margin over both traditional and deep learning-based approaches. The analysis of different components also showed that all three loss terms contribute to the overall performance, with the discrimination loss (J₁) and modality invariance loss (J₃) being particularly impactful.

Limitations and Future Work

  • Limitations: While DSCMR shows strong performance, the t-SNE visualizations indicate that a small number of representations from different semantic categories can still be mixed, leading to some irrelevant results. The paper acknowledges that the learned representations are not perfectly separated.
  • Future Work: The authors suggest that further improvements could be made by exploring more advanced deep learning architectures and potentially incorporating more sophisticated methods for handling the remaining cross-modal discrepancy. The paper also implies that the effectiveness of the proposed method could be further validated on larger and more diverse datasets.

Summary updated

BibTeX
@inproceedings{zhen2019deep,
  author = {Liangli Zhen and Peng Hu and Xu Wang and Dezhong Peng},
  title = {{Deep Supervised Cross-Modal Retrieval.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.01064},
}
Figure