Learning Relation Alignment for Calibrated Cross-modal Retrieval

Shuhuai Ren, Junyang Lin, Guangxiang Zhao, Rui Men, An Yang +3 more
5/28/2021
cs.CLcs.CVcs.IR

Official code: lancopku/IAIS (34 stars, Python, MIT, last commit 2023-05-16).

Abstract

Despite the achievements of large-scale multimodal pre-training approaches, cross-modal retrieval, e.g., image-text retrieval, remains a challenging task. To bridge the semantic gap between the two modalities, previous studies mainly focus on word-region alignment at the object level, lacking the matching between the linguistic relation among the words and the visual relation among the regions.

Show full abstract

The neglect of such relation consistency impairs the contextualized representation of image-text pairs and hinders the model performance and the interpretability. In this paper, we first propose a novel metric, Intra-modal Self-attention Distance (ISD), to quantify the relation consistency by measuring the semantic distance between linguistic and visual relations. In response, we present Inter-modal Alignment on Intra-modal Self-attentions (IAIS), a regularized training method to optimize the ISD and calibrate intra-modal self-attentions from the two modalities mutually via inter-modal alignment. The IAIS regularizer boosts the performance of prevailing models on Flickr30k and MS COCO datasets by a considerable margin, which demonstrates the superiority of our approach.

View on arXivView PDF

Code Implementations(1)

lancopku/IAISOfficial100%
MIT

[ACL 2021] Learning Relation Alignment for Calibrated Cross-modal Retrieval

344Python, ShellMay 24, 20213 years agoMIT
multimodalretrievalvision-and-language

Similar Papers

Cite this paper

@article{ren2021learning,
  title  = {Learning Relation Alignment for Calibrated Cross-modal Retrieval},
  author = {Shuhuai Ren and Junyang Lin and Guangxiang Zhao and Rui Men and An Yang and Jingren Zhou and Xu Sun and Hongxia Yang},
  year   = {2021},
  eprint = {2105.13868},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13868}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.13868.svg)](https://codeofpaper.com/paper/2105.13868)

Discussion