Detection of Suicidality Among Opioid Users on Reddit: Machine Learning–Based Approach

Background In recent years, both suicide and overdose rates have been increasing. Many individuals who struggle with opioid use disorder are prone to suicidal ideation; this may often result in overdose. However, these fatal overdoses are difficult to classify as intentional or unintentional. Intentional overdose is difficult to detect, partially due to the lack of predictors and social stigmas that push individuals away from seeking help. These individuals may instead use web-based means to articulate their concerns. Objective This study aimed to extract posts of suicidality among opioid users on Reddit using machine learning methods. The performance of the models is derivative of the data purity, and the results will help us to better understand the rationale of these users, providing new insights into individuals who are part of the opioid epidemic. Methods Reddit posts between June 2017 and June 2018 were collected from r/suicidewatch, r/depression, a set of opioid-related subreddits, and a control subreddit set. We first classified suicidal versus nonsuicidal languages and then classified users with opioid usage versus those without opioid usage. Several traditional baselines and neural network (NN) text classifiers were trained using subreddit names as the labels and combinations of semantic inputs. We then attempted to extract out-of-sample data belonging to the intersection of suicide ideation and opioid abuse. Amazon Mechanical Turk was used to provide labels for the out-of-sample data. Results Classification results were at least 90% across all models for at least one combination of input; the best classifier was convolutional neural network, which obtained an F1 score of 96.6%. When predicting out-of-sample data for posts containing both suicidal ideation and signs of opioid addiction, NN classifiers produced more false positives and traditional methods produced more false negatives, which is less desirable for predicting suicidal sentiments. Conclusions Opioid abuse is linked to the risk of unintentional overdose and suicide risk. Social media platforms such as Reddit contain metadata that can aid machine learning and provide information at a personal level that cannot be obtained elsewhere. We demonstrate that it is possible to use NNs as a tool to predict an out-of-sample target with a model built from data sets labeled by characteristics we wish to distinguish in the out-of-sample target.

[1]  M. Nock,et al.  Chronic Pain and Suicide: Understanding the Association , 2014, Current Pain and Headache Reports.

[2]  John Nerbonne,et al.  The Secret Life of Pronouns. What Our Words Say About Us , 2014, Lit. Linguistic Comput..

[3]  Tong Zhang,et al.  Effective Use of Word Order for Text Categorization with Convolutional Neural Networks , 2014, NAACL.

[4]  Pascale Fung,et al.  Interpreting Word Embeddings with Eigenvector Analysis , 2018 .

[5]  Jason Weston,et al.  Natural Language Processing (Almost) from Scratch , 2011, J. Mach. Learn. Res..

[6]  J. Pennebaker,et al.  Word Use in the Poetry of Suicidal and Nonsuicidal Poets , 2001, Psychosomatic medicine.

[7]  Daniel P. W. Ellis,et al.  Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems , 2015, ArXiv.

[8]  Rajita Sinha,et al.  Chronic Stress, Drug Use, and Vulnerability to Addiction , 2008, Annals of the New York Academy of Sciences.

[9]  W. van den Brink,et al.  Personality disorders in alcoholics and drug addicts. , 1993, Comprehensive psychiatry.

[10]  Tong Liu,et al.  Learning from various labeling strategies for suicide-related messages on social media: An experimental study , 2017, ArXiv.

[11]  B. Pescosolido,et al.  Communication Strategies to Counter Stigma and Improve Mental Illness and Substance Use Disorder Policy. , 2017, Psychiatric services.

[12]  Christopher M. Jones,et al.  Prescription Opioid Use, Misuse, and Use Disorders in U.S. Adults: 2015 National Survey on Drug Use and Health , 2017, Annals of Internal Medicine.

[13]  Kathleen Saunders,et al.  Trends in long-term opioid therapy for noncancer pain among persons with a history of depression. , 2009, General hospital psychiatry.

[14]  Daniela Stan Raicu,et al.  Automatic extraction of informal topics from online suicidal ideation , 2018, BMC Bioinformatics.

[15]  Helen Christensen,et al.  A Linguistic Analysis of Suicide-Related Twitter Posts , 2017, Crisis.

[16]  Tomas Mikolov,et al.  Bag of Tricks for Efficient Text Classification , 2016, EACL.

[17]  H. Christensen,et al.  Detecting suicidality on Twitter , 2015 .

[18]  M. Large The role of prediction in suicide prevention , 2018, Dialogues in clinical neuroscience.

[19]  Diana Inkpen,et al.  Deep Learning for Depression Detection of Twitter Users , 2018, CLPsych@NAACL-HTL.

[20]  Tatiana Litvinova,et al.  Identification of Suicidal Tendencies of Individuals based on the Quantitative Analysis of their Internet Texts , 2017, Computación y Sistemas.

[21]  Paul J. Ambrose,et al.  Neo-tribes: the power and potential of online communities in health care , 2006, CACM.

[22]  Xiang Zhang,et al.  Text Understanding from Scratch , 2015, ArXiv.

[23]  Adam Kilgarriff,et al.  of the European Chapter of the Association for Computational Linguistics , 2006 .

[24]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[25]  Jeffrey Pennington,et al.  GloVe: Global Vectors for Word Representation , 2014, EMNLP.

[26]  G. Koren,et al.  Characteristics of Opioid-Users Whose Death Was Related to Opioid-Toxicity: A Population-Based Study in Ontario, Canada , 2013, PloS one.

[27]  P. Corrigan,et al.  The Stigmatization of Drug Use as Mechanism of Legitimation of Exclusion , 2018 .

