Lightweight Joint Optimization of General-Purpose Vision-Language Models and Retrievers for RAG-Based Medical Diagnosis
Nir Mazor, Tom Hope
TL;DR
The paper introduces Jomed, a lightweight framework that jointly optimizes a general-purpose LVLM and a multimodal retriever for medical diagnosis without heavy domain pretraining. By training the reader with retrieved context and sequentially fine-tuning a dual-head retriever, the approach aligns retrieval with the LVLM's predictive distributions, improving performance on classification and VQA in low-data settings. A key finding is that inconsistent retrieval predictions are a major source of error, and joint optimization substantially mitigates these cases, though an oracle analysis reveals a remaining gap that current rerankers cannot fully close. The work demonstrates practical, data-efficient benefits of integrating retrieval and reasoning, with broad implications for cost-effective medical AI deployment and future research directions.
Abstract
Retrieving relevant visual and textual information from medical literature and hospital records can enhance diagnostic accuracy for clinical image interpretation. We develop a multimodal retrieval model jointly optimized with an LVLM for medical diagnosis, unlike standard RAG which doesn't backpropagate LVLM errors to the retriever. Using only general-purpose backbones with lightweight fine-tuning, our model achieves competitive results with medically-pretrained models on clinical classification and VQA tasks. In a novel analysis, we find that different top-retrieved images often yield different predictions for the same target, and that these cases are challenging for all models, even for non-retrieval models. Our joint retrieval optimization significantly improves these cases over standard RAG. However, oracle analysis reveals that while the correct diagnosis is frequently achievable using one of the top retrieved images, in practice there is a large performance gap from the oracle, and rerankers using frontier LVLMs do not close this gap -- leaving ample room for improvement by future methods. Code available at https://github.com/Nirmaz/JOMED.
