Abstract
Anxiety and depression affect millions worldwide, yet stigma and long wait times often delay access to care. Mobile mental health apps can decrease these barriers by offering on-demand screening and support. Nevertheless, many machine and deep learning methods used in such tools perform poorly under severe class imbalance, yielding biased, poorly calibrated predictions. To address this challenge, this study proposes MCoG-LDPSNet, a brain-inspired model that combines dual, orthogonal encoding pathways with a novel Loss-Driven Parametric Swish (LDPS) activation. LDPS implements a neurobiologically motivated adaptive-gain mechanism via a learnable β parameter driven by calibration and confidence-aware loss signals that amplifies minority-class patterns while preserving overall reliability, enabling robust predictions under severe data imbalance. On a benchmark mental health corpus, MCoG-LDPSNet achieved AUROC = 0.9920 and G-mean = 0.9451, outperforming traditional baselines like GLMs, XGBoost, state-of-the-art deep models (CNN-BiLSTM-ATTN), and transformer-based approaches. After transfer learning to social media text, the MCoG-LDPSNet maintained a near-perfect AUROC of 0.9937. Integrated into the EmotiZen App with enhanced app features, MCoG-LDPSNet was associated with substantial symptom reductions (anxiety 28.2%; depression 42.1%). These findings indicate that MCoG-LDPSNet is an accurate, imbalance-aware solution suitable for scalable mobile screening of individuals for anxiety and depression.
| Original language | English |
|---|---|
| Article number | 563 |
| Number of pages | 33 |
| Journal | Biomimetics |
| Volume | 10 |
| Issue number | 9 |
| Early online date | 23 Aug 2025 |
| DOIs | |
| Publication status | Published - 1 Sept 2025 |
Bibliographical note
Copyright © 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).Data Access Statement
The Kaggle mental health sentiment corpus (https://www.kaggle.com/code/mesutssmn/sentiment-analysis-for-mental-health/input, last accessed on 30 May 2025) and the Islam et al. dataset [28] are publicly accessible. By contrast, our 12-week EmotiZen cohort data cannot be shared due to participant anonymity and the sensitivity of health information, as mandated by applicable data protection regulations.Keywords
- brain-inspired models
- deep learning
- mobile health applications
- digital mental health
- artificial intelligence