English

UFO: A UniFied TransfOrmer for Vision-Language Representation Learning

Computer Vision and Pattern Recognition 2021-11-22 v1

Abstract

In this paper, we propose a single UniFied transfOrmer (UFO), which is capable of processing either unimodal inputs (e.g., image or language) or multimodal inputs (e.g., the concatenation of the image and the question), for vision-language (VL) representation learning. Existing approaches typically design an individual network for each modality and/or a specific fusion network for multimodal tasks. To simplify the network architecture, we use a single transformer network and enforce multi-task learning during VL pre-training, which includes the image-text contrastive loss, image-text matching loss, and masked language modeling loss based on the bidirectional and the seq2seq attention mask. The same transformer network is used as the image encoder, the text encoder, or the fusion network in different pre-training tasks. Empirically, we observe less conflict among different tasks and achieve new state of the arts on visual question answering, COCO image captioning (cross-entropy optimization) and nocaps (in SPICE). On other downstream tasks, e.g., image-text retrieval, we also achieve competitive performance.

Keywords

Cite

@article{arxiv.2111.10023,
  title  = {UFO: A UniFied TransfOrmer for Vision-Language Representation Learning},
  author = {Jianfeng Wang and Xiaowei Hu and Zhe Gan and Zhengyuan Yang and Xiyang Dai and Zicheng Liu and Yumao Lu and Lijuan Wang},
  journal= {arXiv preprint arXiv:2111.10023},
  year   = {2021}
}
R2 v1 2026-06-24T07:44:23.675Z