Skip to content
Open access

Explainable artificial intelligence for postoperative analgesia risk stratification and clinical decision support in abdominal surgery

Aug 2026 · Frontiers in Digital Health · Vol 8 · 0 citations · 42 references
Medicine

TL;DR

An integrated XAI framework combining predictive modeling, calibration assessment, decision-curve evaluation, explainability analysis, and language-based interpretation for postoperative analgesia risk stratification is presented.

Abstract

Background Early identification of patients at risk of inadequate postoperative analgesia remains a major challenge in perioperative medicine. Although machine learning approaches have shown potential for clinical outcome prediction, many existing models primarily emphasize discrimination performance while insufficiently addressing reliability, interpretability, and clinical applicability. This study aimed to develop and comprehensively evaluate an explainable artificial intelligence (XAI) framework for postoperative analgesia risk stratification and clinician-oriented decision support following abdominal surgery. Methods A retrospective cohort of 202 adult patients undergoing elective abdominal surgery and receiving postoperative analgesia with oxycodone or tilidine was analyzed. After exclusion of five patients with incomplete variables required for feature construction, 197 patient-level records were included in machine learning model development. Ten supervised learning algorithms were trained using demographic characteristics, surgical factors, analgesic information, and early postoperative pain trajectory features. Model performance was evaluated through stratified five-fold cross-validation using discrimination metrics, precision-recall analysis, calibration assessment, learning-curve analysis, and decision curve analysis (DCA). Model interpretability was assessed using SHAP-based feature attribution and cross-model explanation consistency analysis. Propensity score matching (PSM) was performed to evaluate the association between analgesic selection and postoperative outcomes after adjustment for measured baseline differences. A large language model (LLM) was integrated as a post hoc interpretation layer to translate model outputs into clinician-readable explanations. Results The evaluated models demonstrated moderate-to-good predictive performance, with validation AUC values ranging from 0.707 to 0.798. Early postoperative pain trajectory variables, particularly VAS-derived features, consistently represented the strongest predictors across different algorithms. Calibration analysis revealed differences in probability reliability that were not captured by discrimination metrics alone, while DCA demonstrated potential clinical utility of the best-performing models within clinically relevant decision thresholds. SHAP-based analyses showed stable feature attribution patterns across algorithms, supporting the robustness of identified predictors. After adjustment using PSM, analgesic type remained associated with postoperative analgesia outcomes, suggesting potential differences in real-world analgesic effectiveness while acknowledging the observational study design. Conclusions This study presents an integrated XAI framework combining predictive modeling, calibration assessment, decision-curve evaluation, explainability analysis, and language-based interpretation for postoperative analgesia risk stratification. The results highlight the importance of evaluating both predictive accuracy and clinical reliability when developing AI-assisted decision-support systems. Further multicenter prospective studies incorporating larger datasets and real-time clinical variables are required to validate model generalizability and evaluate implementation in perioperative care.

Read PDF

Similar papers

Open access Sep 2026

Machine learning-based risk prediction model for postoperative abdominal distension after spinal surgery under general anesthesia

The models showed moderate internal discrimination but materially different sensitivity–specificity trade-offs and TreeSHAP consistently identified PCA and drainage tube placement as leading random-forest predictors, while TreeSHAP additionally showed the direction and patient-specific magnitude of each contribution.

Chan-Li Wu, Li-Juan Xie, Shi-Hao Zhou et al. · 0 citations
Open access Sep 2026

Early Prediction of Postoperative Urinary Retention After General Anesthesia Using Explainable Machine Learning

Purpose Postoperative urinary retention (POUR) is a common and clinically important perioperative complication associated with pharmacological effects and autonomic dysfunction, which may lead to increased patient discomfort and delayed recovery. Its multifactorial etiology makes early clinical identification challengi...

Hsiao-Cheng Chang, Li-Yun Chen, Yu-Shiang Lin · 0 citations
Review Open access Aug 2026

Artificial intelligence for predicting perioperative anaesthetic complications and supporting clinical decision-making: a scoping review.

Perioperative anaesthetic complications are a major public health concern, as they are associated with increased mortality, prolonged hospital stay, higher healthcare costs, and compromised patient safety. Despite advances in perioperative monitoring and risk stratification, early and personalised identification of pat...

Gabriela Salcedo Garrido, Nicole Tovar Acosta, Juan Alejandro Urueña Ramírez et al. · 1 citation
Open access Sep 2026

Explainable Gradient Boosting Machine Learning for Predicting Early Functional Recovery and Hospital Discharge After Hip and Knee Arthroplasty

Findings indicate that gradient boosting models based on routinely collected clinical variables can provide interpretable and clinically useful predictions to support individualized rehabilitation planning and discharge management after lower-limb arthroplasty.

M. Morri, Monica Guberti, L. Verzellesi et al. · 0 citations
Open access Aug 2026

A machine learning model for automated anesthesia risk classification in lumbar spinal stenosis patients: development and multicenter validation

The machine learning model developed in this study demonstrates strong capability in stratifying anesthetic risk for patients with lumbar spinal stenosis, providing valuable reference for selecting surgical and anesthetic approaches.

Ji-Tao Yang, Yi-Xi Wang, Qi-Hao Chen et al. · 0 citations
Open access Sep 2026

Preoperative risk stratification for postoperative inflammatory–nutritional deterioration after colorectal cancer surgery: an interpretable machine learning study

Postoperative inflammatory–nutritional deterioration may adversely affect recovery after colorectal cancer surgery. This study aimed to develop and internally validate an interpretable machine learning model for preoperative prediction of postoperative modified Glasgow Prognostic Score (mGPS) = 2. This singl...

Yin-Chao Zhang, Ying-Kun Hu, Xin-Ke Cao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.