Skip to content
Open access

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

2026 · IEEE Access · Vol 14, pp. 117086-117105 · 0 citations · 55 references
Computer Science

TL;DR

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.

Abstract

Social media has become a significant resource for evaluating public attitudes regarding mental health, as individuals may express their thoughts through postings, comments, and conversations. Sentiment analysis is a promising method for studying emotional patterns expressed in mental-health-related text. Traditional machine learning for sentiment analysis faces challenges like transparency, scarce labeled data, and language limitations. This paper presents a sentiment classification (positive, negative, neutral) framework applied to mental-health-related Reddit posts. Repeated emotional patterns can offer helpful insights into sentiment trends in mental health discussions, but they shouldn’t be seen as proof of clinical disorders. In this paper, we propose 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. In the proposed approach, transformer models excel at capturing global context, while the LSTM enhances sequential patterns and temporal features. The quantum component uses a parameterized circuit with angle encoding and variational gates to perform nonlinear transformations on a quantum simulator (PennyLane). Subsequently, the model is tested on more intricate circuits comprising 2, 4, 6, 8, 10, and 12 qubits to assess its consistency. A novel Reddit dataset of mental health-related subreddits (anxiety, panic attacks, and depression) is constructed, with sentiment labels derived from the VADER sentiment analyzer. We thoroughly assessed the performance of our proposed model against deep learning models and cutting-edge transformer architectures, achieving up to 98% accuracy in the best-performing configuration on the generated dataset (mean accuracy $0.97~\pm ~0.0059$ across five random seeds).

Read PDF

Similar papers

Review Open access Sep 2026

HARNN_ALemOA: A Novel Optimized Deep Learning Framework with Dynamic Prompting for Mental Health Classification Using Social Media Data

Mental health problems adversely affect a person's emotional, social, psychological, and well-being. Individuals with mental health issues often do not seek professional help due to social stigma. Social media can serve as a vital tool for assessing a person’s mental health, and several methods have been proposed for c...

Ramesh Singh Saud · 0 citations
Open access Sep 2026

Deep Learning-Based Approach to Detect Depressive Tendencies from Social Media Posts by Leveraging Advanced NLP Techniques and Multimodal Data Analysis

The results demonstrate that deep learning-based approaches outperform traditional machine learning methods in detecting depressive expressions from social media posts and suggest that AI can play a crucial role in early depression detection and intervention, contributing to proactive mental health care solutions.

S. D, A. Geetha · 0 citations
Review Aug 2026

Explainable Artificial Intelligence (AI) In Sentiment Analysis

Experimental results demonstrate that XAI techniques significantly enhance the interpretability of sentiment prediction without substantially compromising classification performance, and explainable sentiment analysis supports fairness assessment, bias detection, regulatory compliance, and informed decision-making in c...

Aishwarya P. A., N. K · 0 citations
Review Open access Jul 2026

Enhanced Sentiment Analysis Using RoBERTa and BiLSTM: A Context-Aware Hybrid Deep Learning Approach

This paper presents a context-aware hybrid deep learning approach by integrating the Robustly Optimized BERT Pretraining Approach (RoBERTa) with Bidirectional Long Short-Term Memory (BiLSTM) networks to generate rich contextual word embeddings.

V. Gayatri, Rajani Rajalingam · 0 citations
Conference Jul 2026

Leveraging Fine-tuned IndoBERT and Zero-shot GPT-4o for Mental Health Monitoring from Indonesian Tweets

Social media provides valuable linguistic signals for population-level mental health monitoring, but its informal, ambiguous, and context-dependent language complicates automated classification. This study compares fine-tuned IndoBERT and zero-shot GPT-4o on Indonesian-language tweets across three tasks: seven-class em...

Athifa Khansa Faaris, R. Putri, Andry Alamsyah · 0 citations
Open access Sep 2026

Modeling Co-Existing Mental Health Risks in Social Media via Multi-Label Learning and LLM

This work forms social-media-based risk identification as a multi-label text classification problem, enabling the simultaneous prediction of co-existing risks within a single post, and benchmarks multiple transformer-based encoders under a unified multi-label training protocol and reports macro/micro F1 performance, hi...

Z. Özer, Emre Kenger, Görkem Gözükara 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.