Transformer-Based Survival Model for Cardiovascular Risk Prediction from Longitudinal Health Checkup Data
Tsurimoto, S.; Nomura, A.; Nagata, Y.; Noguchi, M.; Hirai, T.; Takeji, Y.; Tada, H.; Sakata, K.; Soichiro, U.; Okada, S.; Takamura, M.
Show abstract
Background: Cardiovascular disease (CVD) is a leading global health concern. Traditional models often miss nonlinear dependencies among physiological and behavioral factors. We hypothesized that a Transformer-based deep learning model, which excels at capturing complex patterns in structured data trained on large-scale health check-up records, would improve long-term CVD risk prediction. Methods: We analyzed longitudinal health records (2010?2024) from the Hokuriku Health Service Association (n = 100,056 without baseline CVD; development cohort). Incident CVD was defined as the first self-reported physician diagnosis of heart disease or stroke during the 10-year follow-up and was modeled as right-censored survival data. An external evaluation cohort comprised 79,756 Kanazawa City participants with health records. A Transformer model was trained using anthropometric, laboratory, and self-reported lifestyle data. Benchmarks included Cox regression, XGBoost survival embeddings, multilayer perceptron, the Framingham Risk Score, and the Hisayama Risk Score. Performance was evaluated using time-dependent area under the receiver operating characteristic curve (ROC-AUC) with a primary focus on the 10-year ROC-AUC, precision?recall AUC (PR-AUC), and concordance index (C-index). Interpretability was assessed through SHapley Additive exPlanations (SHAP) and a Feature-level Attention Network (FAN), visualizing the top 12 SHAP-ranked features to highlight key interactions. Results: In the development cohort, 4,113 CVD events (4.1%) occurred. The Transformer model achieved the best internal performance: 10-year ROC-AUC 0.821 (95% confidence interval [CI], 0.816?0.826), PR-AUC 0.427 (CI, 0.419?0.435), and C-index 0.781 (CI, 0.775?0.787). Performance remained robust externally (21,179 CVD events, 26.6%): ROC-AUC, 0.762; PR-AUC, 0.500; and C-index, 0.744. Regarding interpretability, SHAP identified age, electrocardiogram abnormality, antihypertensive medication, and sex as the most critical predictors. Notably, FAN elucidated the prognostic value of self-reported lifestyle factors. For example, daily exercise and weight gain modulated the model?s assessment of age-related risk. Within the attention network, age served as a central hub, linking these behavioral habits with physiological features. Conclusion: The Transformer-based model outperformed conventional methods in predicting long-term CVD risk. Model interpretation demonstrated the predictive utility of self-reported lifestyle factors, such as weight gain and daily exercise. These findings may support personalized CVD prevention and population-level risk stratification using routinely collected health checkup data.
Matching journals
The top 6 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Identification of Digital Twins to Guide Interpretable AI for Diagnosis and Prognosis in Heart Failure 91%
- Cohort Design and Natural Language Processing to Reduce Bias in Electronic Health Records Research: The Community Care Cohort Project 91%
- Continuous-Time and Dynamic Suicide Attempt Risk Prediction with Neural Ordinary Differential Equations 91%
Similar papers in this journal
- Development and validation of a risk prediction algorithm for high-risk populations combining genetic and conventional risk factors of cardiovascular disease 93%
- Artificial Intelligence Methods to Detect Heart Failure with Preserved Ejection Fraction (AIM-HFpEF) within Electronic Health Records: An equitable disease prediction model 91%
- Lipoprotein(a) and cardiovascular disease: prediction, attributable risk fraction and estimating benefits from novel interventions 90%
Similar papers in this journal
- Advancing Cardiovascular Disease Diagnosis: A Robust ML Ecosystem Integrating Early Detection, Responsible AI Framework, and Causal Inference 95%
- Can machine learning improve risk prediction of incident hypertension? An internal method comparison and external validation of the Framingham risk model using HUNT Study data 94%
- Nationwide prediction of type 2 diabetes comorbidities 93%
Similar papers in this journal
- Walking pace optimizes conventional cardiovascular disease risk prediction models among vulnerable subpopulations: a prospective cohort study 93%
- Epigenomic prediction of cardiovascular disease risk and interactions with traditional risk metrics 92%
- Olfactory impairment and the risk of major adverse cardiovascular outcomes in older adults 91%
Similar papers in this journal
- Actionable absolute risk prediction of atherosclerotic cardiovascular disease: a behavior-management approach based on data from 464,547 UK Biobank participants 94%
- Enhanced machine learning and hybrid ensemble approaches for coronary heart disease prediction 94%
- Integrating feature importance techniques and causal inference to enhance early detection of heart disease 93%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.