# SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference

*Shi-ang Qi, Vahid Balazadeh Meresht, Michael Cooper, Russell Greiner, Rahul Krishnan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151336) · [Open on the map](../papers.html#p151336)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Survival Analysis and Causal Discovery](../pgroup/628.md) · Type: new method · Keywords: survival analysis, in-context learning, Bayesian inference, censored data, foundation model

## Summary
SurvivalPFN is a prior-data fitted network that amortizes Bayesian inference for censored observations via in-context learning, providing a foundation model for survival analysis without task-specific training.

## Explained to a 5-year-old
A computer program learns to guess how long something will last, like when a machine might break. It looks at many made-up examples of broken things and learns a quick way to make guesses. When you give it new data, it just thinks a little and gives an answer. It works without needing to be taught for each new problem. This helps people in many fields understand risks.

## Explained to a 5-year-old, longer
Imagine you have a toy that might break after some time. You want to know how long it will last before it stops working. Many people have built special tools to guess this, but they are hard to make and need a lot of work. This paper creates a new kind of tool that is like a smart friend. The smart friend first plays with many pretend examples of broken toys. It learns a fast way to guess how long something will last from those pretend examples. When you give it a real new toy, it just does a quick calculation and tells you the guess. It does not need to be retrained for each new toy, so it saves a lot of time. This makes it easy for anyone to use, even if they are not an expert. It can help doctors, bankers, and engineers make better decisions about risk. It also works with many different kinds of data, so it is very flexible. The tool is designed to be safe and give reliable answers. It can be used right away without extra setup. This makes survival analysis accessible to a wide audience.

## For a technical reader
The system is a pretrained neural network that learns to perform Bayesian inference for censored data by leveraging in-context learning. It is trained on a wide variety of synthetic survival scenarios, allowing it to adapt to new datasets in a single forward pass. This eliminates the need for per-task fine-tuning or hyperparameter selection. The model outputs calibrated survival distributions and integrates seamlessly into existing pipelines. It has been evaluated on a large benchmark of 61 datasets, showing competitive performance against 21 baseline methods.

## Problem
Selecting an appropriate estimator from many specialized survival approaches often requires substantial methodological and domain expertise, and existing methods may need task-specific training or restrictive parametric assumptions.

## Method
The approach pretrains a network on a diverse family of synthetic, identifiable, and right-censored data-generating processes, enabling it to amortize Bayesian inference for censored observations through in-context learning, adapting to dataset complexity in a single forward pass without task-specific training or hyperparameter tuning.

## Results
The approach achieves strong predictive performance and frequently outperforms established survival models on the benchmark.

## Contributions
It introduces a foundation model for survival analysis that amortizes Bayesian inference via in-context learning, adapts to dataset complexity without task-specific training, avoids restrictive parametric assumptions, and produces calibrated survival distributions.

## Practical relevance
It offers a practical foundation model for survival analysis that can be applied to high-impact domains like healthcare, finance, and engineering.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151336)
