Practical Challenges in Differentially-Private Federated Survival Analysis of Medical Data

Shadi Rahimian, Raouf Kerkouche, Ina Kurth, Mario Fritz

Abstract

Survival analysis, or time-to-event analysis, is a critical tool in medical research for modeling the time until an event of interest—such as mortality or cancer recurrence—occurs. While neural networks have emerged as powerful alternatives to traditional survival models, they require substantial data to train effectively. In the medical domain, data is often siloed across institutions, making collaboration essential. Federated Learning (FL) enables this collaboration without sharing raw data, but it remains vulnerable to privacy leaks. While Differential Privacy (DP) can mitigate these risks by injecting noise, this noise often hinders model convergence in realistic settings characterized by small datasets and few participating centers. To address this, we propose DPFed-post, a method that introduces a post-processing stage to the private federated learning scheme. This additional step regulates the magnitude of noisy parameter updates, facilitating easier convergence. Our experiments on three real-world medical datasets demonstrate that DPFed-post improves model performance by an average of up to 17% compared to standard differentially private federated learning.

Introduction

In clinical research, predicting the trajectory of a disease is as important as the diagnosis itself. Survival analysis provides the mathematical framework for these predictions, yet the deep learning models that excel at this task are data-hungry. Because medical data is highly sensitive and regulated, individual hospitals often lack the sample size necessary to train robust models independently.

Federated Learning (FL) offers a solution by allowing multiple health centers to collaboratively train a global model while keeping patient data localized. however, FL alone does not guarantee privacy; research has shown that sensitive information can still be reconstructed from model gradients. To provide formal privacy guarantees, Differential Privacy (DP) is integrated into the FL pipeline. However, the "noise" required by DP to mask individual contributions often degrades the model's utility, particularly when the number of participating institutions is small—a common scenario in specialized medical research.

The Challenge: Privacy vs. Utility in Small Cohorts

The fundamental challenge in private federated learning is the inverse relationship between the number of participants and the amount of noise required. In large-scale applications (like mobile keyboard prediction), the noise added to the aggregate update is diluted by millions of users. In medical settings, where only 10 to 20 hospitals might participate, the noise-to-signal ratio is significantly higher. This often leads to "catastrophic divergence," where the random noise injected for privacy pushes the model parameters into unusable states, preventing the model from learning meaningful patterns.

Methodology: DPFed-post

To stabilize training under these high-noise conditions, we introduce DPFed-post. This approach builds on the standard Differentially Private Federated (DPFed) framework but adds a critical stabilization step at the server level.

1. Survival Architectures

We evaluated our method across four prominent deep learning architectures for survival analysis:

  • CoxPH (DeepSurv): A non-linear version of the Cox proportional hazards model.
  • CoxCC & CoxTime: Extensions designed to handle time-varying effects and competing risks.
  • DeepHit: A discrete-time model that makes no assumptions about the underlying distribution of survival times.

2. Client-Level Differential Privacy

Our framework utilizes client-level DP via the Gaussian Mechanism. This ensures that an adversary cannot determine whether a specific hospital’s entire dataset was used in the training process, providing a robust layer of institutional privacy.

3. Post-Processing Clipping

In a standard DPFed setup, the central server aggregates noisy updates from clients and applies them directly to the global model. In DPFed-post, the server performs an additional clipping operation on the already noisy average update before the model is updated.

Crucially, this step relies on the Post-Processing Property of Differential Privacy, which states that any operation performed on a DP-sanitized output does not consume any additional privacy budget. By clipping the noisy update, we effectively regularize the global learning rate, preventing extreme noise spikes from derailing the convergence process without weakening the privacy guarantees.

Experimental Setup

We validated DPFed-post using three benchmark medical datasets, processed via the pycox library:

  • GBSG: 2,232 breast cancer patients.
  • METABRIC: 1,904 breast cancer patients with genomic features.
  • SUPPORT: 8,873 seriously ill hospitalized adults.

To simulate a realistic medical collaboration, we partitioned these datasets across 10 simulated hospitals. This resulted in each center holding only a few hundred records, creating a challenging environment for both deep learning and differential privacy.

Key Results and Discussion

Our findings indicate that DPFed-post significantly outperforms standard private federated learning across multiple metrics, including the C-index (discrimination) and the Integrated Brier Score (calibration).

  • Performance Gains: Under a strict privacy budget (ε = 5.4), DPFed-post improved performance by an average of 17%. Even with a more relaxed budget (ε = 8.9), the improvement remained substantial at 12%.
  • Stability and Reliability: One of the most striking results was the reduction in variance. Standard DPFed often produces highly inconsistent results due to the randomness of DP noise. DPFed-post reduced the relative standard deviation from 0.19 to 0.05, making the training process far more predictable and suitable for clinical applications.
  • Closing the Gap: In several experiments, the performance of DPFed-post approached that of non-private federated learning (StdFed), suggesting that the utility cost of privacy can be significantly mitigated through intelligent post-processing.

Conclusion

DPFed-post addresses a major barrier to the adoption of private federated learning in healthcare: the instability caused by DP noise in small-scale collaborations. By utilizing the post-processing property of differential privacy to clip noisy updates, we provide a method that is both mathematically sound and practically effective. This approach allows medical institutions to collaborate on sensitive survival analysis tasks with higher confidence in both the privacy of their patients and the accuracy of their models.

Summary updated

BibTeX
@inproceedings{rahimian2022practical,
  author = {Shadi Rahimian and Raouf Kerkouche and Ina Kurth and Mario Fritz},
  title = {{Practical Challenges in Differentially-Private Federated Survival Analysis of Medical Data}},
  booktitle = {CHIL},
  year = {2022},
  url = {https://openreview.net/forum?id=rKwwfSnQfp},
}
Figure