Related Experiment Video
Updated: Apr 9, 2026

Estimate the Cognitive Load Using Electrocardiographic Measure: A Human-AI Collaborative Task
Published on: December 5, 2025
Electrocardiogram-Based Mental Stress Detection Amid Everyday Activities Using Machine Learning: Model Development
Buelent Uendes1, Alex Antonides1, Sjors van de Ven2
1Department of Computer Science, Vrije Universiteit Amsterdam, De Boelelaan 1111, Amsterdam, 1081 HV, The Netherlands, 49 15221457090.
Machine learning models show promise in detecting mental stress (MS) using electrocardiograms (ECG), even with reduced data. However, distinguishing cardiac responses from physical activity remains a challenge for single-sensor ECGs.
Area of Science:
- Biomedical Engineering
- Data Science
- Cardiology
Background:
- Frequent stress impacts health, necessitating continuous monitoring.
- Electrocardiograms (ECG) offer noninvasive, continuous stress biomarkers via wearables.
- Distinguishing mental stress (MS) from daily activities using ECG and machine learning (ML) is complex.
Purpose of the Study:
- Evaluate ML models for distinguishing MS from non-stress states.
- Assess model generalizability across new stressors and participants.
- Test model robustness for lightweight wearable suitability (lower sampling rates, fewer features).
Main Methods:
- Utilized a comprehensive ECG dataset (1000 Hz, 127 participants) with diverse stressors and activities.
- Extracted 55 features from 30-second ECG windows; trained logistic regression (LR) and extreme gradient boosting (XGBoost) models.
- Performed leave-one-stressor-out analysis, downsampling, feature reduction, and window sensitivity tests.
Main Results:
- XGBoost and LR models achieved comparable performance (AUROC ~0.74, AUPRC ~0.71).
- Models demonstrated robustness to downsampling and feature reduction (>93% performance with 10 features).
- Specificity for differentiating stress from moderate physical activity was poor (LR: 0.444, XGBoost: 0.418).
Conclusions:
- ML models effectively detect MS with high sensitivity and robustness to reduced data.
- Model generalization varied by stressor, with limited transfer to social-evaluative stress.
- Distinguishing ECG stress markers from physical exertion poses a significant limitation for single-sensor approaches.
More Related Videos
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Exercise Stress Test
Exercise stress testing, commonly known as a treadmill test, is a noninvasive procedure used to evaluate cardiovascular function and diagnose heart conditions.
Definition
An exercise stress test measures the heart's response to exertion using a treadmill or stationary bicycle. Chest electrodes record the heart's electrical activity through an ECG, and blood pressure is monitored regularly.
Purposes
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Holter Monitor: 24-Hour Monitoring
Stress and Mental Health
Individuals with depression often experience challenges in both their personal and professional...
Physiological Foundation of Stress
Role of the Sympathetic Nervous System
Adrenaline triggers the...

