Skip to content
Open access

Detection of Anxiety and Depression from Social Media Text Using Natural Language Processing

2026 · International Conference on Data Technologies and Applications · pp. 613-620 · 0 citations · 22 references
Computer Science

TL;DR

A comprehensive Natural Language Processing (NLP) pipeline for detecting linguistic correlates of anxiety and depression from social media text, a task distinct from clinical diagnosis is presented.

Abstract

: The increasing global burden of anxiety and depression necessitates innovative computational approaches for early, non-intrusive detection. Social media platforms offer naturalistic data where individuals voluntarily express psychological states through text. This paper presents a comprehensive Natural Language Processing (NLP) pipeline for detecting linguistic correlates of anxiety and depression from social media text, a task distinct from clinical diagnosis. We systematically compare traditional machine learning models (Logistic Regression, SVM, Random Forest) and deep learning architectures (BiLSTM with Attention, fine-tuned BERT) across three benchmark datasets: SMHD, Dreaddit, and CLPsych 2015. Fine-tuned BERT achieves the highest macro-averaged F1 scores of 0.918, 0.909, and 0.862 respectively, outperforming traditional models by 7.1–17.3%. SHAP analysis identifies negative emotion, past-focused language, and somatic markers as the most predictive features. Cross-dataset validation reveals 15–25% performance degradation, highlighting the need for domain adaptation. Ethical considerations including false-positive risks and the gap between linguistic detection and clinical validity are discussed.

Read PDF

Similar papers

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
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 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
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

Ontology-Driven Depression Detection on Social Media via Large Language Model Reasoning

Early detection of depression is a critical challenge for global mental health, as traditional clinical assessments are often delayed by social stigma and limited medical resources. While social media offers a unique window into real-world behavior, existing automated methods often lack clinical interpretability and sy...

Zheqi Shen, Incheon Paik · 0 citations
Open access Aug 2026

RST-Enhanced Depression Detection: A Feature-Fusion Ensemble Framework

It is suggested that combining rhetorical structure with lexical evidence improves depression detection from social media text, while noting that social-media labels do not substitute for clinical diagnosis.

Sahar Ajmal, Muhammad Shoaib, Faiza Iqbal et al. · 0 citations

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