[28]  J. Pennebaker The Secret Life of Pronouns: What Our Words Say About Us , 2011 .

[29]  Krishnaprasad Thirunarayan,et al.  “When ‘Bad’ is ‘Good’”: Identifying Personal Communication and Sentiment in Drug-Related Tweets , 2016, JMIR public health and surveillance.

[30]  J. Pennebaker,et al.  The Secret Life of Pronouns , 2003, Psychological science.

[31]  Mark Dredze,et al.  Detecting Changes in Suicide Content Manifested in Social Media Following Celebrity Suicides , 2015, HT.

[32]  Shirui Pan,et al.  Supervised Learning for Suicidal Ideation Detection in Online User Content , 2018, Complex..

[33]  Kelly C. Cukrowicz,et al.  The interpersonal theory of suicide. , 2010, Psychological review.

[34]  Gert R. G. Lanckriet,et al.  Twitter-Based Detection of Illegal Online Sale of Prescription Opioid , 2017, American journal of public health.

[35]  E. Walker,et al.  Diagnostic and Statistical Manual of Mental Disorders , 2013 .

[36]  Petr Sojka,et al.  Software Framework for Topic Modelling with Large Corpora , 2010 .

[37]  Ye Zhang,et al.  A Sensitivity Analysis of (and Practitioners’ Guide to) Convolutional Neural Networks for Sentence Classification , 2015, IJCNLP.

[38]  J. Kelly,et al.  Does it matter how we refer to individuals with substance-related conditions? A randomized study of two commonly used terms. , 2010, The International journal on drug policy.

[39]  W. Ling Prescription opioid addiction and chronic pain: More than a feeling. , 2017, Drug and alcohol dependence.

[40]  T. Mackey,et al.  Exploring trends of nonmedical use of prescription drugs and polydrug abuse in the Twittersphere using unsupervised machine learning. , 2017, Addictive behaviors.

[41]  Xuanjing Huang,et al.  Recurrent Neural Network for Text Classification with Multi-Task Learning , 2016, IJCAI.

[42]  David C. DeAndrea,et al.  Online peer support for mental health problems in the United States: 2004–2010 , 2013, Psychological Medicine.

[43]  Mike Conway,et al.  Harnessing Reddit to Understand the Written-Communication Challenges Experienced by Individuals With Mental Health Disorders: Analysis of Texts From Mental Health Communities , 2018, Journal of Medical Internet Research.

[44]  H. Hendy,et al.  Opioid Abuse as Maladaptive Coping to Life Stressors in U.S. Adults , 2018, Journal of Drug Issues.

[45]  Joel H. Saltz,et al.  Social Media Based Analysis of Opioid Epidemic Using Reddit , 2018, AMIA.

[46]  T. Joiner,et al.  The interpersonal-psychological theory of suicidal behavior: current status and future directions. , 2009, Journal of clinical psychology.

[47]  Yoon Kim,et al.  Convolutional Neural Networks for Sentence Classification , 2014, EMNLP.

[48]  E. Shneidman,et al.  Commentary: Suicide as Psychache , 1993 .

[49]  N. Persaud,et al.  Suicide by Means of Opioid Overdose in Patients with Chronic Pain , 2014, Current Pain and Headache Reports.

[50]  Mei Lan Fang,et al.  The effectiveness of interventions for reducing stigma related to substance use disorders: a systematic review , 2012, Addiction.

[51]  Lisa Townsend,et al.  Influence of health beliefs and stigma on choosing internet support groups over formal mental health services. , 2012, Psychiatric services.

[52]  Gaël Varoquaux,et al.  A supervised clustering approach for fMRI-based inference of brain states , 2011, Pattern Recognit..

[53]  E S Shneidman,et al.  Suicide as psychache. , 1993, The Journal of nervous and mental disease.

[54]  Ahmet Emre Aladağ,et al.  Detecting Suicidal Ideation on Forums: Proof-of-Concept Study , 2018, Journal of medical Internet research.

[55]  Munmun De Choudhury,et al.  Mental Health Discourse on reddit: Self-Disclosure, Social Support, and Anonymity , 2014, ICWSM.

[56]  Urmimala Sarkar,et al.  The Canary in the Coal Mine Tweets: Social Media Reveals Public Perceptions of Non-Medical Use of Opioids , 2015, PloS one.

[57]  M. Krauss,et al.  Social networking online to recover from opioid use disorder: A study of community interactions. , 2017, Drug and alcohol dependence.

[58]  Nigam H Shah,et al.  Impact of Predicting Health Care Utilization Via Web Search Behavior: A Data-Driven Analysis , 2016, Journal of medical Internet research.

[59]  Frank Rudzicz,et al.  Detecting Anxiety through Reddit , 2017, CLPsych@ACL.

[60]  B. Bradley,et al.  Substance use, childhood traumatic experience, and Posttraumatic Stress Disorder in an urban civilian population , 2010, Depression and anxiety.

[61]  Lori D. Handelman,et al.  The content of suicide notes from attempters and completers. , 2007, Crisis.

[62]  Munmun De Choudhury,et al.  Mental Health Support and its Relationship to Linguistic Accommodation in Online Communities , 2018, CHI.

[63]  S. Curtin,et al.  Suicide Mortality in the United States, 1999-2017. , 2018, NCHS data brief.

[64]  N. Volkow,et al.  Suicide: A Silent Contributor to Opioid-Overdose Deaths. , 2018, The New England journal of medicine.