BlueMemo: Depression Analysis through Twitter Posts

Pengwei Hu, Chenhao Lin, Hui Su, Shaochun Li, Xue Han, Yuan Zhang, Jing Mei

Abstract

BlueMemo is a multimodal AI system designed to screen for depression by analyzing Twitter posts. By fusing textual data, image-derived descriptions, and visual color attributes using a tensor-based deep learning model, it achieves a 96.1% F1 score—significantly outperforming previous state-of-the-art methods.

Introduction

Depression affects over 350 million people globally, yet traditional clinical diagnosis relies on resource-intensive face-to-face interviews. Social media has emerged as a "digital exhaust" where users express inner emotions, offering a potential avenue for automated screening. However, the diversity of content—ranging from text to images with complex visual cues—makes building an effective tool challenging. BlueMemo addresses this by creating a holistic model that integrates textual and visual modalities to understand the interplay between what a user says and what they show.

Methodology

The BlueMemo framework utilizes a three-pronged feature extraction pipeline followed by a sophisticated fusion module to analyze user behavior.

Overview of the BlueMemo Model Framework and Depression Analysis workflow.

Feature Extraction

  1. Textual Features: Deep, contextualized meanings are extracted from tweet text using BERT (Bidirectional Encoder Representations from Transformers).
  2. Visual-to-Textual Features: To capture image content, a CNN-based classifier (trained on MS COCO) generates labels for objects in photos. These labels are converted into embeddings using BERT, effectively allowing the model to "read" the visual content.
  3. Visual Color Features: Traditional image processing generates histograms in RGB and HSV color spaces to capture the "mood" of images, identifying patterns like low saturation or darker tones often associated with depressive states.

Multimodal Fusion

Instead of simple concatenation, BlueMemo employs a Tensor Fusion Network (TFN). This mathematical approach allows the model to learn complex correlations between modalities—for instance, how specific word choices might change in meaning when paired with a dark, desaturated image.

Clinical Interface

The system includes a browser-based dashboard for clinicians, featuring word clouds, color distribution charts, and annual depression risk trends to provide explainable diagnostics.

Datasets

The model was trained and evaluated using:

  • Twitter Dataset: Following established protocols (Shen et al., 2017), the dataset identifies "depressed" users via self-reports. It includes 1,402 depressed users (approx. 300,000 tweets) and a control group sampled from a pool of 300 million.
  • MS COCO: Used for pre-training the image multi-label classifier to recognize 80 common object categories.

Key Results

BlueMemo was evaluated using 5-fold cross-validation and compared against existing benchmarks. The results demonstrate a significant performance leap:

Model F1 Score
BlueMemo (Proposed) 96.1%
COMMA (2019) 90.0%
MDL (2017) 84.9%

The jump in performance suggests that tensor-based multimodal fusion is more effective at capturing subtle depression signals than previous concatenation-based or unimodal methods.

Discussion and Insights

  • The Semantic Bridge: Converting images into text labels ensures that the semantic meaning of a photo (e.g., "hospital") is treated with the same weight as written words.
  • Style vs. Substance: The model distinguishes between what is in a photo (objects) and how it looks (color/saturation), acknowledging that a depressed user might post a "happy" object in a visual style that suggests a different emotional state.
  • Explainability: By providing diagnostics like word clouds and color histograms, the system moves away from "black box" AI, helping psychologists understand the specific indicators leading to a high-risk score.

Limitations and Future Work

While promising, BlueMemo faces challenges regarding self-reporting bias and ethical privacy concerns related to social media surveillance. Future work will explore "trigger events" and the temporal velocity of emotional decline to enable earlier interventions.

Summary updated

BibTeX
@inproceedings{hu2020bluememo,
  author = {Pengwei Hu and Chenhao Lin and Hui Su and Shaochun Li and Xue Han and Yuan Zhang and Jing Mei},
  title = {{BlueMemo: Depression Analysis through Twitter Posts}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/760},
}
Figure