Ensemble transformer with post-hoc explanations for depression emotion and severity detection

This study presents an ensemble transformer framework for detecting depression-related emotions and classifying their severity in social media text. It addresses the need for scalable and trustworthy AI solutions in mental health by integrating four transformer models. The DepTformer-XAI-SV model uses a weighted soft-voting mechanism based on validation macro-F1 scores to improve accuracy and incorporates LIME to highlight key linguistic features associated with depression. The framework is evaluated on two benchmark datasets: DepressionEmo, with eight emotion classes, and the merged depression severity detection (MDSD), with four severity levels, both sourced from social media. To address class imbalance, we use class-weighted cross-entropy, stratified k-fold splits, and minority-aware sampling. Results show that the model surpasses individual transformer models and traditional methods, achieving macro-F1 scores of 80.44% for DepressionEmo and 79.88% for MDSD, significantly improving minority class detection. Lastly, a web application has been developed for interactive and interpretable inference.

Authors

Institutions

Publication Details

Journal
iScience
Published
2026-01-05
DOI
https://doi.org/10.1016/j.isci.2025.114605
Citations
4
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
242.32
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Ensemble transformer with post-hoc explanations for depression emotion and severity detection

Katura Gania Khushbu, Rezaul Haque, Md Ismail Hossain Siddiqui, Sazzadul Islam et al.
4 citations
iScience
Mental Health via Writing
242.32
article

Ensemble transformer with post-hoc explanations for depression emotion and severity detection

Katura Gania Khushbu, Rezaul Haque, Md Ismail Hossain Siddiqui, Sazzadul Islam, S.M.Masfequier Rahman Swapno, Zishad Hossain Limon, Arafath Bin Mohiuddin, Abhishek Appaji, Mahbub Alam Khan, Md.Redwan Ahmed
article en
4 citations

Abstract

This study presents an ensemble transformer framework for detecting depression-related emotions and classifying their severity in social media text. It addresses the need for scalable and trustworthy AI solutions in mental health by integrating four transformer models. The DepTformer-XAI-SV model uses a weighted soft-voting mechanism based on validation macro-F1 scores to improve accuracy and incorporates LIME to highlight key linguistic features associated with depression. The framework is evaluated on two benchmark datasets: DepressionEmo, with eight emotion classes, and the merged depression severity detection (MDSD), with four severity levels, both sourced from social media. To address class imbalance, we use class-weighted cross-entropy, stratified k-fold splits, and minority-aware sampling. Results show that the model surpasses individual transformer models and traditional methods, achieving macro-F1 scores of 80.44% for DepressionEmo and 79.88% for MDSD, significantly improving minority class detection. Lastly, a web application has been developed for interactive and interpretable inference.

iScienceVol. 29(2)
University of California, Irvine (US), Maastricht University (NL), Bangalore Medical Center (IN), Bangladesh University of Business and Technology (BD), BRAC University (BD), East West University (BD), Pacific States University (US)
Reduced inequalities
Openalex Percentile: Top 0%
Mental Health via Writing
242.32
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Ensemble transformer with post-hoc explanations for depression emotion and severity detection — Katura Gania Khushbu, Rezaul Haque, et al. · iScience (2026) | TGRS Research Map | TGRS