- Introduced by
- Antol, S. et al. (VQA team, Facebook AI Research / Virginia Tech)
- Year
- 2015
- Type
- Supervised multimodal learning
- Family
- Deep learning / NLP / CV
What does it do?
Multimodal question answering (Multimodal QA) is a class of deep-learning methods that answer natural-language questions by jointly reasoning over information from several modalities.
The most common combination is text and images, but video, audio, and structured tables are also used. The field was brought to prominence by the VQA benchmark of 2015 (Antol et al.) and has since broadened into work on document understanding and medical image question answering.
The intuition behind the method
A text-only QA system can answer 'What year was this photo taken?' only if the year is stated in the accompanying text, because it cannot inspect the image. Multimodal QA gives the model access to the image: a vision encoder processes the picture, a language model processes the question, and the model learns how visual evidence and linguistic context together determine the answer. Many questions are underspecified without the visual context, so the answer depends on grounding the language in what the image shows.
History
The field was crystallized by the VQA v1 benchmark (Antol et al., 2015), which paired images with open-ended, human-written questions and answers. Early approaches combined CNN image features with LSTM question encodings. Later attention-based models and transformer-based vision-language pretraining (ViLBERT, UNITER, CLIP, BLIP) substantially changed performance levels. Large vision-language models such as LLaVA and GPT-4V, which appeared later, extend this approach to open-ended generative answering.
When to use it
Use multimodal QA when the question depends on information that text alone does not contain, such as spatial relations in an image, content of a figure or scanned table, or events in a video. It fits settings where image-question-answer data, or a pretrained vision-language model that can be fine-tuned on a modest labeled set, is available. Do not use it when all the relevant information is present in the text, since a standard text QA model is simpler and easier to interpret. Avoid training a multimodal model from scratch when labeled question-answer pairs are scarce; in that case, start from a pretrained multimodal model and fine-tune it.
Limitations and considerations
- Requires paired multimodal training data with question-answer annotations, which are expensive to collect and may be scarce for specialized domains.
- Large pretrained multimodal models (billions of parameters) demand significant GPU memory and compute for both training and inference.
- Models can exploit dataset-specific language biases (e.g., answering 'yes' to most yes/no questions) rather than genuinely grounding in the visual content.
- Evaluation is non-trivial for open-ended answers: automatic metrics (BLEU, CIDEr) correlate imperfectly with human judgment.
- Out-of-distribution generalization remains poor; models trained on natural images often fail on medical or satellite imagery without domain-specific fine-tuning.
- Generative models may hallucinate: they can produce fluent answers that describe objects, attributes, or text absent from the image, so generated answers need checking against the visual evidence.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Enables reasoning over evidence that cannot be expressed in text alone, such as spatial relationships in images or temporal events in video.
- Pretrained vision-language models such as BLIP-2 and LLaVA can be adapted to a specific QA task with relatively few task-specific labeled examples, which is one reason fine-tuning is usually preferred to training from scratch.
- Applicable to domains where the answer must come from images, including medical image question answering, document understanding, and visual commonsense reasoning.
- Flexible answer format: supports both closed-set classification over a fixed answer list and open-ended generative answers.
- Cross-modal attention weights can be inspected to see which image regions influenced a given answer, although these maps are not a reliable account of the model's reasoning (see pitfalls).
Applications
- Medical image QA: answering clinical questions grounded in radiology or pathology images.
- Document understanding: answering questions about scanned documents containing tables, figures, and mixed text-image layouts.
- Visual commonsense reasoning: inferring object relationships, attributes, and scene context from images.
- Video QA: answering temporal questions about events, actions, and causal relationships in video clips.
- Remote sensing QA: interpreting satellite or aerial imagery to answer geospatial questions.
- Educational technology: interactive tutoring systems that answer student questions about diagrams and illustrations.
How it works
How it works
Each input modality is encoded separately into a dense vector representation. Images are typically processed by a convolutional backbone such as ResNet or by a Vision Transformer (ViT), producing region-level or patch-level feature vectors. The question is encoded by a pretrained language model such as BERT, producing token-level embeddings. Other modalities, such as audio spectrograms or table rows, are encoded by modality-specific encoders.
The modality-specific representations are brought into a shared space by a fusion module. Early fusion concatenates the feature vectors before joint reasoning. Late fusion runs separate modality branches and combines their outputs. Cross-attention, used in modern transformer-based systems, lets tokens in one modality attend to tokens in another, which allows alignment between image regions and question words.
A cross-modal attention mechanism, often implemented as a multi-layer transformer that alternates self-attention and cross-attention blocks, passes information between modalities. The model learns which image patches or video frames bear on which words in the question, producing a joint context representation that carries both visual and linguistic content (see Xu et al., 2023, for a survey of transformer-based multimodal designs).
The joint representation is passed to an answer head. For classification-style VQA, a linear layer maps the fused vector onto a fixed answer vocabulary, and cross-entropy is the usual training loss. For open-ended or generative QA, an auto-regressive decoder generates the answer token by token, conditioned on the multimodal context.
Common pitfalls
- Ignoring language priors in the training set: if most answers to a question type are 'yes', the model may learn to predict 'yes' without looking at the image. Audit accuracy per question type to detect this.
- Treating VQA accuracy as equivalent to single-label classification accuracy. The VQA metric scores an answer by its agreement with several human answers collected for the same question, so its values are not directly comparable to plain accuracy or across papers that normalise answers differently.
- Fine-tuning only the answer head while freezing the visual encoder. Unfreezing at least the upper layers of the vision encoder may help when the image domain differs from the pretraining data; check this on validation data rather than assuming it.
- Using image-level global features instead of region- or patch-level features when questions require spatial or object-level reasoning.
- Skipping qualitative error analysis on failure cases. Many errors cluster around counting, attribute binding, and negation, and each usually needs a different fix.
- Accepting fluent generative answers at face value. Hallucinated details are hard to spot because the wording is confident; verify answers against the image, for example by inspecting the relevant region or running ablation checks, and use human review for high-stakes applications.
Frequently asked questions
What is the difference between VQA and multimodal QA?
Visual Question Answering (VQA) specifically refers to QA over static images. Multimodal QA is the broader category that also includes video, audio, tables, knowledge graphs, and any combination of these with text. VQA is the most studied subtype and gave rise to the field.
Do I need to train a model from scratch?
Usually not. Pretrained vision-language models such as BLIP-2, LLaVA, or InstructBLIP already encode substantial visual-linguistic knowledge. Fine-tuning on your domain-specific QA pairs is generally more data-efficient than training from scratch, though the right choice depends on how far your domain is from the pretraining data.
How should I evaluate an open-ended multimodal QA system?
For classification-style VQA, use the VQA accuracy metric, which scores an answer by its agreement with the human answers collected for each question. Its exact computation is defined in the official VQA evaluation code, which should be used as the reference implementation. For generative answers, combine BLEU/CIDEr with human evaluation on a sample, and run per-category error analysis to detect answers that ignore the image.
Can multimodal QA models be used on medical images?
Yes, but with caution. Models pretrained on natural images (e.g., COCO) may transfer poorly to radiology or pathology without domain-specific fine-tuning on annotated medical QA datasets such as VQA-Med or PathVQA. Validate clinical performance with domain experts before any deployment.
How do I know whether my model is actually looking at the image?
Run ablation experiments: compare performance with the original image against a blank, shuffled, or randomly replaced image. If performance drops substantially, the model is using visual content. Cross-modal attention maps can help you inspect behaviour, but they are not a reliable explanation of the model's reasoning on their own.
Related methods
Sources
Antol, S., Agrawal, A., Lu, J., Mitchell, M., Batra, D., Zitnick, C. L., & Parikh, D. (2015). VQA: Visual Question Answering. Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2425–2433.
Open DOI referenceXu, P., Zhu, X., & Clifton, D. A. (2023). Multimodal learning with transformers: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(10), 12113–12132.
Open DOI reference