Transfer Learning for Risk Classification of Social Media Posts: Model Evaluation Study

被引:22
作者
Howard, Derek [1 ,2 ]
Maslej, Marta M. [1 ,2 ]
Lee, Justin [3 ]
Ritchie, Jacob [1 ,4 ]
Woollard, Geoffrey [5 ,6 ]
French, Leon [1 ,2 ,7 ,8 ]
机构
[1] Ctr Addict & Mental Hlth, Campbell Family Mental Hlth Res Inst, Toronto, ON, Canada
[2] Ctr Addict & Mental Hlth, Krembil Ctr Neuroinformat, 250 Coll St, Toronto, ON M5T 1R8, Canada
[3] Univ Toronto, Dept Biochem, Toronto, ON, Canada
[4] Univ Toronto, Dept Comp Sci, Toronto, ON, Canada
[5] Univ Toronto, Dept Med Biophys, Toronto, ON, Canada
[6] Univ Hlth Network, Princess Margaret Canc Ctr, Toronto, ON, Canada
[7] Univ Toronto, Inst Med Sci, Toronto, ON, Canada
[8] Univ Toronto, Dept Psychiat, Div Brain & Therapeut, Toronto, ON, Canada
基金
加拿大创新基金会;
关键词
triage; classification; natural language processing; transfer learning; machine learning; data interpretation; statistical; mental health; social support; AGE-OF-ONSET; PEER SUPPORT; MENTAL-DISORDERS; METAANALYSIS;
D O I
10.2196/15371
中图分类号
R19 [保健组织与事业(卫生事业管理)];
学科分类号
摘要
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.
引用
收藏
页数:14
相关论文
共 51 条
  • [1] [Anonymous], 2018, SMHD LARGE SCALE RES
  • [2] [Anonymous], P ADV NEUR INF PROC
  • [3] [Anonymous], ARXIV E PRINT ARCH A
  • [4] [Anonymous], 2018, SENTENCE ENCODERS ST
  • [5] [Anonymous], 2016, P 3 WORKSH COMP LING
  • [6] [Anonymous], QUANTIFYING MENTAL H
  • [7] [Anonymous], UNIVERSAL SENTENCE E, Patent No. 180311175
  • [8] [Anonymous], P 5 WORKSH COMP LING
  • [9] [Anonymous], GITHUB INDICO DATA S
  • [10] [Anonymous], 2014, Transactions of the Association for Computational Linguistics, DOI [DOI 10.1162/TACLA00185, DOI 10.1162/tacl_a_00185]