NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UniMedVL: Unifying Medical Multimodal Understanding and Generation through Observation-Knowledge-Analysis

Junzhi Ning, Wei Li, Cheng Tang, Jiashi Lin, Chenglong Ma, Chaoyang Zhang, Jiyao Liu, Ying Chen, Shujian Gao, Yuandong Pu, Huihui Xu, Chenhui Gou, Ziyan Huang, Yi Xin, Qi Qin, Diping Song, Bin Fu, Guang Yang, Yuanfeng Ji, Tianbin Li, Yanzhou Su, Jin Ye, Shixiang Tang, Zhongying Deng, Lihao Liu, Ming Hu, Junjun He

TL;DR

UniMedVL is the first unified medical multimodal foundation model that seamlessly executes both image understanding and pixel-level image generation within a single set of weights. By leveraging a newly curated dataset of 5.6 million instances and a progressive three-stage curriculum, the model demonstrates that understanding and generation tasks can mutually reinforce each other to achieve state-of-the-art performance across diverse medical workflows.

What Problem Does This Paper Address?

In clinical settings, medical professionals constantly alternate between understanding visual data (e.g., reading a chest X-ray to write a diagnostic report) and generating it (e.g., planning surgeries or synthesizing cross-modal scans). However, existing medical AI systems are heavily siloed. Traditional models are strictly split into task-specific architectures: one for visual question answering (VQA), another for report generation, and entirely separate diffusion or GAN-based models for image synthesis.

This fragmentation creates a major bottleneck. It prevents models from exploiting the deep, shared cross-modal knowledge that links semantic understanding with pixel-level details. While some general-domain models have attempted unification, the medical domain has lagged behind due to fragmented datasets, heterogeneous objectives, and the clinical risk of task interference. UniMedVL tackles this challenge by unifying these capabilities into a single architecture without requiring separate checkpoints or weight-switching.

Figure 2. Motivation and Overview of UniMedVL. (a) Conven- tional medical AI deploys task-specific models for visual question answering, report generation, segmentation, and image genera- tion, each producing a distinct output from a shared input. (b) UniMedVL replaces the four task-specific models with a single model that shares one multimodal representation across all tasks.

Methods

The authors introduce the Observation-Knowledge-Analysis (OKA) framework to systematically align data, training paradigms, and model capabilities:

  1. Architecture: UniMedVL utilizes a dual visual encoder design connected to a shared Transformer backbone. An understanding-oriented encoder ($E_{ViT}$) extracts semantic tokens for comprehension tasks, while a generation-oriented encoder ($E_{EAE}$) handles visual synthesis. Specialized feed-forward network (FFN) layers process these distinct token types before they are fed into shared self-attention layers that predict text tokens and latent image features simultaneously.
  2. Progressive Curriculum Learning: To prevent task interference and foster synergy, training is broken into three distinct stages:
  3. Stage 1: Foundation Training: Establishes basic vision-language alignment by training the ViT and LLM components end-to-end on image-to-text and text-to-image tasks.
  4. Stage 2: Instruction Tuning: Enhances task-following capabilities using high-quality data. Understanding tasks are augmented with Distilled Chain-of-Thought (DCOT) reasoning, while generation tasks use a Caption Augmented Generation (CAG) planning pipeline.
  5. Stage 3: Unified Multimodal Training: Jointly optimizes understanding and generation using complex, interleaved input-output sequences.

The model is optimized using a combined loss function consisting of Next-Token Prediction (NTP) for text/understanding and Rectified Flow Matching for image generation.

Figure 3. Observation–Knowledge framework. Observation (top): Data curation pipeline (sources, quality control, interleaved-task construction). Knowledge (bottom): Three-stage progressive curriculum (Foundation Training, Instruction Tuning, Unified Multimodal Training).

Datasets

