[Paper Review] UFO: A UniFied TransfOrmer for Vision-Language Representation Learning
UFO introduces a single unified transformer that can act as an image encoder, a text encoder, and a multimodal fusion encoder for vision-language pre-training, achieving strong results on VQA, COCO captioning, and nocaps while remaining competitive in image-text retrieval without heavy modality-specific components.
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.
Motivation & Objective
- Motivate and reduce architectural complexity by using a single transformer for both unimodal and multimodal vision-language tasks.
- Pre-train the unified model with multiple tasks (ITC, ITM, MLM, and S-MLM) to support both unimodal and multimodal capabilities.
- Show that multi-task pre-training with a momentum teacher yields competitive or state-of-the-art results across VQA, image captioning, and nocaps, while remaining efficient for retrieval tasks.
Proposed method
- Adopt a single transformer backbone to serve as image encoder, text encoder, and fusion network by projecting images into patches and text into embeddings to form a shared token sequence.
- Use image-text contrastive loss (ITC) to learn unimodal representations for images and texts.
- Use image-text matching loss (ITM) plus masked language modeling loss (MLM) with bidirectional and seq2seq attention masks for multimodal fusion tasks.
- Incorporate a momentum teacher to guide pre-training via distillation losses for ITC/MLM/S-MLM tasks.
- Train with a randomly sampled loss per iteration to stabilize multi-task optimization and reduce conflicts between tasks.
Experimental results
Research questions
- RQ1Can a single, shared transformer architecture effectively handle unimodal image/text encoding as well as multimodal fusion for vision-language tasks?
- RQ2Do multi-task vision-language pre-training losses (ITC, ITM, MLM, S-MLM) complement each other, and does momentum distillation improve performance across downstream VL tasks?
- RQ3Is it possible to achieve state-of-the-art results on VQA, COCO captioning, and nocaps without relying on heavy, modality-specific fusion networks or detector-backed image features?
Key findings
- A single UniFied transfOrmer (UFO) can function as an image encoder, text encoder, and multimodal fusion encoder within the same architecture.
- ITC enables unimodal understanding for images and texts, while ITM and MLM/S-MLM empower multimodal fusion and language generation capabilities.
- Using a momentum teacher and randomly selecting one pre-training loss per iteration yields improved performance and training stability across downstream VL tasks.
- UFO achieves strong results on VQA, COCO image captioning (CIDEr), and nocaps (SPICE), and competitive performance on image-text retrieval compared to state-of-the-art methods with larger pre-training data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.