DepressionNet: Learning Multi-modalities with User Post Summarization for Depression Detection on Social Media

Hamad Zogan, Imran Razzak, Shoaib Jameel, Guandong Xu

Introduction

Major Depressive Disorder (MDD) is a significant global health concern, yet many individuals remain undiagnosed due to the stigma or lack of access to clinical resources. Social media platforms like Twitter offer a unique, longitudinal window into a user's mental state. However, automated detection of depression in these environments is a classic "needle in a haystack" problem. The vast majority of a user’s digital footprint consists of mundane updates—daily routines, social pleasantries, or news shares—that provide little to no diagnostic value.

Existing models often struggle with this "noise," leading to the curse of dimensionality where the subtle signals of depressive behavior are buried under irrelevant data. DepressionNet addresses this by introducing a novel hybrid summarization strategy that distills a user's post history into a semantically rich summary before classification, significantly improving both efficiency and accuracy.

The DepressionNet Framework

DepressionNet is a dual-stream neural network that fuses textual insights with behavioral patterns. The core innovation lies in its preprocessing pipeline, which treats text summarization as a sophisticated feature selection mechanism.

1. Hybrid Summarization Pipeline

Rather than feeding a raw, noisy stream of tweets into a classifier, DepressionNet employs a two-stage process:

  • Extractive Step (BERT): The model uses a pre-trained BERT model to generate sentence embeddings for all posts. Through k-means clustering, it identifies and selects the most salient tweets, effectively discarding the "noise" of everyday trivia.
  • Abstractive Step (BART): These selected tweets are then processed by BART, a denoising autoencoder. BART rewrites and condenses the content into a coherent summary that preserves the core emotional meaning and symptom progression while removing linguistic redundancies.

2. Dual-Stream Architecture

Once the data is distilled, it is processed through two specialized streams:

  • The Text Stream: The abstractive summary is passed through a CNN to capture local spatial features (specific keywords) and a BiGRU with Attention. The BiGRU captures long-term temporal dependencies, while the Attention mechanism highlights specific "heavy-hitting" words that are most indicative of depressive states.
  • The Behavioral Stream: A separate stacked BiGRU analyzes four categories of metadata:
  • Social Network: Follower counts and posting frequency.
  • Emotional: Valence-Arousal-Dominance (VAD) scores and emoji usage.
  • Domain-Specific: Frequency of depression-related symptoms or medication mentions.
  • Topic-based: Latent Dirichlet Allocation (LDA) modeling to identify recurring themes in the user's discourse.

3. Late Fusion

The outputs from both streams are concatenated in a late-fusion layer, producing a final similarity score that determines the likelihood of a depression diagnosis.

Experimental Results

The model was evaluated using a large-scale Twitter dataset consisting of 2,159 depressed users and 2,049 non-depressed users. To ensure data quality, the authors filtered out celebrity accounts and users with insufficient posting history.

DepressionNet demonstrated superior performance compared to traditional machine learning baselines (SVM, Naive Bayes) and modern deep learning architectures (XLNet, RoBERTa):

  • F1-Score: 0.912
  • Accuracy: 0.901

This represents a 6.4% improvement in F1-score over previous state-of-the-art multimodal models. An ablation study further confirmed the necessity of the dual-stream approach: models using only behavioral data (F1: 0.821) or only post summarization (F1: 0.848) performed significantly worse than the integrated DepressionNet model. This suggests that while text summaries are powerful, they are most effective when contextualized by behavioral metadata, such as erratic posting times or social isolation.

Discussion and Future Work

The success of DepressionNet highlights the value of "cleaning" social media data through summarization. By focusing on the progression of symptoms rather than daily trivia, the model can more accurately identify the linguistic markers of MDD.

However, the authors note several avenues for future improvement. Currently, the model does not incorporate visual data (images) or external links (URLs), both of which are known to carry significant emotional weight for depressed users. Furthermore, the current binary classification ("depressed" vs "not") is a starting point; future iterations aim to provide more granular diagnostic support to assist medical professionals in clinical settings.

Summary updated

BibTeX
@inproceedings{zogan2021depressionnet,
  author = {Hamad Zogan and Imran Razzak and Shoaib Jameel and Guandong Xu},
  title = {{DepressionNet: Learning Multi-modalities with User Post Summarization for Depression Detection on Social Media}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462938},
}
Figure