A real-time machine learning framework for improved intraoperative risk predictions in cardiac surgery patients.
Daoyi Zhu, Bing Xue, Chenyang Lu, Joanna Abraham
Department of Computer Science & Engineering, Washington University in St. Louis, St. Louis, MO 63130, United States. · AI for Health Institute, Washington University in St. Louis, St. Louis, MO 63130, United States.
Key points
From the paper's conclusion- TE-Transformer used routinely collected perioperative data to generate continuously updated risk estimates for multiple postoperative complications and achieved better predictive performance than conventional models. These findings support further evaluation of real-time, multimodal prediction frameworks for intraoperative decision support. This approach highlights the potential of transformer-based, multitask prediction as a foundation for future intraoperative decision support in cardiac surgery.
Abstract
BACKGROUND AND OBJECTIVE: Cardiac surgeries are associated with a range of serious postoperative complications, and current predictive models often rely on static summaries of preoperative and intraoperative data compiled after the case. Such development limits their utility in real-time clinical settings. To address this challenge, we developed TE-Transformer, an end-to-end deep learning framework that continuously ingests heterogeneous electronic health record (EHR) data-including preoperative variables, high-frequency vital signs, medication administration records, and brief surgical notes texts-to provide real-time, multitask predictions of multiple postoperative complications. METHODS: A retrospective cohort of 6416 patients undergoing cardiac surgery was used to develop and evaluate TE-Transformer. The architecture reduced reliance on manually engineered temporal summary features by encoding irregular intraoperative observations as event-level representations. Continuous risk estimates were updated at 30-minute intervals, enabling a dynamic perspective on patient status. Performance was benchmarked against traditional machine learning models (eg, XGBoost, Random Forest) and deep learning comparators (LSTM, GRU, CNN) frequently used in sequential modelling. RESULTS: We analyzed 6416 cardiac surgeries (61% male; median [IQR] age 62 [53-70]). Across classification tasks, TE-Transformer achieved AUROC (area under the receiver operating characteristic curve)/AUPRC (area under the precision-recall curve) of 0.8461/0.3994 (mortality), 0.8837/0.8033 (delirium), and 0.7956/0.6666 (acute kidney injury). For continuous endpoints, mean absolute error (MAE) was 0.0633 (low SBP [systolic blood pressure] time), 0.0920 (N glucose high), 0.0020 (N glucose low), and 0.9781 (postoperative ventilation duration). Ablation study showed the full multimodal model improved performance over the preoperative-only baseline, most notably for 30-day mortality AUROC (+0.049), postoperative delirium AUPRC (+0.059), and postoperative ventilation MAE (-0.082), with intraoperative flowsheet events contributing the largest single increment. CONCLUSION: TE-Transformer used routinely collected perioperative data to generate continuously updated risk estimates for multiple postoperative complications and achieved better predictive performance than conventional models. These findings support further evaluation of real-time, multimodal prediction frameworks for intraoperative decision support. This approach highlights the potential of transformer-based, multitask prediction as a foundation for future intraoperative decision support in cardiac surgery.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Real-Time Dynamic Prediction of Mortality and Renal Replacement Therapy After Cardiac Surgery Using a Time-Series Deep Learning Model.The Journal of thoracic and cardiovascular surgery · 2026
- Application of deep learning models integrating attention mechanisms in operating room nursing quality and postoperative risk assessment for tumors.Frontiers in oncology · 2026
- STREAM: Sequential Transformer for Risk Estimation from Asynchronous Medical Events for Dynamic Postoperative AKI PredictionmedRxiv · 2026
- PORT: Generative EHR Pretraining for Pediatric Intraoperative Risk Prediction.Research square · 2026
- Development and Validation of a Mixture-of-Experts-Based Model for Postoperative In-Hospital Mortality Risk Assessment: Multicenter Retrospective Study.Journal of medical Internet research · 2026
- Adaptive Temporal Latent Architecture using Structured Electronic Health Records: A Temporal Physiologic-State Centric Foundation Model.Research square · 2026