Adapting Off-the-Shelf Source Segmenter for Target Medical Image Segmentation

Xiaofeng Liu, Fangxu Xing, Chao Yang, Georges El Fakhri, Jonghye Woo

Abstract

This paper introduces a "source-free" unsupervised domain adaptation (UDA) framework for medical image segmentation, termed OSUDA (Off-the-Shelf Source-relaxed UDA). By leveraging the statistics already stored in a pre-trained model’s Batch Normalization layers, the proposed method successfully adapts models to new scanners or modalities without requiring access to the original, private source training data. This approach addresses critical privacy concerns in medical imaging while maintaining high segmentation performance.

Introduction

Deep learning models for medical imaging often suffer from "domain shift." A segmenter trained on brain MRIs from one hospital might fail when deployed at another due to variations in scanner brands, imaging protocols, or patient populations. Standard Unsupervised Domain Adaptation (UDA) typically requires concurrent access to labeled source data and unlabeled target data. However, in clinical practice, raw source data often cannot be shared due to strict privacy laws like HIPAA or logistical constraints related to massive file sizes. The challenge lies in adapting a model to a new environment using only an "off-the-shelf" pre-trained model.

Methodology: OSUDA

The authors propose OSUDA, which hinges on the strategic use of Batch Normalization (BN) layers as a "compressed memory" of the source domain's distribution. The framework consists of four key components:

  1. Low-Order Statistics Progression: Instead of overwriting source BN statistics (mean and variance) with target data, an exponential momentum decay scheme is used to gradually transition the model toward target-specific statistics during training.
  2. High-Order Statistics Consistency: The framework applies a consistency loss to the scaling ($\gamma$) and shifting ($\beta$) parameters of BN layers, which are generally more shareable across domains, ensuring they do not drift excessively during adaptation.
  3. Adaptive Channel Weighting: The method measures the "transferability" of feature channels by calculating the distance between source and target statistics, prioritizing the most reliable channels for the target domain.
  4. Self-Entropy Minimization: An unsupervised loss is added to encourage the model to produce more confident, pixel-wise predictions.
Comparison between typical UDA (left), which requires source data, and the proposed OSUDA (right), which utilizes BN statistics stored in the segmenter.

Experimental Setup and Results

The researchers evaluated OSUDA using the BraTS 2018 database (285 subjects) across two challenging scenarios: cross-subtype adaptation (HGG to LGG) and cross-modality adaptation (T2 to T1, T1ce, or FLAIR).

Key Findings

  • HGG to LGG: OSUDA achieved a 61.94% Dice Score, a significant improvement over the 58.44% baseline without adaptation.
  • Cross-Modality Performance: In the T2 to T1/FLAIR/T1ce task, OSUDA reached an average Dice Score of 57.8%. Notably, it outperformed several well-known UDA methods, such as CycleGAN and SIFA, despite those methods having full access to source data during adaptation.
Quantitative results for cross-modality segmentation, showing OSUDA outperforming several source-available UDA methods.

Discussion and Conclusion

The primary insight of this work is that a pre-trained model's BN layers act as a proxy for the source domain. By managing the transition of these statistics smoothly via exponential decay, the model avoids catastrophic forgetting of learned features. While OSUDA demonstrates impressive robustness and beats other source-free methods like CRUDA, it remains architecture-dependent, relying on the presence of BN layers. Future work may explore similar adaptations for architectures using Layer or Group Normalization, such as modern Transformer-based models. Overall, OSUDA represents a significant step toward practical, privacy-preserving domain adaptation in medical imaging.

Summary updated

BibTeX
@inproceedings{liu2021adapting,
  author = {Xiaofeng Liu and Fangxu Xing and Chao Yang and Georges El Fakhri and Jonghye Woo},
  title = {{Adapting Off-the-Shelf Source Segmenter for Target Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  doi = {10.1007/978-3-030-87196-3\_51},
}
Figure