Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T01:56:26.345Z Has data issue: false hasContentIssue false

Detecting suicide risk among U.S. servicemembers and veterans: a deep learning approach using social media data

Published online by Cambridge University Press:  09 September 2024

Kelly L. Zuromski*
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA Franciscan Children's, Brighton, MA, USA
Daniel M. Low
Affiliation:
Speech and Hearing Bioscience and Technology Program, Harvard Medical School, Boston, MA, USA McGovern Institute for Brain Research, Massachusetts Institute of Technology, Cambridge MA
Noah C. Jones
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA MIT Media Lab, Massachusetts Institute of Technology, Cambridge, MA, USA
Richard Kuzma
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA
Daniel Kessler
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA
Liutong Zhou
Affiliation:
Machine Learning Solutions Lab, Amazon Web Services, New York, NY, USA
Erik K. Kastman
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA RallyPoint Networks, Inc., Boston, MA, USA
Jonathan Epstein
Affiliation:
RallyPoint Networks, Inc., Boston, MA, USA
Carlos Madden
Affiliation:
RallyPoint Networks, Inc., Boston, MA, USA
Satrajit S. Ghosh
Affiliation:
Speech and Hearing Bioscience and Technology Program, Harvard Medical School, Boston, MA, USA McGovern Institute for Brain Research, Massachusetts Institute of Technology, Cambridge MA
David Gowel
Affiliation:
RallyPoint Networks, Inc., Boston, MA, USA
Matthew K. Nock
Affiliation:
Department of Psychology, Harvard University, Cambridge, MA, USA
*
Corresponding author: Kelly L. Zuromski; Email: kelly_zuromski@fas.harvard.edu
Rights & Permissions [Opens in a new window]

Abstract

Background

Military Servicemembers and Veterans are at elevated risk for suicide, but rarely self-identify to their leaders or clinicians regarding their experience of suicidal thoughts. We developed an algorithm to identify posts containing suicide-related content on a military-specific social media platform.

Methods

Publicly-shared social media posts (n = 8449) from a military-specific social media platform were reviewed and labeled by our team for the presence/absence of suicidal thoughts and behaviors and used to train several machine learning models to identify such posts.

Results

The best performing model was a deep learning (RoBERTa) model that incorporated post text and metadata and detected the presence of suicidal posts with relatively high sensitivity (0.85), specificity (0.96), precision (0.64), F1 score (0.73), and an area under the precision-recall curve of 0.84. Compared to non-suicidal posts, suicidal posts were more likely to contain explicit mentions of suicide, descriptions of risk factors (e.g. depression, PTSD) and help-seeking, and first-person singular pronouns.

Conclusions

Our results demonstrate the feasibility and potential promise of using social media posts to identify at-risk Servicemembers and Veterans. Future work will use this approach to deliver targeted interventions to social media users at risk for suicide.

Information

Type
Original Article
Copyright
Copyright © The Author(s), 2024. Published by Cambridge University Press
Figure 0

Table 1. Model performance

Figure 1

Table 2. Confusion matrix for the final, best performing RoBERTa model

Figure 2

Figure 1. ROC (left) and precision-recall (right) plots for the final, best performing RoBERTa model classifying STB v. non-STB posts. Because ROC is biased by class imbalance, precision-recall is a more informative metric for detecting the minority group (i.e. STB posts) under class imbalance. Baseline in the precision-recall curve is the proportion of positive (STB posts) examples in our data which would be the result for a random baseline.

Figure 3

Figure 2. Semantic analysis of STB v. non-STB posts. This figure shows words that are more common in STB (‘Top suicidal’) and non-STB (‘Top nonsuicidal’) posts from the training set (N = 6478). Each dot represents a word. The x-axis represents word frequencies in the entire corpus of RallyPoint posts, whereas the y-axis represents how common a given word is based on post type, with 1 representing words very common in STB posts and −1 representing words very common in non-STB posts. The words under ‘Characteristic’ represent words that characterize the entire corpus of RallyPoint posts (including both STB and non-STB posts) in comparison to a general English Corpus. Only unique words that appear at least 7 times in the corpus are shown in the figure (n = 1985). Note: ‘m’ in the ‘Top Suicidal’ list represents the contraction for ‘am’; * in the ‘Top nonsuicidal’ list reflects use of asterisks to add emphasis or censor profanity in posts. See an interactive version of Fig. 2 to view scores and additional words: https://tinyurl.com/suicidal-vs-non-suicidal

Figure 4

Table 3. Excerpts from posts containing words occurring frequently in STB posts

Supplementary material: File

Zuromski et al. supplementary material

Zuromski et al. supplementary material
Download Zuromski et al. supplementary material(File)
File 94.2 KB