UNITER: UNiversal Image-TExt Representation Learning

Yen-Chun Chen, Linjie Li, Licheng Yu, Ahmed El Kholy, Faisal Ahmed +3 more
9/25/2019
cs.CVcs.CLcs.LG

Official code: ChenRocks/UNITER (801 stars, PyTorch, last commit 2021-06-30).

Abstract

Joint image-text embedding is the bedrock for most Vision-and-Language (V+L) tasks, where multimodality inputs are simultaneously processed for joint visual and textual understanding. In this paper, we introduce UNITER, a UNiversal Image-TExt Representation, learned through large-scale pre-training over four image-text datasets (COCO, Visual Genome, Conceptual Captions, and SBU Captions), which can power heterogeneous downstream V+L tasks with joint multimodal embeddings. We design four pre-training tasks: Masked Language Modeling (MLM), Masked Region Modeling (MRM, with three variants), Image-Text Matching (ITM), and Word-Region Alignment (WRA). Different from previous work that applies joint random masking to both modalities, we use conditional masking on pre-training tasks (i.e., masked language/region modeling is conditioned on full observation of image/text). In addition to ITM for global image-text alignment, we also propose WRA via the use of Optimal Transport (OT) to explicitly encourage fine-grained alignment between words and image regions during pre-training. Comprehensive analysis shows that both conditional masking and OT-based WRA contribute to better pre-training. We also conduct a thorough ablation study to find an optimal combination of pre-training tasks. Extensive experiments show that UNITER achieves new state of the art across six V+L tasks (over nine datasets), including Visual Question Answering, Image-Text Retrieval, Referring Expression Comprehension, Visual Commonsense Reasoning, Visual Entailment, and NLVR$^2$. Code is available at https://github.com/ChenRocks/UNITER.

View on arXivView PDF

Code Implementations(1)

ChenRocks/UNITEROfficial100%
PyTorch

Research code for ECCV 2020 paper "UNITER: UNiversal Image-TExt Representation Learning"

801111Shell, PythonJan 28, 20205 years ago
pre-trainingpytorchtransformersvision-and-language

Similar Papers

Cite this paper

@article{chen2019uniter,
  title  = {UNITER: UNiversal Image-TExt Representation Learning},
  author = {Yen-Chun Chen and Linjie Li and Licheng Yu and Ahmed El Kholy and Faisal Ahmed and Zhe Gan and Yu Cheng and Jingjing Liu},
  year   = {2019},
  eprint = {1909.11740},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.11740}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.11740.svg)](https://codeofpaper.com/paper/1909.11740)

Discussion