MedM-VL: What Makes a Good Medical LVLM?

Yiming Shi, Shaoshuai Yang, Xun Zhu, Haoyu Wang, Xiangling Fu, Miao Li, Ji Wu

TL;DR

MedM-VL introduces a unified, modular framework to systematically evaluate the architectural choices and training recipes for 2D and 3D medical Large Vision-Language Models (LVLMs). The study reveals that high-capacity general-purpose 2D encoders, when paired with slice-compression strategies, can actually outperform domain-specific 3D encoders on volumetric CT data. To accelerate open science, the authors have released the codebase along with two highly competitive pre-trained models: MedM-VL-2D and MedM-VL-CT-Chest.

What Problem Does This Paper Address?

Medical image analysis is rapidly shifting away from isolated, task-specific models toward complex, multimodal applications like medical visual question answering (VQA), automated report generation, and diagnostic reasoning. While Large Vision-Language Models (LVLMs) based on the popular LLaVA framework show immense promise here, the medical AI community faces a fragmented landscape.

Architectural designs and training strategies vary wildly between 2D images (like X-rays) and 3D volumes (like CT or MRI scans). Up until now, there hasn't been a fair, systematic comparison to determine what actually makes a medical LVLM perform well. MedM-VL addresses this gap by providing a controlled benchmarking environment to evaluate encoders, connectors, token compression methods, and fine-tuning strategies.

Methods

The authors build their framework on top of the standard LLaVA architecture, which consists of three core components: an image encoder, a connector (projection layer), and a Large Language Model (LLM). For their base language model, they standardized on Qwen2.5-3B-Instruct due to its computational efficiency and strong language capabilities.

The study systematically explores two distinct architectural paradigms:

1. 2D Medical LVLMs

The model processes a 2D image using a general-purpose vision encoder (SigLIP), projects the features through a two-layer MLP connector, and flattens them into tokens that are concatenated directly with the text prompt tokens for the LLM.

Fig. 1. Model architecture of MedM-VL-2D. Following the popular LLaVA frame- work [19], MedM-VL-2D consists of three main components: an image encoder, a con- nector, and an LLM. It takes a 2D medical image and a textual prompt as input, and generates a textual response, supporting a wide range of medical multimodal tasks.

2. 3D Medical LVLMs

Handling 3D volumetric data (like chest CTs) is computationally expensive. The authors test two main approaches for feature extraction:

  • Direct 3D Encoding: Utilizing a native 3D image encoder (M3D-CLIP) to process the volume as a single block.
  • Slice-by-Slice 2D Encoding: Applying a 2D encoder (SigLIP) to each individual slice independently, resulting in a massive sequence of features.

To make the slice-by-slice approach computationally viable, they evaluate two token compression strategies to reduce the sequence length before it hits the LLM: Average Pooling across all slices versus a Cross-Attention module that compresses the slices into a fixed number of tokens.

Fig. 2. (a) Overview of the 3D medical LVLM architecture. Compared to the 2D case, 3D LVLMs adopt either a 3D encoder or apply a 2D image encoder to each slice. Using 2D encoders leads to long feature sequences that require compression. (b) Two compression strategies are explored: a cross-attention module that reduces the sequence to a fixed length, and average pooling across all slice features.

Training Recipe

Both models follow a standard two-stage training pipeline:

  1. Pre-training Stage: The image encoder and LLM are frozen; only the connector is trained on image-caption pairs to align visual features with text embeddings.
  2. Instruction-Tuning Stage: All components are unfrozen and trained jointly on diverse, multi-task medical instructions.

Datasets

To ensure robust generalization, the authors compiled a diverse set of public datasets:

  • 2D Multi-Task Dataset: Combines image classification from MedMNIST v2, report generation from MIMIC-CXR and MPx-Single, VQA from Path-VQA and Slake-VQA, and referring expression tasks (REC/REG) from SA-Med2D-20M. They also mixed in 60K diverse instruction samples from LLaVA-Med.
  • 3D Dataset: Utilizes CT-RATE, a large-scale 3D multimodal dataset containing 50K non-contrast chest CT scans from over 21K patients, supporting long/short VQA, multiple choice, and report generation.

Key Insights and Ideas

  • 2D Encoders Generalize Surprisingly Well to 3D: Despite being pre-trained purely on 2D images, the SigLIP encoder (when combined with slice compression) consistently outperformed the native 3D M3D-CLIP encoder on 3D CT tasks. High-capacity 2D representations carry strong foundational features that transfer well to volumetric data.
  • Unfreezing Encoders Depends on Domain Alignment: Unfreezing general-purpose encoders like SigLIP during instruction tuning yields massive performance gains because the model needs to adapt from natural images to medical images. Conversely, domain-specific encoders (like M3D-CLIP) see very little benefit from being unfrozen since they are already domain-aligned.
  • 3D Models Benefit from 2D Initialization: Initializing a 3D medical LVLM using the weights of a pre-trained 2D medical LVLM results in superior performance compared to training the 3D model from scratch.
  • LoRA is Highly Sensitive to Learning Rates: While full-parameter tuning of the LLM yields the absolute best performance, parameter-efficient fine-tuning via LoRA can act as a viable alternative—provided the learning rate is scaled up significantly (e.g., from 2e-5 to 2e-4).
Ablation studies showing the impact of encoder strategies, LLM tuning, and 2D initialization

Key Results

  • 2D Benchmarks: MedM-VL-2D achieved state-of-the-art or highly competitive results across the board. For instance, it scored 0.808 on MedMNIST (outperforming LLaVA-Med's 0.668) and 0.634 on PathVQA (compared to LLaVA-Med's 0.378).
  • 3D Benchmarks (CT-RATE): The slice-by-slice 2D approach using cross-attention compression (MedM-VL-CT-Chest (2D+Attn)) achieved the top scores across almost all metrics, notably reaching 0.667 on short-answer VQA and 0.924 on multiple-choice questions, comfortably outperforming the baseline CT-CHAT model.

Limitations and Future Work

While the paper provides an excellent blueprint for medical LVLMs, it operates within a relatively bounded scope. The language model size was kept at 3B parameters for computational efficiency, leaving the impact of scaling up to 7B+ or 70B+ parameter models unexamined. Additionally, the 3D evaluation was restricted to chest CTs; validating this framework on other volumetric modalities like brain MRIs or abdominal scans remains an open area for future research.

Summary updated

BibTeX
@inproceedings{shi2025medm,
  author = {Yiming Shi and Shaoshuai Yang and Xun Zhu and Haoyu Wang and Xiangling Fu and Miao Li and Ji Wu},
  title = {{MedM-VL: What Makes a Good Medical LVLM?}},
  booktitle = {Agentic AI/CREATE/Clinical MLLMs @ MICCAI},
  year = {2025},
  doi = {10.1007/978-3-032-06004-4\_29},
}
Figure