The CNN-Transformer-WOA model achieved an accuracy of 92.4% and an AUC-ROC of 0.96 for predicting arrhythmia in acute myocardial infarction patients, significantly outperforming baseline models.
Cohort (n=2,084)
No
Does a hybrid CNN-Transformer-WOA model improve arrhythmia risk prediction in patients with acute myocardial infarction?
2,084 patients with acute myocardial infarction (AMI) from a single hospital in northern China, excluding those with incomplete data records and prior arrhythmias.
Hybrid CNN-Transformer-WOA deep learning model with XGBoost-SHAP feature selection
Traditional machine learning and deep learning baseline models
Arrhythmia prediction performance measured by accuracy, AUC-ROC, F1-score, MCC, and G-Mean
A hybrid CNN-Transformer-WOA model with XGBoost-SHAP feature selection provides highly accurate and interpretable arrhythmia risk prediction for patients with acute myocardial infarction.
p-value: p=<0.01
BACKGROUND: Arrhythmia is a frequent and serious complication of acute myocardial infarction (AMI), leading to higher mortality. Early prediction is critical for timely intervention, but existing methods are limited by poor accuracy and low clinical applicability. METHODS: We developed a novel hybrid model integrating convolutional neural network (CNN), Transformer, and Whale Optimization Algorithm (WOA) for arrhythmia prediction in AMI patients. A two-stage feature selection using XGBoost and SHAP identified the top 10 clinical predictors from 45 variables. The model was trained and validated using stratified 10-fold cross-validation on a retrospective cohort of 2,084 patients. Performance was compared with traditional machine learning and deep learning baselines using accuracy, AUC-ROC, F1-score, MCC, and G-Mean. RESULTS: The CNN-Transformer-WOA model achieved an accuracy of 92.4%, an AUC-ROC of 0.96, and an F1-score of 0.91, outperforming all baseline models (p < 0.01). Ablation studies showed that combining CNN and Transformer improved predictive power and that WOA-based hyperparameter tuning further enhanced robustness. The model maintained stable performance across subgroups and demonstrated low inference latency (<8 ms per case). SHAP-based analysis provided interpretable clinical insights. CONCLUSION: This study presents an accurate, interpretable, and robust deep learning solution for arrhythmia prediction in AMI patients. The framework enables real-time, evidence-based risk stratification, and is suitable for integration into clinical decision support systems, offering practical value for improving patient care in real-world hospital environments. CLINICAL TRIAL NUMBER: (No.: ChiCTR2100041960).
Building similarity graph...
Analyzing shared references across papers
Loading...
Li Li
Hebei Medical University
Wenjun Ren
Fujian Medical University
Yuying Lei
Hebei General Hospital
BMC Medical Informatics and Decision Making
Hebei General Hospital
Building similarity graph...
Analyzing shared references across papers
Loading...
Li et al. (Wed,) conducted a cohort in Acute myocardial infarction (n=2,084). CNN-Transformer-WOA model vs. Traditional machine learning and deep learning baseline models was evaluated on Arrhythmia prediction accuracy (95% CI 90.8-94.0, p=<0.01). The CNN-Transformer-WOA model achieved an accuracy of 92.4% and an AUC-ROC of 0.96 for predicting arrhythmia in acute myocardial infarction patients, significantly outperforming baseline models.
synapsesocial.com/papers/6a155098b2e0231f158246b2 — DOI: https://doi.org/10.1186/s12911-025-03127-z