Skip to main content
QUICK REVIEW

[Paper Review] Detecting Reddit Users with Depression Using a Hybrid Neural Network SBERT-CNN

Ziyi Chen, Ren Yang|arXiv (Cornell University)|Feb 3, 2023
Mental Health via WritingPsychology42 references6 citations
TL;DR

This paper proposes a hybrid SBERT-CNN neural network to detect depression in Reddit users using self-reported mental health data. By combining sentence embeddings from SBERT with CNN-based temporal pattern learning, the model achieves 86% accuracy and 86% F1 score, outperforming prior state-of-the-art methods.

ABSTRACT

Depression is a widespread mental health issue, affecting an estimated 3.8% of the global population. It is also one of the main contributors to disability worldwide. Recently it is becoming popular for individuals to use social media platforms (e.g., Reddit) to express their difficulties and health issues (e.g., depression) and seek support from other users in online communities. It opens great opportunities to automatically identify social media users with depression by parsing millions of posts for potential interventions. Deep learning methods have begun to dominate in the field of machine learning and natural language processing (NLP) because of their ease of use, efficient processing, and state-of-the-art results on many NLP tasks. In this work, we propose a hybrid deep learning model which combines a pretrained sentence BERT (SBERT) and convolutional neural network (CNN) to detect individuals with depression with their Reddit posts. The sentence BERT is used to learn the meaningful representation of semantic information in each post. CNN enables the further transformation of those embeddings and the temporal identification of behavioral patterns of users. We trained and evaluated the model performance to identify Reddit users with depression by utilizing the Self-reported Mental Health Diagnoses (SMHD) data. The hybrid deep learning model achieved an accuracy of 0.86 and an F1 score of 0.86 and outperformed the state-of-the-art documented result (F1 score of 0.79) by other machine learning models in the literature. The results show the feasibility of the hybrid model to identify individuals with depression. Although the hybrid model is validated to detect depression with Reddit posts, it can be easily tuned and applied to other text classification tasks and different clinical applications.

Motivation & Objective

  • To develop a deep learning model capable of identifying individuals with depression using their Reddit posts.
  • To improve upon existing machine learning models in detecting depression from social media text.
  • To explore the effectiveness of combining SBERT for semantic representation with CNN for sequential behavioral pattern detection.
  • To validate the model on the Self-reported Mental Health Diagnoses (SMHD) dataset for real-world applicability.
  • To demonstrate the model's potential for broader use in clinical NLP and text classification tasks.

Proposed method

  • The model uses a pre-trained Sentence BERT (SBERT) encoder to generate contextualized sentence embeddings from individual Reddit posts.
  • These SBERT embeddings are then fed into a Convolutional Neural Network (CNN) to extract local, sequential patterns in user posting behavior.
  • The CNN applies filters of varying sizes to capture n-gram level features across the embedding sequence, enabling temporal pattern recognition.
  • The final classification head uses global max pooling and a dense layer to predict depression status from the pooled features.
  • The model is trained end-to-end on the SMHD dataset using binary cross-entropy loss and Adam optimization.
  • Hyperparameters are tuned via grid search, and model performance is evaluated using standard NLP metrics including F1 score and accuracy.

Experimental results

Research questions

  • RQ1Can a hybrid SBERT-CNN model effectively detect depression in Reddit users based on their textual posts?
  • RQ2How does the performance of the SBERT-CNN model compare to existing state-of-the-art models in depression detection from social media?
  • RQ3To what extent do the combination of semantic representation (SBERT) and sequential pattern learning (CNN) improve detection accuracy?
  • RQ4Is the proposed model generalizable to other text classification tasks in clinical NLP?

Key findings

  • The hybrid SBERT-CNN model achieved an accuracy of 86% on the SMHD dataset, demonstrating strong predictive performance.
  • The model attained an F1 score of 86%, significantly outperforming the prior state-of-the-art result of 79%.
  • The integration of SBERT for semantic representation and CNN for sequential feature learning enhanced model robustness and detection capability.
  • The model's performance indicates strong feasibility for real-world deployment in early depression detection on social media platforms.
  • The architecture is adaptable and can be fine-tuned for other clinical NLP tasks beyond depression detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.