Abstract
Stress, either physical or mental, is experienced by almost every person at some point in his lifetime. Stress is one of the leading causes of various diseases and burdens society globally. Stress badly affects an individual's well-being. Thus, stress-related study is an emerging field, and in the past decade, a lot of attention has been given to the detection and classification of stress. The estimation of stress in the individual helps in stress management before it invades the human mind and body. In this paper, we proposed a system for the detection and classification of stress. We compared the various machine learning algorithms for stress classification using EEG signal recordings. Interaxon Muse device having four dry electrodes has been used for data collection. We have collected the EEG data from 20 subjects. The stress was induced in these volunteers by showing stressful videos to them, and the EEG signal was then acquired. The frequency-domain features such as absolute band powers were extracted from EEG signals. The data were then classified into stress and non-stressed using different machine learning methods - Random Forest, Support Vector Machine, Logistic Regression, Naive Bayes, K-Nearest Neighbors, and Gradient Boosting. We performed 10-fold cross-validation, and the average classification accuracy of 95.65% was obtained using the gradient boosting method.
Keywords
- Stress classification
- Machine learning
- MUSE headband
- EEG signal
This is a preview of subscription content, access via your institution.
Buying options


References
Smitha, K., Xin, N.Y., Lian, S.S., Robinson, N.: Classifying subjective emotional stress response evoked by multitasking using EEG. In: 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 3036–3041 (2017). https://doi.org/10.1109/SMC.2017.8123091
Patterson, E.: Stress facts and statistics. https://www.therecoveryvillage.com/mental-health/stress/related/stress-statistics/
Khetarpal, S.: Rising stress levels of India inc: overwork, financial woes, remote work take toll on mental health. https://www.businesstoday.in/current/economy-politics/rising-stress-levels-of-india-inc-overwork-financial-woes-remote-work-take-toll-on-mental-health/story/419099.html
Boukhechba, M., Daros, A.R., Fua, K., Chow, P.I., Teachman, B.A., Barnes, L.E.: Demonicsalmon: monitoring mental health and social interactions of college students using smartphones. Smart Health 9, 192–203 (2018)
Cásić, K., Popović, S., Sˇarlija, M., Kesedžić, I., Jovanovic, T.: Artificial intelligence in prediction of mental health disorders induced by the covid-19 pandemic among health care workers. Croatian Med. J. 61(3), 279 (2020)
Liang, Y., Zheng, X., Zeng, D.D.: A survey on big data-driven digital phenotyping of mental health. Inf. Fusion 52, 290–307 (2019)
Heim, C., Nemeroff, C.B.: Neurobiology of early life stress: clinical studies. In: Seminars in Clinical Neuropsychiatry. vol. 7, pp. 147–159 (2002)
McGonagle, K.A., Kessler, R.C.: Chronic stress, acute stress, and depressive symptoms. Am. J. Community Psychol. 18(5), 681–706 (1990)
Cohen, S., Janicki-Deverts, D., Miller, G.E.: Psychological stress and disease. Jama 298(14), 1685–1687 (2007)
Steptoe, A., Kivimäki, M.: Stress and cardiovascular disease. Nature Rev. Cardiol. 9(6), 360–370 (2012)
Schneiderman, N., Ironson, G., Siegel, S.D.: Stress and health: psychological, behavioral, and biological determinants. Annual review of clinical psychology 1 (2005)
Jaiswal, M., Bara, C.P., Luo, Y., Burzo, M., Mihalcea, R., Provost, E.M.: Muse: a multimodal dataset of stressed emotion. In: Proceedings of the 12th Language Resources and Evaluation Conference, pp. 1499–1510 (2020)
Zheng, R., Yamabe, S., Nakano, K., Suda, Y.: Biosignal analysis to assess mental stress in automatic driving of trucks: palmar perspiration and masseter electromyography. Sensors 15(3), 5136–5150 (2015)
Mehreen, A., Anwar, S.M., Haseeb, M., Majid, M., Ullah, M.O.: A hybrid scheme for drowsiness detection using wearable sensors. IEEE Sens. J. 19(13), 5119–5126 (2019)
Raheel, A., Anwar, S.M., Majid, M.: Emotion recognition in response to traditional and tactile enhanced multimedia using electroencephalography. Multimed. Tools Appl. 78(10), 13971–13985 (2019)
Umar Saeed, S.M., Anwar, S.M., Majid, M., Awais, M., Alnowami, M.: Selection of neural oscillatory features for human stress classification with single channel EEG headset. BioMed research international 2018 (2018)
Asif, A., Majid, M., Anwar, S.M.: Human stress classification using EEG signals in response to music tracks. Comput. Biol. Med. 107, 182–196 (2019)
Anwar, S.M., Saeed, S.M.U., Majid, M., Usman, S., Mehmood, C.A., Liu, W.: A game player expertise level classification system using electroencephalography (EEG). Appl. Sci. 8(1), 18 (2018)
Sanei, S., Chambers, J.A.: EEG Signal Processing. Wiley, Hoboken (2013)
Al-Shargie, F., Tang, T.B., Badruddin, N., Kiguchi, M.: Towards multilevel mental stress assessment using SVM with ECOC: an eeg approach. Med. Biol. Eng. Comput. 56(1), 125–136 (2018)
Arpaia, P., Moccaldi, N., Prevete, R., Sannino, I., Tedesco, A.: A wearable EEG instrument for real-time frontal asymmetry monitoring in worker stress analysis. IEEE Trans. Instrum. Meas. 69(10), 8335–8343 (2020). https://doi.org/10.1109/TIM.2020.2988744
Giannakakis, G., Grigoriadis, D., Tsiknakis, M.: Detection of Stress/anxiety State from EEG Features During Video Watching (2015). https://doi.org/10.1109/EMBC.2015.7319767
Hou, X., Liu, Y., Sourina, O., Tan, Y. R. E., Wang, L., Mueller-Wittig, W.: EEG based stress monitoring. In: Proceedings - 2015 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2015, pp. 3110–3115 (2016). https://doi.org/10.1109/SMC.2015.540
Arsalan, A., Majid, M., Butt, A.R., Anwar, S.M.: Classification of perceived mental stress using a commercially available EEG headband. IEEE J. Biomed. Health Inform. 23(6), 2257–2264 (2019). https://doi.org/10.1109/JBHI.2019.2926407
Bird, J.J., Manso, L.J., Ribeiro, E.P., Ek´art, A., Faria, D.R.: A study on mental state classification using EEG-based brain-machine interface. In: 2018 International Conference on Intelligent Systems (IS), pp. 795–800. IEEE (2018)
Saeed, S.M.U., Anwar, S.M., Khalid, H., Majid, M., Bagci, U.: Eeg based classification of long-term stress using psychological labeling. Sensors 20(7), 1886 (2020)
Acharya, D., Goel, S., Bhardwaj, H., Sakalle, A., Bhardwaj, A.: A long short term memory deep learning network for the classification of negative emotions using EEG signals. In: 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–8. IEEE (2020)
Koelstra, S., Muhl, C., Soleymani, M., Lee, J.S., Yazdani, A., Ebrahimi, T., Pun, T., Nijholt, A., Patras, I.: Deap: a database for emotion analysis; using physiological signals. IEEE Trans. Affect. Comput. 3(1), 18–31 (2011)
Ehrhardt, N.M., Fietz, J., Kopf-Beck, J., Kappelmann, N., Brem, A.K.: Separating EEG correlates of stress: cognitive effort, time pressure, and social-evaluative threat. Eur. J. Neurosci. 2021, 1–10 (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
Cite this paper
Phutela, N., Relan, D., Gabrani, G., Kumaraguru, P. (2022). EEG Based Stress Classification in Response to Stress Stimulus. In: Dev, A., Agrawal, S.S., Sharma, A. (eds) Artificial Intelligence and Speech Technology. AIST 2021. Communications in Computer and Information Science, vol 1546. Springer, Cham. https://doi.org/10.1007/978-3-030-95711-7_30
Download citation
DOI: https://doi.org/10.1007/978-3-030-95711-7_30
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-95710-0
Online ISBN: 978-3-030-95711-7
eBook Packages: Computer ScienceComputer Science (R0)