MedM-VL: What Makes a Good Medical LVLM?

Yiming Shi, Shaoshuai Yang, Xun Zhu, Haoyu Wang, Miao Li, Ji Wu · DOI

TL;DR

This paper introduces MedM-VL, a modular framework and two pre-trained models for medical Large Vision-Language Models (LVLMs). It systematically investigates how different model architectures and training strategies impact performance on 2D and 3D medical imaging tasks, providing practical guidance for building effective medical LVLMs.

What Problem Does This Paper Address?

Medical image analysis is crucial for modern healthcare, but clinical needs are becoming increasingly complex, requiring the joint understanding of 2D and 3D medical images alongside textual information. Traditional task-specific models struggle with this multimodal integration and reasoning. While Large Vision-Language Models (LVLMs) offer a promising unified framework, there's a lack of systematic comparison regarding their architectures and training strategies, especially for the unique challenges of medical data (both 2D and 3D). This paper aims to bridge this gap by providing a comprehensive study and practical insights into designing effective medical LVLMs.

Methods

The core of this work is the MedM-VL framework, built upon the popular LLaVA architecture. It's designed to be modular and extensible, allowing for easy integration and replacement of image encoders, connectors, and Large Language Models (LLMs).

For 2D medical LVLMs, the architecture follows the standard LLaVA approach:

  1. Image Encoder: Extracts features from 2D medical images.
  2. Connector: Projects image features into the LLM's embedding space.
  3. LLM: Integrates image and textual features to generate a response.

For 3D medical LVLMs, specialized strategies are explored for feature extraction due to the volumetric nature of the data:

  1. 3D Image Encoder: Directly processes the 3D volume.
  2. 2D Image Encoder per Slice: Applies a 2D encoder to each slice of the 3D volume, leading to long feature sequences that require compression. Two compression strategies are investigated:
  3. Cross-attention module: Compresses the concatenated slice features into a fixed-length sequence.
  4. Average pooling: Produces a compact representation by averaging slice features.

The training strategy follows a two-stage approach:

  1. Pre-training Stage: Aligns visual and textual modalities by training only the connector, keeping the image encoder and LLM frozen. This stage uses image-caption pairs.
  2. Instruction-tuning Stage: Trains all model components jointly to improve task generalization and instruction-following capabilities. This stage uses diverse multimodal tasks and instruction formats.

Datasets

The paper utilizes a combination of public and curated datasets:

  • 2D Datasets for Multi-task Learning:
    • Image classification: MedMNIST v2
    • Report generation: MIMIC-CXR, MPx-Single
    • VQA: Path-VQA, Slake-VQA
    • Referring Expression Comprehension (REC) and Generation (REG): SA-Med2D-20M
    • Instruction-tuning data: LLaVA-Med (60K samples)
  • 3D Dataset Based on Chest CT:
    • CT-RATE: A large-scale 3D medical multimodal dataset for VQA (long/short answer, multiple choice) and report generation, consisting of 50K non-contrast chest CT scans.

Key Insights and Ideas

  • General-purpose 2D encoders can be surprisingly effective for 3D medical data: Even when applied slice-by-slice and compressed, high-capacity 2D encoders (like SigLIP) can outperform domain-specific 3D encoders (like M3D-CLIP) for 3D medical tasks, highlighting the power of broad pre-training.
  • Domain alignment is crucial for encoder performance: Unfreezing general-purpose encoders (pre-trained on natural images) during instruction tuning yields significant gains, as they adapt better to medical data. Domain-specific encoders, already aligned, benefit less from unfreezing.
  • Full-parameter tuning of the LLM is generally best: While parameter-efficient methods like LoRA can be viable, full-parameter tuning of the LLM during instruction tuning consistently achieves the highest performance.
  • Two-stage training is essential: A pre-training stage to align modalities before instruction tuning significantly improves overall LVLM performance, especially for complex medical scenarios.
  • Initializing 3D LVLMs with 2D LVLM knowledge is beneficial: Transferring knowledge from pre-trained 2D LVLMs provides a better starting point for training 3D LVLMs, leading to improved performance.

Key Results

  • MedM-VL-2D achieves state-of-the-art or highly competitive performance across multiple 2D medical benchmarks (MedMNIST, MedPix, MIMIC-CXR, PathVQA, SAMed, SLAKE), demonstrating its effectiveness.
  • MedM-VL-CT-Chest (using a 3D encoder) and its variants (using 2D encoders with compression) show strong performance on the CT-RATE dataset for VQA and report generation, often outperforming or matching existing methods like CT-CHAT.
  • The study provides empirical evidence that unfreezing general-purpose encoders (e.g., SigLIP) during instruction tuning leads to performance improvements compared to keeping them frozen.
  • Full-parameter tuning of the LLM consistently outperforms freezing the LLM or using LoRA-based tuning.
  • The two-stage training strategy significantly outperforms a one-stage approach across various benchmarks.

Limitations and Future Work

  • Computational Resources: While parameter-efficient methods like LoRA are explored, full-parameter tuning of LLMs is still the most effective, highlighting the need for significant computational resources. The paper notes that LoRA's performance is sensitive to learning rate tuning.
  • Domain-Specific Encoders: The study suggests that while general-purpose encoders can be effective, further research into domain-specific encoders that are also highly capable and adaptable could be beneficial.
  • Future Work: The authors hope their findings and the open-source MedM-VL framework will support further research and practical deployment of LVLMs in real-world medical applications. They emphasize the importance of leveraging existing open-source models and data within resource-constrained environments for future advancements in medical multimodal AI.

Summary updated

BibTeX
@inproceedings{shi2025medm,
  author = {Yiming Shi and Shaoshuai Yang and Xun Zhu and Haoyu Wang 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