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

**Authors:** Derek Howard, Marta Maslej, Justin Lee, Jacob Ritchie, Geoffrey, Woollard, Leon French

arXiv: 1907.02581 · 2019-07-12

## TL;DR

This study evaluates various text representation methods and AutoML tools for classifying social media posts related to mental health risk, achieving state-of-the-art results using transfer learning with GPT-1.

## Contribution

It demonstrates the effectiveness of transfer learning and pretrained language models, particularly GPT-1, for mental health risk classification on social media data.

## Key findings

- GPT-1 features achieved the best classification performance.
- The top system had a macro F1 score of 0.572.
- Transfer learning improves risk prediction with limited labeled data.

## Abstract

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 which can be mined to predict mental health states using machine learning methods. We benchmark multiple methods of text feature representation for social media posts and compare their downstream use with automated machine learning (AutoML) tools to triage content for moderator attention. We used 1588 labeled posts from the CLPsych 2017 shared task collected from the Reachout.com forum (Milne et al., 2019). Posts were represented using lexicon based tools including VADER, Empath, LIWC and also used pre-trained artificial neural network models including DeepMoji, Universal Sentence Encoder, and GPT-1. We used TPOT and auto-sklearn as AutoML tools to generate classifiers to triage the posts. The top-performing system used features derived from the GPT-1 model, which was finetuned on over 150,000 unlabeled posts from Reachout.com. Our top system had a macro averaged 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 meta-data or preceding posts. Error analyses revealed that this top system often misses expressions of hopelessness. We additionally present visualizations that aid understanding of the learned classifiers. We show that transfer learning is an effective strategy for predicting risk with relatively little labeled data. We note that finetuning of pretrained language models provides further gains when large amounts of unlabeled text is available.

---
Source: https://tomesphere.com/paper/1907.02581