Developing SHAP interpretable machine learning models for assessing biopsychosocial risk in female drug users: a small sample study

Background: While interventions for female drug users have received considerable attention, comprehensive and objective risk assessment tools-particularly those integrating biopsychosocial dimensions-remain lacking, despite their critical public health need. Objective: This study aimed to develop a comprehensive assessment model for evaluating the physiological, psychological, and social risks among female drug users. Methods: Based on the biopsychosocial model, variables of the five dimensions of physiological function, psychological and cognitive function, drug dependence, social support, and self-control were collected from 96 participants. Professionals rated these participants on the five dimensions and the total risk. These ratings and variables served as inputs and outputs for our classification model. We oversampled the data and evaluated the classification of 6 classifiers. Results: Firstly, the machine learning classification results for the 5-dimensional risk and total risk performed relatively well. Next, oversampling improved the classification performance for most dimensions (except social support risk) and the total risk assessment. After oversampling, the true strengths of different algorithms became more apparent, with Random Forest and Logistic regression emerging as the optimal classifier for multiple dimensions. Thirdly, by applying SHAP, a novel interpretability method, we identified key variables in each dimension and for the total risk, thereby enhancing the transparency of the model's decisions. Conclusion: The machine learning model, encompassing physiological, psychological, cognitive, drug refusal, social support, and self-control dimensions, modestly but effectively identified at-risk populations of female drug users. It should be noted that the current study is limited by the sample size of 96 participants; to address this, we plan to expand the sample in future research to overcome this constraint and reduce potential model overfitting. The developed model holds promise for researchers seeking to pinpoint at-risk female drug abusers, facilitating targeted interventions and corrections.

Authors

Institutions

Publication Details

Journal
Frontiers in Psychiatry
Published
2026-04-22
DOI
https://doi.org/10.3389/fpsyt.2026.1736274
Primary Topic
Substance Abuse Treatment and Outcomes
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Developing SHAP interpretable machine learning models for assessing biopsychosocial risk in female drug users: a small sample study

Xiqing Yuan, Qiulian Xing, Xinyu Cheng, Mingjian Gao et al.
Frontiers in Psychiatry
Substance Abuse Treatment and Outcomes
article

Developing SHAP interpretable machine learning models for assessing biopsychosocial risk in female drug users: a small sample study

Xiqing Yuan, Qiulian Xing, Xinyu Cheng, Mingjian Gao, Peng Wang, Fei Geng, Jialin Gao, Xiao Wang, Huimin Shi, Yu Ming, Gancheng Zhu
article en

Abstract

Background: While interventions for female drug users have received considerable attention, comprehensive and objective risk assessment tools-particularly those integrating biopsychosocial dimensions-remain lacking, despite their critical public health need. Objective: This study aimed to develop a comprehensive assessment model for evaluating the physiological, psychological, and social risks among female drug users. Methods: Based on the biopsychosocial model, variables of the five dimensions of physiological function, psychological and cognitive function, drug dependence, social support, and self-control were collected from 96 participants. Professionals rated these participants on the five dimensions and the total risk. These ratings and variables served as inputs and outputs for our classification model. We oversampled the data and evaluated the classification of 6 classifiers. Results: Firstly, the machine learning classification results for the 5-dimensional risk and total risk performed relatively well. Next, oversampling improved the classification performance for most dimensions (except social support risk) and the total risk assessment. After oversampling, the true strengths of different algorithms became more apparent, with Random Forest and Logistic regression emerging as the optimal classifier for multiple dimensions. Thirdly, by applying SHAP, a novel interpretability method, we identified key variables in each dimension and for the total risk, thereby enhancing the transparency of the model's decisions. Conclusion: The machine learning model, encompassing physiological, psychological, cognitive, drug refusal, social support, and self-control dimensions, modestly but effectively identified at-risk populations of female drug users. It should be noted that the current study is limited by the sample size of 96 participants; to address this, we plan to expand the sample in future research to overcome this constraint and reduce potential model overfitting. The developed model holds promise for researchers seeking to pinpoint at-risk female drug abusers, facilitating targeted interventions and corrections.

Frontiers in PsychiatryVol. 17
Shandong University of Traditional Chinese Medicine (CN), Wenzhou University (CN), Nanjing Normal University (CN), Shandong Normal University (CN), Digital Science (United States) (US), Shanghai Drug Administration (CN), City University of Macau (MO), Zhejiang University (CN)
Gender equality
Openalex Percentile: Top 22%
Substance Abuse Treatment and Outcomes
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.