Efficient methods for acute stress detection using heart rate variability data from Ambient Assisted Living sensors

Background Using Ambient Assisted Living sensors to detect acute stress could help people mitigate the harmful effects of everyday stressful situations. This would help both the healthy and those affected more by sudden stressors, e.g., people with diabetes or heart conditions. The study aimed to develop a method for providing reliable stress detection based on heart rate variability features extracted from portable devices. Methods Features extracted from portable electrocardiogram sensor recordings were used for training various classification algorithms for stress detection purposes. Data were recorded in a clinical trial with 7 participants and two stressors, the Trier Social Stress Test and the Stroop colour word test, both validated by standardised questionnaires. Different heart rate variability feature sets (all, time-domain and non-linear only, frequency-domain only) were tested to investigate how classification performance is affected, in addition to various time window length setups and participant-wise training sessions. The accuracy and F1 score of the trained models were compared and analysed. Results The best results were achieved with models using time-domain and non-linear heart rate variability features with 5-min-long overlapping time windows, yielding 96.31% accuracy and 96.26% F1 score. Shorter overlapping windows had slightly lower performance, with 91.62–94.55% accuracy and 91.77–94.55% F1 score ranges. Non-overlapping window configurations were less effective, with both accuracy and F1 score below 88%. For participant-wise learning, average F1 scores of 99.47%, 98.93% and 96.1% were achieved for feature sets using all, time-domain and non-linear, and frequency-domain features, respectively. Conclusion The tested stress detector models based on heart rate variability data recorded by a single electrocardiogram sensor performed just as well as those published in the literature working with multiple sensors, or even better. This suggests that once portable devices such as smartwatches provide reliable hear rate variability recordings, efficient stress detection can be achieved without the need for additional physiological measurements.

[1]  Roy C Ziegelstein,et al.  Acute emotional stress and cardiac arrhythmias. , 2007, JAMA.

[2]  P. Kirchhof,et al.  2016 ESC Guidelines for the management of atrial fibrillation developed in collaboration with EACTS. , 2016, Europace : European pacing, arrhythmias, and cardiac electrophysiology : journal of the working groups on cardiac pacing, arrhythmias, and cardiac cellular electrophysiology of the European Society of Cardiology.

[3]  Javier Guerra-Casanova,et al.  Real-Time Stress Detection by Means of Physiological Signals , 2011 .

[4]  F. Vachon,et al.  Predicting Stress among Pedestrian Traffic Workers Using Physiological and Situational Measures , 2018, Proceedings of the Human Factors and Ergonomics Society Annual Meeting.

[5]  C. Spielberger,et al.  Manual for the State-Trait Anxiety Inventory , 1970 .

[6]  P. Melillo,et al.  Detection of mental stress due to oral academic examination via ultra-short-term HRV analysis , 2016, 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[7]  Stress and Recovery Analysis Method Based on 24-hour Heart Rate Variability , 2014 .

[8]  Sazali Yaacob,et al.  Analysis of Stroop Color Word Test-Based Human Stress Detection using Electrocardiography and Heart Rate Variability Signals , 2014 .

[9]  D. Bai,et al.  Stress and Heart Rate Variability: A Meta-Analysis and Review of the Literature , 2018, Psychiatry investigation.

[10]  Ana Aguiar,et al.  Heart rate variability metrics for fine-grained stress level assessment , 2017, Comput. Methods Programs Biomed..

[11]  Wanhui Wen,et al.  Recognition of Real-Scene Stress in Examination with Heart Rate Features , 2017, 2017 9th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC).

[12]  Health and Aging , 2006 .

[13]  Gonzalo Bailador,et al.  A Stress-Detection System Based on Physiological Signals and Fuzzy Logic , 2011, IEEE Transactions on Industrial Electronics.

[14]  M. Marcovecchio,et al.  The Effects of Acute and Chronic Stress on Diabetes Control , 2012, Science Signaling.

[15]  Otniel Portillo-Rodríguez,et al.  Towards an anxiety and stress recognition system for academic environments based on physiological features , 2020, Comput. Methods Programs Biomed..

[16]  F. Amaro-Gahete,et al.  Impact of Using Different Levels of Threshold-Based Artefact Correction on the Quantification of Heart Rate Variability in Three Independent Human Cohorts , 2020, Journal of clinical medicine.

[17]  Lesya Anishchenko,et al.  Mental stress detection using bioradar respiratory signals , 2018, Biomed. Signal Process. Control..

[18]  Sören Gröttrup,et al.  Data Mining with SPSS Modeler , 2021 .

[19]  Hedayat Sahraei,et al.  The impact of stress on body function: A review , 2017, EXCLI journal.

[20]  Masahiro Inoue,et al.  Daily Stress Recognition System Using Activity Tracker and Smartphone Based on Physical Activity and Heart Rate Data , 2018, Smart Innovation, Systems and Technologies.

[21]  P. Kirchhof,et al.  2016 ESC Guidelines for the management of atrial fibrillation developed in collaboration with EACTS. , 2016, European journal of cardio-thoracic surgery : official journal of the European Association for Cardio-thoracic Surgery.

[22]  Helge B. D. Sørensen,et al.  Classification of acute stress using linear and non-linear heart rate variability analysis derived from sternal ECG , 2014, 2014 36th Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[23]  G. Fink Stress: Concepts, Cognition, Emotion, and Behavior : Handbook of Stress Series Volume 1 , 2016 .

