ORIGINAL RESEARCH article
Front. Surg.
Sec. Orthopedic Surgery
Volume 12 - 2025 | doi: 10.3389/fsurg.2025.1631651
This article is part of the Research TopicClinical and Basic Research on Chronic Spinal Cord Injury Associated with Spinal DegenerationView all 9 articles
Develop and validate a machine learning model to predict the risk of persistent pain after percutaneous transforaminal endoscopic discectomy
Provisionally accepted- 1Wuhan Hospital of Traditional Chinese Medicine, Wuhan, Hubei Province, China
- 2Hubei Maternal and Child Health Hospital Affiliated to Tongji Medical College, Huazhong University of Science and Technology, Wuhan, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background: Persistent pain is a common complication following percutaneous transforaminal endoscopic discectomy (PTED) for lumbar disc herniation. Identifying associated risk factors and developing a predictive model are crucial for guiding clinical decisions. This study aims to utilize machine learning models to predict persistent pain, identify key influencing factors, and construct a risk model to assess the likelihood of persistent pain. Methods: We first compared baseline characteristics and pathological indicators between patients who developed persistent pain and those who did not after PTED. Significant factors were used as input features in four machine learning models: Logistic Regression (LR), Support Vector Machine (SVM), XGBoost, and Multilayer Perceptron (MLP). Each model was optimized through grid search and 10-fold cross-validation. Performance was evaluated using ROC curves, F1 score, accuracy, recall, and precision. Models with AUC values exceeding 0.9, specifically XGBoost and MLP, were selected for SHAP visualization and risk prediction model construction. Results: Among the four machine learning models, XGBoost and MLP achieved the best performance, with AUC values of 0.907 and 0.916, respectively. SHAP analysis identified a history of lumbar spine trauma and herniation calcification as key features positively influencing persistent pain risk. Elevated inflammatory markers (e.g., CRP, ESR, and WBC) and older age also significantly impacted predictions. Using the most important features from XGBoost and MLP, a risk prediction model was constructed and externally validated, achieving an AUC of 0.798, indicating good predictive accuracy. Conclusion: History of lumbar spine trauma, herniation calcification, and inflammatory markers are important predictors of persistent pain after PTED. The risk prediction model based on XGBoost and MLP shows high predictive accuracy and can serve as a valuable tool for clinical decision-making.
Keywords: Lumbar disc herniation, machine learning, percutaneous transforaminal endoscopic discectomy, Persistent pain, Risk prediction model
Received: 20 May 2025; Accepted: 23 Jun 2025.
Copyright: © 2025 Yuan and Fu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Jun Fu, Hubei Maternal and Child Health Hospital Affiliated to Tongji Medical College, Huazhong University of Science and Technology, Wuhan, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.