Transfer Learning for Risk Classification of Social Media Posts: Model Evaluation Study (Preprint)
Preprint
- 4 July 2019
- preprint
- Published by JMIR Publications Inc. in JMIR Preprints
Abstract
BACKGROUND Mental illness affects a significant portion of the worldwide population. Online mental health forums can provide a supportive environment for those afflicted and also generate a large amount of data that can be mined to predict mental health states using machine learning methods. OBJECTIVE This study aimed to benchmark multiple methods of text feature representation for social media posts and compare their downstream use with automated machine learning (AutoML) tools. We tested on datasets that contain posts labeled for perceived suicide risk or moderator attention in the context of self-harm. Specifically, we assessed the ability of the methods to prioritize posts that a moderator would identify for immediate response. METHODS We used 1588 labeled posts from the Computational Linguistics and Clinical Psychology (CLPsych) 2017 shared task collected from the Reachout.com forum. Posts were represented using lexicon-based tools, including Valence Aware Dictionary and sEntiment Reasoner, Empath, and Linguistic Inquiry and Word Count, and also using pretrained artificial neural network models, including DeepMoji, Universal Sentence Encoder, and Generative Pretrained Transformer-1 (GPT-1). We used Tree-based Optimization Tool and Auto-Sklearn as AutoML tools to generate classifiers to triage the posts. RESULTS The top-performing system used features derived from the GPT-1 model, which was fine-tuned on over 150,000 unlabeled posts from Reachout.com. Our top system had a macroaveraged F1 score of 0.572, providing a new state-of-the-art result on the CLPsych 2017 task. This was achieved without additional information from metadata or preceding posts. Error analyses revealed that this top system often misses expressions of hopelessness. In addition, we have presented visualizations that aid in the understanding of the learned classifiers. CONCLUSIONS In this study, we found that transfer learning is an effective strategy for predicting risk with relatively little labeled data and noted that fine-tuning of pretrained language models provides further gains when large amounts of unlabeled text are available.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- The Use of Social Networking Sites in Mental Health Interventions for Young People: Systematic ReviewJournal of Medical Internet Research, 2018
- “I Can’t Crack the Code”: What Suicide Notes Teach Us about Experiences with Mental Illness and Mental Health CareThe Canadian Journal of Psychiatry, 2018
- Expert, Crowdsourced, and Machine Assessment of Suicide Risk via Online Postings2018
- A meta-analysis of correlations between depression and first person singular pronoun useJournal of Research in Personality, 2017
- Risk factors for suicidal thoughts and behaviors: A meta-analysis of 50 years of research.Psychological Bulletin, 2017
- Empath2016
- Predicting postpartum changes in emotion and behavior via social media2013
- Internet peer support for individuals with psychiatric disabilities: A randomized controlled trialSocial Science & Medicine, 2011
- The Psychological Meaning of Words: LIWC and Computerized Text Analysis MethodsJournal of Language and Social Psychology, 2009
- Peer Support Among Adults With Serious Mental Illness: A Report From the FieldSchizophrenia Bulletin, 2005