# Utilizing prior-data-fitted networks and in-context learning: a transformer-based tabular foundation model for predicting symptomatic intracranial hemorrhage after successful recanalization

**Authors:** Zheng Li, Jiayue Zhang, Chengbing Wang, Hui Wang, Penglun Sun, Fenglin Chen, Xiaohua Shi, Zhongxin Xu

PMC · DOI: 10.3389/fneur.2025.1698741 · Frontiers in Neurology · 2026-01-12

## TL;DR

This paper introduces a transformer-based model to predict symptomatic intracranial hemorrhage after stroke treatment, showing better accuracy than existing methods.

## Contribution

A novel transformer-based model (TabPFN) is developed for predicting sICH after stroke treatment, outperforming traditional risk scores.

## Key findings

- TabPFN achieved an AUC of 0.948 in internal validation, outperforming existing scores like ASIAN and TAG.
- In external validation, TabPFN showed the highest AUC (0.955) and best F1 score and precision.
- The model enables real-time risk stratification for antithrombotic therapy and blood pressure management.

## Abstract

Symptomatic intracranial hemorrhage (sICH) is a serious complication after endovascular thrombectomy (EVT) and is strongly associated with poor outcomes in acute ischemic stroke. Existing risk scores show limited predictive accuracy. This study aims to develop and externally validate a transformer-based model for predicting sICH following successful recanalization in anterior circulation large vessel occlusion.

A total of 661 EVT-treated patients were retrospectively analyzed as the derivation cohort, and 261 patients from another tertiary center were included as the external test cohort. A tabular prior-data-fitted network (TabPFN), a transformer-based foundation model, was constructed using angiographic biomarkers (basal ganglia blush, early venous filling), baseline ASPECT score, fasting blood glucose, collateral status, and the number of retriever passes. Logistic regression and XGBoost were also developed. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC), precision, recall, and F1 score, and subsequently compared with established scores (ASIAN, TAG, IER-sICH).

In internal validation, TabPFN achieved an AUC of 0.948, comparable to XGBoost (0.953) and logistic regression (0.944), but superior to ASIAN (0.786), IER-sICH (0.687), and TAG (0.670). In external validation, TabPFN demonstrated the highest AUC (0.955), significantly outperforming existing scores (all p < 0.05), and exhibited the best F1 score and precision across cohorts.

The TabPFN model effectively predicts the risk of sICH in Chinese stroke cohorts, enabling real-time risk stratification for antithrombotic therapy and postoperative blood pressure management.

## Full-text entities

- **Diseases:** intracranial hemorrhage (MESH:D020300), large vessel occlusion (MESH:C536223), basal ganglia blush (MESH:D001480), ischemic stroke (MESH:D002544), stroke (MESH:D020521)
- **Chemicals:** glucose (MESH:D005947)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12833563/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12833563/full.md

## References

21 references — full list in the complete paper: https://tomesphere.com/paper/PMC12833563/full.md

---
Source: https://tomesphere.com/paper/PMC12833563