Multi Class Depression Detection Through Tweets using Artificial Intelligence

Muhammad Osama Nusrat, Waseem Shahzad, Saad Ahmed Jamal
4/19/2024
cs.CLcs.AI

No official code found. Best implementation: mnusrat786/Multiclass-Depression-Detection-of-Tweets-using-AI (5 stars, last commit 2025-07-31).

Abstract

Depression is a significant issue nowadays. As per the World Health Organization (WHO), in 2023, over 280 million individuals are grappling with depression. This is a huge number; if not taken seriously, these numbers will increase rapidly. About 4.89 billion individuals are social media users. People express their feelings and emotions on platforms like Twitter, Facebook, Reddit, Instagram, etc. These platforms contain valuable information which can be used for research purposes. Considerable research has been conducted across various social media platforms. However, certain limitations persist in these endeavors. Particularly, previous studies were only focused on detecting depression and the intensity of depression in tweets. Also, there existed inaccuracies in dataset labeling. In this research work, five types of depression (Bipolar, major, psychotic, atypical, and postpartum) were predicted using tweets from the Twitter database based on lexicon labeling. Explainable AI was used to provide reasoning by highlighting the parts of tweets that represent type of depression. Bidirectional Encoder Representations from Transformers (BERT) was used for feature extraction and training. Machine learning and deep learning methodologies were used to train the model. The BERT model presented the most promising results, achieving an overall accuracy of 0.96.

View on arXivView PDF

Code Implementations(1)

51Jupyter NotebookJun 16, 20231 years ago

Similar Papers

Cite this paper

@article{nusrat2024multi,
  title  = {Multi Class Depression Detection Through Tweets using Artificial Intelligence},
  author = {Muhammad Osama Nusrat and Waseem Shahzad and Saad Ahmed Jamal},
  year   = {2024},
  eprint = {2404.13104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.13104v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.13104.svg)](https://codeofpaper.com/paper/2404.13104)

Discussion