Mental Health User Classification from Chronological Reddit Posts Using Transformer–Recurrent Hybrid Models

Authors

  • Refiloe Raselane
  • Satyananda Reddy

DOI:

https://doi.org/10.51483/IJAIML.6.12s.2026.1161-1167

Keywords:

Mental health classification; MentalBERT; temporal modelling; BiLSTM; user-level representation learning; social media mining.

Abstract

Social media platforms contain valuable longitudinal information about users' linguistic patterns and behavioural changes, enabling automated mental health analysis. However, most existing approaches classify individual posts independently and fail to capture the chronological dependencies present in user-generated content. This study proposes a user-level mental health classification framework, MentalBERT–Temporal-BiLSTM, that fuses domain-specific contextual post embeddings with normalized inter-post time intervals and processes the resulting chronological representation with a bidirectional Long Short-Term Memory (BiLSTM) network. The framework is evaluated on 16,336 Reddit users across six classes—ADHD, Asperger's syndrome, depression, OCD, PTSD, and normal—achieving 90.64% accuracy and a 90.10% macro F1-score, and outperforming non-temporal and unidirectional temporal recurrent baselines. The results indicate that jointly modelling semantic content, posting-interval behaviour, and bidirectional sequential dependencies improves user-level classification over post-level and unidirectional approaches.

Downloads

Published

2026-09-28

How to Cite

Raselane, R., & Reddy, S. (2026). Mental Health User Classification from Chronological Reddit Posts Using Transformer–Recurrent Hybrid Models. International Journal of Artificial Intelligence and Machine Learning, 6(12s), 1161–1167. https://doi.org/10.51483/IJAIML.6.12s.2026.1161-1167