arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08872cs.CVcs.IRcs.LGcs.MM
收藏

视觉语义嵌入的对比学习

Contrastive Learning of Visual-Semantic Embeddings

Cadence Design Systems (India) Private Limited(楷登电子科技(印度)私人有限公司);Indian Institute of Technology, Jodhpur(焦特布尔印度理工学院)

Anurag Jain, Yashaswi Verma

摘要:

对比学习是一种强大的技术,可以学习语义独特且几何不变的表示。虽然大多数早期的方法已经证明了其对单模态学习任务(如图像分类)的有效性,但最近有一些尝试将此想法扩展到多模态数据。在本文中,我们提出了两个损失函数的归一化交叉熵的基础上执行的任务,学习联合视觉语义嵌入使用批量对比训练。在一个批次中,对于来自一个模态的给定锚点,我们只考虑来自另一个模态的否定,并基于所有否定引起的预期违规来定义我们的第一个对比损失。接下来,我们更新这个损失,并定义第二个对比损失的基础上,违反所招致的只有最难的负面。我们将我们的结果与现有的视觉语义嵌入方法进行比较,使用MS-COCO和Flickr 30 K数据集进行跨模态图像到文本和文本到图像检索任务,我们在MS-COCO数据集上的表现优于最先进的技术,并在Flickr 30 K数据集上取得了可比的结果。

英文摘要:

Contrastive learning is a powerful technique to learn representations that are semantically distinctive and geometrically invariant. While most of the earlier approaches have demonstrated its effectiveness on single-modality learning tasks such as image classification, recently there have been a few attempts towards extending this idea to multi-modal data. In this paper, we propose two loss functions based on normalized cross-entropy to perform the task of learning joint visual-semantic embedding using batch contrastive training. In a batch, for a given anchor point from one modality, we consider its negatives only from another modality, and define our first contrastive loss based on expected violations incurred by all the negatives. Next, we update this loss and define the second contrastive loss based on the violation incurred only by the hardest negative. We compare our results with existing visual-semantic embedding methods on cross-modal image-to-text and text-to-image retrieval tasks using the MS-COCO and Flickr30K datasets, where we outperform the state-of-the-art on the MS-COCO dataset and achieve comparable results on the Flickr30K dataset.

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

↑