Skip to content
Open access

Multi-Class Mental Health Discourse Classification from Online Texts: Classical ML vs Transformer/LLM Modeling

Aug 2026 · International journal of computer information systems and industrial management applications · 0 citations

TL;DR

It is shown that con-textual transformer/LLM models yield more reliable macro-level performance under imbalance than TF–IDF baselines, particularly for semantically adja- cent classes.

Abstract

Online mental-health discourse contains diverse in-tents including awareness education, wellness advice, support seeking, and symptom narratives associated with anx- iety and depression. These categories are semantically overlapping, short and noisy, and imbalanced in public datasets, making robust multi-class classification difficult. This paper presents an end-to-end framework for six- class mental health discourse classification and provides a publication-oriented SN Computer Science style analysis including mathematical formulation, gradient deriva-tions for cross-entropy learning, computational complexity anal-ysis, ablation design, and statistically grounded compari- son using McNemar’s test. Using a public dataset with six classes (awareness, wellness, anxiety, support, depression, general) and the provided empirical results and figures, we show that con-textual transformer/LLM models yield more reliable macro-level performance under imbalance than TF–IDF baselines, particularly for semantically adja- cent classes. A confusion-matrix driven analysis identifies two dominant confusion clusters (awareness vs wellness and anxiety vs depression) and motivates intent-aware modeling, calibration and uncertainty reporting. We also provide a rigorous reporting protocol (splits, leakage con-trol, seeds), per-class metrics derived from the supplied confusion matrix, and a Q1-ready ablation blueprint.

Read PDF

Similar papers

Jul 2026

Evaluation of Transformer and Gradient Boosting Models for Indonesian Mental Health Text Classification

This study compares the performance between traditional feature-based classification methods and transformer architectures in mapping stress, anxiety, and depression conditions in Indonesian-language mental health discourse. The task is formulated as a multi-class classification problem, where each consultation is assi...

Evi Dwi Wahyuni, Wiwik Anggraeni, Reza Fuad Rachmadi et al. · 0 citations
Review Open access Jul 2026

Predicting Mental Health Conditions from Text Using Interpretable Machine Learning

Experimental results demonstrate that interpretability does not significantly compromise predictive performance, enabling trustworthy AI-assisted mental health screening, and presents an interpretable machine learning framework that combines natural language processing (NLP) feature extraction with explainable AI techn...

N. Thakur, Pragati Patil, Priya Choudhary · 0 citations
Open access Aug 2026

Domain-informed density extraction for robust mental health classification of long social media posts

The findings demonstrate that a leakage-safe evaluation protocol is essential for producing credible results in mental health classification from long social media posts and show that domain-informed density extraction provides a robust and practical text representation, with its greatest benefits emerging when models...

Rafat Hammad, Suha Rababah · 0 citations
Conference Jul 2026

A Web-Based Mental Health Assessment Framework using Natural Language Processing Techniques

Mental illnesses like depression, anxiety, stress, and so on have become more widespread, and this has necessitated the availability of assessment tools that are readily available, scalable, and automated. The paper will offer a web-based mental health risk assessment system that utilizes the latest technology of Natur...

D. D, S. S, L. K et al. · 0 citations
Open access 2026

QBERT-LSTM: Quantum Intelligence-Based Mental Health Sentiment Analysis Using Web Scraping

A hybrid framework for sentiment classification from text, termed QBERT-LSTM, which integrates quantum-enhanced bidirectional encoder representations from transformers (QBERT) with long short-term memory (LSTM) networks, which excel at capturing global context and enhances sequential patterns and temporal features.

Najnin Sultana Shirin, Md. Aminul Islam, Maria Akter Abin et al. · 0 citations
Conference Jul 2026

A Multimodal Approach Integrating Clinical Text Analysis and Psychometric Instruments for ADHD Prediction

This Attention Deficit Hyperactivity Disorder (ADHD) remains substantially under-diagnosed among university students despite affecting 2–8% of this population. Campus health services, facing persistent resource constraints, frequently accumulate assessment backlogs of 6–12 months. This paper presents a machine learning...

Niraj Sharma, Pampa Hawladar, Nidhi Kushwaha · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.