mlsanityData to 14 Oct 2026

Mental Multi-class Classification on Social Media: Benchmarking Transformer Architectures against LSTM Models

arXiv 2509.16542 ↗First posted 20 Sep 2025cs.CL cs.IR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Millions of people openly share mental health struggles on social media, providing rich data for early detection of conditions such as depression, bipolar disorder, etc. However, most prior Natural Language Processing (NLP) research has focused on single-disorder identification, leaving a gap in understanding the efficacy of advanced NLP techniques for distinguishing among multiple mental health conditions. In this work, we present a large-scale comparative study of state-of-the-art transformer versus Long Short-Term Memory (LSTM)-based models to classify mental health posts into exclusive categories of mental health conditions. We first curate a large dataset of Reddit posts spanning six mental health conditions and a control group, using rigorous filtering and statistical exploratory analysis to ensure annotation quality. We then evaluate five transformer architectures (BERT, RoBERTa, DistilBERT, ALBERT, and ELECTRA) against several LSTM variants (with or without attention, using contextual or static embeddings) under identical conditions. Experimental results show that transformer models consistently outperform the alternatives, with RoBERTa achieving 91-99% F1-scores and accuracies across all classes. Notably, attention-augmented LSTMs with BERT embeddings approach transformer performance (up to 97% F1-score) while training 2-3.5 times faster, whereas LSTMs using static embeddings fail to learn useful signals. These findings represent the first comprehensive benchmark for multi-class mental health detection, offering practical guidance on model selection and highlighting an accuracy-efficiency trade-off for real-world deployment of mental health NLP systems.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 26 references that are in the map. First posted on arXiv 20 Sep 2025.

Builds on

7 of 26 references.

References · 7

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  3. 2018SMHD: A Large-Scale Resource for Exploring Online Language Usage for Multiple Mental Health Conditionscited by 73
  4. 2018Utilizing Neural Networks and Linguistic Metadata for Early Detection of Depression Indications in Text Sequencescited by 36
  5. 2020Suicidal Ideation and Mental Disorder Detection with Attentive Relation Networkscited by 28
  6. 2021A Survey-Based Qualitative Study to Characterize Expectations of Software Developers from Five Stakeholderscited by 4
  7. 2025Advancing Mental Disorder Detection: A Comparative Evaluation of Transformer and LSTM Architectures on Social Mediacited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.