Enhancing Mental Health Classification with Layer-Attentive Residuals and Contrastive Feature Learning
Menna Elgabry, Ali Hamdi, and Khaled Shaban

TL;DR
This paper introduces a novel framework combining layer-attentive residuals and contrastive learning to improve mental health classification, outperforming domain-specific models on the SWMH benchmark with better interpretability.
Contribution
The paper presents a new representation-focused approach that surpasses domain-adaptive pretraining by integrating layer-aware residuals and contrastive learning for mental health classification.
Findings
Achieved 74.36% accuracy on SWMH benchmark.
Outperformed MentalBERT and MentalRoBERTa models.
Enhanced interpretability through learned layer importance.
Abstract
The classification of mental health is challenging for a variety of reasons. For one, there is overlap between the mental health issues. In addition, the signs of mental health issues depend on the context of the situation, making classification difficult. Although fine-tuning transformers has improved the performance for mental health classification, standard cross-entropy training tends to create entangled feature spaces and fails to utilize all the information the transformers contain. We present a new framework that focuses on representations to improve mental health classification. This is done using two methods. First, \textbf{layer-attentive residual aggregation} which works on residual connections to to weigh and fuse representations from all transformer layers while maintaining high-level semantics. Second, \textbf{supervised contrastive feature learning} uses…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMental Health via Writing · Digital Mental Health Interventions · Machine Learning in Healthcare
