# Stressor Type Matters! -- Exploring Factors Influencing Cross-Dataset Generalizability of Physiological Stress Detection

arXiv: https://arxiv.org/abs/2405.09563 · HTML: https://mlsanity.com/paper/2405.09563/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 7 of its 48 references that are in the map.
- First posted on arXiv 6 May 2024.

## Builds on (most cited first, 7 of 7)

- [Self-supervised ECG Representation Learning for Emotion Recognition](https://mlsanity.com/paper/2002.03898/) (2020)
- [Generalizable machine learning for stress monitoring from wearable devices: A systematic literature review](https://mlsanity.com/paper/2209.15137/) (2022)
- [The Effect of Person-Specific Biometrics in Improving Generic Stress Predictive Models](https://mlsanity.com/paper/1910.01770/) (2019)
- [On the Generalizability of ECG-based Stress Detection Models](https://mlsanity.com/paper/2210.06225/) (2022)
- [Ensemble Machine Learning Model Trained on a New Synthesized Dataset Generalizes Well for Stress Prediction Using Wearable Devices](https://mlsanity.com/paper/2209.15146/) (2022)
- [Complex Daily Activities, Country-Level Diversity, and Smartphone Sensing: A Study in Denmark, Italy, Mongolia, Paraguay, and UK](https://mlsanity.com/paper/2302.08591/) (2023)
- [ForDigitStress: A multi-modal stress dataset employing a digital job interview scenario](https://mlsanity.com/paper/2303.07742/) (2023)

## Built on by (most cited first, 3 of 3)

- [Socially Interactive Agents for Robotic Neurorehabilitation Training: Conceptualization and Proof-of-concept Study](https://mlsanity.com/paper/2406.12035/) (2024)
- [Investigating the Generalizability of ECG Noise Detection Across Diverse Data Sources and Noise Types](https://mlsanity.com/paper/2502.14522/) (2025)
- [AnnoSense: A Framework for Physiological Emotion Data Collection in Everyday Settings for AI](https://mlsanity.com/paper/2508.02680/) (2025)

## Abstract (arXiv)

Automatic stress detection using heart rate variability (HRV) features has gained significant traction as it utilizes unobtrusive wearable sensors measuring signals like electrocardiogram (ECG) or blood volume pulse (BVP). However, detecting stress through such physiological signals presents a considerable challenge owing to the variations in recorded signals influenced by factors, such as perceived stress intensity and measurement devices. Consequently, stress detection models developed on one dataset may perform poorly on unseen data collected under different conditions. To address this challenge, this study explores the generalizability of machine learning models trained on HRV features for binary stress detection. Our goal extends beyond evaluating generalization performance; we aim to identify the characteristics of datasets that have the most significant influence on generalizability. We leverage four publicly available stress datasets (WESAD, SWELL-KW, ForDigitStress, VerBIO) that vary in at least one of the characteristics such as stress elicitation techniques, stress intensity, and sensor devices. Employing a cross-dataset evaluation approach, we explore which of these characteristics strongly influence model generalizability. Our findings reveal a crucial factor affecting model generalizability: stressor type. Models achieved good performance across datasets when the type of stressor (e.g., social stress in our case) remains consistent. Factors like stress intensity or brand of the measurement device had minimal impact on cross-dataset performance. Based on our findings, we recommend matching the stressor type when deploying HRV-based stress models in new environments. To the best of our knowledge, this is the first study to systematically investigate factors influencing the cross-dataset applicability of HRV-based stress models.
