TL;DR
Medical image segmentation models often fail when deployed on new scanners or modalities due to domain shift, yet privacy regulations frequently prevent sharing the original training data to fix them. This paper introduces a "source-free" domain adaptation method (AdaMI) that adapts a pre-trained model using only unlabeled target images, guided by a simple anatomical class-ratio prior. Remarkably, this approach matches or outperforms traditional adaptation methods that require full access to the original source data.
What Problem Does This Paper Address?
Deep learning models excel at medical image segmentation, but they are notoriously sensitive to "domain shifts"—changes in image appearance caused by different scanner vendors, clinical sites, or imaging protocols (such as transitioning from MRI to CT scans). Standard Unsupervised Domain Adaptation (UDA) techniques fix this by training on both the original labeled source data and the new unlabeled target data simultaneously.
However, in real-world clinical settings, strict data privacy laws (like HIPAA or GDPR) and proprietary constraints mean hospitals cannot easily share patient scans. Once a model is shipped to a new clinical site, the source data is effectively gone. The authors address this critical gap by proposing a Source-Free Domain Adaptation (SFDA) framework. This allows a model to adapt to a new clinical environment using only the new site's unlabeled data and basic, textbook-level anatomical knowledge.
Methods
The proposed framework, called AdaMI, adapts a segmentation network without altering its initial source training phase. It relies on two main components optimized via a single network:
- Entropy Minimization: It minimizes the Shannon entropy of the network's predictions on target images, forcing the model to make highly confident, sharp pixel-level classifications.
- Anatomical Class-Ratio Prior: Pure entropy minimization can cause a model to collapse into a trivial solution, such as classifying every pixel as the dominant background class. To prevent this, the authors introduce a domain-invariant prior based on the expected volume or proportion of the target organs derived from medical literature. This prior is enforced using a Kullback-Leibler (KL) divergence penalty.
What's new: Compared to their previous conference work (AdaEnt), the authors inverted the terms in the KL divergence penalty. This mathematical tweak dramatically improves gradient dynamics, preventing the model from getting stuck when initial target predictions are highly imbalanced. They also demonstrate that this formulation is mathematically equivalent to maximizing the mutual information between target images and their predicted labels. Additionally, they incorporate weak supervision via simple image-level tags to indicate whether a structure is present in a given 2D slice.
Datasets
The authors evaluated their method across three challenging medical imaging benchmarks representing distinct types of domain shifts:
- IVDM3Seg: Intervertebral disc segmentation across different MRI modalities (Water vs. In-Phase scans).
- NCI-ISBI13: Prostate segmentation across different clinical sites using different scanner strengths and vendors (3T Siemens vs. 1.5T Philips).
- MMWHS: Cross-modality whole heart segmentation, adapting a model trained on MRI scans to test on CT scans.
Key Insights and Ideas
- Source Data is Not a Hard Requirement: The most striking takeaway is that concurrent access to source data isn't necessary for successful domain adaptation. A model can adapt effectively using just its pre-trained weights and a rough understanding of human anatomy.
- The Power of Inverting the KL Divergence: By switching the order of the empirical prediction and the anatomical prior inside the KL divergence, the loss function's derivatives remain bounded and constant near zero. This prevents gradient saturation and stabilizes training when the model initially fails to detect small structures.
- Extreme Robustness to Imperfect Priors: You don't need exact anatomical measurements. The framework remains highly effective even when the class-ratio priors are intentionally corrupted with up to $\pm 60\%$ error, demonstrating that coarse, textbook-level knowledge is sufficient.
- High Data Efficiency: The method is incredibly data-efficient, achieving competitive adaptation performance using as few as two target subjects.
Key Results
- On the IVDM3Seg (Spine) dataset, AdaMI achieved a Dice Similarity Coefficient (DSC) of 74.2%, reaching 90% of the performance of AdapSegNet, a state-of-the-art method that requires full access to source data.
- On the NCI-ISBI13 (Prostate) dataset, AdaMI achieved 79.5% DSC, significantly outperforming other source-free methods like TTA (73.2%) and Tent (68.7%).
- In the highly challenging MMWHS (Cardiac MRI-to-CT) cross-modality task, AdaMI ranked second out of sixteen adaptation techniques, even outperforming several prominent methods that utilize source data.
- Qualitatively, AdaMI significantly reduces prediction uncertainty, confining high-entropy regions strictly to the boundaries of the anatomical structures.
Limitations and Future Work
- Dependency on Image-Level Tags: A current limitation is the reliance on weak supervision via image-level tags to filter out slices where a structure isn't present. While much easier to obtain than pixel-wise masks, it prevents the method from being entirely unsupervised in the target domain.
- Extreme Population Variations: A massive shift in true class-ratio distributions (e.g., severe pathology or major population-wise anatomical differences) could challenge the fixed anatomical prior.
- Extension to 3D: The current implementation operates on 2D slices of 3D volumes. The authors note that extending the framework to a fully 3D network architecture using 3D class-ratio priors is a natural next step.
Summary updated