Manuscript Offprint

arXiv:2608.26856

From Reasoning to Pixels: Grounded Medical Multimodal LLMs for VQA and Segmentation

Haowen Gu, Gensheng Pei, Junzhu Mao, Qiong Wang, Mingwu Ren, Yazhou Yao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Haowen Gu 1,2^{1,2} ID^{ID}, Gensheng Pei 3^{3} ID^{ID}, Junzhu Mao 1,2^{1,2} ID^{ID}, Qiong Wang 1,2^{1,2} ID^{ID}, Mingwu Ren 1,2^{1,2} (⊗)^{(\otimes)} ID^{ID}, and Yazhou Yao 1,2^{1,2} (⊗)^{(\otimes)} ID^{ID}

1^{1} Nanjing University of Science and Technology, Nanjing, China

2^{2} State Key Laboratory of Intelligent Manufacturing of Advanced Construction Machinery, Nanjing, China

3^{3} Department of Electrical and Computer Engineering, Sungkyunkwan University, Suwon, Korea

yazhou.yao@njust.edu.cn, renmingwu@mail.njust.edu.cn

https://github.com/NUST-Machine-Intelligence-Laboratory/MedREAL

Abstract. Although Multimodal Large Language Models (MLLMs) have demonstrated impressive performance in Medical Visual Question Answering (Med-VQA), their reliance on global image features often lacks precise pixel-level grounding, thereby limiting clinical trustworthiness. To bridge the semantic gap between high-level clinical reasoning and spatial localization, we propose MEDREAL (Medical REasoning-driven Answering and Localization), a unified framework that seamlessly aligns linguistic reasoning with spatial grounding. Specifically, MEDREAL introduces Seg Anchored Reasoning Pooling (SARP) to distill task-relevant semantic evidence directly from [SEG] tokens within the MLLM's hidden states. Furthermore, a Reasoning-to-Visual (R2V) fusion mechanism is proposed to effectively inject these reasoning-aware features into a segmentation pipeline for accurate mask decoding. To facilitate this paradigm, we construct MedRAVS-13K, a comprehensive dataset comprising 13,824 expertly validated samples across four diverse imaging modalities. Extensive experiments demonstrate that MEDREAL significantly outperforms state-of-the-arts, achieving 68.49% gIoU and 70.47% cIoU on benchmark evaluations. By generating evidence masks that are strictly consistent with textual diagnoses, MEDREAL provides a robust, interpretable framework for reasoning-driven medical image analysis.

Keywords: Medical Visual Question Answering · Multimodal Large Language Models · Visual Grounding · Reasoning-driven Segmentation

1 Introduction

Medical visual question answering (Med-VQA) aims to answer clinically relevant questions about medical images, requiring models to jointly understand visual content and perform domain-specific reasoning. Beyond answer prediction, clinical practice often demands explicit localization of the visual evidence.

H. Gu et al.

Figure

Fig. 1: Comparison between Medical VQA, promptable segmentation, and the proposed MEDREAL framework. MEDREAL introduces an explicit evidence token to extract reasoning-aligned features, which are fused with visual context to produce answer-consistent evidence localization.

that supports a decision, such as identifying a lesion, anatomical structure, or pathological region. This requirement highlights a critical limitation of existing Med-VQA systems: while recent multimodal large language models (MLLMs) [1,3,13,34,35,51] demonstrate strong reasoning capabilities, they typically provide answers without grounding them in pixel-level evidence, thereby reducing interpretability and limiting clinical trust.

Most medical image segmentation methods [6, 14, 38, 39, 52, 61] demonstrate strong capability in spatial localization, yet remain limited in high-level semantic understanding. Although recent promptable foundation models such as SAM3 [10] and its medical variant MedSAM3 [32] enable concept segmentation from text-conditioned inputs, their semantic modeling remains shallow and largely relies on lexical alignment rather than complex clinical reasoning. As a result, these approaches struggle to capture the multi-step diagnostic logic required in real-world scenarios, where segmentation should be guided by question-driven semantic evidence rather than generic visual prompts. This creates a semantic disconnect between high-level diagnostic logic and pixel-level spatial grounding. Overcoming this challenge is essential for building integrated systems capable of joint medical answering and localization, ensuring that every diagnostic response is backed by spatially consistent visual justification.

