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

ViSTA:用于跨模态检索的视觉和场景文本聚合

ViSTA: Vision and Scene Text Aggregation for Cross-Modal Retrieval

Baidu Inc(百度公司);Peking University(北京大学);Peng Cheng Laboratory(鹏城实验室)

Mengjun Cheng, Yipeng Sun, Longchao Wang, Xiongwei Zhu, Kun Yao, Jie Chen, Guoli Song, Junyu Han, Jingtuo Liu, Errui Ding, Jingdong Wang

摘要:

视觉外观被认为是跨模态检索中理解图像的最重要线索,而有时图像中出现的场景文本可以为理解视觉语义提供有价值的信息。现有的大多数跨模态检索方法都忽略了场景文本信息的使用,直接添加这些信息可能会导致无场景文本场景检索性能下降。为了解决这个问题,我们提出了一个完整的Transformer架构,以统一这些跨模态检索场景在一个单一的$\textbf{Vi}$ sion和$\textbf{S}$ cene $\textbf{T}$ ext $\textbf{A}$ ggregation框架(VisTA)。具体而言,ViSTA利用Transformer块直接编码图像块并融合场景文本嵌入,以学习用于跨模态检索的聚合视觉表示。为了解决场景文本的模态缺失问题,提出了一种新的基于融合标记的Transformer聚合方法,只通过融合标记交换必要的场景文本信息,并集中在每个模态中最重要的特征上。为了进一步加强视觉模态,我们开发了双重对比学习损失,将图像-文本对和融合-文本对嵌入到一个公共的跨模态空间中。与现有的方法相比,VisTA能够聚合相关的场景文本语义与视觉外观,从而改善场景文本自由和场景文本感知场景下的结果。实验结果表明,对于场景文本感知的检索任务,VisTA在Recall@1处的性能至少比其他方法高出$\bf{8.4}\%$.与最先进的场景文本免费检索方法相比,ViSTA可以实现更好的准确性在Flicker 30 K和MSCOCO,同时运行至少三倍的速度在推理阶段,这验证了所提出的框架的有效性。

英文摘要:

Visual appearance is considered to be the most important cue to understand images for cross-modal retrieval, while sometimes the scene text appearing in images can provide valuable information to understand the visual semantics. Most of existing cross-modal retrieval approaches ignore the usage of scene text information and directly adding this information may lead to performance degradation in scene text free scenarios. To address this issue, we propose a full transformer architecture to unify these cross-modal retrieval scenarios in a single $\textbf{Vi}$sion and $\textbf{S}$cene $\textbf{T}$ext $\textbf{A}$ggregation framework (ViSTA). Specifically, ViSTA utilizes transformer blocks to directly encode image patches and fuse scene text embedding to learn an aggregated visual representation for cross-modal retrieval. To tackle the modality missing problem of scene text, we propose a novel fusion token based transformer aggregation approach to exchange the necessary scene text information only through the fusion token and concentrate on the most important features in each modality. To further strengthen the visual modality, we develop dual contrastive learning losses to embed both image-text pairs and fusion-text pairs into a common cross-modal space. Compared to existing methods, ViSTA enables to aggregate relevant scene text semantics with visual appearance, and hence improve results under both scene text free and scene text aware scenarios. Experimental results show that ViSTA outperforms other methods by at least $\bf{8.4}\%$ at Recall@1 for scene text aware retrieval task. Compared with state-of-the-art scene text free retrieval methods, ViSTA can achieve better accuracy on Flicker30K and MSCOCO while running at least three times faster during the inference stage, which validates the effectiveness of the proposed framework.

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

↑