Introduction
Deep convolutional neural networks (CNNs) have revolutionized medical image analysis, particularly in fundus image segmentation. However, their performance often degrades significantly when applied to datasets from different clinical environments—a phenomenon known as domain shift. This paper introduces the Domain-oriented Feature Embedding (DoFE) framework, designed to enhance the generalization capabilities of CNNs on unseen target domains by leveraging knowledge from multiple source domains.
The Challenge of Domain Shift in Clinical Practice
In retinal fundus imaging, variations in scanner hardware, image acquisition protocols, and patient demographics lead to significant distribution discrepancies. A model trained on data from one hospital may fail to accurately segment the optic cup (OC), optic disc (OD), or retinal vessels when deployed at another facility. While Domain Adaptation (DA) techniques exist to bridge this gap, they typically require access to target domain data during training. In contrast, Domain Generalization (DG) aims to build models that perform robustly on entirely "unseen" domains without any site-specific fine-tuning.
The DoFE Framework
The core innovation of DoFE is the dynamic enrichment of semantic features with domain-specific prior knowledge. The framework, built upon a DeepLabV3+ backbone with a MobileNetV2 encoder, consists of three primary components:
1. Domain Knowledge Pool ($M^{pool}$)
The framework maintains a memory module that stores representative "prototypes" for each source domain. These prototypes are high-level feature representations that capture the unique characteristics of different data sources. During training, these prototypes are updated using a momentum strategy to ensure they remain representative of the evolving feature space.
2. Domain Code Prediction Branch
For any given input image, the model must determine its relationship to the known source domains. The Domain Code Prediction branch infers a "domain code"—a vector representing the similarity between the input and each source domain. To prevent the network from simply memorizing training labels, the authors employ a Domain Code Smooth strategy, which introduces controlled perturbations to the ground truth labels during training, forcing the model to learn more generalizable domain relationships.
3. Dynamic Feature Embedding and Attention
Using the predicted domain code, the model retrieves an aggregated feature from the knowledge pool. This feature is then integrated with the original semantic features through an attention-guided selective mask. This mechanism allows the model to dynamically "recalibrate" its internal representations, emphasizing features that are robust across domains and suppressing domain-specific noise.
Experimental Evaluation
The researchers evaluated DoFE on two critical tasks:
- Optic Cup and Disc Segmentation: Utilizing the Drishti-GS, RIM-ONE-r3, and REFUGE datasets.
- Vessel Segmentation: Utilizing the DRIVE, HRF, STARE, and CHASE-DB1 datasets.
The experiments followed a rigorous "leave-one-domain-out" protocol. For instance, in a four-dataset setup, the model was trained on three datasets and evaluated on the fourth, which remained entirely unseen during the training phase.
Results and Discussion
DoFE demonstrated superior performance across all benchmarks compared to standard baselines and existing DG methods like JiGen and CutMix.
- OC/OD Segmentation: The framework achieved an average Dice Similarity Coefficient (DSC) of 88.44%, a significant improvement over the 85.54% baseline. Qualitative analysis showed that DoFE is particularly effective at identifying boundaries in low-contrast images where traditional models often struggle.
- Vessel Segmentation: Average accuracy improved from 90.01% to 92.17%.
- Efficiency: Despite the added complexity, DoFE is computationally efficient, adding only ~0.03 seconds of inference time per image.
Conclusion
The DoFE framework represents a significant step toward deployable medical AI. By treating domain-specific information as a queryable resource, it enables models to "interpolate" knowledge for new, unseen clinical environments. Future work will explore the integration of unlabeled data and the extension of this framework into lifelong learning scenarios, ensuring models remain accurate as they encounter an ever-expanding variety of clinical data.
Summary updated