Mental Stress Classification Using Multivariate Analysis of Variance with Bidirectional Long Short-Term Memory Model

Authors

  • Raksha Rajanna Department of Computer Science, SJCE, JSS Science and Technology University, Mysuru, India
  • Pushpalatha Mullur Puttubuddhi Department of Computer Science and Engineering, SJCE, JSS Science and Technology University, Mysuru, India
  • Impana Kamalamma Puttaraju Department of Computer Science and Engineering, JSS Academy of Technical Education, Bangalore, India
Volume: 15 | Issue: 6 | Pages: 28489-28495 | December 2025 | https://doi.org/10.48084/etasr.12427

Abstract

In humans, stress is a natural reaction to pressure, and when stress increases, the risk of mental health issues also increases. Misclassification can be caused by redundancy in certain physiological and behavioral features. To overcome this limitation, this study performs a Multivariate Analysis of Variance (MANOVA) based feature selection method, along with a Bidirectional Long Short-Term Memory (Bi-LSTM) model for efficient stress classification. The proposed MANOVA technique evaluates multiple dependent variables simultaneously, capturing correlations between physiological features to identify the most informative for the classification of mental stress. The Bi-LSTM model processes stress-related physiological signals, including heart rate and skin conductance, both forward and backward, effectively capturing long-term dependencies that help improve classification. Initially, ElectroCardioGram (ECG) signal data were obtained from two benchmark datasets. Then, label encoding techniques were employed for converting categorical features into numerical ones, and normalization was used to scale the data into a uniform range. The proposed stress classification model was experimentally evaluated on the WESAD and SWELL-KW datasets, achieving accuracies of 99.50% and 99.80%, respectively, outperforming existing approaches.

Keywords:

bidirectional long short-term memory, electrocardiogram, label encoding, multivariate analysis of variance, stress classification

Downloads

Download data is not yet available.

References

M. A. Hafeez and S. Shakil, "EEG-based stress identification and classification using deep learning," Multimedia Tools and Applications, vol. 83, no. 14, pp. 42703–42719, Apr. 2024. DOI: https://doi.org/10.1007/s11042-023-17111-0

V. Adarsh and G. R. Gangadharan, "Mental stress detection from ultra-short heart rate variability using explainable graph convolutional network with network pruning and quantisation," Machine Learning, vol. 113, no. 8, pp. 5467–5494, Aug. 2024. DOI: https://doi.org/10.1007/s10994-023-06504-9

M. A. Al-Alim, R. Mubarak, N. M. Salem, and I. Sadek, "A machine-learning approach for stress detection using wearable sensors in free-living environments," Computers in Biology and Medicine, vol. 179, Sep. 2024, Art. no. 108918. DOI: https://doi.org/10.1016/j.compbiomed.2024.108918

R. B. Ramteke, G. O. Gajbhiye, and V. R. Thool, "Acute mental stress level detection: ECG-scalogram based attentive convolutional network," Franklin Open, vol. 10, Mar. 2025, Art. no. 100233. DOI: https://doi.org/10.1016/j.fraope.2025.100233

S. S. Shinde and A. S. Ghotkar, "Mental Stress Detection with the Multimodal Data Using Ensemble Optimization Enabled Explainable Convolutional Neural Network," Biomedical Materials & Devices, Mar. 2025. DOI: https://doi.org/10.1007/s44174-025-00296-3

S. K. Saini and R. Gupta, "A Novel Method for Mental Stress Assessment Based on Heart Rate Variability Analysis of Electrocardiogram Signals," Wireless Personal Communications, vol. 136, no. 1, pp. 521–545, May 2024. DOI: https://doi.org/10.1007/s11277-024-11317-7

Y. Haque et al., "State-of-the-Art of Stress Prediction from Heart Rate Variability Using Artificial Intelligence," Cognitive Computation, vol. 16, no. 2, pp. 455–481, Mar. 2024. DOI: https://doi.org/10.1007/s12559-023-10200-0

A. Kumar, M. A. Shaun, and B. K. Chaurasia, "Identification of psychological stress from speech signal using deep learning algorithm," e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 9, Sep. 2024, Art. no. 100707. DOI: https://doi.org/10.1016/j.prime.2024.100707

D. Narzary, U. Sharma, and A. Khanna, "An automated stress detection model based on dual approach of clinical psychologist prediction and machine learning," International Journal of Information Technology, vol. 17, no. 2, pp. 755–765, Mar. 2025. DOI: https://doi.org/10.1007/s41870-024-02213-1

P. Mukherjee and A. Halder Roy, "A deep learning-based approach for distinguishing different stress levels of human brain using EEG and pulse rate," Computer Methods in Biomechanics and Biomedical Engineering, vol. 27, no. 16, pp. 2303–2324, Dec. 2024. DOI: https://doi.org/10.1080/10255842.2023.2275547

G. Dogan and F. P. Akbulut, "Multi-modal fusion learning through biosignal, audio, and visual content for detection of mental stress," Neural Computing and Applications, vol. 35, no. 34, pp. 24435–24454, Dec. 2023. DOI: https://doi.org/10.1007/s00521-023-09036-4

B. H. Bhavani and N. C. Naveen, "An Approach to Determine and Categorize Mental Health Condition using Machine Learning and Deep Learning Models," Engineering, Technology & Applied Science Research, vol. 14, no. 2, pp. 13780–13786, Apr. 2024. DOI: https://doi.org/10.48084/etasr.7162

S. Kumar, A. Raj Chauhan, Akhil, A. Kumar, and G. Yang, "Resp-BoostNet: Mental Stress Detection From Biomarkers Measurable by Smartwatches Using Boosting Neural Network Technique," IEEE Access, vol. 12, pp. 149861–149874, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3461588

S. Upadhaya, B. Brahma, K. S. Hareesha, R. Panigrahi, and A. K. Bhoi, "Decoding emotions and unveiling stress: a non-invasive approach through sequential feature extraction and multiclass classifiers," Health and Technology, vol. 14, no. 6, pp. 1149–1160, Nov. 2024. DOI: https://doi.org/10.1007/s12553-024-00900-4

G. Singh, O. C. Phukan, and R. Kumar, "Stress recognition with multi-modal sensing using bootstrapped ensemble deep learning model," Expert Systems, vol. 40, no. 6, 2023, Art. no. e13239. DOI: https://doi.org/10.1111/exsy.13239

U. Rauf and S. M. U. Saeed, "Toward Improved Classification of Perceived Stress Using Time Domain Features," IEEE Access, vol. 12, pp. 51650–51664. DOI: https://doi.org/10.1109/ACCESS.2024.3369674

J. A. Mortensen, M. E. Mollov, A. Chatterjee, D. Ghose, and F. Y. Li, "Multi-Class Stress Detection Through Heart Rate Variability: A Deep Neural Network Based Study," IEEE Access, vol. 11, pp. 57470–57480, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3274478

"wesad-chest." Kaggle, [Online]. Available: https://www.kaggle.com/datasets/pranjalkr/wesad-chest.

"SWELL dataset." Kaggle, [Online]. Available: https://www.kaggle.com/datasets/qiriro/swell-heart-rate-variability-hrv.

Downloads

How to Cite

[1]
R. Rajanna, P. M. Puttubuddhi, and I. K. Puttaraju, “Mental Stress Classification Using Multivariate Analysis of Variance with Bidirectional Long Short-Term Memory Model”, Eng. Technol. Appl. Sci. Res., vol. 15, no. 6, pp. 28489–28495, Dec. 2025.

Metrics

Abstract Views: 280
PDF Downloads: 242

Metrics Information