arXiv:2610.23588cs.CVOct 2026

Manuscript Offprint

arXiv:2610.23588

Enhancing RAG-based Medical VQA with Gated Multimodal Representations

Daniela Jimenez-Pano, Hugo Jair Escalante, Delia Irazú Hernández-Farías

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Daniela Jimenez-Pano 1^{1}, Hugo Jair Escalante 1,2,3^{1,2,3}, and Delia Irazú Hernández-Farías 1^{1}

1^{1}LabTL - INAOE, Puebla, Mexico

2^{2}Institute for AAII, UTEP, El Paso, TX, USA

3^{3}Department of Computer Science, UTEP, El Paso, TX, USA

danielapano@inaoep.mx

Abstract. Medical Vision-Language Models (Med-LVLMs) have shown strong performance in Medical Visual Question Answering (MVQA), yet they may still produce factually inconsistent responses. Retrieval-Augmented Generation (RAG) can mitigate this issue by incorporating external clinical evidence; however, retrieval is often guided by a single modality, potentially overlooking the joint semantics of medical images and clinical questions. We introduce a multimodal RAG framework that learns a joint query representation through a Gated Multimodal Unit, enabling evidence retrieval to leverage information from both modalities while keeping the underlying Med-LVLM frozen. We evaluate the proposed approach on benchmark datasets. Results show that the multimodal query representation consistently outperforms a reference Med-LVLM and remains competitive with state-of-the-art methods. Our findings demonstrate the potential of multimodal query representations for more effective evidence retrieval in Medical VQA.

1 Introduction

Progress in Medical Large Vision-Language Models (Med-LVLMs) has enabled promising interactive diagnostic applications [15]. However, these models may still produce factually inconsistent responses, particularly in tasks such as Medical Visual Question Answering (Medical VQA), report generation, and clinical decision support, where generated outputs may not align with medical knowledge or reference answers. Retrieval-Augmented Generation (RAG) can mitigate this issue by incorporating external clinical evidence into the inference process. In this context, traditional RAG combines a parametric model with a non-parametric retriever, typically using Maximum Inner Product Search, to select the top-k relevant documents from a dense knowledge base [6]. However, in multimodal scenarios, retrieval is often guided by a single modality, even when the input includes both a medical image and a clinical question [15]. This may lead to misalignment of the evidence in the query, where the retrieved passages partially reflect the multimodal clinical context.

We propose a multimodal query representation for retrieval in Medical VQA. Our approach incorporates a Gated Multimodal Unit (GMU) [1] to combine

Authors Suppressed Due to Excessive Length

visual and textual features, producing a joint image-question embedding. The learned representation is used as the query-vector to retrieve the top-k relevant textual passages from a vector database, while keeping the Med-LVLM frozen. By focusing on retrieval representation, our method aims to better align the multimodal input with the retrieved clinical evidence. Experimental results on benchmark Medical VQA datasets show that the proposed multimodal retrieval representation boosts the performance of a reference Med-LVLM, and remains competitive with state-of-the-art models. Our contributions are as follows:

– Introducing a novel methodology for learning multimodal query representations in a RAG framework by integrating a GMU into the retrieval stage, explicitly modeling the interaction between the involved modalities.

– Proposing four joint representation learning loss-function configurations that emphasize different aspects of the available information.

– Performing an extensive experimental evaluation of the proposed methodology on benchmark Medical VQA datasets, showing its competitiveness in challenging scenarios.