Sentiment Analysis Based on Social Media - Early Stress and Depression Detection

Zixuan Li, Yuxuan Hu, Chenwei Zhang, Chengming Li*, Xiping Hu*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

Depression has recently gained significant attention as a condition marked by persistent and profound mood disturbances. Extensive research suggests that depression can influence individuals’ online speech behavior, manifested through the use of depressive language and a reduction in posting frequency. Our system seamlessly integrates various sources of information, including historical tweets and user profile data. Concerning historical tweets, we propose two methods to navigate the extensive and intricate user tweet history. Our findings indicate that these methods yield more pertinent user information. Subsequently, we input this information into our meticulously constructed deep learning classification model. This model is built upon a pre-trained BERT (Bidirectional Encoder Representations from Transformers) and a bidirectional LSTM (Long Short-Term Memory) model that incorporates attention mechanisms. In the context of user information, we extract relevant details and directly incorporate them into a deep learning model based on bidirectional GRU (Gated Recurrent Unit) and MLP (Multi-Layer Perceptron). Concurrently, to address the challenge of imbalanced depression datasets, we introduce Focal Loss and Dice Loss. Our experimental results underscore the effectiveness of these loss functions in our model. To validate the efficacy of our system, we reprocess the depression tweet dataset and conduct a series of experiments. Through these experiments, we conclusively demonstrate the robustness of our model, effectively mitigating the challenge of sample imbalance to a considerable extent.

Original languageEnglish
Title of host publicationQuality, Reliability, Security and Robustness in Heterogeneous Systems - 19th EAI International Conference, QShine 2023, Proceedings
EditorsVictor C. M. Leung, Hezhang Li, Xiping Hu, Zhaolong Ning
PublisherSpringer Science and Business Media Deutschland GmbH
Pages26-39
Number of pages14
ISBN (Print)9783031651250
DOIs
Publication statusPublished - 2024
Externally publishedYes
Event19th EAI International Conference on Heterogeneous Networking for Quality, Reliability, Security and Robustness, QShine 2023 - Shenzhen, China
Duration: 8 Oct 20239 Oct 2023

Publication series

NameLecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, LNICST
Volume573 LNICST
ISSN (Print)1867-8211
ISSN (Electronic)1867-822X

Conference

Conference19th EAI International Conference on Heterogeneous Networking for Quality, Reliability, Security and Robustness, QShine 2023
Country/TerritoryChina
CityShenzhen
Period8/10/239/10/23

Keywords

  • Data imbalance
  • Deep learning
  • Depression recognition
  • Social network

Fingerprint

Dive into the research topics of 'Sentiment Analysis Based on Social Media - Early Stress and Depression Detection'. Together they form a unique fingerprint.

Cite this