Related Experiment Video
Updated: Feb 2, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Understanding mental health discourse on Reddit with transformers and explainability
Irene Sánchez Rodríguez1,2, John Bianchi3,4, Fabio Pinelli3
1Molecular Mind Lab, IMT School for Advanced Studies Lucca, Lucca, 55100, Italy. irene.sanchez@imtlucca.it.
This study used AI to analyze Reddit mental health discussions, classifying posts on anxiety, depression, bipolar disorder, and borderline personality disorder (BPD). Findings reveal distinct language patterns, aiding in understanding online support communities.
Area of Science:
- Computational linguistics
- Mental health informatics
- Social media analysis
Background:
- Social media platforms host significant discussions on mental health.
- Understanding online discourse is crucial for mental health support and research.
- Specialized subreddits aim to provide focused support for various mental health conditions.
Purpose of the Study:
- To classify Reddit posts related to anxiety, depression, bipolar disorder, and borderline personality disorder (BPD).
- To assess the alignment of subreddit conversations with their intended mental health focus.
- To identify linguistic patterns characterizing discussions of specific mental health conditions.
Main Methods:
- Fine-tuned pretrained transformer models (BERT and MentalBERT) were employed for text classification.
- Local Interpretable Model-agnostic Explanations (LIME) were used for model interpretability.
- Analysis focused on posts from specialized subreddits dedicated to mental health conditions.
Main Results:
- Classification models achieved an average accuracy of 82%, with MentalBERT showing slightly superior performance.
- Distinct linguistic patterns were identified for different conditions (e.g., mood instability in bipolar disorder, emotional regulation in BPD).
- The study demonstrated the effectiveness of AI in analyzing and understanding online mental health discourse.
Conclusions:
- AI models can effectively classify mental health topics on social media and assess community alignment.
- Identifying specific language use provides insights into how different conditions are discussed online.
- These findings can inform mental health professionals, community management, and efforts to reduce stigma.
Related Concept Videos
Stress and Mental Health
Individuals with depression often experience challenges in both their personal and professional...
Understanding the Self
Bacterial Transformation
Griffith made an unexpected discovery when he killed the pathogenic strain and mixed its remains with the live, non-pathogenic strain. Not only did the mixture kill host mice, but it also contained living pathogenic bacteria that...
Understanding Self-Concept
Understanding Deception
Higher Mental Functions of the Brain: Language
Language formation and comprehension take place in the dominant hemisphere. The dominant hemisphere is responsible for understanding the meaning of spoken, written, or sign language, as well as the ability to communicate. For most people, the left hemisphere is the dominant one. The right hemisphere, then, gives tone and emotional context to the...

