MedVLM-R1: Incentivizing Medical Reasoning Capability of Vision-Language Models (VLMs) via Reinforcement Learning

Jiazhen Pan, Che Liu, Junde Wu, Fenglin Liu, Jiayuan Zhu, Hongwei Bran Li, Chen Chen, Cheng Ouyang, Daniel Rueckert

Introduction

In the high-stakes field of medical imaging, the "black box" nature of artificial intelligence remains a significant barrier to clinical adoption. Clinicians and regulators require more than just a diagnosis; they require a transparent rationale. Most current Medical Vision-Language Models (VLMs) are developed using Supervised Fine-Tuning (SFT), a process where models learn to map images directly to human-provided labels. This approach often results in two critical failures: a lack of transparency, where models provide "quasi-explanations" based on pattern matching rather than logic, and brittle generalization, where performance collapses when the model encounters imaging modalities (e.g., moving from MRI to X-ray) not heavily represented in the training data.

MedVLM-R1 addresses these challenges by shifting the training focus from memorization to explicit reasoning. By utilizing Reinforcement Learning (RL), this lightweight 2B parameter model learns to "think" before it speaks, achieving performance that rivals or exceeds models 35 times its size.

Methodology: Reasoning via Reinforcement

The researchers developed MedVLM-R1 using a specific RL framework known as Group Relative Policy Optimization (GRPO). Starting with the compact Qwen2-VL-2B as a base, the team moved away from traditional SFT.

Unlike standard RL, which often requires a complex, secondary AI to act as a "reward model," GRPO employs a rule-based system. The model is incentivized through two primary rewards:

  1. Format Reward: The model is rewarded for structuring its output correctly, placing its internal reasoning within <think> tags and its final conclusion within <answer> tags.
  2. Accuracy Reward: The model is rewarded for selecting the correct multiple-choice answer.

Crucially, the model was never provided with examples of medical reasoning. Instead, it "discovered" that generating a Chain-of-Thought (CoT) within the thinking tags was the most effective strategy to maximize its accuracy reward. This emergent behavior allowed the model to develop logical strategies, such as the process of elimination, which are hallmarks of human clinical reasoning.

Experimental Setup and Datasets

The study utilized the HuatuoGPT-Vision evaluation dataset, which aggregates benchmarks such as VQA-RAD, SLAKE, and PathVQA. The training was intentionally constrained to test the model's efficiency and generalization:

  • Training Data: Only 600 MRI image-question pairs.
  • In-Domain (ID) Evaluation: 300 MRI pairs.
  • Out-of-Distribution (OOD) Evaluation: 300 CT scans and 300 X-ray pairs.

By training on one modality (MRI) and testing on others (CT and X-ray), the researchers could determine if the model had learned the underlying logic of medical analysis or had simply memorized specific image features.

Key Results and Insights

1. The Generalization Gap

The results highlight a stark contrast between SFT and RL-based training. While the SFT-trained version of the model performed adequately on MRIs, it failed significantly on X-rays. In contrast, MedVLM-R1 used its reasoning capabilities to bridge the gap between modalities. On X-ray tasks—which were entirely absent from the training set—MedVLM-R1 achieved 69% accuracy, compared to just 34% for the SFT version.

2. Efficiency and Performance

MedVLM-R1 demonstrated a massive overall accuracy boost, rising from a base of 55.11% to 78.22%. Remarkably, this 2B parameter model outperformed Qwen2-VL-72B and HuatuoGPT-Vision-7B, the latter of which was trained on over 1.2 million samples. This suggests that incentivizing logical reasoning is more effective than simply increasing the volume of training data.

3. Computational Accessibility

The entire training process for MedVLM-R1 was completed in just 4 hours using two NVIDIA A100 GPUs, making high-performance medical AI more accessible and less resource-intensive.

Limitations and Future Work

Despite its success, MedVLM-R1 faces several hurdles:

  • Modality Specificity: While the model generalizes well across radiology (MRI/CT/X-ray), it struggles with significantly different data types, such as pathology slides or OCT eye scans, likely due to the limitations of the base model's pre-training.
  • Reasoning "Retrofitting": There is a risk that the model may occasionally decide on an answer first and then generate a justification that appears logical but is actually a hallucination designed to satisfy the format reward.
  • Closed-Set Constraints: The current reward system is optimized for multiple-choice questions. Adapting this reasoning framework to open-ended medical reporting remains a complex challenge for future research.

Conclusion

MedVLM-R1 proves that even small-scale models can achieve state-of-the-art performance in specialized fields like medicine when incentivized to reason. By prioritizing logical processes over simple label imitation, MedVLM-R1 offers a path toward more transparent, generalizable, and efficient medical AI.

Summary updated

BibTeX
@inproceedings{pan2025medvlm,
  author = {Jiazhen Pan and Che Liu and Junde Wu and Fenglin Liu and Jiayuan Zhu and Hongwei Bran Li and Chen Chen and Cheng Ouyang and Daniel Rueckert},
  title = {{MedVLM-R1: Incentivizing Medical Reasoning Capability of Vision-Language Models (VLMs) via Reinforcement Learning}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-04981-0\_32},
}
Figure