Multi-modal deep learning system for depression and anxiety detection

Brian Diep, Marija Stanojevic, Jekaterina Novikova

TL;DR

Screening for depression and anxiety often relies on burdensome clinical questionnaires, but speech carries subtle acoustic and linguistic biomarkers of mental state. This paper proposes a multi-modal architecture that fuses deep-learned representations from speech (Wav2Vec 2.0) and text transcripts (RoBERTa) with clinically validated, hand-crafted features. Combining these complementary feature sets significantly improves classification over hand-crafted baselines, raising overall F1 scores from 0.58 to 0.63 for depression and from 0.54 to 0.57 for anxiety.

What Problem Does This Paper Address?

Traditional mental health screening methods—such as the Patient Health Questionnaire (PHQ-8) and Generalized Anxiety Disorder scale (GAD-7)—put a heavy administrative burden on clinicians and patients, requiring active patient compliance and lacking automated reference standards.

Depression and anxiety systematically alter cognitive processes, which in turn affect how people speak: speech tempo shifts, pauses change, and word choices (such as first-person pronoun usage) fluctuate. While natural language processing and acoustic deep learning have advanced rapidly, purely deep-learned models can miss interpretable, domain-specific linguistic nuances, while purely hand-crafted feature pipelines often fail to capture rich, hierarchical contextual cues. The authors set out to unify both approaches to build a more accurate screening tool from self-administered speech tasks.

Methods

Inspired by the AudiBERT architecture, the authors design a multi-modal fusion network that processes three distinct information streams:

  1. Acoustic Deep Learning: Raw speech is segmented into 10-second chunks (sampled at 16 kHz) and passed through a pre-trained Wav2Vec 2.0 model (VoxPopuli base), followed by a two-layer bidirectional LSTM (biLSTM) and a 2-head multi-head attention layer to produce an acoustic representation vector ($R_1$).
  2. Text Deep Learning: Speech transcripts obtained via Automated Speech Recognition (ASR) are tokenized (with explicit tokens added for filled and unfilled pauses) and fed into RoBERTa base, followed by a two-layer biLSTM and a 2-head multi-head attention layer to yield a linguistic vector ($R_2$).
  3. Domain-Expert Hand-Crafted Features: Clinically motivated acoustic features (e.g., MFCCs, jitter, shimmer, pitch/F0, phonation rate, pause durations) and linguistic features (e.g., syntactic complexity, utterance cohesion, sentiment, disfluency metrics) are extracted and combined into vector $R_3$.

The three vectors ($R_1, R_2, R_3$) are concatenated and fed into a two-layer feedforward classifier optimized with binary cross-entropy loss.

Audio --------> Wav2Vec 2.0 -> biLSTM -> Multi-Head Attention (R1) --\
Transcripts --> RoBERTa ------> biLSTM -> Multi-Head Attention (R2) ---+-> Concatenation -> MLP -> Prediction
Expert Features --------------------------------------------> (R3) --/

As a baseline, the authors train a 5-layer feedforward neural network utilizing only the hand-crafted feature set ($R_3$). All models are evaluated using subject-independent 5-fold cross-validation.

Datasets

The study uses an extended version of the DEPAC corpus, containing crowd-sourced recordings from Amazon Mechanical Turk (mTurk):

  • 3,543 unique participants contributing 4,209 unique audio recordings and transcripts.
  • Tasks focused on narrative speech: journaling/prompted narrative (describing daily experiences, hobbies, or travels) and a semantic fluency task (describing positive future events within one minute).
  • Target labels were binarized using a clinical threshold of $\ge 10$ on the self-reported scales:
  • Depression (PHQ-8): 25.3% positive diagnosis rate.
  • Anxiety (GAD-7): 12.8% positive diagnosis rate.

Key Insights and Ideas

  • Deep learning and domain knowledge are complementary: Pre-trained foundation models capture high-level semantic and prosodic patterns, but adding structured, clinically driven metrics (like pause-to-speech ratios and grammatical category shifts) provides valuable inductive bias.
  • Anxiety is harder to detect from speech than depression: Models consistently scored lower on anxiety detection than depression. The authors attribute this to severe label imbalance (only 12.8% of participants scored $\ge 10$ on GAD-7) and acoustic literature showing that vocal changes vary less predictably with anxiety severity than with depression.
  • Both between-class and within-class imbalances matter: Most respondents clustered at very low symptom scores. This skewed distribution makes identifying true positive diagnosis cases considerably harder than predicting "no diagnosis."

Key Results

Augmenting hand-crafted features with deep acoustic and textual representations improved classification across the board:

Condition Model Setup No Diagnosis F1 Diagnosis F1 Overall F1
Depression Hand-crafted only (Baseline) 0.75 0.35 0.58
Deep-learned + Hand-crafted (Ours) 0.80 0.43 0.63
Anxiety Hand-crafted only (Baseline) 0.72 0.33 0.54
Deep-learned + Hand-crafted (Ours) 0.73 0.40 0.57

Across both conditions, the multi-modal system demonstrated marked gains in predicting the positive diagnosis class—boosting diagnosis F1 from 0.35 to 0.43 in depression and from 0.33 to 0.40 in anxiety.

Limitations and Future Work

  • Class Imbalance: Due to the long-tailed nature of symptom distributions in crowd-sourced cohorts, models struggled with diagnosis recall and precision relative to non-diagnosis.
  • Hardware Constraints: GPU memory limitations necessitated splitting audio into 10-second segments and using small batch sizes (batch size of 4), which may restrict the model's ability to capture long-range acoustic dependencies.
  • Future Directions: Developing techniques to address severe within-class score distributions and testing the model on richer, longitudinal clinical speech samples rather than single-session crowdsourced tasks.

Summary updated

BibTeX
@inproceedings{diep2022multi,
  author = {Brian Diep and Marija Stanojevic and Jekaterina Novikova},
  title = {{Multi-modal deep learning system for depression and anxiety detection}},
  booktitle = {PAI4MH @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=VPeyLJ63PS},
}
Figure