Identification of Knee Osteoarthritis–Related Markers and Development of an Interpretable Random Forest Model Using SHAP
Background Knee osteoarthritis (KOA) is a common chronic degenerative joint disorder associated with substantial impairment of quality of life and increasing public health burden. Early identification of individuals at elevated risk may facilitate timely risk stratification and intervention. This study aimed to identify key KOA-related markers using machine-learning approaches, interpret model predictions using Shapley Additive Explanations (SHAP), and determine clinically relevant cut-off values for early screening. Methods This cross-sectional study included 1,243 participants. Candidate features were selected using three complementary approaches: least absolute shrinkage and selection operator (LASSO) regression, extreme gradient boosting (XGBoost), and Boruta. Nine machine-learning algorithms were developed and compared, including logistic regression, XGBoost, random forest, LightGBM, and support vector machine. The optimal model was interpreted using SHAP to quantify feature contributions. Model performance was evaluated using multiple metrics, including area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, F1 score, and Cohen’s kappa. Univariable ROC analyses were performed to estimate optimal cut-off values for candidate markers. Results Random forest achieved the best overall classification performance among the nine models. SHAP analysis identified 11 informative features for KOA prediction: age, EO%, uric acid (UA), MONO%, hemoglobin (HGB), CO₂, MCHC, LDL, TG, Urea/Crea, and CHOL/TG, with age showing the greatest contribution. The model achieved an AUC of 0.988 (95% CI, 0.979–0.998), accuracy of 0.941, sensitivity of 0.934, and specificity of 0.963 in the internal validation set. In the temporal validation cohort, performance remained strong, with an AUC of 0.972, accuracy of 0.910, sensitivity of 0.900, and specificity of 0.920. Age demonstrated the highest individual discrimination, with an optimal cut-off value of 51 years. Conclusions n interpretable random forest model based on routinely available demographic and laboratory variables showed strong discrimination for KOA classification. The SHAP-identified features, particularly age, may provide a multidimensional basis for KOA risk stratification. Further prospective multicenter studies are required to validate its clinical applicability.
Authors
- Ziwen Xia (ORCID: https://orcid.org/0009-0005-5987-2342)
- Songyao Qi
- Zhuoyan Chen
- Feng Lin
- Zilin Chen
- Zixuan Chen
- Jing Su
Institutions
- Guangzhou University of Chinese Medicine (CN)
- The Third Affiliated Hospital of Guangzhou University of Traditional Chinese Medicine (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-23
- DOI
- https://doi.org/10.21203/rs.3.rs-11321236/v1
- Primary Topic
- Artificial Intelligence in Healthcare
- Type
- preprint