RAMQA: A Unified Framework for Retrieval-Augmented Multi-Modal Question Answering

Yang Bai, Christan Earl Grant, Daisy Zhe Wang
1/23/2025
cs.CLcs.AIcs.IR

Official code: TonyBY/RAMQA (6 stars, Apache-2.0, last commit 2025-04-26).

Abstract

Multi-modal retrieval-augmented Question Answering (MRAQA), integrating text and images, has gained significant attention in information retrieval (IR) and natural language processing (NLP). Traditional ranking methods rely on small encoder-based language models, which are incompatible with modern decoder-based generative large language models (LLMs) that have advanced various NLP tasks. To bridge this gap, we propose RAMQA, a unified framework combining learning-to-rank methods with generative permutation-enhanced ranking techniques. We first train a pointwise multi-modal ranker using LLaVA as the backbone. Then, we apply instruction tuning to train a LLaMA model for re-ranking the top-k documents using an innovative autoregressive multi-task learning approach. Our generative ranking model generates re-ranked document IDs and specific answers from document candidates in various permutations. Experiments on two MRAQA benchmarks, WebQA and MultiModalQA, show significant improvements over strong baselines, highlighting the effectiveness of our approach. Code and data are available at: https://github.com/TonyBY/RAMQA

View on arXivView PDF

Code Implementations(1)

TonyBY/RAMQAOfficial100%
Apache-2.0
60Shell, PythonDec 3, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{bai2025ramqa,
  title  = {RAMQA: A Unified Framework for Retrieval-Augmented Multi-Modal Question Answering},
  author = {Yang Bai and Christan Earl Grant and Daisy Zhe Wang},
  year   = {2025},
  eprint = {2501.13297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.13297v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.13297.svg)](https://codeofpaper.com/paper/2501.13297)

Discussion