A machine learning approach to predict postoperative sleep disturbance after total knee arthroplasty: a comparative study of multiple algorithms

Yi-xiang Zhang,Sen He,Tao Yang,Haolin Li,Chunxue Wu,Lei Wang,Xiao-quan Wang,Jun Liu

Published 2025 in Frontiers in Medicine

ABSTRACT

Background Postoperative sleep disturbance (PSD) is a common complication following total knee arthroplasty (TKA), which negatively impacts patient recovery. Despite the critical need for early detection and management, there is limited research on predictive models for early PSD, particularly those integrating machine learning (ML) techniques. Objective This study aimed to develop a predictive model for early PSD following TKA using ML algorithms, identify key predictive factors, and provide an interpretable model to guide clinical decision-making. Methods The study included 505 patients who underwent TKA. Clinical data were collected at three stages: preoperatively, intraoperatively, and postoperatively. Ten MLa models, including logistic regression, support vector machine (SVM), and XGBoost, were trained and evaluated using a test set. Performance metrics, including accuracy, sensitivity, specificity, and area under the curve (AUC), were used to evaluate the efficacy of the models. Key features influencing PSD were identified through SHapley Additive Explanations (SHAP) analysis to enhance model interpretability. Results Gradient Boosting Machine (GBM) demonstrated the highest AUC (0.906), accuracy (0.834), and sensitivity (0.879), establishing it as the optimal model for predicting PSD. Key predictors identified included age, smoking, living alone, living in the city, VAS 1 month postoperative, and anxiety 1 month postoperative. SHAP analysis revealed that postoperative VAS and age were the most influential factors in predicting PSD, with their impact varying based on individual patient data. Conclusion The study developed a robust and interpretable ML model for the early prediction of PSD following TKA. This model can aid in preoperative risk stratification, facilitating personalized management strategies to improve postoperative outcomes. Further validation in larger cohorts and diverse settings is necessary to enhance its broader clinical applicability.

PUBLICATION RECORD

CITATION MAP

EXTRACTION MAP

CLAIMS

  • No claims are published for this paper.

CONCEPTS

  • No concepts are published for this paper.

REFERENCES

Showing 1-63 of 63 references · Page 1 of 1

CITED BY

  • No citing papers are available for this paper.

Showing 0-0 of 0 citing papers · Page 1 of 1