Skip to main content
QUICK REVIEW

[Paper Review] Answer-Me: Multi-Task Open-Vocabulary Visual Question Answering

AJ Piergiovanni, Wei Li|arXiv (Cornell University)|May 2, 2022
Multimodal Machine Learning ApplicationsComputer Science16 citations
TL;DR

Answer-Me proposes a multi-task, task-aware framework for open-vocabulary visual question answering that pre-trains a vision-language model end-to-end using only noisy image captioning data. By jointly optimizing for diverse question intents across VQA, visual entailment, and reasoning tasks, it achieves state-of-the-art zero-shot generalization and robustness to catastrophic forgetting, outperforming prior multi-task and fine-tuned models in open-vocabulary settings.

ABSTRACT

We present Answer-Me, a task-aware multi-task framework which unifies a variety of question answering tasks, such as, visual question answering, visual entailment, visual reasoning. In contrast to previous works using contrastive or generative captioning training, we propose a novel and simple recipe to pre-train a vision-language joint model, which is multi-task as well. The pre-training uses only noisy image captioning data, and is formulated to use the entire architecture end-to-end with both a strong language encoder and decoder. Our results show state-of-the-art performance, zero-shot generalization, robustness to forgetting, and competitive single-task results across a variety of question answering tasks. Our multi-task mixture training learns from tasks of various question intents and thus generalizes better, including on zero-shot vision-language tasks. We conduct experiments in the challenging multi-task and open-vocabulary settings and across a variety of datasets and tasks, such as VQA2.0, SNLI-VE, NLVR2, GQA. We observe that the proposed approach is able to generalize to unseen tasks and that more diverse mixtures lead to higher accuracy in both known and novel tasks.

Motivation & Objective

  • To develop a unified, multi-task framework that generalizes across diverse visual question-answering tasks without task-specific fine-tuning.
  • To address the limitation of task-agnostic pretraining, which fails to capture question intent and leads to poor zero-shot performance.
  • To improve robustness to catastrophic forgetting during continual learning across multiple tasks.
  • To enable end-to-end training of vision-language models with strong encoder-decoder alignment using only image captioning data.
  • To evaluate performance in the more realistic open-vocabulary setting, where exact text generation is required, rather than multiple-choice classification.

Proposed method

  • The model uses a unified architecture with a shared vision encoder, language encoder, and text decoder, trained end-to-end on a mixture of multi-task pretraining objectives.
  • Pretraining employs a simple recipe using only image captioning data, with four distinct tasks: captioning, caption completion, image-text matching (ITM), and masked language modeling (MLM).
  • Each task uses the same loss function with minimal preprocessing differences, enabling joint optimization of image and language encoders and the decoder.
  • The fusion mechanism combines image and text features via concatenation followed by transformer encoders, minimizing parameters while maintaining performance.
  • The model is trained to generate free-form answers, enabling zero-shot inference on unseen tasks without additional prompts or fine-tuning.
  • The approach avoids complex object detection pipelines, relying instead on a lightweight, scalable architecture that generalizes to out-of-domain objects.

Experimental results

Research questions

  • RQ1Can a multi-task pretraining recipe using only image captioning data achieve strong zero-shot generalization across diverse visual question-answering tasks?
  • RQ2How does task diversity in pretraining affect generalization to novel, unseen question-answering tasks?
  • RQ3Does end-to-end training of both encoder and decoder components improve performance compared to contrastive or autoregressive pretraining alone?
  • RQ4How does the model perform in open-vocabulary settings, where exact answer matching is required, as opposed to multiple-choice benchmarks?
  • RQ5To what extent does multi-task learning reduce catastrophic forgetting when learning new tasks incrementally?

Key findings

  • The full multi-task pretraining recipe using all four tasks (captioning, caption completion, ITM, MLM) achieved the highest performance, with 65.2% F1 on VQA2.0 and 77.7% on SNLI-VE, outperforming any single-task pretraining.
  • Zero-shot generalization on unseen tasks improved significantly with more diverse task mixtures: the 4-task (B) mixture achieved 16% F1 on zero-shot VQA, compared to only 2% for a standard pretrained model.
  • The model achieved 53% F1 on the zero-shot detection task using only MS-COCO data for pretraining, with a 4-task (B) mixture boosting it to 53% F1, showing strong generalization to new object detection tasks.
  • Using an encoder/decoder fusion layer instead of concatenation had minimal impact on performance but increased parameters by 4%, so concatenation was preferred for efficiency.
  • The model demonstrated robustness to catastrophic forgetting, maintaining high performance across tasks even after continual learning, unlike models fine-tuned per task.
  • The approach outperformed state-of-the-art models in open-vocabulary settings, including some larger, fine-tuned models, due to better generalization and intent understanding.

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.