arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.11920cs.CVcs.CL
收藏

快速检索,智能重排序:改进跨模态检索的合作和联合方法

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

Technical University of Darmstadt(达姆施塔特工业大学);University of Cambridge(剑桥大学)

Gregor Geigle, Jonas Pfeiffer, Nils Reimers, Ivan Vulić, Iryna Gurevych

摘要:

当前最先进的跨模态检索方法联合处理文本和视觉输入,依赖于具有跨注意力机制的基于变换器的架构,该跨注意力机制关注图像中的所有单词和对象。虽然提供了无与伦比的检索性能,但这些模型:1)通常从头开始进行预训练,因此可扩展性较差,2)存在巨大的检索延迟和效率低下的问题,这使得它们在现实应用中不切实际。为了解决这些关键的差距,以改善和有效的跨模态检索,我们提出了一种新的微调框架,把任何预训练的文本图像多模态模型变成一个有效的检索模型。该框架基于合作检索和重新排序方法,该方法结合:1)孪生网络(即,双向编码器)以单独地对语料库的所有项进行编码,从而实现有效的初始检索,以及2)用于更细微差别的交叉编码器组件(即,更聪明的)检索到的小项目集的排序。我们还建议联合微调共享权重的两个组件,从而产生一个更有效的参数模型。我们在单语,多语言和zero-shot设置中对一系列标准跨模态检索基准进行的实验表明,与最先进的交叉编码器相比,该方法提高了准确性和巨大的效率优势。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