Adaptation Interfaces for In-Context Tabular Foundation Models in Time-to-Event Prediction
Organizations: ADAPT Centre, School of Computing, Dublin City University DCU Glasnevin Campus, Dublin 9, D09 V209, Ireland · Department of Computer Science and Engineering, University of Bologna, Italy · University of Pisa, Italy · Institute of Clinical Physiology, CNR, Pisa, Italy ·
Abstract
Tabular foundation models (TabFMs) achieve strong performance on structured data, particularly for standard classification and regression problems. Yet, extending them to censored time-to-event prediction is challenging because it requires properly handling censoring and event-time dynamics. Building on our prior work, we further link TabFMs with CoxPH and DeepHit and revise the context-resampled training procedure. We evaluate temporal zero-shot reformulation, classification-based fine-tuning, and survival-head adaptation using frozen TabFM backbones on 74 single-risk data sets, and we additionally study 4 competing-risk data sets. Zero-shot inference is effective on smaller single-risk data sets, whereas supervised adaptation becomes increasingly advantageous as data sets scale. Cox provides the most reliably strong interface, especially for Integrated Brier Score (IBS) on larger data sets. DeepHit is relatively stronger for the time-dependent Concordance Index than for IBS, while cause-specific MTLR ranks highest among the TabFM survival heads in the four-data-set competing-risk analysis. Classification fine-tuning becomes more competitive with zero-shot inference as data sets grow but remains weaker for probabilistic prediction. Overall, our results indicate that effective TabFM transfer depends on the data regime and on the statistical structure represented by the chosen adaptation interface. The implementation scripts used for this work are available at https://github.com/kaylode/survival-fm.
Figures & tables
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| ID | Data set | Feat. | Event rate | Bins | Domain | Regime | |
|---|---|---|---|---|---|---|---|
| 1 | ACATH | 2,230 | 3 | 0.66 | 10 | Cardiology | medium |
| 2 | ACTG | 1,151 | 17 | 0.08 | 10 | Infectious disease | medium |
| 3 | AIDS | 938 | 5 | 0.15 | 10 | Infectious disease | medium |
| 4 | AIDS2 | 2,810 | 12 | 0.62 | 50 | Infectious disease | medium |
| 5 | AML BULL | 115 | 6283 | 0.57 | 10 | Haematology | small |
| 6 | BERGAMASCHI | 82 | 10 | 0.34 | 10 | Oncology | small |
| ID | Data set | Feat. | Event rate | Bins | Domain | Regime | |
|---|---|---|---|---|---|---|---|
| Data Sets with Competing Risks | |||||||
| 1 | FRAMINGHAM | 4,273 | 18 | 0.42 ( =2) | 100 | Cardiology | large |
| 2 | PBC2 | 1,945 | 16 | 0.45 ( =2) | 50 | Hepatology | medium |
| 3 | SUPPORT2-CR | 9,105 | 37 | 0.68 ( =2) | 30 | Critical care | large |
| 4 | SYNTHETIC | 30,000 | 12 | 0.50 ( =2) | 10 | Synthetic | large |
| Min | 1,945 | 12 | 0.42 | 10 | |||
| Setting | Zero-shot | Classification FT | Survival-head |
|---|---|---|---|
| Backbone | |||
| Gradient updates | None | None (frozen) | None (frozen) |
| Trainable head | Native classifier | Classification | Survival |
| Head architecture | – | 1 hidden layer, 64 units, dropout 0.1 | |
| Optimization | |||
| Optimizer | – | AdamW; weight decay | |
| Model | Hyperparameter | Search space |
|---|---|---|
| RSF | Number of trees | (integer) |
| Minimum samples to split | (integer) | |
| Minimum samples per leaf | (integer) | |
| GBSA | Learning rate | (log-uniform) |
| Number of estimators | (integer) | |
| Maximum depth | (integer) |
| AML-BULL | AIDS2 | ||||||
| Model | IBS | AUC | Model | IBS | AUC | ||
| Cox PH | 0.549_{{\color[rgb]{0.5,0.5,0.5}\pm 0.078}} | 0.242_{{\color[rgb]{0.5,0.5,0.5}\pm 0.077}} | 0.519_{{\color[rgb]{0.5,0.5,0.5}\pm 0.132}} | Cox PH | 0.547_{{\color[rgb]{0.5,0.5,0.5}\pm 0.019}} | 0.138_{{\color[rgb]{0.5,0.5,0.5}\pm 0.015}} | 0.579_{{\color[rgb]{0.5,0.5,0.5}\pm 0.025}} |
| RSF | \textbf{0.602}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.100}} | \textbf{0.184}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.046}} | \textbf{0.642}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.134}} | RSF | 0.542_{{\color[rgb]{0.5,0.5,0.5}\pm 0.004}} | \textbf{0.136}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.015}} | \underline{0.590}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.019}} |
| GBSA | \underline{0.600}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.121}} | 0.210_{{\color[rgb]{0.5,0.5,0.5}\pm 0.078}} | 0.593_{{\color[rgb]{0.5,0.5,0.5}\pm 0.167}} | GBSA | 0.458_{{\color[rgb]{0.5,0.5,0.5}\pm 0.053}} | 0.138_{{\color[rgb]{0.5,0.5,0.5}\pm 0.014}} | 0.558_{{\color[rgb]{0.5,0.5,0.5}\pm 0.021}} |
| DeepSurv | 0.568_{{\color[rgb]{0.5,0.5,0.5}\pm 0.044}} | 0.206_{{\color[rgb]{0.5,0.5,0.5}\pm 0.044}} | 0.572_{{\color[rgb]{0.5,0.5,0.5}\pm 0.078}} | DeepSurv | 0.550_{{\color[rgb]{0.5,0.5,0.5}\pm 0.012}} | 0.139_{{\color[rgb]{0.5,0.5,0.5}\pm 0.013}} | 0.582_{{\color[rgb]{0.5,0.5,0.5}\pm 0.017}} |
| MLP-MTLR | 0.445_{{\color[rgb]{0.5,0.5,0.5}\pm 0.128}} | 0.217_{{\color[rgb]{0.5,0.5,0.5}\pm 0.055}} | 0.473_{{\color[rgb]{0.5,0.5,0.5}\pm 0.071}} | MLP-MTLR | 0.537_{{\color[rgb]{0.5,0.5,0.5}\pm 0.031}} | 0.146_{{\color[rgb]{0.5,0.5,0.5}\pm 0.023}} | 0.570_{{\color[rgb]{0.5,0.5,0.5}\pm 0.034}} |
| Dataset | Model | IBS (1) | AUC (1) | IBS (2) | AUC (2) | ||
|---|---|---|---|---|---|---|---|
| Fram-CR | Cox PH | \textbf{0.744}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.009}} | 0.177_{{\color[rgb]{0.5,0.5,0.5}\pm 0.007}} | \underline{0.639}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.017}} | \textbf{0.713}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.020}} | 0.146_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | 0.592_{{\color[rgb]{0.5,0.5,0.5}\pm 0.042}} |
| SurvBoost | 0.730_{{\color[rgb]{0.5,0.5,0.5}\pm 0.004}} | 0.180_{{\color[rgb]{0.5,0.5,0.5}\pm 0.007}} | 0.623_{{\color[rgb]{0.5,0.5,0.5}\pm 0.025}} | 0.701_{{\color[rgb]{0.5,0.5,0.5}\pm 0.018}} | 0.146_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | 0.591_{{\color[rgb]{0.5,0.5,0.5}\pm 0.046}} | |
| DeepSurv | 0.691_{{\color[rgb]{0.5,0.5,0.5}\pm 0.057}} | 0.185_{{\color[rgb]{0.5,0.5,0.5}\pm 0.010}} | 0.606_{{\color[rgb]{0.5,0.5,0.5}\pm 0.030}} | 0.568_{{\color[rgb]{0.5,0.5,0.5}\pm 0.138}} | 0.159_{{\color[rgb]{0.5,0.5,0.5}\pm 0.010}} | 0.546_{{\color[rgb]{0.5,0.5,0.5}\pm 0.068}} | |
| MLP-DH | 0.718_{{\color[rgb]{0.5,0.5,0.5}\pm 0.012}} | 0.188_{{\color[rgb]{0.5,0.5,0.5}\pm 0.008}} | 0.621_{{\color[rgb]{0.5,0.5,0.5}\pm 0.010}} | 0.673_{{\color[rgb]{0.5,0.5,0.5}\pm 0.019}} | 0.152_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | \textbf{0.597}_{{\color[rgb]{0.5,0.5,0.5}\pm 0.040}} | |
| DySurv | 0.720_{{\color[rgb]{0.5,0.5,0.5}\pm 0.010}} | 0.175_{{\color[rgb]{0.5,0.5,0.5}\pm 0.011}} | 0.608_{{\color[rgb]{0.5,0.5,0.5}\pm 0.026}} | 0.679_{{\color[rgb]{0.5,0.5,0.5}\pm 0.029}} | 0.147_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | 0.537_{{\color[rgb]{0.5,0.5,0.5}\pm 0.050}} | |
| SurvTrace | 0.728_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | 0.176_{{\color[rgb]{0.5,0.5,0.5}\pm 0.010}} | 0.615_{{\color[rgb]{0.5,0.5,0.5}\pm 0.017}} | 0.702_{{\color[rgb]{0.5,0.5,0.5}\pm 0.027}} | 0.144_{{\color[rgb]{0.5,0.5,0.5}\pm 0.005}} | 0.569_{{\color[rgb]{0.5,0.5,0.5}\pm 0.045}} |
Event Time Prediction
Event time prediction estimates when future events will occur from event histories, time series, and contextual information.
See all 44 papersSurvPFN: Towards Foundation Models for Survival Predictions
SurvPFN, a prior-data fitted network (PFN), for survival prediction tasks. We pretrain SurvPFN on millions of synthetic survival prediction tasks to learn survival via distributional regression that accounts for censored data. SurvPFN works by (1) generating data with Weibull event times and a non-informative censoring mechanism; (2) integrating a censored event indicator; and (3) minimizing a censored negative log-likelihood. On SurvSet, a collection of real-world survival tasks, SurvPFN is highly competitive with classical and deep survival baselines without per-dataset fitting, a survival-specific architecture, or feature engineering. We show that survival can be treated as a continuous-time distributional regression problem with censored loss, unlocking the power of PFNs for time-to-event predictions.