Comparative Analysis of NLP Model for Detecting Depression on Twitter

Date

2023-10-15

Authors

Gupta, Khushi
Jinad, Razaq
Liu, Qingzhong

Journal Title

Journal ISSN

Volume Title

Publisher

Institute for Homeland Security

Abstract

Depression is a serious mental health issue affecting a significant portion of the world’s population. With the widespread use of social media platforms, researchers have explored the possibility of utilizing natural language processing (NLP) techniques to detect signs of depression in users’ posts. In this paper, we present a comparative analysis of six different NLP models, namely BERT, RoBERTa, DistilBERT, ALBERT, Electra, and XLNet, for depression detection on Twitter data. The experiments compare the performance of different models, and the results reveal that the highest-performing models include XLNet, DistilBERT, and RoBERTa with accuracies of over 99%.

Description

Keywords

Natural language processing, Depression detection, Transformers, Machine learning, Comparative analysis

Citation

Gupta, K., Jinad, R., & Liu, Q. (2023) Comparative Analysis of NLP Model for Detecting Depression on Twitter. (Report No. IHS/CR-2023-1011). The Sam Houston State University Institute for Homeland Security.