Empowering atrial fibrillation detection with TabPFN and SHAP interpretation based on ECG-derived features: a dual-center temporal validation study

Atrial fibrillation (AF) remains a leading driver of stroke and heart failure, yet timely diagnosis is frequently hindered by its asymptomatic nature and the limitations of current screening methods. This study aimed to develop and validate a highly accurate, interpretable, and scalable machine learning (ML) framework-TabPFN-for AF detection using standard 12-lead electrocardiogram (ECG)-derived features. To this end, we conducted a dual-center temporal validation study utilizing 248,324 ECG records across three distinct datasets: an internal cohort (n = 220,327), an external validation cohort (n = 6,181), and a temporal validation cohort (n = 21,816). The TabPFN model was trained on 12 clinical ECG features, such as PR interval, Paxis, and QTc, and compared against eight other ML architectures, including ensemble learning and neural networks. Model interpretability was established using SHAP (SHapley Additive exPlanations) to quantify feature contributions, and the framework was deployed via a web-based clinical interface. Results indicated that the TabPFN model demonstrated superior diagnostic efficacy, achieving an area under the receiver operating characteristic curve (AUROC) of 0.9711 in the internal cohort, 0.9797 in the external cohort, and 0.9766 in the temporal validation cohort. It outperformed traditional logistic regression (AUC 0.8687) and maintained a remarkably low Brier score (0.0474), indicating excellent calibration. Furthermore, SHAP analysis identified the PR interval and Paxis as the primary diagnostic drivers, revealing non-linear associations and physiological "inflection points" for AF presence, while decision curve analysis confirmed a high net benefit for clinical screening across all cohorts. In conclusion, by leveraging a Prior-Data Fitted approach (TabPFN) on standardized ECG features, we established a robust framework that matches the performance of complex deep-learning models while maintaining high interpretability and computational efficiency. This scalable tool, accessible via a web-based platform, bridges the gap between "black-box" AI and clinical practice, offering a practical solution for population-wide AF screening and the reduction of cardiovascular morbidity.

Authors

Institutions

Publication Details

Journal
BMC Cardiovascular Disorders
Published
2026-04-30
DOI
https://doi.org/10.1186/s12872-026-05936-0
Primary Topic
Atrial Fibrillation Management and Outcomes
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Empowering atrial fibrillation detection with TabPFN and SHAP interpretation based on ECG-derived features: a dual-center temporal validation study

Y-N Zhou, HF Xu, Zihan Wang, Mingming Chen et al.
BMC Cardiovascular Disorders
Atrial Fibrillation Management and Outcomes
article

Empowering atrial fibrillation detection with TabPFN and SHAP interpretation based on ECG-derived features: a dual-center temporal validation study

Y-N Zhou, HF Xu, Zihan Wang, Mingming Chen, Tenglong Li, Min Hu, Xiaojue Fan
article en

Abstract

Atrial fibrillation (AF) remains a leading driver of stroke and heart failure, yet timely diagnosis is frequently hindered by its asymptomatic nature and the limitations of current screening methods. This study aimed to develop and validate a highly accurate, interpretable, and scalable machine learning (ML) framework-TabPFN-for AF detection using standard 12-lead electrocardiogram (ECG)-derived features. To this end, we conducted a dual-center temporal validation study utilizing 248,324 ECG records across three distinct datasets: an internal cohort (n = 220,327), an external validation cohort (n = 6,181), and a temporal validation cohort (n = 21,816). The TabPFN model was trained on 12 clinical ECG features, such as PR interval, Paxis, and QTc, and compared against eight other ML architectures, including ensemble learning and neural networks. Model interpretability was established using SHAP (SHapley Additive exPlanations) to quantify feature contributions, and the framework was deployed via a web-based clinical interface. Results indicated that the TabPFN model demonstrated superior diagnostic efficacy, achieving an area under the receiver operating characteristic curve (AUROC) of 0.9711 in the internal cohort, 0.9797 in the external cohort, and 0.9766 in the temporal validation cohort. It outperformed traditional logistic regression (AUC 0.8687) and maintained a remarkably low Brier score (0.0474), indicating excellent calibration. Furthermore, SHAP analysis identified the PR interval and Paxis as the primary diagnostic drivers, revealing non-linear associations and physiological "inflection points" for AF presence, while decision curve analysis confirmed a high net benefit for clinical screening across all cohorts. In conclusion, by leveraging a Prior-Data Fitted approach (TabPFN) on standardized ECG features, we established a robust framework that matches the performance of complex deep-learning models while maintaining high interpretability and computational efficiency. This scalable tool, accessible via a web-based platform, bridges the gap between "black-box" AI and clinical practice, offering a practical solution for population-wide AF screening and the reduction of cardiovascular morbidity.

BMC Cardiovascular Disorders
University of Liverpool (GB), Soochow University (CN), Second Affiliated Hospital of Soochow University (CN), Suzhou Traditional Chinese Medicine Hospital (CN), Xi’an Jiaotong-Liverpool University (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 11%
Atrial Fibrillation Management and Outcomes
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.