Exercise physiology · Wearables · Data science

What does a wrist wearable really see during stress and exercise?

Heart rate, electrodermal activity, skin temperature and movement recorded with an Empatica E4 during acute psychological stress, aerobic cycling and anaerobic sprints. Physiology first, every result computed per participant, and machine learning evaluated only on people it has never seen.

Acute stress · 36 participants Aerobic cycling · 30 Anaerobic sprints · 31
030-s windows, quality-checked per signal
0HR response to a mental-stress task, with the wrist stiller than at rest
0of sprint windows with a usable heart rate from the wrist
0macro-F1 on unseen people (0.83 if you let the model cheat)
The question

Physical activity is not the same as physiological state

An accelerometer tells us that someone is moving. Heart rate, electrodermal activity and skin temperature tell us how the body is responding. How do wearable physiological signals differ between aerobic exercise, anaerobic exercise and acute stress? And how much of any difference is physiology, and how much is simply movement?

Movement

3-axis accelerometer (32 Hz). Context: pedalling rhythm, sprint bursts, stillness.

Cardiovascular

Wrist PPG (64 Hz) → heart rate and beat intervals: load, sympathovagal balance, HRV.

Autonomic & thermal

Electrodermal activity (sympathetic sudomotor drive, sweating) and skin temperature (peripheral perfusion).

Our contribution

What this project does differently

The same public dataset has already been used to train classifiers that report 84–93% accuracy. This project asks a different question, what does the wearable actually measure, and does it hold up in new people?, and changes the method at every step to answer it honestly.

Topic
Typical approach / original data paper
This project
Validation
10-fold cross-validation over segments after an 80/20 split; no participant grouping reported. XGBoost: 93% (stress vs rest), 91% (aerobic vs sprint), 84% (4 classes).
Leave-one-subject-out: every person is predicted by a model that never saw them. A side-by-side test shows a window-level split inflates macro-F1 from 0.66 to 0.83.
Wrist heart rate
Empatica HR used as delivered.
Per-window quality control, blind to the expected result: PPG spectral quality, agreement between HR estimates, and cadence lock-in detected from the prescribed rpm and the accelerometer. Quality filtering reveals the stress HR effect that raw HR hides (+2.2 → +5.0 bpm).
Data integrity
Authors' constraint file: 10 known issues.
25 issues catalogued, 15 new: temperature fault codes, a stuck accelerometer axis, a session without PPG, 13 tags where the diagram shows 12, tags out of order, group-session timing, and no resting baseline in any exercise session.
Movement vs physiology
All features pooled into one model.
Modality ablation, a stress-vs-seated-rest test where movement cannot help (physiology alone: 0.65), and discovery of a sensor-failure shortcut: the PPG failing during sprints is itself what the model uses.
Unit of analysis
Segments or windows treated as independent samples.
The participant: paired within-person effects with bootstrap CIs, mixed models, ICCs (HR/EDA 0.83–0.99), repeated-measures correlation with self-reported stress.
HRV & temperature
IBI file not used (missing data); skin temperature not analysed.
HRV feasibility quantified and restricted to seated segments; temperature analysed and shown to be the least informative signal.
Goal
Maximise classification accuracy.
Physiology first: expectations written down before the results, then checked: a sweating threshold, lagging HR after sprints, stillness under stress, strong individuality.

The paper's accuracy figures and this project's macro-F1 are not directly comparable (different classes and metrics). The leakage test shows how large the gap between window-level and person-level validation is on this dataset.

0
data issues found that the dataset authors did not list
−0.17
macro-F1 lost once leakage between people is removed
0.64
of the 0.66 is reached with movement plus a single "HR missing" flag
Data & protocol

Three protocols, mostly the same people

PhysioNet Wearable Device Dataset from Induced Stress and Structured Exercise Sessions (v1.0.1; Hongn et al., Scientific Data 2025). 30 participants completed all three protocols, so most comparisons are within the same person. All 707 files were verified against the official checksums.

Acute stress

Seated. Baseline → Stroop (v1) → Trier Mental Challenge Test (timed arithmetic with aversive noise) → rest → opinion, opposite opinion and serial-subtraction tasks.

Aerobic

Incremental stationary cycling from 60 to 110 rpm with rising resistance, or a 70–95 rpm group spinning class.

Anaerobic

Wingate-style: 3–4 all-out sprints of 30–45 s, each followed by ~4 min of unloaded pedalling.

Raw signals of one participant during the stress protocol
One participant, stress protocol. HR and EDA rise during the tasks (orange) and settle during rest, while the wrist barely moves.
Signal quality first

Before any comparison: which windows can be trusted?

