mlsanityData to 7 Oct 2026

Enhancing Mental Health Classification with Layer-Attentive Residuals and Contrastive Feature Learning

arXiv 2603.14075 ↗First posted 14 Mar 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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, 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, supervised contrastive feature learning uses temperature-scaled supervised contrastive learning with progressive weighting to increase the geometric margin between confusable mental health problems and decrease class overlap by restructuring the feature space. With a score of 74.36%, the proposed method is the best performing on the SWMH benchmark and outperforms models that are domain-specialized, such as textitMentalBERT and textitMentalRoBERTa by margins of (3.25% - 2.2%) and 2.41 recall points over the highest achieving model. These findings show that domain-adaptive pretraining for mental health text classification can be surpassed by carefully designed representation geometry and layer-aware residual integration, which also provide enhanced interpretability through learnt layer importance.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 20 references that are in the map. First posted on arXiv 14 Mar 2026.

Builds on

9 of 20 references.

References · 9

  1. 2016Layer Normalizationcited by 5,579
  2. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  3. 2020Supervised Contrastive Learningcited by 2,803
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  5. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  6. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  7. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  8. 2021MentalBERT: Publicly Available Pretrained Language Models for Mental Healthcarecited by 159
  9. 2020Suicidal Ideation and Mental Disorder Detection with Attentive Relation Networkscited by 28

Built on by

Not cited yet.