[24]  István Vassányi,et al.  Stress Detection Using Low Cost Heart Rate Sensors , 2016, Journal of healthcare engineering.

[25]  Ronald S Duman,et al.  NEUROBIOLOGY OF STRESS, DEPRESSION, AND RAPID ACTING ANTIDEPRESSANTS: REMODELING SYNAPTIC CONNECTIONS , 2014, Depression and anxiety.

[26]  D. Johnston,et al.  Cardiovascular reactivity in real life settings: Measurement, mechanisms and meaning , 2011, Biological Psychology.

[27]  P. Melillo,et al.  Nonlinear Heart Rate Variability features for real-life stress detection. Case study: students under stress due to university examination , 2011, Biomedical engineering online.

[28]  P. Lang,et al.  International Affective Picture System (IAPS): Instruction Manual and Affective Ratings (Tech. Rep. No. A-4) , 1999 .

[29]  G. Nijpels,et al.  The association between psychosocial stress and mortality is mediated by lifestyle and chronic diseases: the Hoorn Study. , 2014, Social science & medicine.

[30]  Matjaz Gams,et al.  Monitoring stress with a wrist device using context , 2017, J. Biomed. Informatics.

[31]  José Manuel Pastor,et al.  Estimation of Mental Distress from Photoplethysmography , 2018 .

[32]  Rachmad Setiawan,et al.  Stress Diagnostic System and Digital Medical Record Based on Internet of Things , 2019, 2019 International Seminar on Intelligent Technology and Its Applications (ISITIA).

[33]  Taiki Takahashi,et al.  Anxiety, reactivity, and social stress-induced cortisol elevation in humans. , 2005, Neuro endocrinology letters.

[34]  Mikel Larrea,et al.  A Low-Cost, Portable Solution for Stress and Relaxation Estimation Based on a Real-Time Fuzzy Algorithm , 2020, IEEE Access.

[35]  Antonio Fernández-Caballero,et al.  Deep Support Vector Machines for the Identification of Stress Condition from Electrodermal Activity , 2020, Int. J. Neural Syst..

[36]  Joel E Dimsdale,et al.  Psychological stress and cardiovascular disease. , 2008, Journal of the American College of Cardiology.

[37]  P. Vardas,et al.  РЕКОМЕНДАЦИИ ESC ПО ЛЕЧЕНИЮ ПАЦИЕНТОВ С ФИБРИЛЛЯЦИЕЙ ПРЕДСЕРДИЙ, РАЗРАБОТАННЫЕ СОВМЕСТНО С EACTS , 2017 .

[38]  J. Stroop Studies of interference in serial verbal reactions. , 1992 .

[39]  Jennifer Healey,et al.  Detecting stress during real-world driving tasks using physiological sensors , 2005, IEEE Transactions on Intelligent Transportation Systems.

[40]  M. Harrison,et al.  Associations between chronic disease, age and physical and mental health status. , 2009, Chronic diseases in Canada.

[41]  Yongqiang Lyu,et al.  Evaluating Photoplethysmogram as a Real-Time Cognitive Load Assessment during Game Playing , 2018, Int. J. Hum. Comput. Interact..

[42]  Boreom Lee,et al.  Discrimination of multiple stress levels in virtual reality environments using heart rate variability , 2017, 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[43]  C. Kirschbaum,et al.  The 'Trier Social Stress Test'--a tool for investigating psychobiological stress responses in a laboratory setting. , 1993, Neuropsychobiology.

[44]  Ali Maleki,et al.  Stress detection using ECG and EMG signals: A comprehensive study , 2020, Comput. Methods Programs Biomed..

[45]  Changwoo Yoon,et al.  Multilevel mental stress detection using ultra-short pulse rate variability series , 2020, Biomed. Signal Process. Control..

[46]  Patrick T. Ellinor,et al.  Frequency of Cardiac Rhythm Abnormalities in a Half Million Adults , 2018, Circulation. Arrhythmia and electrophysiology.

[47]  A J Dy,et al.  Work stress. , 1978, The American journal of psychiatry.

[48]  Tarani Chandola,et al.  Work Stress, Obesity and the Risk of Type 2 Diabetes: Gender‐Specific Bidirectional Effect in the Whitehall II Study , 2012, Obesity.

[49]  Peter B. Nagy,et al.  HRV-based Stress Level Assessment Using Very Short Recordings , 2017, Period. Polytech. Electr. Eng. Comput. Sci..

[50]  K. V. N. Sunitha,et al.  Machine Learning Approach for Stress Detection using Wireless Physical Activity Tracker , 2018 .

[51]  L. Schwabe,et al.  HPA axis activation by a socially evaluated cold-pressor test , 2008, Psychoneuroendocrinology.

[52]  Mika P. Tarvainen,et al.  Kubios HRV - Heart rate variability analysis software , 2014, Comput. Methods Programs Biomed..

[53]  Myeong Gi Jeong,et al.  Ultra Short Term Analysis of Heart Rate Variability for Monitoring Mental Stress in Mobile Settings , 2007, 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[54]  G. R. Suresh,et al.  Hierarchical SVM to detect mental stress in human beings using Heart Rate Variability , 2014, 2014 2nd International Conference on Devices, Circuits and Systems (ICDCS).