Applying Multiple Machine Learning Methods to Identify Correlates of Non-Suicidal Self-Injury Behaviors in Chinese Middle School Students: A Cross-Sectional Study
- 1School of Psychology and Mental Health, North China University of Science and Technology, Hebei Key Laboratory of Mental Health and Brain Science, Tangshan, Hebei, People’s Republic of China
- 2Department of Telecommunications, Wuhan Research Institute of Posts and Telecommunications, Wuhan, Hubei, People’s Republic of China
Abstract
Background: Adolescent non-suicidal self-injury (NSSI) has become a major public health concern, with its rising prevalence driven by complex and interacting factors. Traditional analytical methods have limited capacity to capture non-linear relationships among high-dimensional variables. This study aimed to compare the performance of five machine learning algorithms in identifying NSSI and to determine its key correlates among Chinese adolescents.
Participants and Setting: A total of 2,295 middle school students from Hebei and Shandong provinces in China, aged between 11 and 16 years, participated in the study.
Methods: Five machine learning algorithms—Random Forest, AdaBoost, XGBoost, LightGBM, and Naive Bayes—were applied to identify NSSI using 43 features encompassing psychological traits, emotional states, and environmental factors. SMOTE was used to address class imbalance, and hyperparameters were tuned via 5-fold cross-validated grid search. Model performance was evaluated using ROC AUC, PR AUC, accuracy, sensitivity, specificity, PPV, and NPV. SHAP analysis was employed to determine feature effect directionality.
Results: The prevalence of NSSI was 21.7%. Individuals with NSSI reported significantly higher levels of Academic Pressure, Self-criticism, Negative self-schema, Hopelessness, and Depression (P < 0.001). XGBoost achieved the highest ROC AUC (0.884), PR AUC (0.741), accuracy (85.62%), and specificity (92.50%), while Naive Bayes achieved the highest sensitivity (71.72%). Self-criticism ranked first in four of the five models. SHAP analysis confirmed that higher Self-criticism, Negative self-schema, Academic Pressure, Depression, and Hopelessness were associated with increased NSSI probability.
Conclusion: Self-criticism, Negative self-schema, Academic Pressure, Depression, and Hopelessness were consistently identified as the most important correlates of NSSI across models. These results highlight the potential of machine learning approaches for identifying key correlates of adolescent NSSI, although external validation is needed before clinical application.
Related
- Machine learning-based association analysis and cross-sectional classification of physical exercise behaviors and mental health among vocational medical students
- Construction and validation of an identification model for frailty in maintenance hemodialysis patients using multiple machine learning algorithms: a cross-sectional study of retrospectively collected data
- Differentiating nonfluent/agrammatic and logopenic primary progressive aphasia in Catalan-Spanish bilinguals by applying multilingual multimodal machine learning to connected speech
- Symptoms as Correlates of Health-Related Quality of Life in Black and White Individuals With Multiple Sclerosis
- Prevalence and associated factors of multiple unhealthy lifestyle behaviors among older adults in Iran: insights from the STEPS 2021 survey
BibTeX
@article{chen2026applying,
title = {{Applying Multiple Machine Learning Methods to Identify Correlates of Non-Suicidal Self-Injury Behaviors in Chinese Middle School Students: A Cross-Sectional Study}},
author = {Fang Chen and Jiale Yang and Ruixin Wang and Jiale Zhao and Haitao Xiong and Zixuan Zhang and Xinyue Chen and Shaogang Song and Lina Li},
journal = {Psychology Research and Behavior Management},
year = {2026},
month = nov,
doi = {10.2147/prbm.s636210},
url = {https://doi.org/10.2147/prbm.s636210},
note = {CC BY-NC 4.0},
}
RIS
TY - JOUR
TI - Applying Multiple Machine Learning Methods to Identify Correlates of Non-Suicidal Self-Injury Behaviors in Chinese Middle School Students: A Cross-Sectional Study
AU - Fang Chen
AU - Jiale Yang
AU - Ruixin Wang
AU - Jiale Zhao
AU - Haitao Xiong
AU - Zixuan Zhang
AU - Xinyue Chen
AU - Shaogang Song
AU - Lina Li
PY - 2026
DA - 2026/11/01
JO - Psychology Research and Behavior Management
DO - 10.2147/prbm.s636210
UR - https://doi.org/10.2147/prbm.s636210
AB - Background: Adolescent non-suicidal self-injury (NSSI) has become a major public health concern, with its rising prevalence driven by complex and interacting factors. Traditional analytical methods have limited capacity to capture non-linear relationships among high-dimensional variables. This study aimed to compare the performance of five machine learning algorithms in identifying NSSI and to determine its key correlates among Chinese adolescents. Participants and Setting: A total of 2,295 middle school students from Hebei and Shandong provinces in China, aged between 11 and 16 years, participated in the study. Methods: Five machine learning algorithms—Random Forest, AdaBoost, XGBoost, LightGBM, and Naive Bayes—were applied to identify NSSI using 43 features encompassing psychological traits, emotional states, and environmental factors. SMOTE was used to address class imbalance, and hyperparameters were tuned via 5-fold cross-validated grid search. Model performance was evaluated using ROC AUC, PR AUC, accuracy, sensitivity, specificity, PPV, and NPV. SHAP analysis was employed to determine feature effect directionality. Results: The prevalence of NSSI was 21.7%. Individuals with NSSI reported significantly higher levels of Academic Pressure, Self-criticism, Negative self-schema, Hopelessness, and Depression (P < 0.001). XGBoost achieved the highest ROC AUC (0.884), PR AUC (0.741), accuracy (85.62%), and specificity (92.50%), while Naive Bayes achieved the highest sensitivity (71.72%). Self-criticism ranked first in four of the five models. SHAP analysis confirmed that higher Self-criticism, Negative self-schema, Academic Pressure, Depression, and Hopelessness were associated with increased NSSI probability. Conclusion: Self-criticism, Negative self-schema, Academic Pressure, Depression, and Hopelessness were consistently identified as the most important correlates of NSSI across models. These results highlight the potential of machine learning approaches for identifying key correlates of adolescent NSSI, although external validation is needed before clinical application.
SN - 1179-1578
ER -