Abstract
One of the strongest indicators of a mental health crisis is how people interact with each other or express themselves. Hence, social media is an ideal source to extract user-level information about the language used to express personal feelings. In the wake of the ever-increasing mental health crisis in the United States, it is imperative to analyze the general well-being of a population and investigate how their public social media posts can be used to detect different underlying mental health conditions. For that purpose, we propose a study that collects posts from "reddits" related to different mental health topics to detect the type of the post and the nature of the mental health issues that correlate to the post. The task of detecting mental health related issues indicates the mental health conditions connected to the posts. However, it is also important to be able to detect unnecessary posts that are directly talking about the topic of interest. To achieve this, we expand our multi-task learning model that leverages, for each post, both the latent embedding space of words and topics for prediction with a message passing mechanism enabling the sharing of information for related tasks. We train the model through an active learning approach in order to tackle the lack of standardized fine-grained label data for this specific task. We further add a control group in the dataset to detect non-mental health related posts. Finally, we conduct a case study to show what are the important features in different mental health condition predictions.
Introduction
Mental health conditions like depression and anxiety are escalating public health crises in the United States. As shown in historical data, the prevalence of these issues has seen a steady increase over the last two decades.
Despite the severity of the situation, many individuals only express their struggles through the anonymity of social media. While platforms like Reddit provide a rich dataset of long-form, honest self-disclosure, analyzing this data at scale presents significant hurdles: the high cost of manual labeling, the overlap of symptoms between comorbid conditions like depression and anxiety, and the difficulty of filtering out neutral "chatter."
To address these challenges, researchers at Virginia Tech have developed GMMTL (Graph-based Message-passing Multi-task Learning). This novel framework treats mental health detection as a multi-task learning problem, allowing the model to learn from related conditions simultaneously rather than in isolation.
Methodology: The GMMTL Framework
The GMMTL framework integrates three core technical components to improve detection accuracy and efficiency:
- Hybrid Feature Extraction: The model combines lexical word embeddings from BERT (Bidirectional Encoder Representations from Transformers) with semantic topic modeling from LDA/BERTopic. This allows the model to capture both the specific language used and the broader thematic context of a post.
- Graph-based Message Passing: This mechanism is the framework's "secret sauce." By representing tasks as nodes in a graph, a message-passing layer enables the sharing of learned features between related tasks (e.g., depression and anxiety). This helps the model understand the joint probability of comorbid conditions.
- Active Learning (AL): To overcome the lack of labeled data, the authors employed an AL loop using "Disagreement Sampling." By having multiple models vote on posts and selecting the most informative ones for human labeling, the researchers achieved high performance with only 5,000 labeled examples.
Data and Experimental Results
The study utilized a dataset scraped from Reddit via PushShift.io, covering posts from January 2020 to January 2022. The target groups included subreddits such as r/Anxiety, r/Depression, and r/SuicideWatch, while a control group was formed from neutral subreddits like r/CasualConversation.
The GMMTL model consistently outperformed traditional baselines (SVM, Random Forest, MLP). Key results include:
- High Accuracy: The combination of BERTopic and BERT achieved a micro-F1 score of 0.885.
- Condition-Specific Precision: The model was particularly effective at detecting Depression (0.913 Precision) and Anxiety (0.872).
- Active Learning Efficiency: Model accuracy improved significantly as the labeled dataset grew from 2,000 to 5,000 samples, validating the iterative labeling approach.
Discussion and Explainability
A major advantage of GMMTL is its "explainability." Unlike "black box" models, it identifies specific topics that drive its predictions. For instance, Topic 23 (related to "intrusive thoughts") was a high contributor for both conditions, while Topic 3 (medication names like "Zoloft") was a specific marker for anxiety.
The study demonstrates that jointly learning related tasks is superior to isolated learning. By leveraging the semantic overlap between conditions, the message-passing layer provides "hints" that improve overall performance.
Future Directions
While promising, the authors note several areas for future work. The current model focuses on depression and anxiety; future iterations could expand to ADHD, BPD, and Bipolar Disorder. Additionally, while the study acknowledges the broader public health context, the model does not yet incorporate geographical or spatial data, which could further enhance its utility for public health monitoring.
Summary updated