Hierarchical Self-Supervised Representation Learning for Depression Detection from Speech

Yuxin Li, Eng Siong Chng, Cuntai GuanarXiv 2025 · DOI

Abstract

Speech-based depression detection (SDD) is a promising tool for objective, scalable mental health screening. However, depression-related speech cues are sparse and heterogeneous. We present HAREN-CTC, a framework that explicitly models the interaction between low-level acoustic patterns and high-level semantic context. By leveraging hierarchical self-supervised representations and temporal regulation via Connectionist Temporal Classification (CTC), HAREN-CTC achieves state-of-the-art Macro F1 scores of 0.81 and 0.82 on major benchmarks.

Introduction

Depression manifests in speech through both how one speaks (acoustics) and what one says (semantics). Traditional systems often rely on a single layer from pretrained models, missing the rich hierarchical information captured across deep neural networks. Shallow layers typically encode raw acoustic features like pitch and rhythm, while deeper layers capture linguistic and semantic nuances. HAREN-CTC addresses this by disentangling and fusing these hierarchical representations to better capture the complex, sparse signals of depression.

Methods

The HAREN-CTC framework introduces three primary innovations to improve representation learning for SDD:

The HAREN-CTC framework architecture, showing the flow from audio processing to hierarchical representation encoding and final classification.

1. Hierarchical Adaptive Soft Grouping

Instead of selecting a single "optimal" layer, the model employs a learnable assignment matrix to disentangle the 24 layers of a pretrained WavLM model into two distinct subspaces: acoustic and semantic. This ensures that the model utilizes the full depth of the pretrained SSL model.

Detailed view of the Hierarchical Adaptive Soft Grouping mechanism, which aggregates representations from SSL layers into semantic and acoustic feature groups.

2. Semantic-conditioned Cross-Attention Fusion

To model the interaction between these features, HAREN-CTC uses an asymmetric cross-attention mechanism. Semantic features act as "queries" to selectively attend to relevant acoustic "keys" and "values." This allows the model to interpret acoustic variations within their specific linguistic context, mimicking how a clinician might listen for emotional weight behind specific words.

3. CTC-based Temporal Regulation

Depression cues are often "temporally sparse," appearing only in brief segments of long recordings. The authors apply a Connectionist Temporal Classification (CTC) objective—a technique common in speech recognition—to help the model capture the latent temporal structure of depressive speech without needing expensive, frame-by-frame manual annotations.

Datasets and Evaluation

The model was evaluated on two major, multi-lingual benchmarks:

  • DAIC-WOZ: A dataset of clinical interviews in English (189 participants).
  • MODMA: A dataset of interviews in Mandarin Chinese (52 participants).

The use of both English and Mandarin datasets demonstrates the model's robustness across different languages and cultural speaking styles.

Key Results

HAREN-CTC set new performance benchmarks for speech-based depression detection:

  • State-of-the-Art Performance: Achieved a Macro F1 of 0.81 on DAIC-WOZ and 0.82 on MODMA, outperforming existing methods like Speechformer and DepAudioNet.
  • Statistical Significance: Paired t-tests and bootstrap resampling confirmed that the gains in precision and AUC were statistically significant, suggesting the model is particularly good at reducing "false positives"—a critical requirement for clinical tools.
  • Layer Hierarchy: Analysis confirms that relying on a single "best" layer is sub-optimal; HAREN-CTC's ability to intelligently aggregate information across the entire hierarchy is a key driver of its performance.

Conclusion and Future Work

By explicitly modeling the interplay between acoustic and semantic features and utilizing temporal regulation, HAREN-CTC provides a more nuanced approach to SDD. While limited by current clinical dataset sizes, future work exploring session-level modeling and demographic equity promises to further enhance the clinical utility of these tools.

Summary updated

BibTeX
@misc{li2025hierarchical,
  author = {Yuxin Li and Eng Siong Chng and Cuntai Guan},
  title = {{Hierarchical Self-Supervised Representation Learning for Depression Detection from Speech}},
  year = {2025},
  eprint = {2510.08593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.08593},
}
Figure