[Paper Review] MuRAG: Multimodal Retrieval-Augmented Generator for Open Question Answering over Images and Text
MuRAG introduces the first multimodal retrieval-augmented generator that retrieves and reasons over both images and text from an external non-parametric memory to improve open-domain question answering. Pre-trained on a mixture of image-text and text-only corpora using contrastive and generative losses, MuRAG achieves state-of-the-art performance, outperforming existing models by 10–20% absolute accuracy on WebQA and MultimodalQA under both distractor and full-wiki settings.
While language Models store a massive amount of world knowledge implicitly in their parameters, even very large models often fail to encode information about rare entities and events, while incurring huge computational costs. Recently, retrieval-augmented models, such as REALM, RAG, and RETRO, have incorporated world knowledge into language generation by leveraging an external non-parametric index and have demonstrated impressive performance with constrained model sizes. However, these methods are restricted to retrieving only textual knowledge, neglecting the ubiquitous amount of knowledge in other modalities like images -- much of which contains information not covered by any text. To address this limitation, we propose the first Multimodal Retrieval-Augmented Transformer (MuRAG), which accesses an external non-parametric multimodal memory to augment language generation. MuRAG is pre-trained with a mixture of large-scale image-text and text-only corpora using a joint contrastive and generative loss. We perform experiments on two different datasets that require retrieving and reasoning over both images and text to answer a given query: WebQA, and MultimodalQA. Our results show that MuRAG achieves state-of-the-art accuracy, outperforming existing models by 10-20\% absolute on both datasets and under both distractor and full-wiki settings.
Motivation & Objective
- To address the limitation of existing retrieval-augmented language models that rely solely on text, which cannot access knowledge encoded only in images.
- To develop a unified framework that enables retrieval-augmented language generation over multimodal knowledge (images and text) from a large-scale corpus.
- To improve factual open-ended question answering by grounding answers in both visual and textual evidence retrieved from an external memory.
- To pre-train a multimodal model using a joint contrastive and generative objective on diverse image-text and text-only datasets to enhance retrieval and generation capabilities.
Proposed method
- MuRAG combines a pre-trained T5 encoder with a ViT encoder to jointly embed image-text pairs, image-only, and text-only inputs into a shared multimodal representation space.
- The model uses a two-stage training pipeline: first with small in-batch memory for efficient pre-training, then with a large, statically encoded, and indexed global memory for fine-tuning.
- During pre-training, the model is trained with a contrastive loss to distinguish relevant from irrelevant memory entries and a generative loss to produce accurate answers using retrieved knowledge.
- During inference, the model retrieves relevant image-text pairs from an external memory using the query embedding, then generates answers conditioned on both the query and the retrieved multimodal evidence.
- The retrieval process is differentiable and end-to-end trainable, allowing the generator to be optimized jointly with the retriever.
- The model is fine-tuned on downstream QA datasets using the same contrastive and generative loss, with inputs consisting of a question and a memory of captioned images and text snippets.
Experimental results
Research questions
- RQ1Can a retrieval-augmented language model effectively retrieve and reason over multimodal knowledge (images and text) to improve open-domain question answering?
- RQ2How does multimodal retrieval-augmented generation compare to text-only retrieval-augmented models in terms of accuracy on multimodal QA benchmarks?
- RQ3What are the key components of pre-training that most significantly improve performance in multimodal retrieval-augmented generation?
- RQ4Why do image-based queries remain significantly harder than text-based queries, and what are the primary failure modes in visual understanding?
Key findings
- MuRAG achieves state-of-the-art performance on both WebQA and MultimodalQA, outperforming existing baselines by 10–20% absolute accuracy under both distractor and full-wiki settings.
- On the WebQA dataset, MuRAG achieves 80% accuracy on text queries and 64% on image queries in the distractor setting, with 72% and 54% respectively in the full-wiki setting.
- Image-based queries are significantly harder than text-based ones, with miscounting (52%) and object recognition errors (29.4%) being the primary failure modes.
- The model exhibits shortcut learning, where it sometimes generates correct answers based on textual clues even when retrieving incorrect images, indicating a reliance on textual signals over visual grounding.
- The visual understanding module remains a bottleneck, particularly for complex scenes, rare objects, or questions requiring optical character recognition from images.
- Despite the use of large-scale pre-training data like LAION, the model still inherits biases—e.g., 5% of errors are due to gender misrecognition—highlighting the need for better debiasing in multimodal models.
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.