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

bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.authorIslam, Sazzadul
dc.contributor.authorHaque R.
dc.contributor.authorKhan M.A.
dc.contributor.authorMohiuddin A.B.
dc.contributor.authorHossain Siddiqui M.I.
dc.contributor.authorLimon Z.H.
dc.contributor.authorKhushbu K.G.
dc.contributor.authorRahman Swapno S.M.M.
dc.contributor.authorAhmed M.R.
dc.contributor.authorAppaji A.
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-09-29T06:43:49Z
dc.date.available2026-09-29T06:43:49Z
dc.date.issued2026-02-20
dc.description.abstractThis 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
dc.description.versionPublished
dc.format.extent38 pages
dc.identifier.citationSazzadul Islam, Rezaul Haque, Mahbub Alam Khan, Arafath Bin Mohiuddin, Md Ismail Hossain Siddiqui, Zishad Hossain Limon, Katura Gania Khushbu, S M Masfequier Rahman Swapno, Md. Redwan Ahmed, Abhishek Appaji, Ensemble transformer with post-hoc explanations for depression emotion and severity detection, iScience, Volume 29, Issue 2, 2026, 114605, ISSN 2589-0042, https://doi.org/10.1016/j.isci.2025.114605.
dc.identifier.doi10.1016/j.isci.2025.114605
dc.identifier.other2-s2.0-105028320346
dc.identifier.urihttps://hdl.handle.net/10361/30281
dc.language.isoen_US
dc.publisherElsevier Inc.
dc.relation.hasversion10.1016/j.isci.2025.114605
dc.relation.ispartofIscience
dc.relation.ispartofseriesIscience
dc.relation.urihttps://www.sciencedirect.com/science/article/pii/S2589004225028664?pes=vor&utm_source=scopus&getft_integrator=scopus
dc.subjectArtificial intelligence
dc.subjectPsychology
dc.subjectDepression
dc.subjectTransformer models
dc.subjectDepressive emotion
dc.subject.lcshArtificial intelligence.
dc.subject.lcshElectric transformers.
dc.subject.lcshDepression, Mental.
dc.subject.lcshPsychology, Pathological.
dc.titleEnsemble transformer with post-hoc explanations for depression emotion and severity detection
dc.typeArticle
oaire.citation.issue2
oaire.citation.volume29
person.affiliation.nameBRAC University
person.affiliation.nameEast West University
person.affiliation.namePacific States University
person.affiliation.nameWestcliff University
person.affiliation.nameWestcliff University
person.affiliation.nameWestcliff University
person.affiliation.nameEast West University
person.affiliation.nameBangladesh University of Business and Technology
person.affiliation.nameEast West University
person.affiliation.nameB.M.S. College of Engineering
person.identifier.orcid0000-0002-9922-8632
person.identifier.orcid0009-0009-9195-5112
person.identifier.orcid0009-0007-4042-2936
person.identifier.orcid0000-0002-1978-6037
person.identifier.scopus-author-id57201023614
person.identifier.scopus-author-id58088623300
person.identifier.scopus-author-id59738277300
person.identifier.scopus-author-id60346639400
person.identifier.scopus-author-id59970039600
person.identifier.scopus-author-id59730565200
person.identifier.scopus-author-id58203989400
person.identifier.scopus-author-id60346639500
person.identifier.scopus-author-id59157561800
person.identifier.scopus-author-id56109281500

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ensemble transformer with post-hoc explanation for depression emotion and severity detection.pdf
Size:
19.7 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: