arXiv(opens in a new tab)stat.MLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.22242

SurvICL: a Foundation Model for in-context Survival Analysis

Julie Alberge, Linus Bleistein, Judith Abécassis, Marine Le Morvan, Gaël Varoquaux, David Holzmüller

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Julie Alberge *

Inria de Saclay

France

Linus Bleistein

EPFL

Switzerland

Marine Le Morvan

Inria de Saclay

France

Judith Abécassis

Inria de Saclay

France

Gaël Varoquaux

Inria de Saclay, :probabl.

France

David Holzmüller

Inria de Saclay

France

ABSTRACT

Tabular foundation models (TFMs) now outperform gradient-boosted trees in classification and regression. Yet in survival analysis, which predicts when an event occurs from censored data, often on small clinical cohorts, we find that no existing TFM beats the half-century-old Cox model. We address this issue by introducing SurvICL, a TFM that predicts survival curves in-context. SurvICL is pretrained on purely synthetic datasets generated from a novel flexible proportional-odds prior that outperforms other prior types in our ablation study. Unlike most other survival models, SurvICL is trained with a plain quantile regression loss, which is possible because its synthetic pre-training data generator can provide uncensored event times. Additionally, we introduce the largest survival benchmark to date spanning 103 datasets. On the 63 datasets held out from all design decisions, SurvICL outperforms 20 tree-based, deep, and foundation-model baselines without any tuning: it wins 82.9% of pairwise comparisons in integrated Brier score, against 71.3% for the runner-up, the Cox model, and is the first model to rank above Cox on small datasets.

1 INTRODUCTION

Many decisions hinge on when an event will happen: how long will a patient survive after a cancer diagnosis? When will a customer churn? When will a machine fail? Survival analysis answers such questions by predicting, for an individual with features x∈Rd\boldsymbol{x} \in \mathbb{R}^d, the survival function S(t∣x)=P(T∗>t∣x)S(t \mid \boldsymbol{x}) = \mathbb{P}(T^* > t \mid \boldsymbol{x}), that is, the probability that the event has not occurred by time tt (Kleinbaum and Klein, 2012; Machin et al., 2006; Wiegrebe et al., 2024; Jeanselme et al., 2024). What sets survival analysis apart from regression, aside from strictly positive predictions, is censoring. A patient who leaves a clinical study alive after three years does not reveal their time of death, only that it exceeds three years. Discarding such partial observations biases predictions, and treating them as observed events is plainly wrong: a survival model must learn from both observed and censored events. In addition, survival predictions feed decisions (such as choosing a treatment given a five-year survival probability) and must therefore be calibrated probabilities rather than mere rankings of individuals (Goldstein et al., 2020; Lillelund et al., 2025; Alberge et al., 2026).

Survival analysis is often a small-data problem. Many time-to-event datasets come from clinical studies, where observing events requires following patients for years, and cohorts of a few hundred individuals are the norm (Indrayan and Mishra, 2021; O'Donnell et al., 2025): in all the data we collect for this work, more than 70% of the datasets have fewer than 1,000 samples. In this regime, the flexibility of modern machine learning is a liability. Half a century after its introduction, the Cox proportional hazards model (Cox, 1972) remains the workhorse of practitioners, and for good reason: on the small datasets of our benchmark, none of the gradient-boosted trees, deep survival networks, or existing survival foundation models outperforms it.

*julie.alberge@inria.fr

Figure

Figure 1: SurvICL is the best survival model on 63 held-out datasets. Pairwise win rate in integrated Brier score (IBS): the fraction of (dataset, competitor) pairs on which a method achieves a lower IBS. SurvICL wins 82.9% of its comparisons, against 71.3% for the runner-up, the classical Cox model. All existing survival TFMs trail behind the Cox model.

Tabular foundation models (TFMs) seem very well suited to this regime. Pre-trained on many synthetic datasets, models such as TabPFN and TabICL predict in-context and now outperform gradient-boosted trees for classification and regression, in particular on small datasets (Hollmann et al., 2023; 2025; Grinsztajn et al., 2025; Qu et al., 2025; 2026; Zhang et al., 2025). This recipe has been extended beyond standard supervised learning to causal effect estimation (Robertson et al., 2025; Balazadeh et al., 2025; Ma et al., 2025b). Survival analysis has not yet benefited from this progress. Recent survival TFMs either recast survival as classification over a time grid for off-the-shelf TFMs (Kim et al., 2026), or are pre-trained on synthetic survival data (Seletkov et al., 2026; Böhm et al., 2026; Qi et al., 2026) but do not beat the Cox model or random survival forests (Figure 1).

Building a High-Performing TFM for Survival Analysis. We introduce SurvICL, a tabular foundation model for in-context survival analysis, built on the TabICLv2 backbone (Qu et al., 2026). Similar to SurvivalPFN (Qi et al., 2026), it handles censoring in the data generation rather than the loss. During pre-training, SurvICL sees censored datasets in its context, but is supervised with the latent, uncensored event times of the simulator: it learns to correct for censoring in-context, so that a plain quantile-regression loss suffices. SurvICL predicts for each individual a continuous quantile function of the event time, from which we can directly infer a monotone survival function.

Scaling Evaluation of Survival Models. We evaluate SurvICL in the largest benchmark to date for survival analysis: 103 real-world datasets from healthcare, genomics, economics and engineering, with up to 52,000 samples and 15,000 features, against 20 baselines spanning classical, tree-based, deep and foundation models. For comparison, survival papers at machine-learning venues typically report results on 5 to 20 datasets, and the largest evaluations of survival foundation models span 48 to 81 datasets (Kim et al., 2026; Lyu et al., 2026; Pham et al., 2026a; Qi et al., 2026). All design choices were made on 40 development datasets, and all results are reported on 63 held-out datasets never used during development. On these held-out datasets, SurvICL is the best method both in prediction accuracy and in discrimination (Figure 1): it wins 82.9% of pairwise comparisons for the integrated Brier score (IBS), against 71.3% for the runner-up, the Cox model, and in 77.7% for the C-index, against 71.6% for random survival forests (see Figure 12). On small datasets, where no previous method surpasses the Cox model, SurvICL is the first to rank above it. On the largest datasets, gradient boosting still maintains a slight edge. Importantly, these gains do not come at the expense of computational efficiency. Across predictive metrics and dataset-size regimes, SurvICL lies on or close to the performance-runtime Pareto frontier (Appendix D). Thus, SurvICL combines strong predictive performance with efficient out-of-the-box inference. We commit to releasing code and model in an open-source license.

Contributions. Our contributions are threefold:

  1. We design a foundation model for survival analysis that, using in-context learning, outperforms survival-analysis models (classical, tree-based, deep, all three existing survival foundation models as well as an adaptation of a classification foundation model), on integrated Brier score (IBS) and C-index.

  2. We identify key ingredients of in-context survival analysis through extensive ablations: (i) a proportional-odds (PO) prior with a flexible, multi-modal baseline hazard, which outperforms

Cox, accelerated failure time, and existing TFM priors; and (ii) event-only targets, rather than also learning the censoring distribution.

  1. An extensive benchmark of 103 survival datasets with a strict separation between development and held-out datasets, covering high-dimensional genomics cohorts (p > n) and large registries, and comparing 21 methods on four metrics.

References (79)