Abstract
Users suffering from mental health conditions often turn to online resources for support, including specialized online support communities or general communities such as Twitter and Reddit. In this work, we present a neural framework for supporting and studying users in both types of communities. We propose methods for identifying posts in support communities that may indicate a risk of self-harm, and demonstrate that our approach outperforms strong previously proposed methods for identifying such posts. Self-harm is closely related to depression, which makes identifying depressed users on general forums a crucial related task. We introduce a large-scale general forum dataset ("RSDD") consisting of users with self-reported depression diagnoses matched with control users. We show how our method can be applied to effectively identify depressed users from their use of language alone. We demonstrate that our method outperforms strong baselines on this general forum dataset.
Introduction
Mental health is a global public health challenge, with depression affecting over 350 million people worldwide. Many individuals turn to online communities like Reddit or specialized support forums (e.g., ReachOut.com) to seek help. However, these forums are often overwhelmed by thousands of daily posts, making it impossible for human moderators to manually identify every user in acute distress. Previous automated approaches relied heavily on "feature engineering"—manually selecting specific keywords or psycholinguistic categories. These methods are labor-intensive and often miss subtle linguistic signals. Furthermore, existing research datasets were often too small or lacked a realistic ratio of "control" users, leading to models that don't perform well in the messy, high-volume environment of the real internet.
Methodology
The authors propose a general neural network architecture based on Convolutional Neural Networks (CNNs). Instead of looking for specific "sad" words, the model uses a sliding window to identify relevant patterns across a user's post history. The architecture follows a two-step process: post representation via a CNN to extract local features, followed by user classification where these features are merged and passed through dense layers for a final prediction.
Datasets
The paper utilizes two primary data sources:
- RSDD (Reddit Self-reported Depression Diagnosis): A new, large-scale dataset containing over 9,000 users with self-reported depression diagnoses and 107,000 control users. Control users were matched using Hellinger distance to ensure similar subreddit interests and activity levels.
- ReachOut.com Dataset: Used for self-harm triage tasks, consisting of ~65,000 posts with a subset manually labeled into four categories: Green (no action), Amber (non-urgent), Red (urgent), and Crisis (immediate distress).
For the self-harm task, the authors experimented with different loss functions to handle the ordinal nature of risk, testing standard Categorical Cross-Entropy against Mean Squared Error (MSE) and a custom "Class Metric" approach designed to enforce a margin between severity levels.
Key Results
On the RSDD dataset, the CNN model outperformed strong baselines like SVM and FastText by a wide margin. Specifically, the random sampling approach (CNN-R) achieved a 16% increase in F1-score and a 41% increase in Recall over the best baseline, catching significantly more depressed users who would have otherwise been missed.
For self-harm triage on the ReachOut test set, the model improved the "Non-green F1" (the ability to identify any level of risk) by 19% compared to previous top-performing methods from the CLPsych '16 workshop. The results also showed that performance continues to improve as the model considers more posts per user (up to about 1,000 posts), highlighting the importance of long-term user history.
Discussion and Insights
Unlike previous state-of-the-art models that required complex dictionaries, this neural approach relies solely on raw text. It learns its own features, capturing nuances like "my whole" (often followed by "life") or "i'm so sorry," which indicate a specific negative outlook or sense of guilt. The authors found that randomly sampling posts (CNN-R) performed significantly better than looking at only the earliest posts (CNN-E), suggesting that signs of depression are distributed throughout a user's timeline.
Limitations and Ethics
The authors acknowledge several caveats, including self-reporting bias in the RSDD dataset and the difficulty of differentiating between "Red" (urgent) and "Crisis" (immediate) labels due to the rarity of crisis posts. Ethically, the authors emphasize that this tool is intended to support human moderators, not replace them, and highlight privacy risks associated with tracing anonymized posts back to individuals via search engines.
Summary updated