MedVL-SAM2: A unified 3D medical vision-language model for multimodal reasoning and prompt-driven segmentation
Yang Xing, Jiong Wu, Savas Ozdemir, Ying Zhang, Yang Yang, Wei Shao, Kuang Gong
TL;DR
MedVL-SAM2 introduces a unified 3D medical vision–language model that combines a volumetric vision encoder with SAM2-based segmentation to jointly tackle report generation, VQA, and semantic/referring/interactive segmentation over volumetric CT data. The problem is formulated as $(\mathcal{T}_{out},\mathcal{M}_{out}) = \mathcal{F}(\Theta;\mathcal{I}_{in},\mathcal{T}_{in},\mathcal{P}_{in})$, where $\Theta=\{\theta_{vlb}, \theta_{seg}\}$ and the system fuses 3D visual features with language via a LoRA-enhanced LLM; segmentation is produced through a SAM2 decoder conditioned on the [SEG] token. A 3D CLIP-based vision encoder with an MLP-Mixer projection reduces $n$ from 2048 to 512 tokens ($\hat{n}=512$, $\hat{d}=2048$) for efficient cross-modal alignment, and cross-slice consistency is maintained with memory attention in SAM2. Training proceeds in three stages to align 3D visual representations, language understanding, and spatial grounding, followed by joint optimization with a text-loss $\mathcal{L}_{text}$ and a mask loss $\mathcal{L}_{joint}=\lambda_{text}\mathcal{L}_{text}+\lambda_{mask}(\mathcal{L}_{CE}+\lambda_{Dice}\mathcal{L}_{Dice})$. On CT-RATE and M3D-Seg benchmarks, MedVL-SAM2 achieves state-of-the-art performance across report generation, VQA, and multiple segmentation tasks, with reliable 3D grounding and effective interactive segmentation, indicating strong potential for clinical deployment.
Abstract
Recent progress in medical vision-language models (VLMs) has achieved strong performance on image-level text-centric tasks such as report generation and visual question answering (VQA). However, achieving fine-grained visual grounding and volumetric spatial reasoning in 3D medical VLMs remains challenging, particularly when aiming to unify these capabilities within a single, generalizable framework. To address this challenge, we proposed MedVL-SAM2, a unified 3D medical multimodal model that concurrently supports report generation, VQA, and multi-paradigm segmentation, including semantic, referring, and interactive segmentation. MedVL-SAM2 integrates image-level reasoning and pixel-level perception through a cohesive architecture tailored for 3D medical imaging, and incorporates a SAM2-based volumetric segmentation module to enable precise multi-granular spatial reasoning. The model is trained in a multi-stage pipeline: it is first pre-trained on a large-scale corpus of 3D CT image-text pairs to align volumetric visual features with radiology-language embeddings. It is then jointly optimized with both language-understanding and segmentation objectives using a comprehensive 3D CT segmentation dataset. This joint training enables flexible interaction via language, point, or box prompts, thereby unifying high-level visual reasoning with spatially precise localization. Our unified architecture delivers state-of-the-art performance across report generation, VQA, and multiple 3D segmentation tasks. Extensive analyses further show that the model provides reliable 3D visual grounding, controllable interactive segmentation, and robust cross-modal reasoning, demonstrating that high-level semantic reasoning and precise 3D localization can be jointly achieved within a unified 3D medical VLM.
