Detection of Suicidal Risk on Social Media: A Hybrid Model

Zaihan Yang, Ryan Leonard, Hien Tran, Rory Driscoll, Chadbourne Davis
5/26/2025
cs.CLcs.AIcs.CY

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Suicidal thoughts and behaviors are increasingly recognized as a critical societal concern, highlighting the urgent need for effective tools to enable early detection of suicidal risk. In this work, we develop robust machine learning models that leverage Reddit posts to automatically classify them into four distinct levels of suicide risk severity. We frame this as a multi-class classification task and propose a RoBERTa-TF-IDF-PCA Hybrid model, integrating the deep contextual embeddings from Robustly Optimized BERT Approach (RoBERTa), a state-of-the-art deep learning transformer model, with the statistical term-weighting of TF-IDF, further compressed with PCA, to boost the accuracy and reliability of suicide risk assessment. To address data imbalance and overfitting, we explore various data resampling techniques and data augmentation strategies to enhance model generalization. Additionally, we compare our model's performance against that of using RoBERTa only, the BERT model and other traditional machine learning classifiers. Experimental results demonstrate that the hybrid model can achieve improved performance, giving a best weighted $F_{1}$ score of 0.7512.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2025detection,
  title  = {Detection of Suicidal Risk on Social Media: A Hybrid Model},
  author = {Zaihan Yang and Ryan Leonard and Hien Tran and Rory Driscoll and Chadbourne Davis},
  year   = {2025},
  eprint = {2505.23797},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23797v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23797.svg)](https://codeofpaper.com/paper/2505.23797)

Discussion