Simply concatenating MLLMs with segmentation models, however, is suboptimal. Although MLLM hidden states contain rich multimodal information, they are often dominated by global context and broad linguistic patterns, making it difficult to isolate the specific visual features that serve as reasoning evidence. Furthermore, directly feeding text embeddings into a segmentation model leads to poor spatial alignment, as the connection between token-level reasoning and pixel-level localization is not explicitly modeled. As illustrated in Figure 1, an effective solution must bridge this gap by explicitly identifying reasoning-related evidence within MLLM representations and transforming it into spatially meaningful signals to guide the segmentation process.

To address these challenges, we propose MEDREAL (Medical REasoning-driven Answering and Localization), a unified framework that aligns linguistic reasoning with pixel-level localization within a reasoning-aware latent space. Specifically, we embed an explicit evidence token, [SEG], into the Med-VQA generation sequence, utilizing its hidden representation as a reasoning anchor to distill the critical semantic evidence that justifies the predicted answer. Building upon this design, we introduce the Seg-Anchored Reasoning Pooling (SARP) module. SARP leverages the [SEG] representation as a guiding prior to distill reasoning-relevant features from the MLLM's terminal layers. By effectively suppressing irrelevant global semantics, SARP yields a compact, evidence-aligned representation tailored to the target region. Furthermore, we propose a Reasoning-to-Visual (R2V) Fusion mechanism, which integrates these distilled reasoning features with the global visual context extracted from the segmentor's image encoder. This operation produces a semantically informed conditioning vector that robustly guides the SAM-based mask decoding stage. With this unified architecture, segmentation is driven not only by visual appearance but also by the model's internal diagnostic reasoning, allowing MEDREAL to achieve spatially precise and answer-consistent evidence localization.

Another fundamental challenge in this domain is the scarcity of benchmarks that simultaneously evaluate clinical reasoning and spatial grounding. Current Med-VQA datasets [18, 28, 33] predominantly prioritize textual accuracy without pixel-level supervision; conversely, existing medical segmentation datasets [2, 5, 12, 22, 44, 48] typically lack reasoning-oriented queries. To enable the training and evaluation of reasoning-driven segmentation, we construct MedRAVS-13K (Medical Reasoning, Answering, and Visual Segmentation), a reasoning-aware benchmark comprising 13,824 expertly curated samples. We augment four heterogeneous medical imaging datasets (i.e., BUSI [2], COVID-QU-Ex [48], ISIC-2018 [12], and Kvasir-SEG [22]), spanning ultrasound, X-ray, dermoscopy, and endoscopy modalities. We enrich these datasets with clinically oriented question-answer pairs that explicitly refer to specific regions of interest. Each QA pair is matched with a verified pixel-level segmentation mask, forming perfectly aligned image-text-mask triplets. This provides the structured supervision necessary to link high-level diagnostic reasoning with precise spatial localization.

Extensive experiments on the MedRAVS-13K dataset demonstrate that our MEDREAL significantly enhances segmentation quality. Compared to existing representative methods, MEDREAL achieves state-of-the-art performance with an overall gIoU of 68.49% and cIoU of 70.47%. Crucially, by aligning linguistic reasoning with pixel-level grounding, our method ensures that the generated evidence masks are semantically consistent with the predicted clinical answers. This synergy effectively mitigates the “black-box” nature of traditional MLLMs, offering substantially improved interpretability and reliability for clinical decision support systems. In summary, our primary contributions are fourfold:

H. Gu et al.

– We propose MEDREAL, a unified framework that couples Med-VQA reasoning with pixel-level grounding by embedding explicit [SEG] tokens as reasoning anchors to distill semantic evidence from MLLM hidden states.

– We introduce the SARP module and R2V fusion mechanism to effectively extract reasoning-relevant features and systematically inject them into a SAM-based pipeline for precise mask decoding.

– We construct MedRAVS-13K, a comprehensive benchmark dataset of 13,824 samples across four diverse imaging modalities, providing a robust foundation of clinical QA pairs and verified pixel-level masks.

– Extensive evaluations show that MEDREAL significantly outperforms existing methods, achieving 68.49% gIoU and 70.47% cIoU, while ensuring high semantic consistency between linguistic reasoning and spatial evidence.

References (63)