Skip to main content
QUICK REVIEW

[Paper Review] Contrastive Visual-Linguistic Pretraining

Lei Shi, Kai Shuang|arXiv (Cornell University)|Jul 26, 2020
Multimodal Machine Learning ApplicationsComputer Science47 references18 citations
TL;DR

This paper proposes Contrastive Visual-Linguistic Pretraining (CVLP), a novel self-supervised framework that replaces traditional visual region regression and classification losses with contrastive learning to mitigate domain gap and noisy label issues in visual-linguistic pretraining. By employing a dynamic memory queue and a randomly layer-dropped key network, CVLP achieves state-of-the-art performance on VQA, GQA, and NLVR2, especially when pretraining and fine-tuning domains differ.

ABSTRACT

Several multi-modality representation learning approaches such as LXMERT and ViLBERT have been proposed recently. Such approaches can achieve superior performance due to the high-level semantic information captured during large-scale multimodal pretraining. However, as ViLBERT and LXMERT adopt visual region regression and classification loss, they often suffer from domain gap and noisy label problems, based on the visual features having been pretrained on the Visual Genome dataset. To overcome these issues, we propose unbiased Contrastive Visual-Linguistic Pretraining (CVLP), which constructs a visual self-supervised loss built upon contrastive learning. We evaluate CVLP on several down-stream tasks, including VQA, GQA and NLVR2 to validate the superiority of contrastive learning on multi-modality representation learning. Our code is available at: https://github.com/ArcherYunDong/CVLP-.

Motivation & Objective

  • To address domain gap and noisy label problems in visual-linguistic pretraining caused by reliance on Visual Genome-annotated features.
  • To improve generalization of visual-linguistic models on downstream tasks with distribution shifts between pretraining and fine-tuning.
  • To replace conventional region regression and classification losses with a contrastive learning-based self-supervision mechanism.
  • To develop an efficient contrastive learning framework compatible with Transformers, overcoming memory and batch size limitations.

Proposed method

  • Replace LXMERT-style region regression and classification with a contrastive learning objective that distinguishes positive and negative visual-linguistic pairs.
  • Introduce a dynamic memory queue to store and reuse past visual contextual features as negative samples, mitigating batch size constraints.
  • Use a momentum-updated key network with a slow-moving target to stabilize training and reduce feature drift.
  • Apply a randomly layer-dropping strategy in the key network to increase feature diversity and prevent overfitting.
  • Construct positive pairs from the same image-text sample and negative pairs from different samples within a batch.
  • Train the model using a contrastive loss that maximizes agreement between positive pairs and minimizes it for negative pairs.

Experimental results

Research questions

  • RQ1Can contrastive learning effectively reduce domain bias in visual-linguistic pretraining compared to regression and classification-based self-supervision?
  • RQ2How does the proposed dynamic memory queue improve contrastive learning performance when batch size is limited?
  • RQ3Does the layer-dropping technique in the key network enhance feature diversity and prevent overfitting in contrastive learning?
  • RQ4How does CVLP perform on downstream tasks when there is a significant domain gap between pretraining and fine-tuning data?
  • RQ5What is the optimal momentum value for the key network in the contrastive learning framework?

Key findings

  • CVLP achieves 70.62% accuracy on the VQA dev set, surpassing the strong LXMERT baseline of 69.10%.
  • On the NLVR2 dev set, CVLP reaches 76.47% accuracy, outperforming LXMERT’s 72.89% and demonstrating superior generalization on out-of-domain data.
  • On GQA, CVLP achieves 59.21% accuracy, slightly below LXMERT’s 59.80%, but still shows strong performance, especially given the domain shift.
  • The ablation study confirms that the delayed layer-dropping policy in the key network improves performance by 0.56% on VQA over the standard droplayer policy.
  • The momentum value of m = 1 - 1/I (where I is the iteration step) yields optimal performance, with m = 0.99997 showing the best results on NLVR2.
  • Visualization of attention weights shows that correct word-bounding box matching attention increases progressively through deeper layers, indicating improved cross-modal alignment.

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.