IJIEEB Vol. 18, No. 3, 8 Jun. 2026
Cover page and Table of Contents: PDF (size: 711KB)
PDF (711KB), PP.203-214
Views: 0 Downloads: 0
Quantum NLP, Hybrid Neural Networks, Depression Detection, Variational Quantum Circuits, PennyLane, DistilBERT, Mental Health AI
This study proposes a hybrid quantum-classical framework for depression detection from social media text, integrating a frozen DistilBERT encoder with a variational quantum circuit (VQC)-based classification layer. The motivation stems from challenges in clinical NLP, including overfitting on limited datasets and high parameter overhead in conventional deep learning classifiers. Experiments are conducted on a balanced subset of the Reddit Self-Reported Depression Diagnosis (RSDD) dataset comprising 6,000 users. The proposed model is evaluated against classical baselines, including TF-IDF with logistic regression and a fine-tuned DistilBERT model. Results indicate that the hybrid approach achieves competitive performance, with an F1-score of 0.925 (±0.009) and improved recall (0.942 ± 0.015) compared to the classical DistilBERT baseline. Additionally, the quantum classification layer requires significantly fewer trainable parameters (72) compared to the classical dense head, demonstrating improved parameter efficiency at the classification stage. While the results suggest that variational quantum circuits can serve as an alternative non-linear classifier in low-data settings, the findings are based on simulation and require further validation on real quantum hardware. This work contributes to the emerging area of quantum natural language processing by providing an empirical evaluation of hybrid architectures on a real-world clinical text dataset.
Gaurav Kumar, Rakesh Kumar Saxena, Rocky Kumar, "A Hybrid Quantum-Classical Transformer Framework for Robust Depression Detection on Social Media: Enhancing Sensitivity via Variational Quantum Circuits", International Journal of Information Engineering and Electronic Business(IJIEEB), Vol.18, No.3, pp. 203-214, 2026. DOI:10.5815/ijieeb.2026.03.12
[1]World Health Organization. Depressive disorder (depression). WHO Fact Sheets. https://www.who.int/news-room/fact-sheets/detail/depression (2024). Accessed 13 Dec 2025.
[2]Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019). Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers) (pp. 4171-4186).
[3]Bausch, J., & Leditzky, F. (2024). Quantum models for natural language processing: Current status and future directions. Nature Reviews Physics, 6(2), 89–104.
[4]Kang, P. (2025). QFFN-BERT: An Empirical Study of Depth, Performance, and Data Efficiency in Hybrid Quantum-Classical Transformers. arXiv preprint arXiv:2507.02364.
[5]Henderson, M., Shakya, S., Pradhan, S., & Cook, T. Quantum-Enhanced Attention Mechanisms for Robust Sentiment Analysis on Social Media. IEEE Transactions on Affective Computing 16(2), 112–125 (2025).
[6]Cerezo, M., Arrasmith, A., Babbush, R., et al. (2024). Variational quantum algorithms. Nature Reviews Physics, 6, 625–644.
[7]Orts, F., Donaire, L. M., Ortega, G., & Garzón, E. M. (2025). A quantum-classical hybrid neural network for hate speech detection. Expert Systems with Applications.
[8]Matero, M., et al. SuicideBERT: Deep Learning for Suicide Ideation Detection. Proceedings of the 5th Workshop on Online Abuse and Harms (WOAH), 155-164 (2021).
[9]Widdows, D., Rabelo, R., & Coecke, B. (2024). Quantum natural language processing. arXiv preprint arXiv:2403.19758.
[10]Lorenz, R., Pearson, A., Meichanetzidis, K., Kartsaklis, D., & Coecke, B. (2023). QNLP in practice: Running compositional models of meaning on a quantum computer. Journal of Artificial Intelligence Research, 76, 1305-1342.
[11]Garg, S., & Ram, G. Hybrid Quantum-Classical LSTM for Sentiment Analysis. Soft Computing 26, 1289–1300 (2024).
[12]Grant, M., Petersen, I., Mthethwa, L., Luvuno, Z., & Bhana, A. (2022). Accuracy of a community mental health education and detection (CMED) tool for common mental disorders in KwaZulu-Natal, South Africa. International Journal of Mental Health Systems, 16(1), 44.
[13]Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., ... & Stoyanov, V. (2019). Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
[14]Bhatt, K., Singh, A. K., Pandey, P., Vishnoi, A., & Narooka, P. (2026). Cross-platform social media analysis for mental health detection. Discover Mental Health.
[15]Ibrahimov, Y., Anwar, T., & Yuan, T. (2024). Explainable AI for mental disorder detection via social media: A survey and outlook. arXiv preprint arXiv:2406.05984.
[16]Zhang, T., Yang, K., Ji, S., & Ananiadou, S. (2023). Emotion fusion for mental illness detection from social media: A survey. Information Fusion.
[17]Sabek, I., & Trummer, I. (2025). Second Workshop on Quantum Computing and Quantum-Inspired Technology for Data-Intensive Systems and Applications (Q-Data). In Companion of the 2025 International Conference on Management of Data (pp. 882-883).