Closing the Generalization Gap of Cross-silo Federated Medical Image Segmentation

An Xu, Wenqi Li, Pengfei Guo, Dong Yang, Holger Roth, Ali Hatamizadeh, Can Zhao, Daguang Xu, Heng Huang, Ziyue Xu

Abstract

Federated Learning (FL) is a promising paradigm for training medical AI models across multiple institutions without compromising patient privacy. However, a significant "generalization gap" often exists between models trained via FL and those trained on centralized datasets. This gap is primarily driven by "client drift" caused by non-identically and independently distributed (non-IID) data across different hospitals. We introduce FedSM (Federated Super Model), a novel framework that bridges this performance divide by employing a suite of personalized models and an intelligent model selector. Our results on retinal and prostate segmentation tasks demonstrate that FedSM can match or even exceed the performance of centralized training for the first time.

Introduction

In medical imaging, data is often siloed within institutions due to strict privacy regulations. While Federated Learning (FL) allows for collaborative model training without data sharing, standard approaches like FedAvg frequently underperform compared to centralized training. This discrepancy, known as the generalization gap, arises because a single global model struggles to accommodate the diverse data distributions (e.g., different scanner manufacturers and imaging protocols) found across various clinical sites. This "client drift" leads to a "jack of all trades, master of none" global model.

Methods: The Federated Super Model (FedSM)

The proposed FedSM framework shifts away from the traditional single-model approach toward a multi-expert system. The "Super Model" consists of three primary components:

  1. Global Model ($w_g$): Designed to capture general features across the entire federation.
  2. Personalized Models ($w_{p,k}$): Specialized models tailored to the specific data distribution of each individual silo.
  3. Model Selector ($w_s$): A lightweight classifier (based on VGG-11) that predicts which model—global or personalized—is best suited for a given input image during inference.
The FedSM architecture featuring the Global Model, Personalized Models, and the Model Selector routing mechanism.

SoftPull Regularization

To prevent overfitting in personalized models, especially when local datasets are small, the authors introduced SoftPull. This technique regularizes local training by "pulling" a client's model weights toward an interpolation of other clients' models. This allows institutions to leverage the collective knowledge of the federation while maintaining local expertise.

Inference Strategy

During inference, the Model Selector analyzes the input image $x$. If it identifies the image as belonging to a known silo distribution with high confidence, it routes the image to the corresponding personalized model. If the image appears novel or the selector's confidence is low, the system defaults to the robust Global Model.

Results and Discussion

The FedSM framework was evaluated on two distinct tasks: Retinal Disc/Cup Segmentation (low data similarity) and Prostate Segmentation (high data similarity).

Comparative performance of FedSM against standard FL baselines and centralized training across three segmentation tasks.

Performance Benchmarks

  • Retinal Segmentation: FedSM achieved a Global Dice score of 0.9028, effectively matching the centralized training benchmark of 0.9014. In contrast, standard FedAvg achieved only 0.8923.
  • Prostate Segmentation: Remarkably, FedSM reached a Dice score of 0.8692, slightly outperforming the centralized baseline of 0.8651.
  • Distribution Awareness: Analysis of the Model Selector's internal features via t-SNE plots confirmed that the selector successfully learns to distinguish between different client distributions, validating its role as an effective router.

Conclusion

FedSM represents a significant advancement in cross-silo federated learning for medical imaging. By reframing the problem as a multi-expert routing task rather than a search for a single consensus model, FedSM successfully closes the generalization gap. While the approach increases communication overhead, the ability to achieve centralized-level performance while maintaining strict data privacy offers a practical path forward for large-scale clinical AI deployment.

Summary updated

BibTeX
@inproceedings{xu2022closing,
  author = {An Xu and Wenqi Li and Pengfei Guo and Dong Yang and Holger Roth and Ali Hatamizadeh and Can Zhao and Daguang Xu and Heng Huang and Ziyue Xu},
  title = {{Closing the Generalization Gap of Cross-silo Federated Medical Image Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=D27nMfvj6TL},
}
Figure