A machine learning approach predicts future risk to suicidal ideation from social media data

Description

<jats:title>Abstract</jats:title><jats:p>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 <jats:italic>N</jats:italic> = 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 <jats:italic>N</jats:italic> = 830 SI events derived from an independent set of 277 suicidal ideators relative to <jats:italic>N</jats:italic> = 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, <jats:italic>P</jats:italic> = 9 × 10<jats:sup>−71</jats:sup>). 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.</jats:p>

Journal

  • npj Digital Medicine

    npj Digital Medicine 3 (1), 78-, 2020-05-26

    Springer Science and Business Media LLC

Citations (1)*help

See more

Report a problem

Back to top