Abstract
Medical diagnostic applications require models that can process multimodal medical inputs (images, patient histories, lab results) and generate diverse outputs including both textual reports and visual content (annotations, segmentation masks, and images). Despite this need, existing medical AI systems disrupt this unified process: medical image understanding models interpret images but cannot generate visual outputs, while medical image generation models synthesize images but cannot provide textual explanations. This leads to gaps in data representation, feature integration, and task-level multimodal capabilities. To this end, we propose a multi-level framework that draws inspiration from diagnostic workflows through the Observation-Knowledge-Analysis (OKA) paradigm. Specifically, at the observation level, we construct UniMed-5M, a dataset comprising over 5.6M samples that reformat diverse unimodal data into multimodal pairs for foundational observation. At the knowledge level, we propose Progressive Curriculum Learning that systematically introduces medical multimodal knowledge. At the analysis level, we introduce UniMedVL, the first medical unified multimodal model for the simultaneous analysis of image understanding and generation tasks within a single architecture. UniMedVL achieves superior performance on five medical image understanding benchmarks, while matching specialized models in generation quality across eight medical imaging modalities. Crucially, our unified architecture enables bidirectional knowledge sharing: generation tasks enhance visual understanding features, demonstrating that integrating traditionally separate capabilities within a single medical framework unlocks improvements across diverse medical vision-language tasks.
Introduction
In clinical practice, diagnostic reasoning is inherently multimodal. A radiologist does not simply view an image in isolation; they integrate visual findings with patient history, laboratory results, and clinical context. Furthermore, this process often involves generative components, such as annotating regions of interest, simulating disease progression, or synthesizing cross-modal views (e.g., predicting a CT appearance from an MRI).
Despite the integrated nature of human diagnosis, medical AI has remained fragmented. Current systems are typically bifurcated into "understanding" models (which generate text from images) and "generative" models (which synthesize images from text). This fragmentation results in significant data gaps, isolated feature representations, and a lack of task flexibility. To bridge this gap, we introduce UniMedVL, a unified framework designed to master both understanding and generation within a single architecture.
The OKA Framework: Observation, Knowledge, Analysis
Our approach is structured around the Observation-Knowledge-Analysis (OKA) paradigm, which mirrors the human diagnostic workflow.
1. Observation (Data Level)
We constructed UniMed-5M, a comprehensive dataset containing 5.6 million multimodal samples. This dataset aggregates data from over 30 diverse sources, including PMC-OA, Quilt-1M, and CheXpertPlus. To ensure high quality, we implemented a rigorous three-step pipeline: coarse filtering for text length and image resolution, medical alignment using large language models (MedGemma27b) and similarity scoring (MedSigclip), and expert validation across seven dimensions.
2. Knowledge (Feature Level)
To prevent task interference and ensure stable learning, we utilize Progressive Curriculum Learning. This three-stage training strategy systematically introduces complexity:
- Stage 1: Foundation Training: Focuses on basic medical pattern recognition and visual-language alignment.
- Stage 2: Instruction Tuning: Introduces medical expertise via Distilled Chain of Thought (DCOT) for reasoning and Caption Augmented Generation (CAG) for high-fidelity synthesis.
- Stage 3: Unified Multimodal Training: Finalizes the model's ability to handle complex, interleaved tasks where understanding and generation occur simultaneously.
3. Analysis (Task Level)
The UniMedVL architecture employs a dual-encoder setup (ViT for understanding, VAE for generation) integrated with a Mixture-of-Transformer-Experts (MoT) backbone. This allows the model to process interleaved sequences of text and image tokens seamlessly.
Key Results and the "Generative Boost"
UniMedVL demonstrates state-of-the-art performance across both understanding and generation benchmarks. On the SLAKE benchmark, the model achieved 75.4% accuracy, significantly outperforming unified baselines like HealthGPT-L14 (64.5%). In generative tasks, it achieved an average gFID of 96.29 across eight modalities, matching or exceeding specialized generative models.
One of the most profound findings of this work is the "Generative Boost": training the model to generate medical images actually enhances its ability to understand them. As shown in our stage-wise analysis, the inclusion of generative objectives in Stage 3 led to measurable improvements in understanding accuracy compared to understanding-only training. This suggests that the features required to synthesize a realistic medical image (e.g., the precise boundaries of a lesion) are highly synergistic with the features needed to identify and describe it.
Conclusion
UniMedVL represents a significant step toward generalist medical AI. By unifying understanding and generation, we not only create a more versatile tool for clinicians but also demonstrate that these two capabilities are mutually reinforcing. Future work will focus on extending this framework to 3D volumetric data and temporal sequences (video), further aligning AI capabilities with the full spectrum of clinical diagnostics.
Summary updated