Multimodal Transformer–Based Electrocardiogram Analysis for Cardiovascular Comorbidity Detection: Model Development and Validation Study
Zi Yang, Xiaojuan Wang, Jianlin Wang, Qi Guang, Xueqian Ding, Hao Liu, Yunpeng Xu, Jing Zhao,
First Hospital of Lanzhou University
Key points
From the paper's conclusion- To address these challenges, we propose the Cardiovascular Multimodal Prediction Network (CaMPNet), a Transformer-based multimodal architecture that integrates raw 12-lead ECG waveforms, nine structured machine-measured the electrocardiogram (ECG) features, and demographic data (age and sex) through cross-attention fusion.
Abstract
BACKGROUND: Cardiovascular diseases (CVDs) remain the leading global cause of mortality, yet traditional electrocardiogram (ECG) interpretation suffers from subjective variability and limited sensitivity to complex pathologies. OBJECTIVE: To address these challenges, we propose the Cardiovascular Multimodal Prediction Network (CaMPNet), a Transformer-based multimodal architecture that integrates raw 12-lead ECG waveforms, nine structured machine-measured the electrocardiogram (ECG) features, and demographic data (age and sex) through cross-attention fusion. METHODS: The model was trained on 384,877 records from the MIMIC-IV-ECG database and evaluated across 12 cardiovascular disease labels. To further assess temporal robustness, a temporal external validation was performed using the most recent 10% of the data, withheld chronologically from model development. RESULTS: On the internal test set, the model achieved a mean Area Under the Curve (AUC) of 0.845 and Area Under the Precision-Recall Curve (AUPRC) of 0.489, outperforming the ResNet-ECG baseline (AUC 0.848 but F1 0.152) and all single-modality variants. Subgroup analyses demonstrated consistent performance across demographics (male AUC 0.846 vs female 0.843; youngest quartile 0.884 vs oldest 0.811). CaMPNet retained moderate discriminative ability in temporal external validation with a mean AUC of 0.715 and AUPRC of 0.298, though performance declined due to temporal distribution shifts. Despite this, major disease categories such as atrial fibrillation, heart failure, and normal rhythm maintained high AUCs (> 0.84). Attention-based visualization revealed clinically interpretable patterns (e.g., ST-segment elevations in ST-Segment Elevation Myocardial Infarction), and ablation experiments verified the model's tolerance to missing structured inputs. CONCLUSIONS: CaMPNet demonstrates robust and interpretable multimodal ECG-based diagnosis, offering a scalable framework for comorbidity screening and continual learning under real-world temporal dynamics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- External validation, robustness, and clinical error profiling of a multimodal electrocardiogram model for structural heart disease reveals a dominant shared prediction componentEuropean Heart Journal · 2026
- MultiCardioFusionNet: A multimodal fusion model for predicting coronary heart disease integrating time-domain, frequency-domain, and clinical information.Computational biology and chemistry · 2026
- AI-Assisted Multilabel Diagnosis of 12-Lead Electrocardiograms Using an Interpretable Stacked Deep Learning Model with External Validation.Diagnostics (Basel, Switzerland) · 2026
- Multi-modal neural network for ECG signal classification in coronary artery disease using gramian angular fieldFrontiers in Cardiovascular Medicine · 2026
- Multimodal Integration of Ambulatory ECG and Clinical Features for Sudden Cardiac Death and Pump Failure Death PredictionmedRxiv · 2026
- A Deformable Lead-Attention Fusion Network for Multi-Label ECG Classification Integrating Clinical Metadata.Biomedical physics & engineering express · 2026