MoodCapture: Depression Detection using In-the-Wild Smartphone Images

Subigya Nepal, Arvind Pillai, Weichen Wang, Tess Griffin, Amanda C. Collins, Michael V. Heinz, Damien Lekkas, Shayan Mirjafari, Matthew Nemesure, George D. Price, Nicholas C. Jacobson, Andrew T. Campbell

TL;DR

This paper introduces MoodCapture, a novel system that uses passively captured in-the-wild smartphone images to detect depression. By analyzing naturalistic facial expressions and contextual image features, MoodCapture offers a more objective and less intrusive approach to mental health assessment, paving the way for continuous, privacy-preserving monitoring.

What Problem Does This Paper Address?

Diagnosing depression traditionally relies on self-report questionnaires or clinical interviews, which can be time-consuming, subjective, and influenced by factors like social desirability or recall bias. Existing digital approaches often use controlled settings or require active user input, limiting their ecological validity and continuous monitoring potential. This paper addresses the need for an objective, unobtrusive, and continuous method for depression detection that leverages the ubiquitous nature of smartphones. The authors aim to capture authentic emotional states by analyzing images taken naturally during daily smartphone use.

Methods

The core of MoodCapture involves a passive sensing mobile app that captures bursts of photos from the front-facing camera when users respond to specific depression-related questions from the PHQ-8 survey. The system analyzes these "in-the-wild" images in two main ways:

  • Image Characteristics Analysis: A Visual Question Answering (VQA) model (BLIP) is used to extract contextual features like image angle, dominant colors, lighting conditions, photo location, and background objects. This helps understand the user's environment and interaction patterns.
  • Machine Learning and Deep Learning Models:
    • Machine Learning (ML): Features extracted using OpenFace (711 facial features including landmarks, head pose, and facial action units) are used to train models. A Random Forest (RF) model, particularly one trained on 3D landmarks, showed strong performance.
  • Deep Learning (DL): Pre-trained models like EfficientNet (EffNet) are fine-tuned for depression classification and PHQ-8 score prediction.

The study employs a 5-fold leave-subject-out cross-validation for robust evaluation and uses balanced accuracy, MCC, and MAE as key performance metrics.

Datasets

The study collected a novel dataset of over 125,000 in-the-wild smartphone images from 177 participants diagnosed with Major Depressive Disorder (MDD) over a 90-day period. Participants used 87 different Android device models. The ground truth for depression was derived from a modified PHQ-8 survey, where responses were scaled to a continuous 0-100 range to capture finer nuances in symptom severity.

Key Insights and Ideas

  • Authenticity in "In-the-Wild" Images: The passive, in-the-moment capture of images during daily smartphone use is crucial for obtaining unguarded facial expressions, minimizing self-presentation biases.
  • Context Matters: Image characteristics like low camera angle, indoor settings, and specific background objects (walls, lights) are prevalent and provide valuable context for understanding user behavior and environment, which can be leveraged for depression detection.
  • 3D Landmarks are Powerful: For ML-based depression detection, 3D facial landmarks proved to be the most discriminative features, outperforming other facial feature sets.
  • Asymmetry in Facial Features: Analysis revealed that features on the right side of the face (e.g., right eye, lips) were important predictors, potentially due to how users hold their phones and the resulting asymmetry in visible facial regions.
  • User Concerns are Real: While the technology shows promise, participants expressed significant concerns about privacy, surveillance, self-esteem, and data security, highlighting the need for privacy-preserving designs.

Key Results

  • Classification Performance: A Random Forest model trained on 3D landmarks achieved a balanced accuracy of 0.60 and an MCC of 0.14. The EfficientNet deep learning model achieved a slightly higher balanced accuracy of 0.61.
  • Regression Performance: The Random Forest model also performed best for predicting raw PHQ-8 scores, with a Mean Absolute Error (MAE) of 130.31, which was an improvement over a baseline model.
  • Image Characteristics: The VQA analysis showed that images were predominantly captured at a low angle (96.08%), indoors (95.08%), and under well-lit conditions (80.57%). White was the most common dominant color.
  • Bias Analysis: The models showed slightly better performance for females in classification and for non-females in regression, likely due to dataset demographics (predominantly white females).
  • User Acceptance: Approximately 45% of participants were comfortable with the automated photo capture, while 38% found it intrusive or uneasy.

Limitations and Future Work

  • Dataset Diversity: The dataset was limited in size and diversity, primarily consisting of white females. Future work should aim to include more diverse participants and potentially healthy individuals for comparison.
  • Ground Truth Subjectivity: Reliance on self-reported PHQ-8 scores, even when scaled, introduces potential biases. Incorporating objective measures like clinical evaluations or physiological indicators would strengthen future studies.
  • Interpretability of DL Models: While deep learning models show promise, their "black-box" nature limits understanding of why they make certain predictions. Future research could focus on more interpretable DL models or techniques.
  • Privacy and On-Device Processing: To address user privacy concerns, future work should explore on-device AI processing using smartphone chips to perform analysis without images leaving the device. Federated deep learning is also suggested as a privacy-preserving approach.
  • Broader Contextual Factors: Future research could integrate other passive sensing data (e.g., activity, social interactions) for a more holistic mental health assessment.

Summary updated

BibTeX
@inproceedings{nepal2024moodcapture,
  author = {Subigya Nepal and Arvind Pillai and Weichen Wang and Tess Griffin and Amanda C. Collins and Michael V. Heinz and Damien Lekkas and Shayan Mirjafari and Matthew Nemesure and George D. Price and Nicholas C. Jacobson and Andrew T. Campbell},
  title = {{MoodCapture: Depression Detection using In-the-Wild Smartphone Images}},
  booktitle = {CHI},
  year = {2024},
  doi = {10.1145/3613904.3642680},
}
Figure