Abstract
Self-supervised learning (SSL) has emerged as a powerful paradigm for medical image analysis, yet a significant gap remains between 2D and 3D data modalities. While 3D volumes like CT and MRI provide critical diagnostic depth, they are scarce and difficult to annotate. Conversely, 2D X-ray images are abundant but dimensionally incompatible with 3D neural architectures. This paper presents CDSSL-P3D, a novel framework that bridges this gap through a pseudo-3D transformation. By reshaping 2D image patches into a format compatible with 3D convolutions, the framework enables joint pre-training on heterogeneous datasets, significantly enhancing performance on downstream 3D medical tasks.
Introduction
In medical imaging, 3D volumetric data is the gold standard for diagnosing complex pathologies, such as tumors or organ abnormalities. However, the high cost of expert annotation for 3D volumes limits the scalability of supervised learning. While self-supervised learning (SSL) offers a solution by leveraging unlabeled data, most existing methods are restricted to a single dimensionality—either 2D or 3D. This "dimension lock" prevents models from utilizing the vast repositories of 2D X-ray data to improve 3D diagnostic capabilities.
The challenge lies in the structural mismatch: a 3D neural network expects a volumetric input (Height x Width x Depth), whereas an X-ray is a planar image (Height x Width). Previous attempts to unify these dimensions often relied on rigid, specialized architectures. CDSSL-P3D addresses this by introducing a transformation that allows standard 3D backbones to process 2D data without architectural modification.
Methodology
The Pseudo-3D Transformation
The core innovation of CDSSL-P3D is the use of the im2col (image-to-column) operation to create a "pseudo-3D" representation from 2D images. Instead of treating a 2D image as a single flat plane, the framework slides a local window (e.g., 5x5 pixels) across the image. The pixels within each window are "unrolled" into a column, which is then treated as the depth dimension.
This transformation converts a 2D image of size $(H, W)$ into a pseudo-3D volume of size $(H, W, K^2)$, where $K$ is the window size. This allows the 2D data to be fed directly into 3D convolutional or transformer-based backbones, enabling the model to learn spatial features that are transferable to actual 3D anatomical structures.
Architecture and Pre-training
CDSSL-P3D is architecture-agnostic, compatible with both Convolutional Neural Networks (e.g., ResNet) and modern Transformers (e.g., Pyramid Vision Transformer or PVT). The model undergoes joint pre-training using a combination of genuine 3D volumes and transformed pseudo-3D images.
The training objective utilizes PCRLv2, a self-supervised contrastive learning method. This objective encourages the model to capture multi-scale features, ranging from fine-grained pixel details to high-level semantic representations, ensuring the learned features are robust across different medical imaging tasks.
Experimental Setup
Datasets
The model was pre-trained on a massive, heterogeneous dataset:
- 3D Data: 6,453 CT and MRI volumes from eight public sources, including LUNA16, AMOS22, and TotalSegmentator.
- 2D Data: 377,088 X-ray images from the MIMIC-CXR dataset.
Evaluation
The framework was evaluated on 13 downstream tasks to test its versatility:
- 3D Classification: Using the MedMNIST v2 benchmark.
- 3D Segmentation: Using the Medical Segmentation Decathlon (MSD), focusing on organs such as the liver, pancreas, and colon.
Results and Discussion
Performance Gains
CDSSL-P3D consistently outperformed state-of-the-art SSL methods, including UniMiSS and DINO.
- Classification: Using a PVT-small backbone, the model achieved an average AUC of 0.902, representing a 2.8% improvement over previous benchmarks.
- Segmentation: On the Medical Segmentation Decathlon, the model reached an average Dice score of 70.5%, a 2.7% improvement over existing cross-dimensional methods.
The Impact of Window Size
Ablation studies revealed that the granularity of the pseudo-3D transformation is critical. A 5x5 window size was identified as the optimal configuration. Smaller windows failed to capture sufficient local context, while larger windows created a dimensionality mismatch that hindered the model's ability to generalize to real 3D medical data.
Data Efficiency
One of the most significant findings was the framework's efficiency in low-data scenarios. When fine-tuned on only 10% of labeled downstream data, CDSSL-P3D maintained high performance levels. This suggests that the pseudo-3D pre-training builds a superior foundational representation, reducing the reliance on expensive expert labels.
Conclusion
CDSSL-P3D demonstrates that the "dimension gap" in medical imaging can be bridged through clever data transformation rather than architectural complexity. By allowing 3D models to learn from the abundance of 2D X-ray data, the framework achieves superior performance and data efficiency across a wide range of clinical tasks. Future work may extend this cross-dimensional approach to include 1D signals or text-based reports, moving toward a truly unified multi-modal representation for medical AI.
Summary updated