EnSurv: Deep Generative Survival Modeling with Application to Kidney Graft Outcomes

Rajdeep Pathak, Tamalika Koley, Shreyashi Basak, Dipankar Bandyopadhyay, Tanujit ChakrabortyarXiv 2026

TL;DR

Donor kidneys are scarce, so predicting how long a transplanted organ will survive is crucial for deciding who gets a kidney and how to treat them afterward. This paper introduces EnSurv, a deep generative survival model that predicts individualized graft failure timelines by learning to simulate outcomes directly, even when most patient records are incomplete. By blending neural network flexibility with built-in explainability and clinical guardrails, EnSurv outperforms 14 statistical, machine learning, and foundation model baselines on nearly a quarter-million real-world transplant records.

What Problem Does This Paper Address?

Predicting when a transplanted kidney might fail falls under survival analysis—modeling the time until an event occurs. The catch in medical data is right-censoring: if a study ends while a patient’s kidney is still healthy, or if a patient moves away, we don't know their exact failure time—only that the organ lasted at least until their last check-up.

Historically, clinicians have relied on classical statistical models like Cox Proportional Hazards. These are transparent and easy to interpret, but they rely on rigid mathematical assumptions that struggle with complex, non-linear interactions in massive modern health registries. Conversely, modern deep learning survival models handle complexity effortlessly, but act as opaque "black boxes" that can't easily rank clinical risk factors or incorporate established medical rules (like knowing a certain virus always increases risk). Furthermore, previous transplant studies often ignored regional healthcare differences—even though where you get your surgery matters.

Kidney graft survival differences across clinical and geographic factors in the UNOS registry

Methods

EnSurv (Survival Engression) bridges this gap using a deep generative framework:

  • Pre-Additive Noise Architecture: Instead of outputting a single risk score or discretizing time into rigid buckets, EnSurv injects random noise directly into a patient's clinical features and passes them through a multi-layer perceptron (MLP). By feeding different noise draws through the trained network for one patient, you generate thousands of plausible log-failure times, forming a smooth, individualized survival curve.
  • Parallel Linear Skip-Connection: Running alongside the non-linear neural network is a direct linear projection of the inputs. This acts like a built-in classical model, giving clinicians signed weights to easily read baseline feature associations while tracking path weights through the MLP for total feature importance.
  • Pooled Kaplan-Meier Tail Completion: To train on right-censored patients without building a separate, unstable model for censoring, EnSurv uses an energy score loss (which balances prediction accuracy against healthy sample diversity) paired with a clever trick. If a patient is censored at year 3, EnSurv imputes their unobserved future using a bootstrap-averaged Kaplan-Meier survival tail pooled from everyone left at risk in the cohort.
  • Clinical Domain Constraints: During backpropagation, the authors add a soft gradient penalty. If established medicine says a higher Kidney Donor Risk Index (KDRI) reduces survival, the model is penalized whenever its local derivatives suggest otherwise.

Datasets

  • Synthetic Benchmarks: 39 distinct simulation scenarios varying sample sizes ($n = 5,000$ to $20,000$), baseline distributions (Exponential, Weibull, Log-Normal), linear vs. non-linear risk functions, and censoring rates (>10%).
  • UNOS Registry: A massive real-world dataset from the United Network of Organ Sharing containing 243,443 U.S. kidney transplant records (1987–2016) across 11 geographic regions, with a heavy ~60% right-censoring rate. Beyond 24 patient-level variables, the authors engineered contextual regional features—such as an Operational Strain Ratio and Shannon entropy of immunosuppression regimens—and evaluated models in both pre-transplant (organ offer) and post-transplant settings.

Key Insights and Ideas

  • Pooling is a smart bias-variance trade-off: Estimating what happens after censoring for a hyper-specific patient profile gets noisy late in follow-up because very few similar patients remain under observation. Using a cohort-wide ("pooled") tail stabilizes training, and the authors mathematically prove exact bounds on how much this pooling distorts true survival probabilities.
  • Protocol flexibility beats rigid standardization: Through EnSurv’s explainability tools, an intriguing regional insight emerged: institutions with higher immuno-entropy—meaning they customize drug regimens to complex patients rather than rigidly applying one-size-fits-all protocols—are associated with longer graft survival when holding baseline patient risk constant.
  • Patient biology still dominates geography: Despite statistically significant survival gaps across the 11 U.S. transplant regions, EnSurv allocates ~84.1% of its predictive importance to individual patient-level factors and ~15.9% to regional context.

Key Results

Across 3-fold cross-validation on the UNOS cohort, EnSurv consistently beat 14 baselines—including CoxPH, Random Survival Forests, DeepSurv, DeepHit, and the foundation model SurvivalPFN:

  • Top Discrimination: Achieved the highest mean Harrell's C-index (ranking accuracy) both pre-transplant (0.609) and post-transplant (0.663), alongside the best 1-year AUC (0.7543).
  • Superior Accuracy & Calibration: Delivered the lowest post-transplant Uncensored Mean Absolute Error (1706.2 days vs. >1924 days for competitors) and lowest Integrated Brier Score (0.0670).
  • Clinical Alignment: Post-transplant explainability pinpointed first-week dialysis, discharge serum creatinine, and elevated KDRI as the strongest drivers of early graft loss, matching established medical literature.

Limitations and Future Work

  • Shared Completion Tails: Because censored patients share a pooled residual tail, two patients censored on the same day share the same imputed tail distribution during training, even if one is higher-risk. Future work could estimate tails within clinical risk strata to eliminate this pooling distortion.
  • Competing Risks: The current model treats graft failure as a single event, whereas a patient dying with a functioning kidney is a major competing risk in transplantation that warrants a dedicated multi-event extension.
  • Hierarchical Random Effects: Rather than relying solely on engineered regional features, future iterations could explicitly build multicenter "random effects" or subpopulation correlation structures directly into the generative architecture.

Summary updated

Abstract

Kidney transplantation is the optimal treatment for life-threatening end-stage renal disease, providing significant survival advantages over dialysis. Given the severe shortage of donor organs, accurately predicting the time to premature graft failure is an essential clinical task for optimizing organ allocation and tailoring individualized immunosuppressive therapies. This study is motivated by a comprehensive United Network of Organ Sharing (UNOS) dataset containing 243,443 kidney transplant records with complex multi-region structures and high right-censoring rates. We propose EnSurv (survival engression), a deep generative survival framework designed to capture complex, non-linear clinical covariate interactions for modeling time to graft failure. Within a pre-additive noise model (pre-ANM) family, EnSurv optimizes an energy score augmented with pooled Kaplan-Meier tail completion to handle right-censoring. We identify the pooled-completion target of the objective, establish consistency for its best approximation within the pre-ANM family, and give conditions and error bounds for its relation to true conditional graft survival. EnSurv also provides global explainability through summaries of fitted feature weights and incorporates domain constraints through established clinical directions using a soft gradient penalty. Extensive simulation experiments were conducted to evaluate the performance of the proposed method in comparison with existing methods. Application to the UNOS cohort demonstrates that EnSurv effectively models individual and region-level effects, consistently outperforming baselines across evaluation metrics encompassing discrimination, calibration, and accuracy.
BibTeX
@misc{pathak2026ensurv,
  author = {Rajdeep Pathak and Tamalika Koley and Shreyashi Basak and Dipankar Bandyopadhyay and Tanujit Chakraborty},
  title = {{EnSurv: Deep Generative Survival Modeling with Application to Kidney Graft Outcomes}},
  year = {2026},
  eprint = {2611.32127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32127},
}
Figure