Skip to main content
QUICK REVIEW

[Paper Review] Multimodal Contrastive Training for Visual Representation Learning

Xin Yuan, Zhe Lin|arXiv (Cornell University)|Apr 26, 2021
Multimodal Machine Learning ApplicationsComputer Science59 references17 citations
TL;DR

This paper proposes a unified multimodal contrastive training framework that jointly optimizes intra-modal self-supervision and inter-modal cross-modal similarity to learn high-quality visual representations. By leveraging image, caption, and tag data with separate contrastive losses for self-supervision and cross-modal alignment, the method achieves state-of-the-art 55.3% top-1 accuracy on ImageNet classification under standard transfer learning protocols.

ABSTRACT

We develop an approach to learning visual representations that embraces multimodal data, driven by a combination of intra- and inter-modal similarity preservation objectives. Unlike existing visual pre-training methods, which solve a proxy prediction task in a single domain, our method exploits intrinsic data properties within each modality and semantic information from cross-modal correlation simultaneously, hence improving the quality of learned visual representations. By including multimodal training in a unified framework with different types of contrastive losses, our method can learn more powerful and generic visual features. We first train our model on COCO and evaluate the learned visual representations on various downstream tasks including image classification, object detection, and instance segmentation. For example, the visual representations pre-trained on COCO by our method achieve state-of-the-art top-1 validation accuracy of $55.3\%$ on ImageNet classification, under the common transfer protocol. We also evaluate our method on the large-scale Stock images dataset and show its effectiveness on multi-label image tagging, and cross-modal retrieval tasks.

Motivation & Objective

  • To develop a unified framework that simultaneously exploits intrinsic data patterns within each modality and semantic correlations across modalities for visual representation learning.
  • To improve visual feature quality by combining intra-modal self-supervised contrastive learning with inter-modal contrastive learning using image, caption, and tag data.
  • To achieve better transferability of pre-trained visual features to downstream tasks such as image classification, object detection, and instance segmentation.
  • To design a symmetric, extensible framework that can incorporate new modalities like video or audio with minimal modification.

Proposed method

  • The method employs two parallel training paths: an intra-modal path for self-supervised contrastive learning within each modality (image, caption, tags), and an inter-modal path for cross-modal contrastive learning between different modalities.
  • Intra-modal contrastive learning uses augmented views of images and captions to preserve local and global data structure through contrastive loss functions.
  • Inter-modal contrastive learning uses bi-directional similarity preservation between image and caption embeddings in a shared embedding space, with separate MLP heads for each modality.
  • The framework uses distinct MLP heads with different dimensions: 128D for intra-modal self-supervision and 1024D for inter-modal cross-modal alignment to optimize feature representation quality.
  • The model is trained end-to-end using a combination of five contrastive losses: $J_{ii}$ (image-image), $J_{cc}$ (caption-caption), $J_{ic}$ (image-caption), $J_{ci}$ (caption-image), and $J_{tag}$ (tag-image).
  • The training process leverages momentum encoders and a queue-based memory bank to stabilize representation learning, similar to MoCo, but extended to multiple modalities.

Experimental results

Research questions

  • RQ1Can joint intra- and inter-modal contrastive learning improve visual representation quality beyond single-path self-supervised or cross-modal proxy tasks?
  • RQ2How does incorporating tags as a supplementary supervisory signal affect visual feature learning in a self-supervised setting?
  • RQ3Does a unified, symmetric framework for multiple modalities (image, caption, tag) enable better transferability to downstream vision tasks?
  • RQ4To what extent do the learned visual features generalize to zero-shot or few-shot transfer settings across diverse benchmarks?

Key findings

  • The proposed method achieves a state-of-the-art top-1 validation accuracy of 55.3% on ImageNet classification under the standard transfer learning protocol, outperforming existing self-supervised and multimodal pre-training methods.
  • On the large-scale Stock images dataset, the method outperforms a supervised baseline (Stock-sup) that directly trains on the tagging task, achieving higher mIOU@K for multi-label image tagging.
  • For cross-modal retrieval on the Stock dataset, the method achieves 36.98% R@1 and 74.02% R@10 for image-to-text retrieval, surpassing the supervised baseline by a large margin.
  • Ablation studies show that using separate MLPs with distinct dimensions (128D for intra-modal, 1024D for inter-modal) yields better performance than shared or uniform designs, with 54.9% top-1 accuracy on ImageNet.
  • Adding tag supervision ($J_{tag}$) to the contrastive objective improves ImageNet accuracy from 49.3% (MoCo-v2 baseline) to 50.2%, and further to 55.3% with all five losses, demonstrating the value of multimodal signals.
  • Even without fine-tuning, the pre-trained textual encoders generate useful features, achieving 24.1% R@1 and 66.0% R@10 on COCO cross-modal retrieval, significantly outperforming random baseline.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.