A machine learning approach predicts future risk to suicidal ideation from social media data
- PMID: 32509975
- PMCID: PMC7250902
- DOI: 10.1038/s41746-020-0287-6
A machine learning approach predicts future risk to suicidal ideation from social media data
Abstract
Machine learning analysis of social media data represents a promising way to capture longitudinal environmental influences contributing to individual risk for suicidal thoughts and behaviors. Our objective was to generate an algorithm termed "Suicide Artificial Intelligence Prediction Heuristic (SAIPH)" capable of predicting future risk to suicidal thought by analyzing publicly available Twitter data. We trained a series of neural networks on Twitter data queried against suicide associated psychological constructs including burden, stress, loneliness, hopelessness, insomnia, depression, and anxiety. Using 512,526 tweets from N = 283 suicidal ideation (SI) cases and 3,518,494 tweets from 2655 controls, we then trained a random forest model using neural network outputs to predict binary SI status. The model predicted N = 830 SI events derived from an independent set of 277 suicidal ideators relative to N = 3159 control events in all non-SI individuals with an AUC of 0.88 (95% CI 0.86-0.90). Using an alternative approach, our model generates temporal prediction of risk such that peak occurrences above an individual specific threshold denote a ~7 fold increased risk for SI within the following 10 days (OR = 6.7 ± 1.1, P = 9 × 10-71). We validated our model using regionally obtained Twitter data and observed significant associations of algorithm SI scores with county-wide suicide death rates across 16 days in August and in October, 2019, most significantly in younger individuals. Algorithmic approaches like SAIPH have the potential to identify individual future SI risk and could be easily adapted as clinical decision tools aiding suicide screening and risk monitoring using available technologies.
Keywords: Predictive markers; Psychiatric disorders; Risk factors.
© The Author(s) 2020.
Conflict of interest statement
Competing interestsThe authors have entered into a research partnership with TryCycle Data Systems Inc. on November 14, 2019 to evaluate the efficacy of the above algorithm at identifying SI risk in a clinical setting. This evaluation and the relationship are independent from the work as reported in this journal article. In addition, the authors declare that they do not have any other relationship with the company, and that no financial transactions are involved in this partnership.
Figures




Similar articles
-
Association of Genome-Wide Polygenic Scores for Multiple Psychiatric and Common Traits in Preadolescent Youths at Risk of Suicide.JAMA Netw Open. 2022 Feb 1;5(2):e2148585. doi: 10.1001/jamanetworkopen.2021.48585. JAMA Netw Open. 2022. PMID: 35188556 Free PMC article.
-
Towards understanding and predicting suicidality in women: biomarkers and clinical risk assessment.Mol Psychiatry. 2016 Jun;21(6):768-85. doi: 10.1038/mp.2016.31. Epub 2016 Apr 5. Mol Psychiatry. 2016. PMID: 27046645
-
Detecting Potentially Harmful and Protective Suicide-Related Content on Twitter: Machine Learning Approach.J Med Internet Res. 2022 Aug 17;24(8):e34705. doi: 10.2196/34705. J Med Internet Res. 2022. PMID: 35976193 Free PMC article.
-
Artificial intelligence assisted tools for the detection of anxiety and depression leading to suicidal ideation in adolescents: a review.Cogn Neurodyn. 2022 Nov 22;18(1):1-22. doi: 10.1007/s11571-022-09904-0. Online ahead of print. Cogn Neurodyn. 2022. PMID: 36467993 Free PMC article. Review.
-
Suicidal thoughts and behaviors and social isolation: A narrative review of the literature.J Affect Disord. 2019 Feb 15;245:653-667. doi: 10.1016/j.jad.2018.11.022. Epub 2018 Nov 7. J Affect Disord. 2019. PMID: 30445391 Review.
Cited by
-
Emerging Themes and Research Frontiers in Suicide Prediction: A Scientometric Analysis.Cureus. 2024 Jun 11;16(6):e62139. doi: 10.7759/cureus.62139. eCollection 2024 Jun. Cureus. 2024. PMID: 38993467 Free PMC article. Review.
-
Machine learning as the new approach in understanding biomarkers of suicidal behavior.Bosn J Basic Med Sci. 2021 Aug 1;21(4):398-408. doi: 10.17305/bjbms.2020.5146. Bosn J Basic Med Sci. 2021. PMID: 33485296 Free PMC article. Review.
-
Artificial intelligence and machine learning techniques for suicide prediction: Integrating dietary patterns and environmental contaminants.Heliyon. 2024 Dec 4;10(24):e40925. doi: 10.1016/j.heliyon.2024.e40925. eCollection 2024 Dec 30. Heliyon. 2024. PMID: 39720063 Free PMC article. Review.
-
Unveiling the Influence of AI on Advancements in Respiratory Care: Narrative Review.Interact J Med Res. 2024 Dec 20;13:e57271. doi: 10.2196/57271. Interact J Med Res. 2024. PMID: 39705080 Free PMC article. Review.
-
Predicting acute suicidal ideation on Instagram using ensemble machine learning models.Internet Interv. 2021 Jul 6;25:100424. doi: 10.1016/j.invent.2021.100424. eCollection 2021 Sep. Internet Interv. 2021. PMID: 34401383 Free PMC article.
References
-
- Centers for Disease Control and Prevention. (2013) WISQARS Database. Retrieved from: https://www.cdc.gov/injury/wisqars/index.html.
-
- National Institutes of Mental Health (2019), Conducting research with participants at elevated risk for suicide: considerations for researchers. Retrieved from: https://www.nimh.nih.gov/funding/clinical-research/conducting-research-w....
-
- Belfor EL, Mezzacappa E, Ginnis K. Similarities and differences among adolescents who communicate suicidality to others via electronic versus other means: a pilot study. Adolesc. Psychiatry. 2012;2:258–262. doi: 10.2174/2210676611202030258. - DOI
LinkOut - more resources
Full Text Sources
Other Literature Sources