Skip to main content
QUICK REVIEW

[Paper Review] ERNIE-ViL 2.0: Multi-view Contrastive Learning for Image-Text Pre-training

Bin Shan, Weichong Yin|arXiv (Cornell University)|Sep 30, 2022
Multimodal Machine Learning ApplicationsComputer Science10 citations
TL;DR

ERNIE-ViL 2.0 proposes a multi-view contrastive learning framework for image-text pre-training that enhances cross-modal representation by modeling both intra-modal and inter-modal correlations across diverse views. By introducing object tags as a special textual view and leveraging dual-encoder architecture, it achieves state-of-the-art performance on Chinese cross-modal retrieval and competitive results on English benchmarks using only publicly available data.

ABSTRACT

Recent Vision-Language Pre-trained (VLP) models based on dual encoder have attracted extensive attention from academia and industry due to their superior performance on various cross-modal tasks and high computational efficiency. They attempt to learn cross-modal representation using contrastive learning on image-text pairs, however, the built inter-modal correlations only rely on a single view for each modality. Actually, an image or a text contains various potential views, just as humans could capture a real-world scene via diverse descriptions or photos. In this paper, we propose ERNIE-ViL 2.0, a Multi-View Contrastive learning framework to build intra-modal and inter-modal correlations between diverse views simultaneously, aiming at learning a more robust cross-modal representation. Specifically, we construct multiple views within each modality to learn the intra-modal correlation for enhancing the single-modal representation. Besides the inherent visual/textual views, we construct sequences of object tags as a special textual view to narrow the cross-modal semantic gap on noisy image-text pairs. Pre-trained with 29M publicly available datasets, ERNIE-ViL 2.0 achieves competitive results on English cross-modal retrieval. Additionally, to generalize our method to Chinese cross-modal tasks, we train ERNIE-ViL 2.0 through scaling up the pre-training datasets to 1.5B Chinese image-text pairs, resulting in significant improvements compared to previous SOTA results on Chinese cross-modal retrieval. We release our pre-trained models in https://github.com/PaddlePaddle/ERNIE.

Motivation & Objective

  • To improve cross-modal representation robustness by modeling both intra-modal and inter-modal correlations across diverse views in image-text pre-training.
  • To address the semantic gap in noisy, web-crawled image-text pairs by introducing object tags as a special textual view for better cross-modal alignment.
  • To achieve strong performance on cross-modal retrieval using only publicly available datasets, establishing a solid benchmark for English and Chinese tasks.
  • To scale the model to 1.5 billion Chinese image-text pairs to achieve state-of-the-art results on Chinese cross-modal retrieval.

Proposed method

  • Constructs multiple views within each modality, including image-image and text-text pairs, to learn intra-modal correlations and improve single-modal representations.
  • Introduces sequences of object tags as a special textual view to bridge fine-grained visual concepts and textual descriptions, narrowing the cross-modal semantic gap.
  • Employs a dual-encoder architecture with contrastive learning on diverse view pairs—inter-modal (e.g., (tag, image), (text, image)) and intra-modal (image-image, text-text)—to jointly optimize cross-modal alignment.
  • Uses a multi-view contrastive learning objective that jointly optimizes representations across all view pairs, enhancing robustness and generalization.
  • Pre-trains the model on 29M publicly available English image-text pairs and scales up to 1.5B Chinese pairs for improved zero-shot and few-shot generalization.
  • Leverages cosine similarity for cross-modal matching and applies contrastive loss across multiple view combinations to encourage view-invariant representations.

Experimental results

Research questions

  • RQ1Can modeling intra-modal and inter-modal correlations across multiple views improve the robustness and generalization of cross-modal representations in image-text pre-training?
  • RQ2How effective is using object tags as a special textual view in reducing the semantic gap between noisy image-text pairs?
  • RQ3Can a multi-view contrastive learning framework achieve state-of-the-art performance on cross-modal retrieval using only publicly available datasets?
  • RQ4Does scaling pre-training data to 1.5 billion Chinese image-text pairs significantly improve performance on Chinese cross-modal retrieval tasks?

Key findings

  • ERNIE-ViL 2.0 achieves a 2.3% absolute improvement in meanRecall on image-text retrieval compared to single-view contrastive learning baselines.
  • The model achieves a 3.2% absolute improvement on text-to-image retrieval, demonstrating stronger performance on the more challenging text-to-image task.
  • Adding object tag-based inter-modal contrastive learning yields a 1.6% absolute improvement in meanRecall, highlighting its effectiveness in bridging semantic gaps.
  • The model achieves state-of-the-art results on Chinese cross-modal retrieval after pre-training on 1.5 billion image-text pairs, significantly outperforming previous SOTA methods.
  • The model demonstrates strong zero-shot generalization, successfully retrieving images with fine-grained, abstract, and long-tail text queries.
  • Image and text retrieval results show that ERNIE-ViL 2.0 effectively learns fine-grained concepts and instances, even in noisy, web-crawled data.

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.