{"title":"Machine Learning–Based prediction of complications and residual pain after total knee arthroplasty","authors":"Dirk Müller , Amna Gillani , Florian Hinterwimmer , Anabel Arber , Heiko Graichen , Rüdiger von Eisenhart-Rothe , Igor Lazic","doi":"10.1016/j.jor.2025.08.038","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Accurate risk adjustment is critical for outcome prediction and quality improvement in total knee arthroplasty (TKA). While machine learning (ML) offers promising capabilities, most models rely solely on patient demographics and comorbidities. The American Association of Hip and Knee Surgeons (AAHKS) has proposed a set of nine risk factors to enhance current models. This study aimed to evaluate these factors using a machine learning model based on eXtreme Gradient Boosting (XGBoost).</div></div><div><h3>Methods</h3><div>We retrospectively analyzed 783 patients who underwent primary TKA at a single academic center between January 2020 and December 2022. Preoperative clinical data and AAHKS-defined risk factors were used to train and evaluate an XGBoost model. The primary outcome measures were: (1) major complications requiring revision, (2) any complication (major or minor), and (3) residual pain at one year (Visual Analog Scale ≥4). Model performance was assessed using area under the curve (AUC), sensitivity, specificity, and accuracy. Feature importance was determined using SHapley Additive exPlanations (SHAP).</div></div><div><h3>Results</h3><div>The model achieved moderate predictive accuracy for major complications (AUC = 0.68) and any complication (AUC = 0.65), but performed poorly in predicting residual pain (AUC = 0.53). Among AAHKS-defined risk factors, only “smoking” and “previous open reduction and internal fixation (ORIF) of the knee” showed high predictive value. Other proposed variables, such as angular deformity >15°, had limited impact.</div></div><div><h3>Conclusion</h3><div>An XGBoost-based ML model incorporating AAHKS-defined risk factors showed moderate effectiveness in predicting postoperative complications following TKA. However, the model was unable to reliably predict residual pain. These findings underscore the need for broader inclusion of joint-specific variables and imaging data in future risk adjustment frameworks to enhance personalized care in knee arthroplasty.</div></div>","PeriodicalId":16633,"journal":{"name":"Journal of orthopaedics","volume":"71 ","pages":"Pages 60-66"},"PeriodicalIF":1.5000,"publicationDate":"2025-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of orthopaedics","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0972978X25003538","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ORTHOPEDICS","Score":null,"Total":0}
引用次数: 0
Abstract
Background
Accurate risk adjustment is critical for outcome prediction and quality improvement in total knee arthroplasty (TKA). While machine learning (ML) offers promising capabilities, most models rely solely on patient demographics and comorbidities. The American Association of Hip and Knee Surgeons (AAHKS) has proposed a set of nine risk factors to enhance current models. This study aimed to evaluate these factors using a machine learning model based on eXtreme Gradient Boosting (XGBoost).
Methods
We retrospectively analyzed 783 patients who underwent primary TKA at a single academic center between January 2020 and December 2022. Preoperative clinical data and AAHKS-defined risk factors were used to train and evaluate an XGBoost model. The primary outcome measures were: (1) major complications requiring revision, (2) any complication (major or minor), and (3) residual pain at one year (Visual Analog Scale ≥4). Model performance was assessed using area under the curve (AUC), sensitivity, specificity, and accuracy. Feature importance was determined using SHapley Additive exPlanations (SHAP).
Results
The model achieved moderate predictive accuracy for major complications (AUC = 0.68) and any complication (AUC = 0.65), but performed poorly in predicting residual pain (AUC = 0.53). Among AAHKS-defined risk factors, only “smoking” and “previous open reduction and internal fixation (ORIF) of the knee” showed high predictive value. Other proposed variables, such as angular deformity >15°, had limited impact.
Conclusion
An XGBoost-based ML model incorporating AAHKS-defined risk factors showed moderate effectiveness in predicting postoperative complications following TKA. However, the model was unable to reliably predict residual pain. These findings underscore the need for broader inclusion of joint-specific variables and imaging data in future risk adjustment frameworks to enhance personalized care in knee arthroplasty.
期刊介绍:
Journal of Orthopaedics aims to be a leading journal in orthopaedics and contribute towards the improvement of quality of orthopedic health care. The journal publishes original research work and review articles related to different aspects of orthopaedics including Arthroplasty, Arthroscopy, Sports Medicine, Trauma, Spine and Spinal deformities, Pediatric orthopaedics, limb reconstruction procedures, hand surgery, and orthopaedic oncology. It also publishes articles on continuing education, health-related information, case reports and letters to the editor. It is requested to note that the journal has an international readership and all submissions should be aimed at specifying something about the setting in which the work was conducted. Authors must also provide any specific reasons for the research and also provide an elaborate description of the results.