Detecting Non-Suicidal Self-Injury Risk Group on SNS: Application of Machine Learning and Text Mining

This study was intended to rapidly and accurately detect non-suicidal self-injury(NSSI) risk groups on social networking services (SNS) using machine learning and text mining methods. Data were collected from the textbased SNS platform, X, using the keyword “self-injury” over a one-year period. Following preprocessing and cross-validation by three researchers, 18,758 posts were labeled (1: NSSI risk posts, 0: non-risk posts). Users were placed in the NSSI risk group if they had at least one NSSI risk post. A transformer-embedding method for natural language processing was then used, followed by supervised machine learning algorithms to validate the detection of NSSI risk and non-risk groups.After the collected SNS posts were labeled, 6,613 posts (35.25%) were identified as NSSI risk posts, while 12,147 posts (64.76%) were identified as non-risk posts. Users who posted risk-related content even once were placed in the at-risk group. Consequently, among the 10,524 participants included in the study, 1,733 users (16.47%) were identified as belonging to the NSSI risk group, and 8,791 users (83.53%) as belonging to the non-risk group. Furthermore, the development of a supervised machine learning model to detect NSSI risk groups on SNS demonstrated excellent performance, achieving an accuracy of approximately 85%. This result highlights the high precision of the model in distinguishing between NSSI risk and non-risk groups on SNS.These results indicate the NSSI risk groups on SNS can be efficiently and accurately identified using machine learning, thereby providing a cost-effective and timely approach for early detection. This study advances previous research by expanding the analytical focus from individual posts to user-level accounts. This approach provides a more comprehensive understanding of self-harm risk groups, which may be challenging to identify at the postlevel, and enhances the feasibility of connecting insights to practical interventions.

Authors

Publication Details

Journal
Human Ecology Research
Published
2025-05-30
DOI
https://doi.org/10.6115/her.2025.015
Primary Topic
Suicide and Self-Harm Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detecting Non-Suicidal Self-Injury Risk Group on SNS: Application of Machine Learning and Text Mining

Ju Hee Park, Hye In Jang
Human Ecology Research
Suicide and Self-Harm Studies
article

Detecting Non-Suicidal Self-Injury Risk Group on SNS: Application of Machine Learning and Text Mining

Ju Hee Park, Hye In Jang
article en

Abstract

This study was intended to rapidly and accurately detect non-suicidal self-injury(NSSI) risk groups on social networking services (SNS) using machine learning and text mining methods. Data were collected from the textbased SNS platform, X, using the keyword “self-injury” over a one-year period. Following preprocessing and cross-validation by three researchers, 18,758 posts were labeled (1: NSSI risk posts, 0: non-risk posts). Users were placed in the NSSI risk group if they had at least one NSSI risk post. A transformer-embedding method for natural language processing was then used, followed by supervised machine learning algorithms to validate the detection of NSSI risk and non-risk groups.After the collected SNS posts were labeled, 6,613 posts (35.25%) were identified as NSSI risk posts, while 12,147 posts (64.76%) were identified as non-risk posts. Users who posted risk-related content even once were placed in the at-risk group. Consequently, among the 10,524 participants included in the study, 1,733 users (16.47%) were identified as belonging to the NSSI risk group, and 8,791 users (83.53%) as belonging to the non-risk group. Furthermore, the development of a supervised machine learning model to detect NSSI risk groups on SNS demonstrated excellent performance, achieving an accuracy of approximately 85%. This result highlights the high precision of the model in distinguishing between NSSI risk and non-risk groups on SNS.These results indicate the NSSI risk groups on SNS can be efficiently and accurately identified using machine learning, thereby providing a cost-effective and timely approach for early detection. This study advances previous research by expanding the analytical focus from individual posts to user-level accounts. This approach provides a more comprehensive understanding of self-harm risk groups, which may be challenging to identify at the postlevel, and enhances the feasibility of connecting insights to practical interventions.

Human Ecology ResearchVol. 63(2)
National Research Foundation, Ministry of Education, National Research Foundation of Korea
Openalex Percentile: Top 84%
Suicide and Self-Harm Studies
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.