# Detection and Classification of mental illnesses on social media using RoBERTa

arXiv: https://arxiv.org/abs/2011.11226 · HTML: https://mlsanity.com/paper/2011.11226/

## Key facts

- Cited by 8 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 23 Nov 2020.

## Built on by (most cited first, 8 of 8)

- [Emotion fusion for mental illness detection from social media: A survey](https://mlsanity.com/paper/2304.09493/) (2023)
- [Diverse Perspectives, Divergent Models: Cross-Cultural Evaluation of Depression Detection on Twitter](https://mlsanity.com/paper/2406.15362/) (2024)
- [LOST: A Mental Health Dataset of Low Self-esteem in Reddit Posts](https://mlsanity.com/paper/2306.05596/) (2023)
- [Detecting a Proxy for Potential Comorbid ADHD in People Reporting Anxiety Symptoms from Social Media Data](https://mlsanity.com/paper/2403.05561/) (2024)
- [Depression detection in social media posts using transformer-based models and auxiliary features](https://mlsanity.com/paper/2409.20048/) (2024)
- [Social Behavior and Mental Health: A Snapshot Survey under COVID-19 Pandemic](https://mlsanity.com/paper/2105.08165/) (2021)
- [Shayona@SMM4H23: COVID-19 Self diagnosis classification using BERT and LightGBM models](https://mlsanity.com/paper/2401.02158/) (2024)
- [JiraiBench: A Bilingual Benchmark for Evaluating Large Language Models' Detection of Human Self-Destructive Behavior Content in Jirai Community](https://mlsanity.com/paper/2503.21679/) (2025)

## Abstract (arXiv)

Given the current social distancing regulations across the world, social media has become the primary mode of communication for most people. This has resulted in the isolation of many people suffering from mental illnesses who are unable to receive assistance in person. They have increasingly turned to social media to express themselves and to look for guidance in dealing with their illnesses. Keeping this in mind, we propose a solution to detect and classify mental illness posts on social media thereby enabling users to seek appropriate help. In this work, we detect and classify five prominent kinds of mental illnesses: depression, anxiety, bipolar disorder, ADHD and PTSD by analyzing unstructured user data on social media platforms. In addition, we are sharing a new high-quality dataset to drive research on this topic. We believe that our work is the first multi-class model that uses a Transformer-based architecture such as RoBERTa to analyze people's emotions and psychology. We also demonstrate how we stress-test our model using behavioral testing. With this research, we hope to be able to contribute to the public health system by automating some of the detection and classification process.
