[Paper Review] Unifying Vision-and-Language Tasks via Text Generation
This paper proposes VL-T5 and VL-BART, a single unified generative framework that treats vision-and-language tasks as multimodal text generation, achieving comparable results to task-specific models across 7 benchmarks and enabling multi-task learning with one set of parameters.
Existing methods for vision-and-language learning typically require designing task-specific architectures and objectives for each task. For example, a multi-label answer classifier for visual question answering, a region scorer for referring expression comprehension, and a language decoder for image captioning, etc. To alleviate these hassles, in this work, we propose a unified framework that learns different tasks in a single architecture with the same language modeling objective, i.e., multimodal conditional text generation, where our models learn to generate labels in text based on the visual and textual inputs. On 7 popular vision-and-language benchmarks, including visual question answering, referring expression comprehension, visual commonsense reasoning, most of which have been previously modeled as discriminative tasks, our generative approach (with a single unified architecture) reaches comparable performance to recent task-specific state-of-the-art vision-and-language models. Moreover, our generative approach shows better generalization ability on questions that have rare answers. Also, we show that our framework allows multi-task learning in a single architecture with a single set of parameters, achieving similar performance to separately optimized single-task models. Our code is publicly available at: https://github.com/j-min/VL-T5
Motivation & Objective
- Motivate a unified framework to avoid task-specific architectures for vision-and-language tasks.
- Leverage pretrained language models to generate text labels conditioned on visual inputs.
- Show that a single architecture with a language modeling objective can handle diverse V&L tasks.
Proposed method
- Extend pretrained language models T5 and BART with multimodal encoders that incorporate image region embeddings.
- Represent images as a fixed set of region features and use visual sentinel tokens to link regions to text labels.
- Formulate all tasks as text generation by prefixing inputs with task-specific prompts (e.g., vqa:, visual grounding:).
- Train with a single maximum likelihood objective to generate label text given multimodal input.
- Pretrain on 9.18M image–text pairs from COCO and Visual Genome with multiple pretraining tasks including multimodal language modeling, VQA, image-text matching, visual grounding, and grounded captioning.
- Evaluate on 7 downstream tasks to compare with task-specific discriminative models and to test multi-task finetuning.
Experimental results
Research questions
- RQ1Can vision-and-language tasks be effectively unified under a text-generation objective using a single model?
- RQ2Do generative V&L models generalize better to rare-answer questions compared to discriminative baselines?
- RQ3Is a single architecture capable of performing well across multiple downstream vision-and-language tasks without task-specific heads?
- RQ4Does multi-task fine-tuning with a single set of parameters approach or match the performance of separately trained single-task models?
Key findings
- VL-T5 and VL-BART achieve comparable performance to recent state-of-the-art task-specific V&L models on 7 downstream benchmarks.
- Generative models show better generalization on questions with rare answers compared to discriminative baselines.
- A single architecture with one set of weights can perform well across multiple tasks, achieving similar results to individually optimized single-task models.
- Dataset-specific prefixes are not strictly necessary for VQA and GQA, and a single prefix can yield performance gains in some cases.
- The framework enables open-ended NL answers and maintains competitive performance across tasks such as VQA, NLVR2, RefCOCOg, VCR, COCO captioning, and Multi30K translation.
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.