| Literature DB >> 31003456 |
Yekta Said Can1, Niaz Chalabianloo2, Deniz Ekiz3, Cem Ersoy4.
Abstract
The negative effects of mental stress on human health has been known for decades. High-level stress must be detected at early stages to prevent these negative effects. After the emergence of wearable devices that could be part of our lives, researchers have started detecting extreme stress of individuals with them during daily routines. Initial experiments were performed in laboratory environments and recently a number of works took a step outside the laboratory environment to the real-life. We developed an automatic stress detection system using physiological signals obtained from unobtrusive smart wearable devices which can be carried during the daily life routines of individuals. This system has modality-specific artifact removal and feature extraction methods for real-life conditions. We further tested our system in a real-life setting with collected physiological data from 21 participants of an algorithmic programming contest for nine days. This event had lectures, contests as well as free time. By using heart activity, skin conductance and accelerometer signals, we successfully discriminated contest stress, relatively higher cognitive load (lecture) and relaxed time activities by using different machine learning methods.Entities:
Keywords: daily life psychophysiological data; electrodermal activity; heart rate variability; machine learning; photoplethysmography; smartwatch; stress recognition; wearable sensors
Mesh:
Year: 2019 PMID: 31003456 PMCID: PMC6515276 DOI: 10.3390/s19081849
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Stress detection experiments in controlled laboratory environments.
| Article | Stress Signal | Stress Test | Method | # of Classes | Accuracy % | Applicable in Daily Life? |
|---|---|---|---|---|---|---|
| [ | HRV | Stress in the traffic | Minimum Distance Classifier | 3 (Low, Medium, High) | 90 | Yes |
| [ | EDA, PPG | Hyperventilation and Talk Prep | Fuzzy Logic | 2 (S, R) | 99 | Yes |
| [ | Speech | TSST | SVM | 2 (S,R) | 72 | Yes |
| [ | ECG, EMG, EDA | Arithmetic, Puzzle, Memory Tasks | Bayes, kNN, LSD | 2 (S, R) | 80 | Yes |
| [ | PPG, EDA, Respiration, Thermal Cam | Lie Detection | DecisionTree | 2 (S, R) | 73 | Yes |
| [ | EEG | Arithmetic Task | SVM | 4 (Neutral, Medium, Low, High) | 89 | No |
| [ | Body Movements | Arithmetic Task | SVM | 2 (S, R) | 77 | No |
| [ | Body Movements, EMG, EDA, Respiration | Arithmetic Task | SVM | 2 (Stress, Relax) | 85 | No |
| [ | Facial Cues | Social Exposure and Stressful Media (IAPS) | kNN, SVM, Naive Bayes | 3 (Neutral, Relax, Stressed) | 91.68 | No |
| [ | Pupil Diameter | IAPS | DecisionTree | 2 (Stress, Relaxed) | 90 | No |
| [ | EDA, PPG, Speech, Accelerometer | TSST | Adaboost | 2 (Stress, Relax) | 94 | Yes |
| [ | EDA, Accelerometer, Bluetooth | — | Logistic Regression | 2 (Stressed, Unstressed) | 91 | Yes |
| [ | Temperature, Heat Flux, EDA, Respiration, Accelerometer | Arithmetic Task, Cold Pressor and loud Sounds | Naive Bayes | 2 (Stress, Relaxed) | 82 | No |
| [ | ECG, GSR, Respiration, Blood Pressure, Blood Oximeter | Ice test and IAPS | SVM, kNN | 2 (Stressed, Relax) | 95.8 | Yes |
| [ | EEG, ECG, EMG, EOG | Mental and Memory Task | ANN | 3 (Relaxed, Mental, Fatigue) | 80 | No |
| [ | Facial Blood Flow | SCWT | Multiple Regression | 2 (S, R) | 88.6 | No |
| [ | EDA | Fail Scenarios | LDA | 2 (S, R) | 98.88 | Yes |
| [ | Human Gaze, Mouse Click | Arithmetic Task | Random Forest | 2 (S, R) | 66 | No |
| [ | BioRadar | Mental Arithmetic Task | Multilayer Perceptron | 2 (S,R) | 0.94 | No |
| [ | Mobile Application Usage Pattern-Physical Activity-Light Sensor-Screen Events | Real Life | SVM, ANN, kNN | 2 (S, R) | 70 | Yes |
| [ | BVP-Skin Temperature-EDA-RR-Heart Rate (Without Context Info) | Real Life | Random Forest | 2 (S, R) | 76 | Yes |
| [ | HR-IBI-HRV-EDA- Temperature | Real Life | Weka Toolkit | 2 class (S, R) | 70 | Yes |
| [ | Phone usage data for different application categories | Real Life | HMM with MPM | 2 (S, R) | 68 | Yes |
Figure 1Recorded physiological signals before and after the start of the stimuli. The increase in EDA signal level and number of peaks and irregularities and sudden increases in HRV can be seen in this figure.
Figure 2The block diagram of the stress level detection system for Samsung Gear S and S2 and Empatica E4. Since the sensors and platforms are different, please note that EDA and temperature signals are only available for E4.
Figure 3The example filtered EDA signal according to changes in the accelerometer signal. Note that red components were deleted because of the high activity intensity.
Figure 4Activity intensity is shown by using the accelerometer sensor X, Y, and Z components corresponding to the example EDA signal in Figure 3 Note that this example was recorded during a highly intensive activity.
Figure 5Decomposed EDA Signal from Empatica E4 wristband by applying cvxEDA tool.
Figure 6Gaps due to movement and loosely worn wristband from PPG (Photoplethysmography) data (Left) are filled with cubic interpolation function (Right).
Heart rate variability features and their definitions.
| Feature | Description |
|---|---|
| Mean RR | Mean value of the inter-beat (RR) intervals |
| STD RR | Standard deviation of the inter-beat interval |
| RMSSD | Root mean square of successive difference of the RR intervals |
| pNN50 | Percentage of the number of successive RR intervals varying more than 50 ms |
| HRV triangular index | Total number of RR intervals divided by the height of the histogram of all RR intervals |
| TINN | Triangular interpolation of RR interval histogram |
| LF | Power in low-frequency band (0.04–0.15 Hz) |
| HF | Power in high-frequency band (0.15–0.4 Hz) |
| LF/HF | Ratio of LF-to-HF |
| pLF | Prevalent low-frequency oscillation of heart rate |
| pHF | Prevalent high-frequency oscillation of heart rate |
| VLF | Power in very low-frequency band (0.00–0.04 Hz) |
| SDSD | Related standard deviation of successive RR interval differences |
Figure 7A view of smartwatches and wristbands after data extraction, charged and ready to use.
Figure 8The daily schedule and data collection procedure during the algorithmic programming contest.
Stress detection accuracies with different ML algorithms: three-class classification. On the left side, stress recognition results that only used HR and EDA signals are presented. On the right side, context information with accelerometer data is also added. The highest accuracy in every column is emphasized with bold.
| Algorithm | Stress Only | Stress with Context | ||||
|---|---|---|---|---|---|---|
| HR | EDA | HR + EDA | HR + EDA + ACC | HR + ACC | EDA + ACC | |
| PCA + LDA | 49.01 | 52.94 | 62.70 | 82.35 | 72.50 | 80.39 |
| PCA + SVM (radial) | 80.39 | 62.74 | 84.31 | 82.35 | 86.27 | 80.39 |
| kNN | 82.35 |
| 86.27 | 80.39 | 84.31 | 80.39 |
| Logistic Regression | 84.21 | 60.78 |
| 90.19 | 86.27 | 78.43 |
| Random Forest |
| 80.39 | 86.27 | 86.27 |
|
|
| Multilayer Perception |
| 68.62 | 90.19 |
|
| 82.35 |
Stress with context classification accuracy, f-Measure, precision and recall values with different ML algorithms: three-class. HR + EDA +ACC for Empatica E4.
| Algorithm | HR + EDA + ACC (Empatica E4) | |||
|---|---|---|---|---|
| Accuracy | f-Measure | Precision | Recall | |
| PCA + LDA | 82.35 | 82.20 | 82.60 | 82.40 |
| PCA + SVM (radial) | 82.35 | 82.50 | 83.30 | 82.40 |
| kNN | 80.39 | 80.40 | 80.80 | 80.40 |
| Logistic Regression | 90.19 | 90.10 | 90.20 | 90.20 |
| Random Forest | 86.27 | 86.20 | 86.20 | 86.30 |
| Multilayer Perceptron |
|
|
|
|
Stress with context classification accuracy, f-Measure, precision and recall values with different ML algorithms: three-class. HR +ACC for Empatica E4.
| Algorithm | HR + ACC (Empatica E4) | |||
|---|---|---|---|---|
| Accuracy | f-Measure | Precision | Recall | |
| PCA + LDA | 72.54 | 71.60 | 71.80 | 72.5 |
| PCA + SVM (radial) | 86.27 | 86.20 | 86.90 | 86.30 |
| kNN | 84.31 | 84.10 | 84.60 | 84.30 |
| Logistic Regression | 86.27 | 86.20 | 86.90 | 86.30 |
| Random Forest | 88.25 | 88.00 | 88.10 | 88.20 |
| Multilayer Perceptron |
|
|
|
|
Stress with context classification accuracy, f-Measure, precision and recall values with different ML algorithms: three-class. HR +ACC for all devices.
| Algorithm | HR + ACC (All Devices) | |||
|---|---|---|---|---|
| Accuracy | f-Measure | Precision | Recall | |
| PCA + LDA | 59.12 | 59.80 | 60.10 | 59.60 |
| PCA + SVM (radial) | 76.99 | 77.10 | 77.30 | 77.00 |
| kNN | 87.32 | 87.20 | 87.30 | 87.30 |
| Logistic Regression | 65.25 | 65.00 | 65.00 | 65.30 |
| Random Forest |
|
|
|
|
| Multilayer Perceptron | 83.09 | 83.00 | 83.20 | 83.10 |
Figure 9Percentage of the remaining data (for both device types) after the artifacts are removed versus different percentage thresholds of artifact detection.
Effect of the used device to three-class stress with context classification accuracy when heart activity and accelerometer data are used together.
| Algorithm | Empatica E4 | Samsung Gear S-S2 | All Devices |
|---|---|---|---|
| PCA + LDA | 88.88 | 72.60 | 59.12 |
| PCA + SVM (rad) | 92.06 | 78.60 | 76.91 |
| kNN | 87.30 | 85.30 | 87.30 |
| Logistic Regression | 90.47 | 83.30 | 65.25 |
| Random Forest | 90.40 |
|
|
| Multilayer Perception |
| 87.30 | 83.10 |
Effect of the device used to three-class stress level classification accuracy when only heart activity signal is used (without context).
| Algorithm | Empatica E4 | Samsung Gear S-S2 | All Devices |
|---|---|---|---|
| PCA + LDA | 65.07 | 55.33 | 52.58 |
| PCA + SVM (rad) |
| 73.33 | 62.60 |
| kNN | 88.88 | 82.00 | 82.15 |
| Logistic Regression | 84.90 | 66.66 | 66.66 |
| Random Forest | 87.30 |
|
|
| Multilayer Perception | 88.88 | 78.00 | 71.36 |
Classification accuracies vs. changing percentage based artifact detection and filtering rules.
| Algorithm | 10% | 15% | 20% | 25% |
|---|---|---|---|---|
| PCA + LDA | 64.28 | 62.38 | 59.62 | 63.80 |
| PCA + SVM(rad) | 80.95 | 78.57 | 77.00 | 79.52 |
| kNN | 87.61 | 86.66 | 87.32 |
|
| Logistic Regression | 73.80 | 61.90 | 66.25 | 66.19 |
| Random Forest |
|
|
| 82.60 |
| Multilayer Perception | 80.00 | 78.57 | 83.09 | 80.95 |
Effect of the length of the aggregation window on classification accuracies.
| Algorithm | Aggregation Window Size (s) | |||
|---|---|---|---|---|
| 120 | 300 | 600 | 1200 | |
| PCA + LDA | 59.62 | 62.24 | 54.14 | 63.02 |
| PCA + SVM (radial) | 76.99 | 77.94 | 77.27 |
|
| kNN | 87.32 | 83.30 |
| 85.41 |
| Logistic Regression | 65.25 | 69.60 | 72.22 | 76.16 |
| Random Forest |
| 86.76 | 87.87 | 84.14 |
| Multilayer Perception | 83.09 |
| 81.81 | 88.54 |
Classification accuracies of Empatica E4 when removed inter-beat interval artifacts are replaced with interpolation vs. when they are removed.
| Algorithm | Filtering | Interpolation |
|---|---|---|
| PCA + LDA | 72.72 | 50.75 |
| PCA + SVM | 89.39 | 89.39 |
| kNN |
|
|
| Logistic Regression | 83.33 | 89.39 |
| Random Forest |
| 93.93 |
| Multilayer Perception | 89.39 | 95.45 |
Classification accuracies of general and person-specific models.
| Algorithm | General | Person Specific | ||
|---|---|---|---|---|
| HR + EDA + ACC-E4 | HR + ACC-All | HR + EDA + ACC-E4 | HR + ACC-All | |
| PCA + LDA | 82.35 | 59.12 | 95.83 | 87.60 |
| PCA + SVM (radial) | 82.35 | 76.99 | 93.75 | 85.98 |
| kNN | 80.39 | 87.30 | 95.83 | 89.91 |
| Logistic Regression | 90.19 | 65.25 | 95.83 | 90.17 |
| Random Forest | 86.27 |
|
| 90.17 |
| MLP |
| 83.20 | 95.83 |
|
Classification accuracies comparison of subjective report and known context. On the left, known context information (Free,1; Lecture, 2; Contest, 3) was used as class labels. On the right, subjective ground truths are used as class labels.
| Algorithm | Accuracy Wrt. Known Context | Accuracy Wrt. Subjective Ground Truth | ||
|---|---|---|---|---|
| HR + ACC-All | HR + EDA + ACC-E4 | HR + ACC-All | HR + EDA + ACC-E4 | |
| PCA + LDA | 59.12 | 82.35 | 54.46 | 50.98 |
| PCA + SVM (radial) | 76.99 | 82.35 | 69.01 | 72.55 |
| kNN | 87.30 | 80.39 | 85.44 |
|
| Logistic Regression | 65.25 | 90.19 | 57.27 | 78.43 |
| Random Forest |
| 86.27 |
| 76.47 |
| MLP | 83.20 |
| 80.28 | 68.62 |