Large Language Model-informed ECG Dual Attention Network for Heart Failure Risk Prediction
- PMID: 40524840
- PMCID: PMC7617765
- DOI: 10.1109/TBDATA.2025.3536922
Large Language Model-informed ECG Dual Attention Network for Heart Failure Risk Prediction
Abstract
Heart failure (HF) poses a significant public health challenge, with a rising global mortality rate. Early detection and prevention of HF could significantly reduce its impact. We introduce a novel methodology for predicting HF risk using 12-lead electrocardiograms (ECGs). We present a novel, lightweight dual attention ECG network designed to capture complex ECG features essential for early HF risk prediction, despite the notable imbalance between low and high-risk groups. This network incorporates a cross-lead attention module and 12 lead-specific temporal attention modules, focusing on cross-lead interactions and each lead's local dynamics. To further alleviate model overfitting, we leverage a large language model (LLM) with a public ECG-Report dataset for pretraining on an ECG-Report alignment task. The network is then fine-tuned for HF risk prediction using two specific cohorts from the UK Biobank study, focusing on patients with hypertension (UKB-HYP) and those who have had a myocardial infarction (UKB-MI). The results reveal that LLM-informed pre-training substantially enhances HF risk prediction in these cohorts. The dual attention design not only improves interpretability but also predictive accuracy, outperforming existing competitive methods with C-index scores of 0.6349 for UKB-HYP and 0.5805 for UKB-MI. This demonstrates our method's potential in advancing HF risk assessment with clinical complex ECG data.
Keywords: Large language model; electrocardiogram; heart failure; interpretable artificial intelligence; multi-modal learning; risk prediction.
Conflict of interest statement
The authors express no conflict of interest.
Figures







Similar articles
-
Artificial Intelligence-Enabled Prediction of Heart Failure Risk From Single-Lead Electrocardiograms.JAMA Cardiol. 2025 Jun 1;10(6):574-584. doi: 10.1001/jamacardio.2025.0492. JAMA Cardiol. 2025. PMID: 40238120
-
Scalable Risk Stratification for Heart Failure Using Artificial Intelligence applied to 12-lead Electrocardiographic Images: A Multinational Study.medRxiv [Preprint]. 2024 Apr 3:2024.04.02.24305232. doi: 10.1101/2024.04.02.24305232. medRxiv. 2024. Update in: Eur Heart J. 2025 Mar 13;46(11):1044-1053. doi: 10.1093/eurheartj/ehae914. PMID: 38633808 Free PMC article. Updated. Preprint.
-
Artificial Intelligence-Enhanced Electrocardiography for Prediction of Incident Hypertension.JAMA Cardiol. 2025 Mar 1;10(3):214-223. doi: 10.1001/jamacardio.2024.4796. JAMA Cardiol. 2025. PMID: 39745684 Free PMC article.
-
Screening for Cardiovascular Disease Risk With Electrocardiography: An Evidence Review for the U.S. Preventive Services Task Force [Internet].Rockville (MD): Agency for Healthcare Research and Quality (US); 2018 Jun. Report No.: 17-05235-EF-1. Rockville (MD): Agency for Healthcare Research and Quality (US); 2018 Jun. Report No.: 17-05235-EF-1. PMID: 30212062 Free Books & Documents. Review.
-
Artificial Intelligence and Its Role in Diagnosing Heart Failure: A Narrative Review.Cureus. 2024 May 5;16(5):e59661. doi: 10.7759/cureus.59661. eCollection 2024 May. Cureus. 2024. PMID: 38836155 Free PMC article. Review.
Cited by
-
Large language models for disease diagnosis: a scoping review.NPJ Artif Intell. 2025;1(1):9. doi: 10.1038/s44387-025-00011-z. Epub 2025 Jun 9. NPJ Artif Intell. 2025. PMID: 40607112 Free PMC article. Review.
References
-
- British Heart Foundation. [Accessed on Oct, 2023];Heart failure hospital admissions rise by a third in five years. 2019
-
- Tomaselli GF, Zipes DP. What causes sudden death in heart failure? Circulation Research. 2004;95(8):754–763. - PubMed
-
- Yancy CW, et al. Clinical presentation, management, and in-hospital outcomes of patients admitted with acute decompensated heart failure with preserved systolic function: A report from the acute decompensated heart failure national registry (ADHERE) database. Journal of the American College of Cardiology. 2006;47(1):76–84. - PubMed
-
- Thompson BS, Yancy CW. Immediate vs delayed diagnosis of heart failure: Is there a difference in outcomes? results of a harris interactive® patient survey. Journal of Cardiac Failure. 2004;10(4):S125
LinkOut - more resources
Full Text Sources
Research Materials
Miscellaneous