Neural network-based prediction of atrial fibrillation at discharge following cardiac surgery.
Spela Leiler, Wolfgang Hitzl, Andre Bauer, Valentin Guenzler, Theodor Fischlein, Tomas Holubec, Jurij Matija Kalisnik
Department of Cardiac Surgery, Klinikum Nuernberg, Paracelsus Medical University, Nuremberg, Germany. · Department of Ophthalmology and Optometry, Paracelsus Medical University, Salzburg, Austria.
Key points
From the paper's conclusion- A machine learning model integrating perioperative electrocardiographic and clinical variables demonstrated robust performance in predicting the absence of atrial fibrillation at discharge, accurately identifying more than two thirds of patients. For the remaining patients, management continued to rely on clinical judgment. This approach offers a valuable tool for improved risk stratification and may facilitate the implementation of more targeted prophylactic strategies following cardiac surgery.
Abstract
BACKGROUND: Postoperative atrial fibrillation is a common complication after cardiac surgery, associated with both short- and long-term adverse effects. Persistent forms of postoperative atrial fibrillation lasting until hospital discharge are less frequent but clinically significant. Despite its impact, reliable prediction remains challenging. This study aimed to develop and evaluate machine learning models that integrate electrocardiographic and clinical variables to predict atrial fibrillation at discharge. METHODS: In this retrospective single-center study, 1,905 patients undergoing cardiac surgery were analyzed. Perioperative 12-lead electrocardiographic parameters and clinical variables were preselected using univariable logistic regression (p < 0.1). Various machine learning models, including neural networks, support vector machines, k-nearest neighbors' random forests, and Bayesian classifiers were trained, using 10-fold cross-validation and subsequently evaluated on an independent test set. A genetic algorithm was applied for variable selection, and a reject option was implemented to withhold uncertain predictions. RESULTS: Of 1,905 patients 2.2% were discharged in atrial fibrillation. The final neural network model yielded a 69.9% coverage rate, with 99.2% of all predictions being correct (95% CI: 98.6-99.6). Key predictors included age, CHADS2-VASc score, left ventricular ejection fraction, EuroSCORE II, cardiopulmonary bypass time, prior cardiogenic shock, perioperative atrioventricular block, and mitral valve surgery. CONCLUSION: A machine learning model integrating perioperative electrocardiographic and clinical variables demonstrated robust performance in predicting the absence of atrial fibrillation at discharge, accurately identifying more than two thirds of patients. For the remaining patients, management continued to rely on clinical judgment. This approach offers a valuable tool for improved risk stratification and may facilitate the implementation of more targeted prophylactic strategies following cardiac surgery.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Artificial Intelligence–Based Electrocardiogram Model as a Predictor of Postoperative Atrial Fibrillation Following Cardiac Surgery: Retrospective Cohort StudyJournal of Medical Internet Research · 2025
- Development and validation of an interpretable machine learning model for early prediction of postoperative atrial fibrillation following on-pump cardiac surgery.Frontiers in surgery · 2026
- Prediction of incident atrial fibrillation from a 10-second single-lead ECG using a neural networkEuropean Heart Journal · 2026
- Development and validation of a machine learning prediction model for postoperative arrhythmia after left atrial appendage occlusion.Medicine · 2026
- Development and multicenter validation of a machine learning model for predicting in-hospital postoperative cardiac arrest in elderly surgical patients: the critical role of intraoperative hemodynamic disturbances and blood transfusion.Frontiers in medicine · 2026
- Development and external validation of a pre-operative prediction model for new-onset atrial fibrillation after coronary artery bypass graftingEuropean Heart Journal · 2026