[Paper Review] ProSFDA: Prompt Learning based Source-free Domain Adaptation for Medical Image Segmentation
This paper proposes ProSFDA, a prompt learning-based source-free domain adaptation method for medical image segmentation that reduces domain discrepancy by learning a domain-aware visual prompt to refine target-domain images. By aligning batch normalization statistics and enforcing feature compactness via style-augmented feature alignment, ProSFDA achieves performance comparable to unsupervised domain adaptation methods on multi-domain benchmarks.
The domain discrepancy existed between medical images acquired in different situations renders a major hurdle in deploying pre-trained medical image segmentation models for clinical use. Since it is less possible to distribute training data with the pre-trained model due to the huge data size and privacy concern, source-free unsupervised domain adaptation (SFDA) has recently been increasingly studied based on either pseudo labels or prior knowledge. However, the image features and probability maps used by pseudo label-based SFDA and the consistent prior assumption and the prior prediction network used by prior-guided SFDA may become less reliable when the domain discrepancy is large. In this paper, we propose a extbf{Pro}mpt learning based extbf{SFDA} ( extbf{ProSFDA}) method for medical image segmentation, which aims to improve the quality of domain adaption by minimizing explicitly the domain discrepancy. Specifically, in the prompt learning stage, we estimate source-domain images via adding a domain-aware prompt to target-domain images, then optimize the prompt via minimizing the statistic alignment loss, and thereby prompt the source model to generate reliable predictions on (altered) target-domain images. In the feature alignment stage, we also align the features of target-domain images and their styles-augmented counterparts to optimize the source model, and hence push the model to extract compact features. We evaluate our ProSFDA on two multi-domain medical image segmentation benchmarks. Our results indicate that the proposed ProSFDA outperforms substantially other SFDA methods and is even comparable to UDA methods. Code will be available at \url{https://github.com/ShishuaiHu/ProSFDA}.
Motivation & Objective
- Address the challenge of domain discrepancy in medical image segmentation when deploying pre-trained models to new domains without access to source data.
- Overcome limitations of pseudo-label-based and prior-guided SFDA methods, which suffer from unreliable predictions under large domain shifts.
- Develop a method that leverages only the pre-trained source model and unlabeled target data to improve adaptation performance.
- Improve feature compactness and domain alignment by introducing a learnable domain-aware prompt and style-augmented feature alignment.
- Achieve performance on par with unsupervised domain adaptation (UDA) methods in source-free settings, despite data and privacy constraints.
Proposed method
- Introduce a domain-aware visual prompt as a learnable image embedding added to target-domain images to simulate source-domain characteristics.
- Optimize the prompt by minimizing a statistic alignment loss computed from batch normalization (BN) statistics differences between the source model and the model fine-tuned on prompt-augmented target images.
- Use the optimized prompt to generate refined target images that are statistically closer to source-domain distributions.
- Apply feature alignment between the refined target images and their style-augmented counterparts to enhance feature compactness and reduce instance-level variation.
- Combine segmentation loss and feature alignment loss in the feature alignment stage to jointly optimize model generalization and domain invariance.
- Leverage the frozen source model to generate predictions on prompt-augmented target images, enabling knowledge distillation without retraining on source data.
Experimental results
Research questions
- RQ1Can prompt learning effectively estimate and mitigate domain discrepancy in source-free domain adaptation for medical image segmentation?
- RQ2How does the use of a learnable domain-aware prompt compare to pseudo-labeling or prior-guided methods in handling large domain shifts?
- RQ3To what extent does feature alignment with style-augmented images improve feature compactness and segmentation performance?
- RQ4What is the optimal configuration of BN layers and hyperparameters (e.g., α) in the statistic alignment loss for effective domain discrepancy estimation?
- RQ5Can the proposed method achieve performance comparable to unsupervised domain adaptation (UDA) methods despite the absence of source data?
Key findings
- ProSFDA outperforms existing SFDA methods on two multi-domain medical image segmentation benchmarks, achieving state-of-the-art performance in source-free settings.
- The method achieves a mean Dice score of 94.71 ± 0.01 on the OD segmentation task and 85.33 ± 0.08 on the OC segmentation task in the 'BASE2' benchmark, surpassing baseline SFDA methods.
- The ablation study confirms that combining both segmentation loss and feature alignment loss in the feature alignment stage yields the best performance, with a 1.36% improvement over using only the segmentation loss.
- t-SNE visualization confirms that features from prompt-augmented target images become more similar to source-domain features, validating the effectiveness of domain discrepancy estimation.
- The optimal hyperparameter α in the statistic alignment loss is found to be 0.01, and performance plateaus when up to 5 BN blocks are used in the loss computation.
- The method is effective only on networks with batch normalization layers, as it relies on BN statistics for domain discrepancy estimation, indicating a current architectural limitation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.