Depression Detection and Analysis using Large Language Models on Textual and Audio-Visual Modalities

Avinash Anand, Chayan Tank, Sarthak Pol, Vinayak Katoch, Shaina Mehta, Rajiv Ratn ShaharXiv 2024 · DOI

Abstract

Diagnosing Major Depressive Disorder (MDD) remains a complex clinical challenge, often hindered by subjective biases in traditional assessment tools like the Patient Health Questionnaire (PHQ-8). This research explores the potential of Large Language Models (LLMs) and multi-modal fusion networks to enhance diagnostic accuracy. By leveraging the Extended Distress Analysis Interview Corpus (E-DAIC), the study evaluates the performance of models such as GPT-4 and Llama 3 against specialized deep learning architectures. Findings reveal that LLMs, particularly through two-shot prompting, significantly outperform traditional state-of-the-art models in textual analysis, while multi-modal networks offer promising avenues for integrating non-verbal behavioral markers.

Introduction

The field of Affective Computing has long sought to automate the detection of mental health disorders. Traditional methodologies typically rely on semi-structured clinical interviews and standardized questionnaires, which are susceptible to human error and inconsistency. Previous automated approaches have utilized standard deep learning architectures like Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks. However, these models often struggle to capture the complex linguistic and contextual nuances of psychological distress. This paper addresses the integration of modern LLMs into the diagnostic pipeline, testing the hypothesis that high-reasoning models can better identify subtle markers of depression.

Methods and Materials

Dataset

The study utilized the Extended Distress Analysis Interview Corpus (E-DAIC) from the AVEC 2019 Challenge. The dataset consists of 275 interviews conducted by a virtual agent, "Ellie." Data modalities include audio recordings, transcripts, and visual features (head pose, facial action units) extracted via OpenFace. The primary labels are PHQ-8 scores (ranging from 0 to 24) and binary depression classifications.

Frequency distribution of PHQ-8 scores across the E-DAIC dataset.

Experimental Framework

The researchers implemented two distinct pipelines to analyze patient data:

  1. Textual Modality (LLM-based): Patient audio was transcribed using OpenAI’s Whisper-large-v3. The resulting text was processed by models including RoBERTa, GPT-3.5, GPT-4, and Llama 3 8B. To overcome the limitations of the small dataset, the team employed two-shot prompting, providing the models with two labeled examples to prime their predictive capabilities for PHQ-8 scores and classification.
  2. Audio-Visual Modality: A multi-modal network was developed to fuse acoustic and visual data. This architecture combined Whisper-derived audio encodings with BiLSTM-attention layers for visual features. The concatenated feature vectors were then processed through a regression layer.
Architectural overview of the Audio-Visual Network and the LLM-based textual pipeline.

Results

The experimental results demonstrate a significant shift in performance benchmarks for depression detection:

  • Textual Superiority: GPT-4 achieved a Root Mean Square Error (RMSE) of 3.98 on the textual modality, a substantial improvement over the AVEC 2019 baseline of 6.37.
  • Classification Performance: The open-source Llama 3 8B model achieved a classification accuracy of 73.21%, indicating that accessible models are becoming highly competitive for clinical diagnostic tasks.
  • Multi-modal Integration: The novel audio-visual network reached an RMSE of 6.51. While the text-only LLM approach currently yields higher precision, the multi-modal framework provides a robust foundation for analyzing non-verbal cues such as "flat affect."

Discussion and Conclusion

The success of GPT-4 suggests that "reasoning" capabilities—understanding context and sentiment—are more critical for depression detection than simple pattern matching of keywords. However, the study also highlighted the "Small Data" challenge; fine-tuning large models on sensitive, low-volume clinical datasets often leads to hallucinations, making prompt engineering a more viable current strategy.

Furthermore, the analysis confirmed several acoustic biomarkers associated with depression, including reduced loudness and spectral flux. Future work should focus on "Triple Fusion" models that integrate high-performing textual LLM features with audio-visual data to create a more holistic diagnostic tool. While privacy and ethical considerations regarding data augmentation remain paramount, these findings pave the way for more objective, AI-assisted mental health assessments.

Summary updated

BibTeX
@misc{anand2024depression,
  author = {Avinash Anand and Chayan Tank and Sarthak Pol and Vinayak Katoch and Shaina Mehta and Rajiv Ratn Shah},
  title = {{Depression Detection and Analysis using Large Language Models on Textual and Audio-Visual Modalities}},
  year = {2024},
  eprint = {2407.06125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.06125},
}
Figure