Depression Detection with Multi-Modalities Using a Hybrid Deep Learning Model on Social Media

Hamad Zogan, Xianzhi Wang, Shoaib Jameel, Guandong XuarXiv 2020

Introduction

Depression is a leading cause of disability worldwide, yet a significant portion of those affected do not seek clinical help in the early stages. Social media platforms offer a "digital exhaust" of behavioral and linguistic cues that could enable early detection and intervention. However, existing machine learning approaches face two major hurdles: a lack of interpretability and feature sparsity. Most deep learning models are "black boxes," making it difficult for clinicians to trust their predictions. Furthermore, many models focus solely on text or metadata, missing the holistic picture of a user’s digital behavior.

To address these challenges, researchers developed MDHAN (Multi-Modal Depression Detection with Hierarchical Attention Network). This hybrid model identifies depression with high accuracy while providing interpretability by highlighting the specific words and tweets that led to a prediction.

High-level overview of the MDHAN model showing multi-modal inputs and explainable attention-based outputs.

The MDHAN Framework

The MDHAN model is designed to fuse two distinct streams of information to create a comprehensive profile of a user's mental state. By combining linguistic patterns with behavioral metadata, the model overcomes the limitations of single-modality approaches.

1. The Behavioral Stream (Multi-modal Encoder)

This stream processes non-textual features using a Multilayer Perceptron (MLP). It captures a wide array of behavioral signals, including:

  • Social Interaction: Metrics such as follower/following counts and posting frequency.
  • Emoji Sentiment: The frequency and sentiment (positive, neutral, negative) of emojis used in posts.
  • Topic Distribution: Utilizing Latent Dirichlet Allocation (LDA) to identify underlying themes in a user's history.
  • Clinical Cues: Mapping mentions of symptoms and antidepressants to DSM-IV diagnostic criteria.

2. The Linguistic Stream (Hierarchical Attention Network)

This is the "explainable" core of the model. It employs two levels of attention mechanisms:

  • Word-level Attention: Identifies which specific words (e.g., "hurt," "struggle," "lonely") are most significant within a single tweet.
  • Tweet-level Attention: Determines which tweets in a user’s timeline are the most indicative of their mental state, allowing the model to filter out mundane posts about daily routines.
Detailed architecture of the MDHAN framework, illustrating the feature extraction and fusion processes.

Methodology and Data

The study utilized a large-scale Twitter dataset. After rigorous cleaning to remove "bot" noise (users with fewer than 10 posts or more than 5,000 followers), the researchers used a balanced set of 2,500 depressed users and 2,300 non-depressed users. The final training set included over 1.7 million tweets.

The outputs of the behavioral and linguistic streams are concatenated in a fusion layer and passed through a final sigmoid layer for binary classification. This multi-modal approach allows the model to solve the "needle in a haystack" problem, where a few depressive signals are buried within hundreds of mundane posts.

Key Results and Insights

MDHAN significantly outperformed several robust baselines, including standard CNNs, SVMs, and non-hierarchical GRUs:

  • Accuracy: The model achieved 89.5% accuracy, a substantial improvement over the 78.7% reached by previous state-of-the-art multimodal dictionary learning (MDL) methods.
  • F1-Score: Reached 89.3%, representing a nearly 10% improvement over traditional methods.
  • Interpretability: By extracting attention weights, the researchers created heatmaps of tweets. They found that the model naturally prioritized phrases like "mental illness" or "talking therapies," effectively learning clinical symptoms without being explicitly programmed with a rigid rulebook.

Ablation studies confirmed that removing behavioral features significantly dropped performance, proving that depression manifests in both what is said and how a user interacts with the platform.

Conclusion and Future Work

MDHAN represents a significant step forward in making AI-driven mental health tools both accurate and explainable. While highly effective on Twitter, future work could expand the model to incorporate visual modalities (such as images on Instagram) and explore temporal dynamics to track how depressive signals evolve over longer periods. By providing "adequate evidence" for its predictions, MDHAN builds the necessary trust for clinical integration and early intervention strategies.

Summary updated

BibTeX
@misc{zogan2020depression,
  author = {Hamad Zogan and Xianzhi Wang and Shoaib Jameel and Guandong Xu},
  title = {{Depression Detection with Multi-Modalities Using a Hybrid Deep Learning Model on Social Media}},
  year = {2020},
  eprint = {2007.02847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.02847},
}
Figure