Retrieve Fast, Rerank Smart: Cooperative and Joint Approaches for Improved Cross-Modal Retrieval

Gregor Geigle, Jonas Pfeiffer, Nils Reimers, Ivan Vulić, Iryna Gurevych
3/22/2021
cs.CVcs.CL
transformer-attention

Official code: UKPLab/MMT-Retrieval (131 stars, Python, last commit 2022-12-10).

Abstract

Current state-of-the-art approaches to cross-modal retrieval process text and visual input jointly, relying on Transformer-based architectures with cross-attention mechanisms that attend over all words and objects in an image. While offering unmatched retrieval performance, such models: 1) are typically pretrained from scratch and thus less scalable, 2) suffer from huge retrieval latency and inefficiency issues, which makes them impractical in realistic applications.

Show full abstract

To address these crucial gaps towards both improved and efficient cross-modal retrieval, we propose a novel fine-tuning framework that turns any pretrained text-image multi-modal model into an efficient retrieval model. The framework is based on a cooperative retrieve-and-rerank approach which combines: 1) twin networks (i.e., a bi-encoder) to separately encode all items of a corpus, enabling efficient initial retrieval, and 2) a cross-encoder component for a more nuanced (i.e., smarter) ranking of the retrieved small set of items. We also propose to jointly fine-tune the two components with shared weights, yielding a more parameter-efficient model. Our experiments on a series of standard cross-modal retrieval benchmarks in monolingual, multilingual, and zero-shot setups, demonstrate improved accuracy and huge efficiency benefits over the state-of-the-art cross-encoders.

View on arXivView PDF

Code Implementations(1)

13113PythonMar 17, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{geigle2021retrieve,
  title  = {Retrieve Fast, Rerank Smart: Cooperative and Joint Approaches for Improved Cross-Modal Retrieval},
  author = {Gregor Geigle and Jonas Pfeiffer and Nils Reimers and Ivan Vulić and Iryna Gurevych},
  year   = {2021},
  eprint = {2103.11920},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.11920}
}

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

Discussion