Introduction
Deep learning models for medical image segmentation are often highly specialized and "brittle." A model trained to segment organs in a CT scan frequently fails when applied to an MRI because the "style"—encompassing pixel intensities, contrast, and noise—changes drastically, even when the underlying anatomical "content" remains identical.
Most existing solutions for domain generalization require multi-center or multi-modality data, which is often inaccessible due to privacy regulations and high acquisition costs. This paper addresses the Single-Source Domain Generalization (SDG) challenge: training a model on a single source domain (e.g., CT) such that it generalizes effectively to unseen target domains (e.g., MRI or X-ray). The authors introduce a framework that combines causal theory with generative diffusion models to simulate diverse imaging styles while strictly preserving anatomical integrity.
Methodology
The proposed approach is grounded in a Structural Causal Model (SCM), assuming that an image is generated by two independent factors: Content (anatomical structures) and Style (modality-specific characteristics). The framework operates in two primary stages.
1. Diffusion-based Style Intervention
To simulate unseen modalities, the authors perform a "causal intervention" on the style variable. They utilize a pretrained Stable Diffusion model, fine-tuned via DreamBooth to capture the specific characteristics of the source domain (e.g., lumbar spine in CT). A ControlNet module is then trained to generate images conditioned on a segmentation mask (content) and a text prompt (style, such as "MRI T2"). This process ensures that the generated images perfectly match the source anatomy while adopting the visual characteristics of a different modality.
2. Invariant Representation Learning
To ensure the segmentation model ignores modality-specific styles, it is trained on pairs consisting of the original source image and its "style-intervened" counterparts. The authors employ a patch-wise InfoNCE loss (contrastive learning) to force the model's internal feature representations for a given tissue patch to remain identical, regardless of whether the input appears as a CT, MRI, or X-ray.
Experimental Evaluation
The framework was evaluated on three distinct anatomical tasks involving significant modality shifts:
- Abdominal Segmentation (AS): Shifting between CT and MRI to segment the liver, kidneys, and spleen (using the AMOS dataset).
- Lumbar Spine Segmentation (LSS): Shifting between CT, MRI, and X-ray to segment vertebrae (L1-L5).
- Lung Segmentation (LS): Shifting between CT and X-ray.
Key Results and Insights
The proposed method consistently outperformed state-of-the-art SDG methods, such as MixStyle, CSDG, and SLAug.
- Performance Gains: In the abdominal task (CT → MRI), the model achieved an average Dice score of 86.20%, coming within 1.13 percentage points of a supervised benchmark trained directly on target data. In the lung task (CT → X-ray), the Dice score improved from a baseline of 67.33% to 78.79%.
- Intervention-Augmentation Equivariance: The core innovation lies in treating data augmentation as a causal intervention. By using Diffusion Models, the authors provide a stronger theoretical foundation for generalization compared to random pixel-level noise.
- Generative Priors: Large-scale pretrained Diffusion Models contain rich priors about various imaging modalities, enabling more realistic and diverse augmentations than models trained from scratch on small medical datasets.
- Qualitative Success: Visual analysis confirms that the model produces cleaner, more anatomically consistent masks on unseen modalities, avoiding the fragmentation common in previous methods.
Limitations and Future Work
Despite its success, the method faces challenges with fine-grained details, such as the posterior vertebral arch in spine imaging, where ControlNet may occasionally blur or hallucinate structures. Additionally, the computational cost of training and generating high-resolution 3D-like augmentations with diffusion models is significant.
Future research directions include incorporating uncertainty estimation to manage potential misalignments between generated images and original masks, and developing more refined anatomical control mechanisms to preserve the finest structural details.
Summary updated