Papers › SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference

SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference

15 May 2026arXiv:2605.15488added by Syntology

Shi-ang Qi, Vahid Balazadeh, Michael Cooper, Russell Greiner, Rahul G. Krishnan

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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. 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).

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.15488")

Code

Syntology Ran 44 of 60 code samples harvested from 6 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · honoured contract; 12 ran · our draft was wrong; 4 ran · fixture could not drive it; 27 ran with no contract checked.

By repository: found in paper text by Syntology: 60 samples from 6 repositories, 44 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

TeaPearce/Censored_Quantile_Regression_NN found in paper text by Syntology report
XintianHan/Survival-MDN found in paper text by Syntology report
rgklab/SurvivalPFN found in paper text by Syntology report
rajesh-lab/Inverse-Weighted-Survival-Games found in paper text by Syntology report
shi-ang/BNN-ISD found in paper text by Syntology report
MrHuff/Sumo-Net found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

60 samples harvested; 44 ran; 1 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
12ran · our draft was wrong
4ran · fixture could not drive it
27ran
16unverified

Licence: 16 of the 60 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BayesianElementwiseLinear shi-ang/BNN-ISD/models.py found in paper text by Syntology ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 1ee39ab309964a90 · report
CatNN rajesh-lab/Inverse-Weighted-Survival-Games/models.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 71503a80d54879f4 · report
DeepNet rajesh-lab/Inverse-Weighted-Survival-Games/models.py found in paper text by Syntology ran fingerprinted MIT (permissive) · d2af976346d33920 · report
DefaultNN XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · d4a12e293a55de4d · report
Log1PlusExp MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran no licence file found · pointer only · 6ac98a7b55346d72 · report
MukundMDNHelper XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · cc4efa299e31dcf9 · report
ParametrizedGaussian shi-ang/BNN-ISD/models.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · 8b0392475ca0039a · report
RELU rajesh-lab/Inverse-Weighted-Survival-Games/models.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · e885556b912e32f3 · report
RMSNorm rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · metamorphic tier: invariant Apache-2.0 (permissive) · 6e57086fc97463e2 · report
ResidualNN XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 117bdea53b8347f8 · report
ScaleMixtureGaussian shi-ang/BNN-ISD/models.py found in paper text by Syntology ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 6262e3d94f88a8c7 · report
SurvivalMDN_Dist XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran no licence file found · pointer only · df060b1e443def88 · report
TabDPTLongContextModel rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran Apache-2.0 (permissive) · e6ff2912fc572ac0 · report
TransformerEncoderLayer rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · metamorphic tier: invariant Apache-2.0 (permissive) · 79a4260cd65e423b · report
_extract_tabdpt_state rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · bf7653a9f1fb1def · report
_interp1d_per_batch rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · f2685b774233c516 · report
_normalize_model_config rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 81c0a825b4d40699 · report
_to_plain_dict rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · e8d7a676dce6291c · report
bounded_nn_layer MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 36fd86c93cbf07b1 · report
bounded_nn_layer_last MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 2c955554f710ace9 · report
crossing_loss TeaPearce/Censored_Quantile_Regression_NN/01_code/models.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 8e4732a23c130baf · report
forward_KL_hl_gaussian_loss rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · fixture could not drive it Apache-2.0 (permissive) · ad486c6c60a80926 · report
forward_KL_one_hot_loss rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · aeaeecb3de18bd0f · report
generate_data_realtarget_synthcen TeaPearce/Censored_Quantile_Regression_NN/01_code/datasets.py found in paper text by Syntology ran MIT (permissive) · f2f5f953aec88c7d · report
generate_data_synthtarget_synthcen TeaPearce/Censored_Quantile_Regression_NN/01_code/datasets.py found in paper text by Syntology ran MIT (permissive) · 96babf0c32515529 · report
get_hyperparams TeaPearce/Censored_Quantile_Regression_NN/01_code/hyperparams.py found in paper text by Syntology ran fingerprinted MIT (permissive) · ecfaab91d760f076 · report
inverse_softplus_grad XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 5dac508453ef46d2 · report
linear MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 691b566282a42d88 · report
lognormal_transform rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · d4220cd0d2e403a4 · report
logsumexp XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · c850f0c294b86e9d · report
masked_logsumexp shi-ang/BNN-ISD/models.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 1da5503866445238 · report
mixed_layer_2 MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · metamorphic tier: deterministic no licence file found · pointer only · 801ec0f05e6b458f · report
mtlr_nll shi-ang/BNN-ISD/models.py found in paper text by Syntology ran MIT (permissive) · d3fc1659c2e82a40 · report
nn_node MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · metamorphic tier: deterministic no licence file found · pointer only · 8b53909f1266d6ff · report
normalize_data rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · cbf1a6ddc69b5d1b · report
pad_x rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · df966b39a1dd97e1 · report
quantile_grids rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · cd0cdd3d45072306 · report
quantile_loss TeaPearce/Censored_Quantile_Regression_NN/01_code/models.py found in paper text by Syntology ran MIT (permissive) · dd1c2e866b214fbf · report
quantile_transform rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · fixture could not drive it Apache-2.0 (permissive) · 19b490fa90e66633 · report
quantiles_to_mean TeaPearce/Censored_Quantile_Regression_NN/01_code/utils.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 5c5378bdb7f3e770 · report
quantiles_to_median TeaPearce/Censored_Quantile_Regression_NN/01_code/utils.py found in paper text by Syntology ran MIT (permissive) · 4c2e331e631c0d6f · report
safe_inverse_softplus XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · eba67474712ea634 · report
surv_nll rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology ran · fixture could not drive it Apache-2.0 (permissive) · 2c439f9b4caec20b · report
survival_net_basic MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology ran · metamorphic tier: deterministic no licence file found · pointer only · a6807cbbd18871f3 · report
BayesEleMtlr shi-ang/BNN-ISD/models.py found in paper text by Syntology unverified MIT (permissive) · 9bd69ce8f93054e9 · report
BayesMtlr shi-ang/BNN-ISD/models.py found in paper text by Syntology unverified MIT (permissive) · 2b3c8eaeca6b4b0a · report
BayesianBaseModel shi-ang/BNN-ISD/models.py found in paper text by Syntology unverified MIT (permissive) · 29acbe919b64f3a1 · report
BayesianLinear shi-ang/BNN-ISD/models.py found in paper text by Syntology unverified MIT (permissive) · 4c447ff148294feb · report
InContextModel rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 16511eb2ca2c686c · report
MDNModel XintianHan/Survival-MDN/mdn_models.py found in paper text by Syntology unverified no licence file found · pointer only · 99469b9ed77bacde · report
MMSE_fn TeaPearce/Censored_Quantile_Regression_NN/01_code/utils.py found in paper text by Syntology unverified MIT (permissive) · 527faa34f6dbe3a6 · report
QuantileTransformState rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1b11a31b7f48278e · report
_build_tabdpt_from_config rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 34fc08263e203895 · report
_get_nested rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e923887f73773cba · report
cqrnn_loss TeaPearce/Censored_Quantile_Regression_NN/01_code/models.py found in paper text by Syntology unverified MIT (permissive) · 941db4bbd20d0b42 · report
get_dataset TeaPearce/Censored_Quantile_Regression_NN/01_code/datasets.py found in paper text by Syntology unverified MIT (permissive) · 3aeb675f6185d8fd · report
load_pretrained_tabdpt_model rgklab/SurvivalPFN/survivalpfn/models/icl_model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 62e532aa24f5ec49 · report
multi_input_Sequential_res_net MrHuff/Sumo-Net/nets/nets.py found in paper text by Syntology unverified no licence file found · pointer only · 3510bae48fb5d336 · report
train_loop_neocleous TeaPearce/Censored_Quantile_Regression_NN/01_code/algorithms.py found in paper text by Syntology unverified MIT (permissive) · b22cd71935152594 · report
train_loop_single_models TeaPearce/Censored_Quantile_Regression_NN/01_code/algorithms.py found in paper text by Syntology unverified MIT (permissive) · f9ffe47cd6305c1c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.15488, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections