Not Just Depressed: Bipolar Disorder Prediction on Reddit

Ivan Sekulic, Matej Gjurkovic, Jan Snajder

Introduction

Mental health disorders affect nearly a third of the adult population in Europe, yet a staggering 35–50% of cases go undiagnosed or untreated. Bipolar disorder presents a unique clinical challenge; characterized by extreme shifts between manic (elevated energy) and depressive (hopelessness) states, it is frequently misidentified as unipolar depression. This misdiagnosis is critical, as bipolar disorder carries a significantly higher suicide risk—exceeding 6%.

The primary hurdle in applying Natural Language Processing (NLP) to early detection is the scarcity of large, clinically labeled datasets. Researchers Sekulić, Gjurković, and Šnajder addressed this gap by leveraging Reddit, a platform where users frequently self-report diagnoses in a naturalistic setting, to build a robust predictive framework for bipolar disorder.

Methodology

The researchers framed the detection problem as a binary classification task: distinguishing between "bipolar" and "control" users. To ensure the models learned psychological markers rather than just topical ones, the team implemented a rigorous data pruning process. They identified bipolar users through self-reported statements and subreddit "flairs," then removed all comments made within mental health-related subreddits to eliminate "topic bias" (e.g., mentions of specific medications like lithium).

Feature Engineering

Three distinct feature sets were extracted from a dataset of approximately 20 million comments:

  1. Psycholinguistic Features: Utilizing LIWC (Linguistic Inquiry and Word Count) and Empath to capture categories such as emotional tone, social processes, and health-related concerns.
  2. Lexical Features: Standard tf-idf weighted bag-of-words to capture specific vocabulary.
  3. Reddit-Specific Metadata: Interaction patterns, including post-to-comment ratios and the frequency of "gilded" content.

Performance and Results

The study evaluated three standard machine learning models: Support Vector Machines (SVM), Logistic Regression, and Random Forest (RF). The Random Forest classifier emerged as the top performer, achieving an accuracy of 86.9% and an F1-score of 0.863. These results significantly outperformed baseline measures, including the majority class classifier (MCC) and random classification.

Performance comparison of different classification models.

Interestingly, simple tf-idf features performed as well as, or better than, specialized psycholinguistic tools. This suggests that the specific community-driven vocabulary used by bipolar individuals is highly predictive of the condition.

Psychological Insights: The "Swing" of the Disorder

The analysis revealed several key linguistic markers that differentiate bipolar users from the general population:

  • Increased Self-Focus: Bipolar users showed a significantly higher usage of first-person singular pronouns (I, me, my), supporting theories that mental distress often correlates with increased self-focus.
  • Positive Emotion Markers: Unlike studies focused solely on depression, bipolar users in this dataset used more positive emotion words than the control group. This is interpreted as a linguistic footprint of manic episodes, which are absent in clinical depression.
  • Emotional Volatility: The most significant finding involved user-level variance. By analyzing user history in monthly increments, the researchers found that bipolar users exhibit significantly higher variance in their expression of anxiety, sadness, and positive emotions over time.
Variance of emotional categories for bipolar and control groups, showing significant differences (p < 0.05).

This variance captures the cyclical nature of the disorder—the "swing" between states—rather than just a static mood level.

Limitations and Future Directions

While the results are promising, the authors note several limitations. The "ground truth" relies on unverified self-reporting, and the use of UTC timestamps in the data prevented the analysis of circadian rhythm disturbances, a common symptom of bipolar disorder. Future research may benefit from deep learning architectures, such as Transformers or LSTMs, which are better equipped to model the long-term temporal dependencies and cycles inherent in the illness.

Summary updated

BibTeX
@inproceedings{sekulic2018not,
  author = {Ivan Sekulic and Matej Gjurkovic and Jan Snajder},
  title = {{Not Just Depressed: Bipolar Disorder Prediction on Reddit}},
  booktitle = {WASSA @ EMNLP},
  year = {2018},
  doi = {10.18653/v1/w18-6211},
}
Figure