Introduction
Automated depression detection from audio-visual data is a critical task in mental health monitoring. Detecting depression often requires analyzing long-range temporal patterns in speech and facial expressions. Traditional architectures face significant challenges: CNNs lack sufficient receptive fields for long sequences, RNNs suffer from vanishing gradients, and Transformers, while effective at capturing dependencies, exhibit quadratic computational complexity ($O(L^2)$). This complexity makes Transformers impractical for the long-duration videos typical of social media vlogs.
DepMamba addresses these issues by leveraging State Space Models (SSMs), specifically the Mamba architecture, which offers linear scaling ($O(L)$) with sequence length. DepMamba introduces a "progressive fusion" strategy to efficiently model both intramodal and intermodal dependencies.
Methodology
The DepMamba framework is structured into three progressive stages to extract and fuse multimodal features effectively.
1. Hierarchical Contextual Modeling
DepMamba adopts a local-to-global modeling approach. Residual Blocks (CNN-based) are used to capture fine-grained local temporal features, such as brief micro-expressions. These are followed by Bi-directional Mamba (Bi-Mamba) blocks that capture global context across the entire video sequence.
2. Multimodal Collaborative SSM (CoSSM)
The core innovation of DepMamba is the Collaborative SSM. In standard Mamba blocks, the state transition matrix ($A$) governs the evolution of internal memory. CoSSM shares these $A$ matrices between audio and video streams. This shared "intermodal" temporal evolution forces the model to learn cross-modal interactions while modality-specific input/output matrices ($B$ and $C$) preserve unique "intramodal" characteristics.
3. Multimodal Enhanced SSM (EnSSM)
Following the collaborative stage, features from both modalities are concatenated. A final enhancement layer, consisting of another ResBlock and Bi-Mamba, ensures "modality cohesion," integrating the streams into a unified representation for classification.
Experiments and Results
DepMamba was evaluated on two large-scale vlog datasets: D-Vlog (961 videos) and LMVD (Large-Scale Multimodal Vlog Dataset).
Performance and Efficiency
DepMamba achieved state-of-the-art performance, with average metric scores of 75.12% on D-Vlog and 73.02% on LMVD, outperforming baselines like TFN and DepTrans.
The most significant advantage of DepMamba is its efficiency compared to Transformer-based models like DepTrans:
- Inference Speed: DepMamba is approximately 15x faster for sequences of ~21,000 frames.
- Memory Usage: It utilizes 92.3% less GPU memory for sequences of ~24,000 frames.
- Scalability: Unlike Transformers, which face Out-of-Memory (OOM) errors on long sequences, DepMamba scales linearly, making it suitable for real-world deployment on long-form content.
Ablation Insights
Ablation studies highlighted that global modeling (Mamba blocks) is more critical for depression detection than local modeling (CNN blocks). Removing global context led to a sharper performance decline, suggesting that long-term behavioral trends are more diagnostic than isolated local events.
Conclusion
DepMamba demonstrates that State Space Models can provide a highly efficient and effective alternative to Transformers for multimodal depression detection. By sharing state transition matrices, the model achieves sophisticated fusion without the computational overhead of cross-attention. Future work will explore cross-domain generalization and the integration of textual modalities.
Summary updated