Related Experiment Video
Updated: May 8, 2026

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Predicting postoperative atrial fibrillation after cardiac surgery using machine learning
Youn Joung Cho1, Jang Ho Ahn2, Jin-Woo Park3
1Department of Anesthesiology and Pain Medicine, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Republic of Korea; Department of Anesthesiology and Pain Medicine, Seoul National University College of Medicine, Seoul, Republic of Korea.
Background:
Postoperative atrial fibrillation (POAF) is a frequent complication after cardiac surgery that is associated with increased morbidity. However, existing risk scores have limited accuracy, highlighting the need for more effective prediction models. In this study, we developed and validated a machine-learning (ML) model predicting new-onset POAF following cardiac surgery using various perioperative variables.
Methods:
A total of 6859 adult patients who underwent cardiac surgery at Seoul National University Hospital (SNUH) or Seoul National University Bundang Hospital (SNUBH) between October 2004 and October 2021 were included. Top 20 perioperative variables were input to develop a prediction model based on extreme gradient boosting. The final model was internally validated using 516 patients from the SNUH test set and externally validated in 1701 patients from the SNUBH cohort. The areas under the receiver operating characteristic curve (AUROC) and precision recall curve (AUPRC), and 95% confidence intervals (CIs) were evaluated to assess model performance.
Results:
The incidence of new-onset POAF after cardiac surgery was 37.2%. The AUROC and AUPRC were 0.891 (95% CI, 0.859-0.920) and 0.861 (95% CI, 0.819-0.898), respectively, for internal validation and 0.726 (95% CI, 0.700-0.751) and 0.646 (95% CI, 0.607-0.684) for external validation. The negative predictive values were 0.867 and 0.773 for internal and external validation, respectively, supporting the model's utility in identifying low-risk patients.
Conclusions:
A ML model developed with perioperative data demonstrated strong performance in predicting new-onset POAF after cardiac surgery. This approach may enable risk-stratified postoperative monitoring while providing the basis for improved perioperative decision-making.
