Abstract
Medical imaging analysis is often bifurcated by dimensionality, with separate models developed for 2D projections like X-rays and 3D volumetric scans like CT. This study introduces UniMedI, a unified Vision-Language Pre-training (VLP) framework designed to bridge this dimensional divide. By leveraging radiology reports as a shared semantic anchor and employing an attentive slice selection mechanism, UniMedI aligns 2D and 3D features within a common semantic space. Our results demonstrate that this unified approach not only simplifies model architecture but also yields state-of-the-art performance across diverse clinical tasks, including classification, segmentation, and cross-modal retrieval.
Introduction
The landscape of medical imaging is inherently multi-dimensional. While 2D modalities such as chest X-rays provide high-throughput screening, 3D modalities like Computed Tomography (CT) offer detailed volumetric insights. Historically, the AI community has treated these as distinct challenges, necessitating different neural architectures and non-overlapping datasets. This siloed approach ignores the fundamental truth that both modalities often describe the same anatomical structures and pathological conditions.
We propose UniMedI, a framework that treats language—specifically radiology reports—as the "universal translator" between dimensions. By mapping 2D pixels and 3D voxels into a language-guided common semantic space, we enable a single model to learn robust, transferable representations of human health.
Methodology
The UniMedI framework is built upon three innovative pillars designed to overcome the hurdles of dimensional inconsistency and data scarcity.
Attentive Slice Selection
A significant challenge in 3D VLP is that a single radiology report typically describes only a few key findings, whereas a CT volume contains hundreds of slices. To create meaningful "pseudo-pairs," UniMedI utilizes an attentive slice selection mechanism. During training, the model calculates attention weights between the text embeddings and the 3D volume's spatial tokens. It then selects the top k slices most relevant to the diagnostic text.
This process effectively transforms a 3D volume into a set of informative 2D representations, allowing the model to bridge the gap between volumetric data and linear text descriptions without requiring explicit 2D-3D-text triplets.
Unified Vision-Language Architecture
UniMedI employs a shared Vision Transformer (ViT) backbone. To handle different inputs, it uses modality-specific tokenizers: one for 2D image patches and another for 3D voxels. These tokens are projected into a unified embedding space where they are aligned with report embeddings via contrastive learning (InfoNCE loss). This ensures that the feature for "pneumonia" in an X-ray is mathematically similar to the feature for "pneumonia" in a CT scan.
Language-Guided Self-Distillation
To further refine the learned features, we implement a self-distillation objective inspired by DINO. We apply random masking to the image tokens; however, the reconstruction task is "language-guided." The model must predict missing visual information by relying on the semantic context provided by the associated radiology report, forcing a deeper integration of visual and textual knowledge.
Experimental Evaluation
We pre-trained UniMedI on a combination of the MIMIC-CXR dataset (2D) and the BIMCV COVID-19 CT dataset (3D). The model was then fine-tuned and evaluated on several downstream benchmarks.
Performance in 2D and 3D Tasks
UniMedI consistently outperformed specialized state-of-the-art (SOTA) models:
- 2D Classification: On the COVIDx dataset, UniMedI achieved an accuracy of 94.6%, surpassing previous benchmarks by over 2%.
- 3D Classification: The model showed exceptional robustness in low-data regimes. When using only 1% of training labels for the CC-CCII dataset, UniMedI achieved 75.6% accuracy, whereas the 3D-specific UniMiSS model reached only 41.6%.
- Segmentation: In both 2D (RSNA Pneumonia) and 3D (BCV) segmentation tasks, UniMedI demonstrated superior localization capabilities, indicated by higher Dice similarity coefficients.
Discussion: The Common Semantic Space
The core success of UniMedI lies in its ability to unify disparate data types. As visualized through t-SNE analysis, the pre-training process successfully collapses the distance between 2D and 3D features.
In the initial stages or in disjointed models (a), 2D and 3D features form separate clusters. Through UniMedI's language-guided alignment (c), these features intermingle, proving that the model has learned a dimension-agnostic representation of medical concepts. This synergy allows 2D data to provide semantic breadth while 3D data provides structural depth, benefiting both modalities.
Conclusion
UniMedI represents a significant step toward a truly "foundation" model for medical imaging. By using language as a bridge, we have shown that 2D and 3D pre-training can—and should—be unified. This approach not only improves performance on standard benchmarks but also offers a scalable path forward for incorporating additional modalities like MRI, PET, and ultrasound into a single, comprehensive medical AI system.
Summary updated