Related Experiment Video
Updated: Jun 13, 2025

An Experimental Paradigm for the Prediction of Post-Operative Pain PPOP
Published on: January 27, 2010
Classifying High-Risk Patients for Persistent Opioid Use After Major Spine Surgery: A Machine-Learning Approach
Sierra Simpson1, William Zhong1, Soraya Mehdipour1
1From the Division of Perioperative Informatics, Department of Anesthesiology, University of California, San Diego, La Jolla, California.
Background:
Persistent opioid use is a common occurrence after surgery and prolonged exposure to opioids may result in escalation and dependence. The objective of this study was to develop machine-learning-based predictive models for persistent opioid use after major spine surgery.
Methods:
Five classification models were evaluated to predict persistent opioid use: logistic regression, random forest, neural network, balanced random forest, and balanced bagging. Synthetic Minority Oversampling Technique was used to improve class balance. The primary outcome was persistent opioid use, defined as patient reporting to use opioids after 3 months postoperatively. The data were split into a training and test set. Performance metrics were evaluated on the test set and included the F1 score and the area under the receiver operating characteristics curve (AUC). Feature importance was ranked based on SHapley Additive exPlanations (SHAP).
Results:
After exclusion (patients with missing follow-up data), 2611 patients were included in the analysis, of which 1209 (46.3%) continued to use opioids 3 months after surgery. The balanced random forest classifiers had the highest AUC (0.877, 95% confidence interval [CI], 0.834-0.894) compared to neural networks (0.729, 95% CI, 0.672-0.787), logistic regression (0.709, 95% CI, 0.652-0.767), balanced bagging classifier (0.859, 95% CI, 0.814-0.905), and random forest classifier (0.855, 95% CI, 0.813-0.897). The balanced random forest classifier had the highest F1 (0.758, 95% CI, 0.677-0.839). Furthermore, the specificity, sensitivity, precision, and accuracy were 0.883, 0.700, 0.836, and 0.780, respectively. The features based on SHAP analysis with the highest impact on model performance were age, preoperative opioid use, preoperative pain scores, and body mass index.
Conclusions:
The balanced random forest classifier was found to be the most effective model for identifying persistent opioid use after spine surgery.
More Related Videos
04:19Minimally Invasive Treatment for Thoracolumbar Burst Fracture Using Sagittal Alignment Screws and A Trauma Reduction Device
Published on: November 8, 2024
07:44Evaluation of Patients' Posture and Gait Profile After Lumbar Fusion Surgery by Video Rasterstereography and Treadmill Gait Analysis
Published on: March 23, 2019