ContextVecNet: A Context-Driven Multimodal Learning Framework for Depression Detection
Depression is a major global health issue, and social media offers a rich source of data for early detection. However, existing multimodal approaches often fail to effectively capture the contextual relationships between text and images and tend to ignore temporal information, thereby limiting their predictive accuracy and reliability. To address these limitations, we propose ContextVecNet, a multimodal deep learning framework. It is built on a CLIP-based architecture enhanced by learnable context vectors, which are integrated into the text and image encoding branches. This design allows the model to dynamically learn and adapt to the specific visual and linguistic markers of depression present in social media data. The architecture further incorporates a cross-modal transformer with time-aware embeddings, which jointly models temporal dynamics and cross-modal interactions across user posts. Evaluated on a publicly available multimodal Twitter dataset, ContextVecNet achieves state-of-the-art performance, with an AUC of 0.9922 and an F1-score of 0.9619, significantly outperforming existing methods. An ablation study confirms that freezing the context vectors results in notable performance degradation, emphasizing their importance in depression detection.
Authors
- Shah Khalid (ORCID: https://orcid.org/0000-0001-5735-5863)
- Haifa F. Alhasson (ORCID: https://orcid.org/0000-0002-6503-2826)
- Shuaa S. Alharbi (ORCID: https://orcid.org/0000-0003-2121-0296)
- Waleed Tahir (ORCID: https://orcid.org/0000-0003-2868-1605)
- Saied Alshahrani
Institutions
- Qassim University (SA)
- Buraydah Colleges (SA)
- University of Bisha (SA)
- National University of Sciences and Technology (PK)
Publication Details
- Journal
- IEEE Journal of Biomedical and Health Informatics
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/jbhi.2025.3602719
- Citations
- 1
- Primary Topic
- Mental Health via Writing
- Type
- article
- Field-Weighted Citation Impact
- 2.44