Introduction
Deep learning has significantly advanced medical image segmentation, enabling precise identification of organs and lesions in CT and MRI scans. However, these models typically require vast amounts of annotated data. Labeling 3D medical volumes is a labor-intensive process, often requiring expert radiologists to manually delineate hundreds of 2D slices per patient.
Self-supervised learning (SSL) offers a promising alternative by pre-training models on unlabeled data. Traditional SSL methods often treat 2D slices as independent images, neglecting the inherent 3D spatial context, or focus solely on global slice-level similarities. These approaches frequently fail to capture pixel-level correspondences—the fundamental spatial continuity where anatomical structures occupy consistent locations across adjacent slices. This paper introduces Self-supervised Alignment Learning (SAL), a framework designed to bridge this gap by teaching models to align local features across 3D volumes.
Methods: The SAL Framework
The SAL framework pre-trains a 2D U-Net encoder using two complementary loss functions that exploit the spatial coherence of 3D medical scans.
Local Alignment (LA) Loss
The core innovation of SAL is the Local Alignment loss. Recognizing that adjacent 2D slices in a 3D volume share nearly identical anatomical structures, the LA loss computes a similarity matrix between feature maps of neighboring slices. By maximizing similarity scores for matching regions, the model learns to recognize consistent tissue types even when their appearance varies slightly between slices.
To manage computational complexity, the authors implement Window-based Local Alignment (WLA). Instead of a global pixel-to-pixel search, the matching process is restricted to small local windows. This approach significantly reduces memory and time requirements while remaining highly effective, as anatomical structures rarely shift drastically between consecutive slices.
Global Positional (GP) Loss
While LA loss focuses on granular details, the Global Positional loss provides broader anatomical context. This slice-level contrastive loss operates on the premise that slices at the same relative position across different patients (e.g., the mid-ventricular level of the heart) should share similar global features. By treating slices from similar relative positions as positive pairs, the model learns to map the overall "where" of anatomical structures.
Experimental Setup
The framework was evaluated on two public cardiac datasets:
- ACDC (Automated Cardiac Diagnosis Challenge): 100 cardiac MRI 3D volumes.
- CHD (Congenital Heart Disease): 68 cardiac CT 3D volumes.
The researchers pre-trained the model on the full unlabeled datasets and subsequently fine-tuned it on extremely small labeled subsets (as few as 2 patients) to evaluate "label efficiency" in data-scarce scenarios.
Key Results
The SAL framework consistently outperformed state-of-the-art SSL methods, including SimCLR and PCL, as well as models trained from scratch (random initialization).
In the most challenging low-data regime (only 2 labeled subjects), SAL achieved a Mean Dice Score (DSC) of 0.723 on the ACDC dataset. This significantly surpassed the next best method, PCL (0.671), and random initialization (0.588). The method also demonstrated robust performance across different imaging modalities (MRI and CT) and showed relative insensitivity to hyper-parameter changes, such as the local window size ($\omega$).
Conclusion and Future Work
SAL demonstrates that exploiting the 3D coherence of medical volumes through local and global alignment provides a powerful supervision signal for segmentation tasks. By focusing on pixel-level correspondences, the model learns more discriminative features than traditional global SSL methods.
Future research could extend this alignment logic to fully 3D convolutional neural networks, moving beyond the current 2D encoder approach. Additionally, exploring more sophisticated methods for determining slice proximity in irregular or sparse scans could further enhance the framework's versatility across diverse clinical datasets.
Summary updated