Abstract
Collaborative machine learning techniques such as federated learning (FL) enable the training of models on effectively larger datasets without data transfer. Recent initiatives have demonstrated that segmentation models trained with FL can achieve performance similar to locally trained models. However, FL is not a fully privacy-preserving technique and privacy-centred attacks can disclose confidential patient data. Thus, supplementing FL with privacy-enhancing technologies (PETs) such as differential privacy (DP) is a requirement for clinical applications in a multi-institutional setting. The application of PETs to FL in medical imaging and the trade-offs between privacy guarantees and model utility, the ramifications on training performance and the susceptibility of the final models to attacks have not yet been conclusively investigated. Here we demonstrate the first application of differentially private gradient descent-based FL on the task of semantic segmentation in computed tomography. We find that high segmentation performance is possible under strong privacy guarantees with an acceptable training time penalty. We furthermore demonstrate the first successful gradient-based model inversion attack on a semantic segmentation model and show that the application of DP prevents it from divulging sensitive image features.
Introduction
In medical AI, data is the ultimate currency, but it is typically locked in institutional silos due to strict privacy regulations like HIPAA or GDPR. Federated Learning (FL) emerged as a solution, allowing multiple hospitals to train a shared model without ever exchanging raw patient images. Instead, they only share "gradients"—mathematical updates to the model.
However, there is a growing realization that FL is primarily a data governance tool, not a complete privacy solution. Malicious actors can often reverse-engineer shared gradients to reconstruct original training images. This paper addresses the urgent need to integrate Differential Privacy (DP)—a mathematical framework that adds controlled noise to the training process—into FL for complex tasks like 3D medical image segmentation, navigating the inevitable trade-off between privacy and model utility.
Methods
The researchers implemented a system combining FL with DP-SGD (Differentially Private Stochastic Gradient Descent). Key technical choices included:
- Gradient Clipping and Noise: To ensure no single image has an outsized influence, gradients are clipped to a maximum $L_2$ norm and jittered with Gaussian noise.
- Privacy Accounting: The Rényi Differential Privacy Accountant was used to track the privacy budget ($ε$) throughout training.
- Architecture Adjustments: Standard Batch Normalization was replaced with Instance Normalization to prevent information leakage across samples in a batch.
- Model Architectures: Several U-Net variants were tested using backbones including MobileNetV2, ResNet-18, VGG11, and a lightweight architecture called MoNet.
- The Attack: A gradient-based model inversion attack was developed specifically for segmentation to test if patient anatomy could be reconstructed from shared updates.
The study utilized the Medical Segmentation Decathlon (MSD) dataset, focusing on liver segmentation in CT scans across a simulated three-hospital federation.
Key Results and Discussion
Performance and the "Privacy Tax"
The study found that while adding DP introduces a utility gap, the performance remains clinically relevant for certain architectures. The VGG11-based U-Net was the top performer, achieving a 95.98% Dice score in a non-private local setting and maintaining a robust 90.27% under "High" federated privacy ($ε \approx 3.5$).
As shown in Figure 2, architecture choice is critical. While VGG11 and MoNet remained stable, the ResNet-18 version failed to converge entirely in the federated DP setting, suggesting that deeper architectures may be more sensitive to the noise introduced by DP.
Security Against Inversion Attacks
A key insight of this research is that FL alone is not a silver bullet. The authors successfully reconstructed recognizable anatomical features from unprotected FL gradients, debunking the assumption that segmentation complexity provides natural resistance. However, DP acted as an absolute shield: even at "low" privacy settings, the model inversion attacks failed completely, producing only unrecognizable noise.
Figure 3 illustrates that even under high privacy constraints, the model produces high-quality segmentation masks, demonstrating that privacy does not necessarily come at the cost of diagnostic utility.
Conclusion
This work demonstrates that combining Federated Learning with Differential Privacy can produce high-performing medical image segmentation models with provable privacy guarantees. The manageable performance drop and the complete neutralization of model inversion attacks make this approach a viable path for multi-institutional clinical applications. Future work will focus on achieving "patient-level" privacy to protect entire 3D volumes while further minimizing the utility gap.
Paper Citation: Ziller, A., Usynin, D., Remerscheid, N.W. et al. Differentially private federated deep learning for multi-site medical image segmentation. arXiv:2203.00481 (2022). Link to Code
Summary updated