Empatica's heart rate was often physiologically implausible during cycling: flat, erratic, or locked onto the pedalling rhythm. Every 30-s window got a quality verdict per signal, using signal properties only, never the expected result.

Clean and corrupted PPG examples with spectra
Same participant, three moments. Seated, the PPG has one clean spectral peak at the heart rate. During a sprint the optical signal is swamped by grip and forearm forces.

How much heart rate survives, and why the rest fails

Share of 30-s windows per physiological state. Hover the bars.

Physiology

Stress and exercise both activate the body, in very different ways

Each person counts once: windows are averaged within the participant first, and differences are paired within person, with bootstrap 95% confidence intervals.

+5.0 bpm

HR response to the mental-stress task (95% CI 2.2–7.8, same day). HR then drops below the starting baseline in recovery: the baseline held anticipatory arousal.

−0.006 g

Wrist movement decreases under stress. The physiological response happens with the body stiller than at rest, so it cannot be a movement artefact.

+49 bpm

At the aerobic peak, ~10× the stress response, with EDA ~11× its resting level (vs ~1.6× under stress).

~60 s

After a sprint, HR keeps climbing. The cardiovascular response lags the mechanical effort. Valid wrist HR returns only about a minute later.

Event-locked responses: stress task vs sprint

Mean change from the 60 s before onset ± 95% CI across participants. Shaded band = median task or sprint duration. Hover for values.

Change from seated rest, every state

Paired difference per participant (dot = mean, bar = 95% CI). Exercise contrasts compare different days.

Incremental cycling, stage by stage

One line per participant (hover to isolate); black = median. Note EDA's late, steep rise: a sweating threshold.

Individual responses to the stress task

Each row is one person: TMCT minus seated rest, same day.

Who of these really responded, beyond their own measurement noise? → Individual responses

Multimodal profile

Participant medians; colour = level relative to the other states. A heatmap rather than a radar: these axes have no meaningful order.

Physiology is individual

ICC: share of window-to-window variance that is between people. High ICC means population thresholds generalise poorly.

Self-report vs physiology. Within each person, blocks rated as more stressful also show higher HR (rrm = 0.40) and EDA (rrm = 0.18). RMSSD fell by ~7 ms under stress (vagal withdrawal), but only 17–23 participants had enough clean beats, so this evidence is suggestive.
Machine learning, last

Can the three states be told apart in someone the model has never seen?

Classes: stress tasks, aerobic stages, and sprints plus their first 2 min of recovery. Validation: leave-one-subject-out. Metric: macro-F1, with CIs from resampling participants.

Same model, two ways to validate it

With windows of the same person in training and test, the model mostly recognises individuals.

Which signals carry the information?

Random forest, leave-one-subject-out. Switch to the seated task, where movement cannot help.

The sensor-failure shortcut

Movement plus one binary "HR missing" flag gets almost as far as all signals. The PPG failing during sprints is a property of the sensor, not of physiology.

Where the errors are

Row-normalised confusion matrix. Hover for counts.

The honest message. This is not "AI detects stress and exercise with high accuracy". A wrist wearable separates seated stress from cycling mostly by movement. It detects acute stress while sitting from physiology (EDA first) with modest accuracy, and it struggles to tell two kinds of cycling apart. Feature importance is never read as physiological causation.
Method

Seven notebooks, one rule: physiology before modelling

  1. Data understanding. Checksums, sampling rates verified from headers, tag-to-protocol maps, a 25-item issue registry.
  2. Signal quality. Per-window rules for PPG/HR, EDA, temperature and ACC, calibrated on clean seated data.
  3. Protocol segmentation. Cadence fidelity checked with the accelerometer; analysis states comparable across protocol versions.
  4. Exploratory physiology. Event-locked responses, stage profiles, individual trajectories, multimodal profile.
  5. Feature engineering. 14 window features with a physiological rationale; univariate effects at participant level.
  6. Statistics. Paired effect sizes with bootstrap CIs, mixed models, ICCs, repeated-measures correlation, robustness checks.
  7. Classification. Leave-one-subject-out, a leakage demonstration, modality ablation, a missingness-shortcut test, permutation importance.
Limitations

What this dataset cannot tell us

Small, confounded sample

36 young, healthy adults. Cohort is confounded with sex, age, training status and protocol version (v1: 18 men; v2: 17 women + 1 man).

No reference measurements

No ECG, power output, VO₂ or lactate. "Aerobic" and "anaerobic" are protocol labels, not verified metabolic states.

Wrist PPG during exercise

HR is unmeasurable during sprints and often corrupted while pedalling. HRV is only defensible while seated.

Different days, short tasks

The resting reference is on another day. The 30-s stress tasks are short relative to EDA and HRV dynamics.

Nothing here supports clinical inference or diagnosis.