Introduction
Deep learning has demonstrated significant potential in ophthalmology, achieving performance levels comparable to board-certified specialists in tasks like glaucoma screening. However, these models often suffer from a lack of robustness when deployed across different clinical settings. A model trained on images from a specific device, such as a Zeiss camera, may perform poorly on images from a Canon camera due to variations in color, texture, and lighting—a challenge known as domain shift.
In glaucoma diagnosis, clinicians rely on the morphology of the optic disc (OD) and optic cup (OC) to calculate the cup-to-disc ratio (CDR). While labeled data for certain devices is plentiful, manually segmenting these structures for every new device is expensive and time-consuming. This paper introduces Collaborative Feature Ensembling Adaptation (CFEA), a framework designed for Unsupervised Domain Adaptation (UDA). CFEA enables a model to adapt from a labeled "Source" domain to an unlabeled "Target" domain without requiring additional manual annotations.
Methodology
The CFEA framework utilizes a U-Net backbone and integrates three interacting networks to achieve robust domain adaptation:
- Source Network (SN): Trained using standard supervised learning (Dice loss) on labeled source data.
- Target Student Network (TSN): Learns from the target data by sharing weights with the SN and utilizing adversarial losses to align distributions.
- Target Teacher Network (TTN): A "Mean Teacher" model where weights are an Exponential Moving Average (EMA) of the Student's weights. It provides stable, "smoothed" predictions that the Student attempts to match via a Mean Squared Error (MSE) loss.
Collaborative Mechanisms
- Multi-level Adversarial Learning: CFEA places discriminators at both the encoder (intermediate features) and the decoder (final segmentation maps) levels. This dual-alignment strategy forces the network to extract domain-invariant features across multiple scales.
- Dual-Stabilization: To counter the inherent instability of adversarial training, CFEA incorporates self-ensembling via the Teacher-Student relationship. This provides a temporal constraint that prevents the adversarial process from oscillating or collapsing, leading to more consistent predictions.
Experimental Setup
The study was evaluated using the REFUGE (Retinal Fundus Glaucoma Challenge) dataset:
- Source Domain: 400 labeled images from a Zeiss Visucam 500.
- Target Domain: 400 unlabeled images for training and 400 labeled images for testing, all from a Canon CR-2 camera.
- Preprocessing: Images were cropped around the optic disc and resized to 128x128 pixels.
Results and Discussion
CFEA was compared against a "Source Only" baseline (no adaptation) and AdaptSegNet, a leading unsupervised adaptation method. The results demonstrate that CFEA significantly improves segmentation accuracy, particularly for the optic cup, which is traditionally more difficult to segment than the disc.
| Metric | Source Only | AdaptSegNet | CFEA (Ours) |
|---|---|---|---|
| Optic Cup Dice | 0.7317 | 0.8198 | 0.8627 |
| Optic Disk Dice | 0.8532 | 0.9315 | 0.9416 |
| CDR (Mean Abs Error) | 0.0676 | 0.0588 | 0.0481 |
Qualitative results further highlight CFEA's ability to produce cleaner, more accurate segmentation masks that closely align with the ground truth compared to previous methods.
Conclusion
CFEA successfully combines adversarial learning with self-ensembling to tackle domain shift in medical imaging. By aligning features at multiple levels and stabilizing training through a Mean Teacher approach, the framework achieves state-of-the-art performance in unsupervised optic disc and cup segmentation. While the training process involves multiple networks, the Target Teacher Network can be used independently at inference time, ensuring clinical efficiency. Future work may explore the application of this framework to other modalities, such as MRI or CT scans, where cross-scanner variability remains a significant hurdle.
Summary updated