Skip to content
Review Open access

Precision versus Efficiency: A Quantized DistilBERT Framework for Automated Mental Health Text Triage

Sep 2026 · International Journal of Secondary Computing and Applications Research · Vol 3, pp. 21-35 · 0 citations

TL;DR

An automated classification system capable of accurately and efficiently categorizing human psychological distress in a lightweight, web-deployable format is proposed, deployed as a research prototype for prioritizing human review of written text, not as a diagnostic or standalone screening tool.

Abstract

This study addresses the challenge of automatically triaging online mental health data by engineering a text-analysis system capable of accurately and efficiently categorizing human psychological distress in a lightweight, web-deployable format. As more people turn to social media and other online platforms when experiencing psychological distress, for both interaction with others and to seek support, the volume of such disclosure increasingly outpaces the capacity of moderators and clinicians to review it, forming a bottleneck to accurate and efficient triaging. To overcome the bottleneck, this study proposes an automated classification system, deployed as a web application where users submit text directly. Within this approach, an optimization framework was utilized, targeting the classification head, encoder, inference runtime, and numeric precision of a bidirectional deep learning transformer (BERT). Because inference cost is dominated by the encoder rather than the classifier, optimizing the classification head yielded no speedup, so the encoder itself was replaced with a distilled model and quantized. The final framework was able to successfully categorize raw user text into seven different psychological states, at an overall accuracy of about 82% on unseen test data. Additionally, the distilled and quantized model measurably reduced response time, lowering latency from 186.4 to 43.8 ms and model size from 438.7 to 68.3 MB, with per-class performance reported for every configuration. The result quantifies what each optimization costs: the runtime change is numerically lossless but contributes under 10% of the speedup, distillation and quantization supply the rest, and quantization damages the smallest classes severely for one encoder while leaving the other's per-class F1 intact. The deployed system is offered as a research prototype for prioritizing human review of written text, not as a diagnostic or standalone screening tool.

Read PDF

Similar papers

Open access Sep 2026

Context-Enhanced Mental Health Message Triage Using A Dual- Encoder Deberta–Bilstm Architecture

Mental health support systems are increasingly intertwined with automated systems which need clin-ically-interpreted comprehension of user input. However, the subtleties of emotionally-ladened, non-finely tuned everyday text, present limitations in comparison to generalized NLP models. This study introduces a dual-enco...

H. Para, Marapelli Bhaskar · 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
#artificial intelligence Preprint Sep 2026

An Explainable DistilBERT-BiLSTM-Attention Framework for Binary and Multi-Class Hate Speech Detection

The results demonstrate that multilevel evaluation improves the reliability that the proposed framework effectively balances performance and efficiency, which makes the framework suitable for practical hate speech moderation systems that require accurate, generalizable, and explainable decisions.

Rameesha Zia, Muhammad Shahid Iqbal Malik · 0 citations
Conference Aug 2026

AI-Powered Mental Wellness Assistant for Early Intervention Using Hybrid Semantic Retrieval and Safety-Aware Response Generation

Stress, anxiety, and loneliness are on the rise, but timely access to mental health care is limited due to social stigma, high costs of treatment, and the lack of qualified specialists. Artificial intelligence can provide a scalable, accessible avenue of mental wellness intervention at an early stage. This paper introd...

Aniket Jha, Ravinder Sajwan, S. K. Selvi · 0 citations
#machine learning Preprint Aug 2026

A Multi-Branch Feature Fusion Approach for Health Misinformation Detection and Propagation

The Cognitive Propagation Score (CPS) is introduced, an interpretable post-hoc auxiliary score computed from psychologically motivated, text-derived cues capturing argument complexity, emotional intensity, and content-derived virality potential, to support diffusion-risk reasoning when engagement ground truth is incomp...

Mkululi Sikosana, Sean Maudsley-Barton, O. Ajao · 1 citation

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