Saltar al contenido
Hub Nexus

Aún sin autorAsumirla

Versión 3Actualizado 3 min de lectura

Apoyo

Spotting signs of suicidal ideation in social media needs large volumes of accurately labeled data, and the large language models used for it are computationally expensive and hard for professionals to trust. This arXiv paper tries a cheaper, more explainable route. It fine-tunes a language model on Reddit posts, uses Layer Integrated Gradients to score how much each token pushes the prediction toward each risk label, and then classifies posts from those token scores without running the large model at prediction time. Four-level risk classification worked poorly; grouped classes worked much better.

If you or someone you know is thinking about suicide, call or text 988 to reach the 988 Suicide & Crisis Lifeline in the United States.

The data and the method

The study uses the University of Maryland Reddit Suicidality Dataset Version 2, a private dataset drawn from the 2015 Full Reddit Submission Corpus and from the r/SuicideWatch subreddit, with users anonymized. Posts are rated on a four-point scale: no, low, moderate and severe risk, with control users labelled None. Crowd annotations (621 SuicideWatch users and 621 controls) were used for training and validation. Expert annotations (245 users and 245 controls) formed the gold set for testing. The authors report IRB approval and access granted by the dataset's owner, Dr. Philip Resnik.

The models were fine-tuned on individual SuicideWatch posts. For longitudinal tests, each user's posts across all subreddits were joined in time order. The BERT and RoBERTa models natively read 512 tokens or fewer, and many users' histories are longer.

Workflow diagram of the methods used in the study

Figure from the paper, licensed CC BY 4.0; changed here: shown without its caption.

Which model

The authors compared MentalBERT, MentalRoBERTa, BERT, DeBERTa v3 and XLM-RoBERTa. Validation results after fine-tuning:

ModelAccuracyLoss
MentalRoBERTa-large63.05%1.01
MentalRoBERTa-base63.05%1.04
MentalBERT-large uncased62.56%1.04
DeBERTa v3 Large62.06%1.01
MentalBERT-base cased61.57%1.02
MentalBERT-base uncased61.57%1.04
BERT-large uncased60.59%1.08
BERT-large cased59.60%1.05
BERT-base uncased59.11%1.09
BERT-base cased58.62%1.07
DeBERTa v3 Base58.12%1.07
XLM-RoBERTa base53.69%1.12

The authors chose MentalRoBERTa-base, which scored as high as the large version but is smaller and quicker. MentalLongformer and MentalXLNet ran out of memory on the team's GPU and were left out.

Results on the gold set

On single SuicideWatch posts with all four risk levels, token attribution scored recall of 25.07 to 26.76 and F1 of 10.51 to 16.63, far below a baseline of 57.96 recall and 58.58 F1 from the MentalBERT paper. The authors caution that baseline used a different, undocumented relabelling, so they give it only as reference. Scaling attributions by TF-IDF raised F1, and the mean attribution scaled with TF-IDF gave the most balanced recall and F1.

TaskRecall (mean + TF-IDF)F1 (mean + TF-IDF)
No risk vs any risk89.0187.01
No-low vs medium-high risk70.9965.14
Longitudinal, four levels17.556.66
Longitudinal, no vs any risk85.3178.54
Longitudinal, no-low vs medium-high61.6352.99

The authors suggest the method could screen first, with flagged cases passed to a more robust model. They note ethical risks of handling sensitive data and list comparison with other models, image and video analysis, and finer time-series analysis as next steps.

Sources

  • arXiv paper "Conceptualizing Suicidal Behavior: Utilizing Explanations of Predicted Outcomes to Analyze Longitudinal Social Media Data", https://arxiv.org/abs/2312.08299, licensed CC BY 4.0. Changed here: rewritten and condensed, one figure shown without its caption, tables partly condensed; rewritten in hubnx's own words.
  • Authors of the original: Van Minh Nguyen, Nasheen Nur, William Stern.

Comentarios

Spinner Logo

Más sobre Ciencia

De Hub Nexus editors
Top 10 in AI, week of 19 October 2026
De Hub Nexus editors
Top 10 in AI, week of 12 October 2026
De Hub Nexus editors
Top 10 in AI, week of 2 November 2026
De Hub Nexus editors
Top 10 in AI, week of 26 October 2026
CC0 1.0 (dominio público)
Laser therapy uses an intense, narrow beam of light to remove or destroy cancer and abnormal cells that can turn into cancer. Learn how lasers work and about the conditions that they are used to treat.