Wearable heart and breathing monitors are reasonably accurate when the wearer sits still. They become unreliable during movement and physiological stress, which are the moments when an alert matters most. Yet these devices turn a continuous risk score into an alarm with one fixed cut-off, chosen on pooled data in which still, clean recordings dominate. This proposal makes the cut-off depend on how noisy the signal is at that moment. The cut-off becomes a smooth curve indexed by a signal-quality or motion measure. The curve is fitted so that sensitivity, the fraction of true events that raise an alarm, stays above a clinically chosen floor in every motion regime and not just on average. We estimate it with a semiparametric statistical model that gives honest confidence bands. The curve is also the explanation: a clinician can see that at this level of wrist motion the device demanded a score of at least $c$, and why an alarm was raised or held back.
The motivation comes from wearable validation studies. Two of them show error growing with movement: for chest patches during standing up or page-turning (Areia et al.), and for wrist monitors during interval training (Reddy). A medically certified wrist sensor still performed poorly in cardiac patients during daily life (De Lathauwer et al.). These studies report accuracy by activity, but no method in the file turns that stratified picture into the decision rule itself. Threshold-optimization methods in the file assume one static score distribution per class, and interpretable wearable models in the file use fixed alarm thresholds.
Core Claim
A single cut-off that is optimal on pooled data can leave sensitivity very low during motion. We claim three things. First, a motion-indexed threshold curve, fitted under a per-regime sensitivity floor, recovers that lost sensitivity at a measurable false-alarm cost. Second, a semiparametric version of this curve is far more stable than estimating a separate cut-off in each motion bin. Third, the curve is a faithful explanation of the alarm, because it is the decision rule rather than an approximation fitted after the fact.
To state the model, let $s$ be the detector's risk score and $q$ a signal-quality or motion measure, such as accelerometer energy or a motion-artifact detector's output. Let $f_0(s\mid q)$ and $f_1(s\mid q)$ be the score densities for non-events and events at quality level $q$. We extend the density ratio model of Liu et al. by letting its parameters vary smoothly with $q$:
$$f_1(s\mid q) = \exp\{\alpha(q) + \beta(q)\, s\}\, f_0(s\mid q),$$
Here $\alpha(\cdot)$ and $\beta(\cdot)$ are low-order splines in $q$, and $f_0(\cdot\mid q)$ is left unspecified. This yields two operating policies.
The first is a cost-weighted policy. It maximizes the weighted Youden index $J_\pi = \pi\,\text{Sens} + (1-\pi)\,\text{Spec}$ of the weighted-Youden work separately at each $q$, which gives the closed form
$$\alpha(q) + \beta(q)\, c(q) = \log\frac{1-\pi}{\pi},$$
The second is a sensitivity-floor policy. It sets $c(q)$ to the $(1-\tau)$ quantile of $F_1(\cdot\mid q)$, the cumulative distribution of event scores at quality $q$, so that sensitivity is at least $\tau$ at every quality level. The floor policy is the main contribution. The weighted-Youden policy is its closest principled relative and is included for comparison.
The curve is admitted reluctantly, borrowing the logic of RAITR. RAITR fits a linear rule and adds spline terms only if they earn their place under an information criterion. We start from a constant threshold and allow $q$-dependence only if it improves held-out per-regime sensitivity by enough to pass a penalized selection criterion. If motion does not matter for a given task, the method collapses to an ordinary single cut-off and says so.
Research Program
We will build the method in four parts.
Score sources. Event scores come from two public PPG foundation models, each with a light task head. The first is Pulse-PPG, trained on uncurated field data. The second is the ResNet-26 model pretrained on MIMIC-III with ECG and respiratory supervision. Using two backbones checks that the curve corrects a property of wearable data rather than a quirk of one model.
Quality measures. The quality index $q$ comes in two versions. One is raw accelerometer magnitude, which a device always has. The other is the per-sample artifact fraction from Tiny-PPG, which frames artifact detection as segmentation and runs on a microcontroller.
Estimation. We estimate $\alpha(q)$ and $\beta(q)$ by maximum empirical likelihood. We then extend the joint asymptotic normality argument of Liu et al. to a simultaneous confidence band for $c(q)$ and for sensitivity along the curve. Bands that are honest across the range of $q$ require this extension.
Noisy labels. Wearable reference labels are themselves imperfect. We therefore test a variant that applies the imperfect-reference result of Sun et al.. That result says Youden-type estimates stay consistent when reference errors are independent of the score and better than chance. We check empirically whether the independence condition fails when reference error also rises with motion. If it fails, that is a finding in its own right.
Explanation output. For each alarm or suppressed alarm, the system displays the current $q$, the required score $c(q)$ with its confidence band, and the observed score. There is no saliency map or language-model narrative. This deliberately avoids the verbosity cost Vivaldi documents: advanced reasoning models lost 14 points in explanation relevance inside multi-agent pipelines.
Baselines
Naive reference. The do-nothing reference is a fixed clinical rule on the device's own estimate, for example a heart rate above 100 bpm from wrist PPG. This is the kind of hard bound whose movement failures Areia et al. document. It is run on identical windows with no tuning. Beating it means higher sensitivity in the high-motion tercile with no worse false alarms per hour overall.
Pooled single cut-off. This is the standard practice. The same foundation-model head is used, with one threshold chosen by pooled weighted Youden on the same training split and the same $\pi$. It isolates exactly what the curve adds.
Strongest existing competitor. This is a well-tuned classifier that receives $q$ as an input feature, calibrated, with one threshold on its posterior probability. It is the Bayes-style answer most ML reviewers would give. We give it the same features, the same hyperparameter search budget, and the same training windows.
Artifact pruning. This baseline follows Tiny-PPG and Dey et al.: drop windows flagged as artifact, then apply a pooled threshold. Its cost is counted as events missed inside dropped windows.
Nonparametric binned cut-offs. Empirical cut-offs are estimated separately in each motion bin. This is the ablation that isolates the semiparametric smoothing.
Reported context numbers. On PPG-DaLiA, the multimodal foundation model reports heart-rate MAE of 7.78 against a prior best of 10.5 (robust PPG foundation model). Tiny-PPG reports artifact-segmentation DICE of 87.4% (Tiny-PPG). In ICU alert filtering, Dey et al. report AUC 0.951 for respiratory-rate alerts (Dey et al.). On the contribution of a semiparametric fit, Liu et al. report a 95% confidence region area of 3.889 for their density ratio model versus 40.605 for nonparametric empirical likelihood, at matched coverage (Liu et al.). For per-motion-stratum sensitivity of any wearable event detector, no reported result was found on Lacuna. We will establish this number ourselves for all baselines.
Why not just…?
Why not just give the classifier the motion signal as a feature and use one threshold? This is the real threat. If the objective were pooled expected cost with a known prevalence, it would be close to optimal. The objective here is different. A posterior threshold folds in how often events occur during motion. If events are rare during motion, a calibrated classifier rationally suppresses motion-time alerts, and sensitivity in exactly that regime falls below the floor. The per-regime floor is a constraint a single posterior threshold does not enforce. The experiment settles it directly: if the feature-augmented classifier already meets the floor in every motion tercile at equal false-alarm rate, our main claim fails. We will report that outcome, and the method's surviving contribution would then be the confidence band and the readable curve.
Why not just throw away the noisy windows? The pruning approach of Tiny-PPG and Dey et al. does lower false alarms. But a missed event inside a discarded window still counts as a missed event, and the foundation-model work argues noisy windows still carry signal (Pulse-PPG). Our evaluation counts dropped-window events as misses, which makes this cost visible.
Why not just pick a separate empirical cut-off in each motion bin? This is simple and fully nonparametric. Its weakness is variance: high-motion bins contain few events. Liu et al.'s tenfold narrower region suggests smoothing will pay off, but that result is for $n=100$ static antibody data. The binned ablation, run across training-set sizes, will show whether the advantage holds for wearable streams.
Proposed Experiments
PPG-DaLiA. The primary testbed is PPG-DaLiA, which has 15 subjects with wrist PPG and accelerometry during daily activities and a chest-ECG reference. The binary task is detecting tachycardic windows, defined by ECG heart rate, from wrist PPG. Evaluation is leave-subjects-out.
MIMIC-III waveforms. The second testbed is the MIMIC-III waveform database. Here the task is detecting ECG-confirmed heart-rate excursions from PPG, with $q$ taken from Tiny-PPG artifact fractions, since ICU data has no accelerometer.
WESAD. WESAD serves as a cross-device check of whether curves transfer between wrist and chest sensors.
Metrics. The primary metric is the worst-tercile sensitivity at matched overall false alarms per hour. Secondary metrics are pooled AUC (which should be unchanged, since only the threshold moves), empirical coverage of the confidence band for sensitivity on held-out subjects, and the fraction of tasks on which the reluctant selection keeps a non-constant curve.
Decisive checks. The proposal succeeds if three things hold. The floor policy must raise worst-tercile sensitivity above the pooled cut-off and the feature-augmented classifier at equal false alarms. Its bands must reach nominal coverage on unseen subjects. It must beat binned cut-offs in variance at small sample sizes. As a falsification test, we will shuffle $q$ across windows. If the curve still "helps" after shuffling, the gain is an artifact of extra flexibility rather than of motion awareness.
References
- Chest patch for continuous vital-sign monitoring: A clinical validation study during movement and controlled hypoxia
- Accuracy of Wrist-Worn Activity Monitors During Common Daily Physical Activities and Types of Structured Exercise: Evaluation Study
- Analysis of a Medically Certified, Wrist-Worn Sensor for the Assessment of Heart Rate and Energy Expenditure During Daily Activities in Patients With Chronic Heart Failure or Coronary Artery Disease and Recreational Athletes: Validation Study
- Semiparametric Joint Inference for Sensitivity and Specificity at the Youden-Optimal Cut-Off
- Biomarkers selection and combination based on the weighted Youden index
- A reluctant additive model framework for interpretable nonlinear individualized treatment rules
- Pulse-PPG: An Open-Source Field-Trained PPG Foundation Model for Wearable Applications across Lab and Field Settings
- A robust PPG foundation model using multimodal physiological supervision
- Tiny-PPG: A Lightweight Deep Neural Network for Real-Time Detection of Motion Artifacts in Photoplethysmogram Signals on Edge Devices
- Biomarker Combination Based on the Youden Index With and Without Gold Standard
- A Multi-Agent Framework for Interpreting Multivariate Physiological Time Series
- Weakly Supervised Classification of Vital Sign Alerts as Real or Artifact