MedMoE addresses the challenge of diverse spatial requirements in medical imaging by introducing a modality-specialized Mixture-of-Experts (MoE) framework. Unlike static Vision-Language Models (VLMs), MedMoE dynamically routes image features through specialized experts based on diagnostic context, achieving superior zero-shot performance and efficiency.
Introduction
Standard medical VLMs often employ a "one-size-fits-all" feature extraction strategy. This approach fails to account for the distinct spatial characteristics of different modalities; for example, chest X-rays require global pattern recognition, while MRIs often necessitate fine-grained analysis of localized lesions. MedMoE bridges this gap by enabling adaptive, modality-specific feature extraction.
Methodology
The MedMoE framework replaces static feature extractors with a dynamic, hierarchical module consisting of four main components:
- Hierarchical Backbone: A Swin Transformer extracts multi-scale features from coarse to fine-grained.
- Modality-Aware Router: A lightweight MLP analyzes the diagnostic report's global embedding to perform "hard routing," selecting exactly one specialized expert branch to process the image.
- Specialized Experts: The framework includes $K$ convolutional experts, each trained for specific modalities such as CT, MRI, X-ray, or Ultrasound.
- Cross-Scale Attention: Within the selected expert, an attention mechanism determines which spatial resolutions are most relevant to the current diagnostic task.
The model is trained using a combination of global and local contrastive losses, alongside an auxiliary report-type loss to refine the router's ability to distinguish between modalities.
Experimental Setup
MedMoE was pretrained on the UniMed dataset, which contains 5.3 million medical image-report pairs. Evaluation was conducted across nine diverse benchmarks covering four primary modalities: X-ray (RSNA, CheXpert), Ultrasound (Thyroid, Breast), MRI (ACL, Meniscus), and CT (MediMeTA Axial, Coronal, and Sagittal views).
Results and Discussion
MedMoE established new state-of-the-art results on 6 out of 9 radiology benchmarks. Notably, it outperformed generalist models like BiomedCLIP on MRI datasets (ACL and Meniscus) by 30.0% and 34.8%, respectively.
Key findings from the study include:
- Contextual Specialization: Using diagnostic reports to guide vision encoding allows the model to learn modality-specific "vision recipes."
- Computational Efficiency: By utilizing hard routing, MedMoE keeps inference costs low (7.8 GFLOPs), making it comparable to much smaller, non-specialized models.
- Low-Data Robustness: In linear probing tests, MedMoE reached 81.12% accuracy on RSNA X-rays using only 1% of the training data, surpassing the full-data performance of several baseline models.
Conclusion
While currently focused on four modalities, MedMoE demonstrates the power of context-driven specialization in medical AI. Future work aims to expand the architecture to a broader range of tasks, including automated report generation and image segmentation, while investigating even more granular expert specialization by organ system.
Summary updated