Related Experiment Video
Updated: Feb 4, 2026

A Middle Cerebral Artery Occlusion Technique for Inducing Post-stroke Depression in Rats
Published on: May 22, 2019
Ensemble transformer with post-hoc explanations for depression emotion and severity detection
Sazzadul Islam1, Rezaul Haque2, Mahbub Alam Khan3
1Department of Computer Science and Engineering, BRAC University, Dhaka 1212, Bangladesh.
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.
Related Concept Videos
Long-term Depression
Long-term Depression
Calcium Ion Concentration Mechanism
If over...
Freezing Point Depression and Boiling Point Elevation
The boiling point of a liquid is the temperature at which its vapor pressure is equal to ambient atmospheric pressure. Since the vapor pressure of a solution is lowered due to the presence of nonvolatile solutes, it stands to reason that the solution’s boiling point will subsequently be increased. Vapor pressure increases with temperature, and so a solution will require a higher temperature than will pure solvent to achieve any given vapor pressure, including one...
Depressants
Alcohol is a common depressant that can induce a sense of relaxation and reduced inhibition at low doses. Contrary to its occasional...
Physiology of Emotion
Autonomic Nervous System
The autonomic nervous system (ANS) plays a critical role in emotional responses by regulating involuntary physiological functions. It consists of two main components: the sympathetic and parasympathetic systems. The sympathetic system...
Emotional Expression
Universal Facial Expressions
Psychologist Paul Ekman identified seven basic...

