arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.09144cs.CV
收藏

用于图文匹配与检索的Transformer推理网络

Transformer Reasoning Network for Image-Text Matching and Retrieval

National Research Council(国家研究委员会);Institute of Information Science and Technologies(信息科学与技术研究所)

Nicola Messina, Fabrizio Falchi, Andrea Esuli, Giuseppe Amato

摘要:

图像-文本匹配是现代人工智能研究中一项有趣而迷人的任务。尽管基于深度学习的图像和文本处理系统不断发展,但多模态匹配仍然是一个具有挑战性的问题。在这项工作中,我们考虑的问题,准确的图像-文本匹配的任务,多模态大规模信息检索。图像-文本匹配中的最新结果是通过来自两个不同处理流水线的图像和文本特征的相互作用来实现的,通常使用相互注意力机制。然而,这使得在大规模检索系统中提取后续索引步骤所需的单独视觉和文本特征的任何机会都无效。在这方面,我们介绍了Transformer编码器推理网络(TERN),一个架构上的现代关系感知的自我关注的架构,Transformer编码器(TE)。该体系结构能够分别对两种不同的模态进行推理,并通过共享更深的Transformer层的权重来强制执行最终的公共抽象概念空间。由于这种设计,所实现的网络能够产生紧凑且非常丰富的视觉和文本特征,可用于后续索引步骤。在MS-COCO数据集上进行实验,我们使用折扣累积增益度量评估结果,并利用字幕相似性计算相关性,以评估可能不准确但相关的搜索结果。我们证明,在这个指标上,我们能够实现国家的最先进的图像检索任务的结果。我们的代码可以在https://github.com/mesnico/TERN上免费获得。

英文摘要:

Image-text matching is an interesting and fascinating task in modern AI research. Despite the evolution of deep-learning-based image and text processing systems, multi-modal matching remains a challenging problem. In this work, we consider the problem of accurate image-text matching for the task of multi-modal large-scale information retrieval. State-of-the-art results in image-text matching are achieved by inter-playing image and text features from the two different processing pipelines, usually using mutual attention mechanisms. However, this invalidates any chance to extract separate visual and textual features needed for later indexing steps in large-scale retrieval systems. In this regard, we introduce the Transformer Encoder Reasoning Network (TERN), an architecture built upon one of the modern relationship-aware self-attentive architectures, the Transformer Encoder (TE). This architecture is able to separately reason on the two different modalities and to enforce a final common abstract concept space by sharing the weights of the deeper transformer layers. Thanks to this design, the implemented network is able to produce compact and very rich visual and textual features available for the successive indexing step. Experiments are conducted on the MS-COCO dataset, and we evaluate the results using a discounted cumulative gain metric with relevance computed exploiting caption similarities, in order to assess possibly non-exact but relevant search results. We demonstrate that on this metric we are able to achieve state-of-the-art results in the image retrieval task. Our code is freely available at https://github.com/mesnico/TERN.

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

↑