Abstract
Deep learning models for medical image segmentation often suffer from performance degradation when deployed on data from unseen domains, a phenomenon known as domain shift. This paper presents a Random Style Transfer based Domain Generalization Network (STDGN) designed to enhance the robustness of cardiac MRI segmentation. The framework employs random style transfer to simulate diverse imaging conditions and incorporates a Shape Reconstruction Network (SRN) and a Spatial Constraint Network (SCN) to enforce anatomical and spatial consistency. Evaluated on the M&Ms Challenge 2020 dataset, the proposed method demonstrates significant improvements in generalization, particularly on completely unseen scanner vendors.
Introduction
The clinical utility of deep learning models in medical imaging is frequently limited by their sensitivity to variations in scanner hardware, acquisition protocols, and patient populations. While domain adaptation techniques can mitigate these issues, they typically require access to target domain data during training. Domain Generalization (DG) aims to build models that perform reliably on entirely unknown domains. In cardiac MRI, the challenge is exacerbated by the complex geometry of the heart and the visual heterogeneity across different vendors.
Methodology
The proposed Random Style Transfer based Domain Generalization Network (STDGN) is built upon a multi-task architecture that integrates style augmentation with structural priors.
Random Style Transfer
The core of the framework is a generator that performs style transfer from source images to random target styles. By utilizing a "modality vector" to represent different domains and varying this vector during training, the network is exposed to a wide spectrum of synthetic domains. This process encourages the model to learn style-invariant features focused on the underlying anatomy rather than superficial imaging characteristics.
Anatomical and Spatial Priors
To ensure that the generated segmentations are biologically plausible, the framework incorporates two auxiliary networks:
- Shape Reconstruction Network (SRN): A pre-trained autoencoder that regularizes the segmentation output by forcing it to adhere to learned cardiac shapes.
- Spatial Constraint Network (SCN): This module predicts the relative slice position within the 3D cardiac stack, helping the model account for the significant morphological changes from the base to the apex of the heart.
Cross-Task Attention
A Squeeze-and-Excitation (SE) style module facilitates information sharing between the style transfer and segmentation tasks. This cross-task attention mechanism allows the network to emphasize relevant structural features while suppressing noise introduced during the style transfer process.
Experimental Results
The model was trained and evaluated using the M&Ms (Multi-Centre, Multi-Vendor & Multi-Disease) Challenge 2020 dataset, which includes 375 subjects across four vendors: Siemens (A), GE (B), Philips (C), and Canon (D). Vendors A and B provided labeled training data, while Vendor C provided unlabeled data. Vendor D was reserved as a completely unseen domain for testing generalization.
Performance on Unseen Domains
The full STDGN-SRSC model (incorporating both shape and spatial constraints) significantly outperformed standard U-Net baselines. On the unseen Vendor D, the model achieved Dice scores of 0.425 for the Left Ventricle (LV) and 0.380 for the Myocardium (Myo), nearly doubling the performance of the baseline U-Net (0.241 and 0.277, respectively).
Ablation Study
Ablation experiments confirmed the value of each component. The inclusion of SRN and SCN consistently improved Dice scores across all vendors, highlighting the importance of anatomical priors in maintaining robustness against stylistic variations.
Conclusion
The STDGN framework effectively addresses the domain generalization challenge in cardiac MRI by combining domain augmentation via random style transfer with strong anatomical and spatial constraints. While a performance gap remains between seen and unseen domains, the integration of shape priors offers a promising path toward vendor-agnostic medical AI. Future work will explore local style representations and continuous latent spaces for domain modeling to further bridge this gap.
Summary updated