Skip to main content
QUICK REVIEW

[Paper Review] UNIMO: Towards Unified-Modal Understanding and Generation via Cross-Modal Contrastive Learning

Wei Li, Can Gao|arXiv (Cornell University)|Dec 31, 2020
Multimodal Machine Learning ApplicationsComputer Science40 references32 citations
TL;DR

UNIMO ushers a unified-modal pre-training paradigm that learns from text, images, and image-text pairs, enabling strong performance on both single-modal and multi-modal tasks through cross-modal contrastive learning and multi-level text rewrites.

ABSTRACT

Existed pre-training methods either focus on single-modal tasks or multi-modal tasks, and cannot effectively adapt to each other. They can only utilize single-modal data (i.e. text or image) or limited multi-modal data (i.e. image-text pairs). In this work, we propose a unified-modal pre-training architecture, namely UNIMO, which can effectively adapt to both single-modal and multi-modal understanding and generation tasks. Large scale of free text corpus and image collections can be utilized to improve the capability of visual and textual understanding, and cross-modal contrastive learning (CMCL) is leveraged to align the textual and visual information into a unified semantic space over a corpus of image-text pairs. As the non-paired single-modal data is very rich, our model can utilize much larger scale of data to learn more generalizable representations. Moreover, the textual knowledge and visual knowledge can enhance each other in the unified semantic space. The experimental results show that UNIMO significantly improves the performance of several single-modal and multi-modal downstream tasks. Our code and pre-trained models are public at the UNIMO project page https://unimo-ptm.github.io/

Motivation & Objective

  • Motivate a unified-modal pre-training approach that can leverage large-scale non-paired text and image data.
  • Learn representations that align visual and textual modalities in a common semantic space.
  • Enable strong performance on both single-modal language tasks and multi-modal vision-language tasks.
  • Demonstrate that textual and visual knowledge mutually enhance each other in cross-modal learning.

Proposed method

  • Use a unified-modal Transformer to process text, image regions, and image-text pairs.
  • Apply cross-modal contrastive learning (CMCL) with text rewriting to create varied positive and hard negative samples for image-text pairs.
  • Augment each image-text pair with retrieved related texts and images from single-modal data.
  • Pre-train with masked visual feature reconstruction and a combination of feature regression and region classification objectives.
  • Train a unified encoder-decoder for language modeling with bidirectional prediction and Seq2Seq generation, sharing context across modalities.

Experimental results

Research questions

  • RQ1Can a single model effectively learn from text, images, and image-text pairs to support both single-modal and multi-modal tasks?
  • RQ2Does cross-modal contrastive learning with multi-granularity text rewrites improve alignment in a unified semantic space?
  • RQ3To what extent can textual and visual knowledge enhance each other when learned jointly?
  • RQ4How does UNIMO perform compared with prior single-modal PLMs and multi-modal pre-training methods on downstream tasks?

Key findings

  • UNIMO-base and UNIMO-large achieve state-of-the-art results on multi-modal tasks like image-text retrieval, visual entailment, VQA, and image captioning, with UNIMO-large surpassing prior best ERNIE-ViL-large in image and text retrieval by about 1.3–1.34 R@1.
  • UNIMO also delivers strong performance on single-modal language tasks, outperforming several PLMs and beating UniLM on many benchmarks.
  • Ablations show that removing textual data (w/o texts) degrades multi-modal tasks, and removing visual data (w/o pairs&images) degrades single-modal tasks, illustrating mutual enhancement between modalities.
  • Using non-paired text and image data alongside image-text pairs yields richer representations and better cross-modal alignment than models trained only on image-text pairs.
  • CMCL with text rewriting (sentence, phrase, word levels) and retrieval augmentation significantly improves cross-modal semantic alignment over naive image-text matching approaches.

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.