| Literature DB >> 34325719 |
Benedek Szakonyi1, István Vassányi2, Edit Schumacher3, István Kósa3,4.
Abstract
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.Entities:
Keywords: Ambient Assisted Living; Heart rate variability; State–Trait Anxiety Inventory; Stress detection; Stroop colour word test; Trier social stress test; Wearable sensor
Mesh:
Year: 2021 PMID: 34325719 PMCID: PMC8323289 DOI: 10.1186/s12938-021-00911-6
Source DB: PubMed Journal: Biomed Eng Online ISSN: 1475-925X Impact factor: 2.819
Fig. 1The schematic representation of the RR interval
Recent and relevant studies on acute stress detection
| Paper | Subjects (number, age) | Sensors | Stressing procedure | Classification methods | Window length (s) | Results |
|---|---|---|---|---|---|---|
| Ham 2017 [ | 6, 28.67 ± 3.3y | PPG (HRV) | Arithmetic stress, environmental stress, both while in Virtual Reality | LDA | 240 s, non-overlapping | 74% (baseline), 81% (mild stress), 82% (severe stress) |
| Pereira 2017 [ | 14, 20-26y | ECG (HRV) | Trier Social Stress Test | N/A | 50-220 s, non-overlapping | N/A |
| Zangróniz 2018 [ | 45, 20-28y | PPG (PRV) | IAPS | Decision Tree | 70 s | 82,35% |
| Lawanont 2019 [ | 10, 20-26y | Activity tracker (FitBit) | Real-life work shifts | KNN, SVM, Decision Tree | 1 h | 84.1% (decision tree) |
| Moridani 2020 [ | 20, 25 ± 5y | ECG (HRV) | Physical activity, arithmetic task, emotional stress (horror movie) | CNN | 300 s (40 s for “mini emotional stress”) | 97.9% (cognitive), 94.4% (emotional) |
| Pourmohammadi 2020 [ | 34, 25.4 ± 4.2y | EMG, ECG (HRV) | Arithmetic task, Stroop, environmental stressing | SVM | 60 s, non-overlapping | 100% (2 levels), 97.6% (3 levels), 96.2% (4 levels) |
| Rodriguez-Arce 2020 [ | 21, 18-21y | GSR, PPG, body temp., breathing | Arithmetic task, electrocutaneous stimulation | KNN, SVM | ~ 50 s (2500 samples per window) | 90% (KNN), 95% (SVM) |
| Sánchez-Reolid 2020 [ | 147, 31.4 ± 8.03y (w), 36.3 ± 4.99y (m) | EDA | IAPS | SVM, D-SVM | 1-40 s, overlapping and non-overlapping | 83% (SVM), 92% (D-SVM) |
| Zalabarria 2020 [ | 42, 22.88 ± 3.1y | ECG (HR), GSR, breathing | 3D puzzle | Fuzzy algorithm | 20 s sliding window | 91.15% (stress), 96.61% (relax) |
| Zubair 2020 [ | 14, 25-30y | PPG (HRV) | Arithmetic tasks, Stroop | QDA, SVM | 60 s, non-overlapping | 94.33% (SVM), 89.73% (QDA) |
LDA linear discriminant analysis, CNN Convolutional Neural Network, KNN K-nearest neighbours, (D-)SVM (Deep-)Support Vector Machine, QDA quadratic discriminant analysis
STAI scores before and after each stressing session
| P1 | P2 | P3 | P4 | P5 | P6 | P7 | |
|---|---|---|---|---|---|---|---|
| TRIER Before | 39 | 31 | 30 | 28 | 37 | 26 | 35 |
| After | 48 | 43 | 49 | 47 | 66 | 26 | 74 |
| STROOP Before | 36 | 34 | 39 | 23 | 44 | 20 | 53 |
| After | 34 | 35 | 38 | 24 | 37 | 20 | 37 |
Fig. 2F1 scores for different time windows and the three feature sets of configuration 1 (_o denoting overlapping time window setups)
Model performances for given time windows, using all HRV features. The best results in boldface
| Window length (min) | Non-overlapping windows | Overlapping windows | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 2 | 3 | 4 | 5 | |
| Accuracy | 80,70% | 86,03% | 85,10% | 86,67% | 85,94% | 89,82% | 92,94% | 94,68% | |
| Sensitivity | 80,51% | 84,62% | 79,60% | 83,89% | 86,25% | 89,67% | 90,88% | 93,06% | |
| Specificity | 80,89% | 87,44% | 90,38% | 89,44% | 85,63% | 90,00% | 95,00% | 96,29% | |
| F1 score | 80,22% | 85,82% | 83,30% | 86,31% | 86,03% | 89,91% | 92,74% | 94,58% | |
Model performances for given time windows, using time-domain and non-linear HRV features
| Window length (min) | Non-overlapping windows | Overlapping windows | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 2 | 3 | 4 | 5 | |
| Accuracy | 87,53% | 86,41% | 84,90% | 81,11% | 78,75% | 91,77% | 94,19% | 94,60% | |
| Sensitivity | 86,58% | 84,87% | 82,80% | 72,22% | 74,38% | 89,86% | 93,24% | 93,71% | |
| Specificity | 88,48% | 87,95% | 86,92% | 90,00% | 83,13% | 93,70% | 95,15% | 95,48% | |
| F1 score | 87,39% | 85,80% | 83,54% | 78,20% | 76,89% | 91,62% | 94,13% | 94,55% | |
Model performances for given time windows, using frequency-domain HRV features only
| Window length (min) | Non-overlapping windows | Overlapping windows | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 2 | 3 | 4 | 5 | |
| Accuracy | 71,33% | 73,33% | 77,65% | 77,22% | 80,00% | 84,69% | 87,79% | 90,92% | |
| Sensitivity | 68,61% | 65,90% | 73,60% | 67,78% | 74,38% | 82,57% | 86,32% | 89,85% | |
| Specificity | 74,05% | 80,77% | 81,54% | 86,67% | 85,63% | 86,85% | 89,26% | 92,00% | |
| F1 score | 70,26% | 70,35% | 75,31% | 72,69% | 78,61% | 84,30% | 87,54% | 90,79% | |
The best-performing time window setups for the participant-wise training models
| Participant | Figure of merit | All features | Time and non-linear features | Frequency features | |||
|---|---|---|---|---|---|---|---|
| Overlap | No overlap | Overlap | No overlap | Overlap | No overlap | ||
| P1 | Window length | 5 min | 4 min | 4, 5 min | 5 min | 5 min | 4 min |
| F1 score | 100% | 100% | 100% | 90.0% | 97.5% | 100% | |
| P2 | Window length | 4 min | 5 min | 5 min | 2 min | 5 min | 3 min |
| F1 score | 96.8% | 92.1% | 95.5% | 90.7% | 89.4% | 92.4% | |
| P3 | Window length | 4, 5 min | 5 min | 5 min | 5 min | 4 min | 4 min |
| F1 score | 100% | 100% | 99.0% | 100% | 97.1% | 94.6% | |
| P4 | Window length | 4, 5 min | 3 min | 4, 5 min | 5 min | 2 min | 4 min |
| F1 score | 100% | 98.6% | 100% | 100% | 96.7% | 94.7% | |
| P5 | Window length | 4 min | 5 min | 4, 5 min | 5 min | 3 min | 5 min |
| F1 score | 99.5% | 100% | 100% | 100% | 96.4% | 100% | |
| P6 | Window length | 5 min | 96.2% | 3 min | 5 min | 5 min | 4 min |
| F1 score | 100% | 100% | 98.0% | 100% | 95.6% | 94.6% | |
| P7 | Window length | 4, 5 min | all | 1, 4, 5 min | 5 min | 4 min | 5 min |
| F1 score | 100% | 100% | 100% | 100% | 100% | 100% | |
| Average | F1 score | 99.47% | 98.67% | 98.93% | 97.24% | 96.10% | 96.61% |
Fig. 3F1 scores for overlapping time windows, for participant-wise training models using all HRV features
Fig. 4The classification algorithm-wise distribution of the best result achieved for all test runs in configuration 1, for each different feature set
Fig. 5Performance comparison of methods using 60-s long, non-overlapping time windows
Fig. 6Performance comparison of best results achieved (different time window configurations)
The amount of data used for training and testing purposes for each participant
| Total length of | P1 (min) | P2 (min) | P3 (min) | P4 (min) | P5 (min) | P6 (min) | P7 (min) |
|---|---|---|---|---|---|---|---|
| Stressful records | 20 | 50 | 40 | 27 | 44 | 37 | 20 |
| Non-stressful records | 20 | 50 | 40 | 27 | 44 | 37 | 20 |