» Articles » PMID: 36850407

Cross Dataset Analysis for Generalizability of HRV-Based Stress Detection Models

Overview
Journal Sensors (Basel)
Publisher MDPI
Specialty Biotechnology
Date 2023 Feb 28
PMID 36850407
Authors
Affiliations
Soon will be listed here.
Abstract

Stress is an increasingly prevalent mental health condition across the world. In Europe, for example, stress is considered one of the most common health problems, and over USD 300 billion are spent on stress treatments annually. Therefore, monitoring, identification and prevention of stress are of the utmost importance. While most stress monitoring is carried out through self-reporting, there are now several studies on stress detection from physiological signals using Artificial Intelligence algorithms. However, the generalizability of these models is only rarely discussed. The main goal of this work is to provide a monitoring proof-of-concept tool exploring the generalization capabilities of Heart Rate Variability-based machine learning models. To this end, two Machine Learning models are used, Logistic Regression and Random Forest to analyze and classify stress in two datasets differing in terms of protocol, stressors and recording devices. First, the models are evaluated using leave-one-subject-out cross-validation with train and test samples from the same dataset. Next, a cross-dataset validation of the models is performed, that is, leave-one-subject-out models trained on a Multi-modal Dataset for Real-time, Continuous Stress Detection from Physiological Signals dataset and validated using the University of Waterloo stress dataset. While both logistic regression and random forest models achieve good classification results in the independent dataset analysis, the random forest model demonstrates better generalization capabilities with a stable F1 score of 61%. This indicates that the random forest can be used to generalize HRV-based stress detection models, which can lead to better analyses in the mental health and medical research field through training and integrating different models.

Citing Articles

Longitudinal observation of psychophysiological data as a novel approach to personalised postural defect rehabilitation.

Romaniszyn-Kania P, Pollak A, Kania D, Mitas A Sci Rep. 2025; 15(1):8382.

PMID: 40069355 PMC: 11897178. DOI: 10.1038/s41598-025-92368-z.


Stress management with HRV following AI, semantic ontology, genetic algorithm and tree explainer.

Chatterjee A, Riegler M, Ganesh K, Halvorsen P Sci Rep. 2025; 15(1):5755.

PMID: 39962099 PMC: 11833117. DOI: 10.1038/s41598-025-87510-w.


Adoption of Digital Therapeutics in Europe.

Fassbender A, Donde S, Silva M, Friganovic A, Stievano A, Costa E Ther Clin Risk Manag. 2025; 20:939-954.

PMID: 39741688 PMC: 11687304. DOI: 10.2147/TCRM.S489873.


Application of a mobile health data platform for public health surveillance: A case study in stress monitoring and prediction.

Velmovitsky P, Alencar P, Leatherdale S, Cowan D, Pelegrini Morita P Digit Health. 2024; 10:20552076241249931.

PMID: 39281042 PMC: 11394344. DOI: 10.1177/20552076241249931.


Robust and consistent biomarker candidates identification by a machine learning approach applied to pancreatic ductal adenocarcinoma metastasis.

Mahawan T, Luckett T, Mielgo Iza A, Pornputtapong N, Caamano Gutierrez E BMC Med Inform Decis Mak. 2024; 24(Suppl 4):175.

PMID: 38902676 PMC: 11191155. DOI: 10.1186/s12911-024-02578-0.


References
1.
Kim K, Lim Y, Kim J, Park K . Effect of missing RR-interval data on heart rate variability analysis in the time domain. Physiol Meas. 2007; 28(12):1485-94. DOI: 10.1088/0967-3334/28/12/003. View

2.
Young H, Benton D . Heart-rate variability: a biomarker to study the influence of nutrition on physiological and psychological health?. Behav Pharmacol. 2018; 29(2 and 3-Spec Issue):140-151. PMC: 5882295. DOI: 10.1097/FBP.0000000000000383. View

3.
Dalmeida K, Masala G . HRV Features as Viable Physiological Markers for Stress Detection Using Wearable Devices. Sensors (Basel). 2021; 21(8). PMC: 8072791. DOI: 10.3390/s21082873. View

4.
Can Y, Arnrich B, Ersoy C . Stress detection in daily life scenarios using smart phones and wearable sensors: A survey. J Biomed Inform. 2019; 92:103139. DOI: 10.1016/j.jbi.2019.103139. View

5.
Castaldo R, Xu W, Melillo P, Pecchia L, Santamaria L, James C . Detection of mental stress due to oral academic examination via ultra-short-term HRV analysis. Annu Int Conf IEEE Eng Med Biol Soc. 2017; 2016:3805-3808. DOI: 10.1109/EMBC.2016.7591557. View