Towards Fast and Accurate Image-Text Retrieval with Self-Supervised Fine-Grained Alignment

Jiamin Zhuang, Jing Yu, Yang Ding, Xiangyan Qu, Yue Hu
8/27/2023
cs.CVcs.AI

Official code: Zjamie813/SelfAlign (12 stars, last commit 2022-04-18).

Abstract

Image-text retrieval requires the system to bridge the heterogenous gap between vision and language for accurate retrieval while keeping the network lightweight-enough for efficient retrieval. Existing trade-off solutions mainly study from the view of incorporating cross-modal interactions with the independent-embedding framework or leveraging stronger pretrained encoders, which still demand time-consuming similarity measurement or heavyweight model structure in the retrieval stage. In this work, we propose an image-text alignment module SelfAlign on top of the independent-embedding framework, which improves the retrieval accuracy while maintains the retrieval efficiency without extra supervision. SelfAlign contains two collaborative sub-modules that force image-text alignment at both concept level and context level by self-supervised contrastive learning. It does not require cross-modal embedding interactions during training while maintaining independent image and text encoders during retrieval. With comparable time cost, SelfAlign consistently boosts the accuracy of state-of-the-art non-pretraining independent-embedding models respectively by 9.1%, 4.2% and 6.6% in terms of R@sum score on Flickr30K, MSCOCO 1K and MS-COCO 5K datasets. The retrieval accuracy also outperforms most existing interactive-embedding models with orders of magnitude decrease in retrieval time. The source code is available at: https://github.com/Zjamie813/SelfAlign.

View on arXivView PDF

Code Implementations(1)

120C, C++Apr 12, 20224 years ago

Similar Papers

Cite this paper

@article{zhuang2023towards,
  title  = {Towards Fast and Accurate Image-Text Retrieval with Self-Supervised Fine-Grained Alignment},
  author = {Jiamin Zhuang and Jing Yu and Yang Ding and Xiangyan Qu and Yue Hu},
  year   = {2023},
  eprint = {2308.14009},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.14009v1}
}

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/2308.14009.svg)](https://codeofpaper.com/paper/2308.14009)

Discussion