Objective: The development of adjacent segment disease or the progression of spondylosis following the surgical treatment of spinal stenosis and spondylolisthesis is well documented and can lead to subsequent functional decline after a successful index surgery. The early detection of negative inflection points during patients' functional recovery can improve timely intervention. In this study, we developed machine learning (ML) models to predict the occurrence of post-operative decline in patient mobility. Methods: Patients receiving spine surgery for degenerative spinal stenosis or spondylolisthesis were retroactively consented and enrolled. Activity data (steps-per-day) previously recorded across a 4-year peri-operative were collected alongside relevant clinical and demographic variables. Logistic regression (LR), random forest (RF), and extreme gradient boosting (XGBoost) ML models were constructed and trained on 80% of the dataset and validated using the remaining 20%. The study's primary endpoint was the models' ability to predict post-operative decline in patient mobility. Results: A total of 75 patients were included. Following training, RF and XGBoost models achieved accuracy values of 86.7% (sensitivity 80%, specificity 90%) and 80% (sensitivity 60%, specificity 90%), respectively, in predicting post-operative functional decline. The LR model was the least effective with an accuracy of 73.3% (sensitivity 50%, specificity 88.8%). Receiver operating characteristic curves showed an area under the curve of 0.80 for RF, 0.70 for XGBoost, and 0.69 for LR. Conclusions: ML models trained on activity data collected from smartphones successfully forecast functional decline in post-operative activity following spine surgery. These results lay the groundwork for the future integration of ML into the surgeon's toolbox for prognostication and surgical planning.
Read full abstract