Abstract
Evaluating cardiac health through Magnetic Resonance (CMR) imaging is a complex, data-intensive process. We present a self-supervised learning framework that constructs a unified 3D+T representation of the human heart from sparse 2D MRI slices. By utilizing a Masked Autoencoder (MAE) approach trained on 14,000 unlabeled subjects, our model learns to reconstruct missing spatiotemporal data. The resulting encoder achieves state-of-the-art performance in cardiac phenotype prediction and segmentation, demonstrating significant robustness to missing clinical data.
Introduction
Cardiac Magnetic Resonance (CMR) imaging remains the gold standard for non-invasive heart health assessment. However, clinical CMR typically involves acquiring multiple 2D slices—short-axis (SA) and long-axis (LA) views—across the cardiac cycle. This sparse sampling presents significant challenges for automated analysis: the high dimensionality of 3D+T data is computationally taxing, expert labels are scarce and expensive, and real-world clinical data often suffers from missing or motion-blurred slices.
To address these challenges, we propose a framework that leverages self-supervised learning to create a robust, unified representation of the heart's anatomy and motion from sparse inputs.
Methodology
The proposed framework operates in two distinct phases, utilizing a Masked Autoencoder (MAE) architecture adapted for 4D spatiotemporal data.
Phase I: Self-Supervised Representation Learning
In the first phase, the model is trained on unlabeled CMR data. The input consists of interlaced patches from both SA and LA views. We employ a high masking ratio of 70%, forcing the model to reconstruct the hidden patches by learning deep correlations across spatial planes and temporal frames. A 4D positional embedding (x, y, z, t) is integrated to maintain the spatiotemporal context of each patch. This reconstruction task enables the model to learn a "global" understanding of cardiac structure and dynamics without requiring manual annotations.
Phase II: Adaptation to Downstream Tasks
The pre-trained SSL encoder is then adapted for specific clinical applications. By appending task-specific "heads" — such as a prediction decoder for health markers or a segmentation decoder for anatomical structures — the model can be fine-tuned on smaller, labeled datasets.
Experimental Setup
The study utilized the UK BioBank database, training on 14,000 unlabeled CMR subjects. For evaluation, 1,000 annotated subjects were used. Each subject's data comprised 6 short-axis and 3 long-axis 2D slices across 50 time frames. The model's performance was benchmarked against standard architectures, including ResNet50 and Vision Transformers (ViT).
Results and Discussion
Phenotype Prediction
The model demonstrated superior accuracy in predicting critical cardiac metrics. Notably, for Left Ventricle Mass (LVM), the mean error was reduced to 4.332g, nearly half the error rate of a standard ResNet50 (7.150g). Similar improvements were observed for Right Ventricular Ejection Fraction (RVEF) and other phenotypes.
Robustness and Segmentation
A key finding was the model's extreme robustness. The internal representation of a subject's heart remained remarkably stable (cosine similarity ~1.0) even when entire MRI slices were omitted. This suggests that the model effectively captures the underlying 4D geometry, making it highly reliable for clinical settings where data may be incomplete. In segmentation tasks, the model achieved Dice scores comparable to the state-of-the-art nnUNet while ensuring multi-view consistency across all planes and frames in a single pass.
Conclusion
By treating the heart as a single 4D object rather than a collection of isolated slices, our self-supervised approach captures spatiotemporal synergies that traditional models miss. This framework not only improves the accuracy of cardiac health markers but also offers a path toward more efficient clinical workflows, potentially allowing for reduced scan times without sacrificing diagnostic quality. Future work will explore longitudinal tracking of cardiac disease progression within the learned latent space.
Summary updated