COBRA: Contrastive Bi-Modal Representation Algorithm
arXiv:2005.03687
Abstract
There are a wide range of applications that involve multi-modal data, such as cross-modal retrieval, visual question-answering, and image captioning. Such applications are primarily dependent on aligned distributions of the different constituent modalities. Existing approaches generate latent embeddings for each modality in a joint fashion by representing them in a common manifold. However these joint embedding spaces fail to sufficiently reduce the modality gap, which affects the performance in downstream tasks. We hypothesize that these embeddings retain the intra-class relationships but are unable to preserve the inter-class dynamics. In this paper, we present a novel framework COBRA that aims to train two modalities (image and text) in a joint fashion inspired by the Contrastive Predictive Coding (CPC) and Noise Contrastive Estimation (NCE) paradigms which preserve both inter and intra-class relationships. We empirically show that this framework reduces the modality gap significantly and generates a robust and task agnostic joint-embedding space. We outperform existing work on four diverse downstream tasks spanning across seven benchmark cross-modal datasets.
arXiv comment13 Pages, 6 Figures and 10 Tables
References in corpus (5)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- A Simple Framework for Contrastive Learning of Visual Representations
- Data-Efficient Image Recognition with Contrastive Predictive Coding
- Modality to Modality Translation: An Adversarial Representation Learning and Graph Fusion Network for Multimodal Fusion
- Seq2Seq2Sentiment: Multimodal Sequence to Sequence Models for Sentiment Analysis