To power this unified training, the authors curated UniMedVL-5M, a large-scale dataset containing over 5.6 million instances spanning 8 primary medical imaging modalities: Color Fundus Photography (CFP), Chest X-Ray (CXR), Computed Tomography (CT), Histopathology (HIS), Magnetic Resonance Imaging (MRI), Optical Coherence Tomography (OCT), Ultrasound, and Endoscopy.

The dataset was built by re-curating existing open-source resources (such as PMC-OA, Quilt-1m, and HealthGPT) through a strict quality control pipeline involving automated coarse filtering, medical alignment scoring via MedGemma-27b, and expert human validation. Crucially, it introduces 5 structured interleaved tasks: prompt segmentation, super-resolution, counterfactual generation, virtual immunohistochemistry staining, and cross-modal synthesis.

Key Insights and Ideas

  • The Synergy Hypothesis Proven: Challenging the conventional assumption that joint training compromises individual task performance, the authors show that image understanding and generation mutually reinforce each other. Incorporating understanding data significantly improves image generation fidelity, and vice versa.
  • Information-Theoretic Advantage: The paper provides a mathematical proof showing that modeling the joint conditional distribution of text and images reduces conditional entropy compared to factorized (isolated) training. A unified model inherently exploits cross-task correlations to lower uncertainty.
  • Interleaved Tasks as the Bridge: Ablation studies revealed that the largest leaps in generation quality occur during Stage 3. Introducing interleaved tasks forces the model to tightly couple semantic reasoning with pixel-level manipulation, serving as the ultimate glue for multimodal capabilities.

Key Results

  • Medical Understanding: UniMedVL achieves an average accuracy of 67.47% across five prominent benchmarks (VQA-RAD, SLAKE, PathVQA, OmniMedVQA, and GMAI-MMBench), outperforming other unified architectures like Janus, Bagel, and HealthGPT.
  • Image Generation Quality: Joint training reduced the average generation FID (gFID) from 108.40 to 96.29. Furthermore, UniMedVL achieved the highest semantic alignment scores (measured via BioMedCLIP) across all 8 imaging modalities.
  • Interleaved Performance: On complex tasks like H&E-to-IHC virtual staining and MRI 4× super-resolution, UniMedVL achieved 20.27 PSNR and 27.29 PSNR respectively, outperforming unified baselines and closing the gap with highly specialized, single-task models.
Figure 4. Multi-Modality Performance: BioMedCLIP Score radar chart. UniMedVL (green region) consistently achieves the highest BioMedCLIP Scores across all 8 medical imaging modalities.

Limitations and Future Work

Despite its strong performance, the authors note several limitations:

  • Dimension Constraints: The current study is strictly restricted to 2D medical imaging and does not yet support volumetric 3D modalities like 3D CT or MRI volumes.
  • Evaluation Metrics: Performance relies heavily on standard automated metrics (FID, PSNR, SSIM), which are excellent for benchmarking but do not substitute for rigorous, real-world clinical validation.
  • The Specialist Gap: As a generalist model, UniMedVL does not yet sweep the board against the absolute best modality-specific, task-isolated models on every single sub-benchmark. Narrowing this gap while maintaining architectural unification remains a key direction for future work.

Summary updated

BibTeX
@inproceedings{ning2026unimedvl,
  author = {Junzhi Ning and Wei Li and Cheng Tang and Jiashi Lin and Chenglong Ma and Chaoyang Zhang and Jiyao Liu and Ying Chen and Shujian Gao and Yuandong Pu and Huihui Xu and Chenhui Gou and Ziyan Huang and Yi Xin and Qi Qin and Diping Song and Bin Fu and Guang Yang and Yuanfeng Ji and Tianbin Li and Yanzhou Su and Jin Ye and Shixiang Tang and Zhongying Deng and Lihao Liu and Ming Hu and Junjun He},
  title = {{UniMedVL: Unifying Medical Multimodal Understanding and Generation through Observation-Knowledge-Analysis}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=7UR3rNXMz9},
}
Figure