Contrastive Learning Of Visual-semantic Embeddings
2021 Β· Anurag Jain, Yashaswi Verma
Abstract
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 t
Authors
(none)
Tags
Stats
Related papers
- Crossclr: Cross-modal Contrastive Learning For Multi-modal Video Representations (2021)15.59
- Improving Visual-semantic Embeddings By Learning Semantically-enhanced Hard Negatives For Cross-modal Information Retrieval (2022)9.41
- Multimodal Contrastive Training For Visual Representation Learning (2021)16.32
- A Mathematical Perspective On Contrastive Learning (2025)0.00
- Normalized Contrastive Learning For Text-video Retrieval (2022)6.77
- With A Little Help From My Friends: Nearest-neighbor Contrastive Learning Of Visual Representations (2021)18.76
- Learning Robust Visual-semantic Embeddings (2017)15.22
- Intra-modal Constraint Loss For Image-text Retrieval (2022)8.33