SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference

Shi-ang Qi, Vahid Balazadeh, Michael Cooper, Russell Greiner, Rahul G. Krishnan
5/15/2026
8 citations
cs.LGstat.ML
bayesian

Official code: rgklab/SurvivalPFN (14 stars, Python, Apache-2.0, last commit 2026-10-05).

Abstract

Survival analysis provides a powerful statistical framework for modeling time-to-event outcomes in the presence of censoring. However, selecting an appropriate estimator from the many specialized survival approaches often requires substantial methodological and domain expertise.

Show full abstract

We introduce SurvivalPFN, a prior-data fitted network that amortizes Bayesian inference for censored observations through in-context learning. SurvivalPFN is pretrained on a diverse family of synthetic, identifiable, and right-censored data-generating processes, enabling it to amortize survival analysis in a single forward pass during inference. As a result, the model adapts to the effective complexity of each dataset without task-specific training or hyperparameter tuning, avoids restrictive parametric assumptions, and produces calibrated survival distributions. In a large-scale benchmark spanning 61 datasets, 21 methods, and 5 evaluation metrics, SurvivalPFN achieves strong predictive performance and often improves upon established survival models. These results suggest that SurvivalPFN offers a principled and practical foundation model for survival analysis, with potential applications in high-impact domains such as healthcare, finance, and engineering (https://github.com/rgklab/SurvivalPFN).

View on arXivView PDF

Code Implementations(1)

rgklab/SurvivalPFNOfficial100%
Apache-2.0
140PythonMay 13, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{qi2026survivalpfn,
  title  = {SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference},
  author = {Shi-ang Qi and Vahid Balazadeh and Michael Cooper and Russell Greiner and Rahul G. Krishnan},
  year   = {2026},
  eprint = {2605.15488},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.15488v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.15488.svg)](https://codeofpaper.com/paper/2605.15488)

Discussion