Introduction
Federated Learning (FL) has emerged as a cornerstone for collaborative medical AI, allowing institutions to train robust models without compromising patient privacy. However, a significant hurdle remains: domain shift. Models trained across a federation often fail to generalize to "unseen" hospitals that utilize different scanner types or imaging protocols. This paper addresses this challenge by introducing the Federated Domain Generalization (FedDG) setting, where the goal is to develop a model capable of immediate deployment to out-of-distribution clinical sites.
Methodology: Episodic Learning in Continuous Frequency Space (ELCFS)
The core of the proposed solution is the Episodic Learning in Continuous Frequency Space (ELCFS) framework. This approach circumvents privacy restrictions by sharing image "styles" rather than raw data.
Continuous Frequency Space Interpolation
By applying a Fourier transform, the authors decouple an image into its amplitude spectrum (representing low-level style and scanner characteristics) and its phase spectrum (representing high-level anatomical structure). A shared global bank of amplitude spectrums is maintained. Local clients download these "styles" and perform continuous interpolation with their local data. This process generates a synthetic, multi-source distribution locally, effectively teaching the model to handle diverse imaging conditions without ever seeing another hospital's raw images.
Boundary-oriented Episodic Learning
To further bolster generalization, the framework employs a meta-learning (episodic) strategy. The model is meta-trained on local data and meta-tested on the frequency-transformed data. Crucially, the authors introduce a Boundary-focused Contrastive Loss. Since domain shifts typically manifest as errors at anatomical boundaries, this loss encourages the model to distinguish between boundary-related and background-related features, ensuring consistent segmentation regardless of the underlying image style.
Experimental Results
The ELCFS method was rigorously tested using a leave-one-domain-out protocol on two distinct tasks: retinal fundus image segmentation and prostate T2-weighted MRI segmentation.
Quantitative Performance
In retinal fundus segmentation, ELCFS achieved a +2.02% improvement in Dice coefficient over the standard Federated Averaging (FedAvg) baseline. Similarly, in prostate MRI segmentation, the Dice score rose from 85.57% to 87.39%. These results demonstrate that ELCFS consistently outperforms state-of-the-art domain generalization methods adapted for federated environments.
Qualitative Analysis
Visual inspections of the segmentation masks reveal that ELCFS produces significantly more accurate boundaries compared to competing methods, which often struggle with noise and artifacts in unseen domains.
Conclusion
FedDG represents a significant step forward in making federated medical AI clinically viable. By leveraging frequency space as a privacy-safe medium for style sharing and focusing on boundary-aware learning, the ELCFS framework enables models to transcend the limitations of their training data. Future work may involve auditing the privacy of amplitude spectrums and extending these principles to broader non-IID data challenges in federated learning.
Summary updated