OxyDex node (SpO₂ · pulse rate · motion), Tepna physiological-signal suite
Background. A fingertip ring oximeter reports three signals at 1 Hz: SpO₂, pulse rate and a movement byte. The best published figure for staging from the first two is κ 0.73–0.78 on 17 303 polysomnograms with a whole-night network (Vaquerizo-Villar et al., 2025); a proprietary ring stager reports κ 0.39 on a sealed Challenge-2018 holdout. Question. How much of the night can those three signals stage, what part of it a stack of published formulas can carry, and how the two compare blind. Methods. Nine cohorts (14 695 nights: SHHS-1/2, MESA, CFS, MrOS, CAP, UCDDB, ISRUC) harmonised to what the ring reports; 466 named features plus 175 pulse-dynamics bases; three learners on identical subject-grouped folds — gradient-boosted trees, a whole-night sequence network used only as a control, and a literature stack (named terms → auto-context → linear-chain CRF) fitted to labels; every band stated before its run; Challenge 2018 never fitted, scored blind; leave-one-cohort-out for the four NSRR cohorts; a half-night label shift that must collapse κ as the plant. Results. The control reaches pooled κ 0.711 (0.794 three-class) and 0.573 blind on Challenge; holding out MESA, MrOS or CFS costs 0.006–0.026 and SHHS-1 0.045, so the blind gap of 0.14 is site and scoring, not cohort. Adding 4 646 nights moved the control +0.009. The literature stack rose from 0.482 to 0.558 when the pulse-dynamics bases were added (+0.079 [+0.078, +0.081] paired on 15 689 nights, against a pre-stated +0.005 to +0.02) and to 0.570 with every cached column as a line term; blind 0.392 (the proprietary stager reports 0.390 on a different, sealed set). An oracle that fits each night's own intercepts and slopes lifts the stack to 0.616, but that calibration is not predictable from the night (recovery ≤ 14 %), not carried by the same person's other night years apart (−0.03 to −0.06), and worth ≤ +0.03 from a user's bed and wake times; a second formula that predicts each night's adapters from its label-free statistics recovers +0.041 of it (stack 0.597, blind 0.407, above that reported 0.390; these are pre-rework figures); distillation from the control hurt twice. Draft v2 (2026-10-31). STAGES' thirteen clinics read the control at 0.533 blind, and training on sister clinics did not repair a held-out one (−0.018 to +0.018). The ECG net reads 0.681 against a five-scorer consensus (DOD-O). After a data-integrity rework every line was re-run on corrected data (Table 6). The nets hold (oximetry 0.705, ECG + breathing 0.702; about 0.57 on blind Challenge), and no formula passes a ship band blind (oximetry formula 0.374 on Challenge, 0.242 on DREAMT's wrist pulse). A wearable-only net reaches 0.658 in the pool and 0.41 on DREAMT. Conclusion. The formula route was capped by missing terms, not by its linear form: the pulse-dynamics bases lifted it +0.079 pooled. It has not cleared a ship band, which is set on blind κ: its best blind figure before the data rework was 0.407 (Challenge), and on the corrected data it reads 0.374 on Challenge and 0.242 on DREAMT, under the lowest band (0.42). The 0.390 of the proprietary comparator was measured on a different, sealed 134-night set, so it is a reference point, not a matched comparison. What separates the formula from the control is a this-night calibration that only labels on that night supply; the control itself already reads the whole night and sits at the lower edge of the published 0.73–0.78.
Keywords: sleep staging · pulse oximetry · pulse rate · actigraphy · pre-registration · knowledge distillation · conditional random field · auto-context · blind validation
A sleep lab decides whether you are awake, in light sleep, deep sleep or dreaming by reading your brain waves. A ring on your finger cannot see your brain; it sees how much oxygen is in your blood, how fast your pulse is, and whether your hand moved. We asked how far those three signals can go. We built the best model we could as a yardstick, then tried to reach the same result with formulas other scientists have already published, because formulas can be read, checked and shipped on a tiny device. Every target was written down before the computer ran, and two groups of nights were scored without ever being used for training. Those nights were looked at during development, so they are a test of transfer, not a sealed final exam. A separate set of nine clinics is now locked for one final run; it was looked at once early on, so it will test new sites, not unseen data.
Two human scorers reading the same polysomnogram agree at κ ≈ 0.83 (measured here on ISRUC, Khalighi et al., 2016). A wearable has none of the channels they read. The question of this paper is therefore not whether a ring equals a lab, but how much of the night a ring's three 1-Hz signals contain, and whether that information can be expressed in formulas rather than in a black box.
Comparators. A proprietary stager for the same ring family reports κ 0.367 live / 0.390 offline on a sealed 134-night Challenge-2018 holdout (published figures only; its model and outputs were never used, per its licence §3g). Sridhar et al. (2020) reached κ 0.66 from instantaneous heart rate alone with a whole-night CNN on SHHS/MESA. Vaquerizo-Villar et al. (2025) reached κ 0.73–0.78 from 1-Hz pulse rate and SpO₂ on 17 303 PSGs and published the frequency bands their network attends to, which this paper adopts as formula terms. From the PPG waveform of a PSG oximeter, Kotzen et al. (2023) reached κ 0.75 held-out and 0.74 on an external database after transfer, and Attia et al. (2025) showed that training on several sources at once lifts out-of-distribution κ by up to 21 %; from a wrist device, Radha et al. (2021) reached 0.65 on 60 healthy participants with ECG-to-PPG transfer. Ganglberger et al. (2024) added a scorability model that predicts, from signal quality and model confidence, how far an automated staging can be trusted. Four further comparators frame the same task without being read against this paper’s κ: Sun et al. (2020) staged from electrocardiography and respiration with deep learning, Topalidis et al. (2023) classified stages from heart-rate variability, Krauss et al. (2025) benchmarked multimodal staging over actigraphy and HRV at large scale, and Schipper et al. (2024) staged whole nights from chest-worn accelerometry. Their published figures are not restated here, because none of them reads the ring’s three 1-Hz signals. The human ceilings these are read against: 82.6 % inter-scorer agreement over more than 2 500 scorers, with N1 at 63.0 % and N3 at 67.4 % (Rosenberg & Van Hout, 2013), and κ 0.76 under AASM rules against 0.68 under R&K between experts (Danker-Hopfe et al., 2009) — the latter is why this paper reports cohorts scored under the two standards in separate rows.
Design. Three learners on one feature matrix and identical folds: trees as the floor, a sequence network as the ceiling and teacher ("control", never shipped), and a stack of published formulas as the candidate for release. The owner's rule "train on everything in-house, publish only what the formulas carry" is what the design implements.
| cohort | nights | SpO₂ | pulse source | motion | labels | licence | role |
|---|---|---|---|---|---|---|---|
| SHHS-1 (NSRR) | 5 136 | 1 Hz | oximeter H.R. | — | R&K → 4-class | NSRR DUA | fit |
| SHHS-2 (NSRR) | 2 650 | 1 Hz | oximeter PR | — | R&K → 4-class | NSRR DUA | fit (same subjects as SHHS-1; folds grouped by subject) |
| MESA (NSRR) | 2 025 | 1 Hz | oximeter HR | wrist actigraphy | AASM | NSRR DUA | fit |
| CFS (NSRR) | 730 | 1 Hz | oximeter PULSE | — | AASM | NSRR DUA | fit |
| MrOS (NSRR, two visits) | 3 916 | 1 Hz | oximeter | — | AASM | NSRR DUA | fit (visits grouped by subject) |
| CAP (PhysioNet) | 88 | 1 Hz | HR / ECG-derived | — | R&K | ODC-By | fit |
| UCDDB (PhysioNet) | 25 | 8 Hz → 1 Hz | oximeter Pulse | — | R&K | ODC-By | fit |
| ISRUC-Sleep | 125 | 12.5 Hz → 1 Hz | ECG-derived | — | AASM, two scorers | cite-only | in the control\'s folds; blind for the stack |
| Challenge 2018 (PhysioNet/CinC) | 994 | 1 Hz | ECG-derived | — | AASM | ODC-By | blind |
| STAGES (NSRR, 13 clinics) | 1 908 | 1 Hz | oximeter (11 clinics) | — | AASM | NSRR DUA | blind, leave-one-clinic-out (§43, pre-§46 data); nine sites since LOCKED for the final run (§52.6); STNF, GSDV, MSMI in the PPG pool (§46) |
| DREAMT (PhysioNet, restricted) | 100 | 1 Hz (PSG) | wrist wearable HR / BVP | wrist ACC | AASM | PhysioNet RHD 1.5 | blind, consulted external (§36, §45, §46) |
| Dreem DOD-O | 56 | — | ECG 250 Hz | — | five-scorer consensus | MIT | blind, ECG line (§44) |
The cohorts marked NSRR in Table 1 are obtained from the National Sleep Research Resource (Zhang et al., 2018), and SHHS-1 and SHHS-2 are the two visits of the Sleep Heart Health Study (Quan et al., 1997). Nights with a present-but-empty SpO₂ channel (< 50 % valid) are skipped and counted; a cohort without a signal yields NaN in that signal's columns, never a filled value. Aggregate statistics only are reported; no record identifiers leave the corpus (NSRR DAUA §5).
SpO₂ is reduced to an 8-s moving mean at 1 Hz in whole percent, which is what the ring writes (one byte per second per signal). Pulse rate is the oximeter's own 1-Hz rate where the PSG has one; otherwise 60/RR from ECG beats found by the suite's Pan–Tompkins detector (Pan & Tompkins, 1985; validated at Se/PPV ≥ 99 % on MIT-BIH, SLPDB and NSRDB, Table S1; the knowledge-based alternative benchmarked over 11 standard databases is Elgendi, 2013) with a 4-s mean. Motion is the per-second standard deviation of wrist acceleration magnitude; a 1-bit "moved this second" flag (> 0.02 g) is carried beside it, as the poorest signal the ring could report. Every signal is standardised per night (median/IQR).
oxy1, 466 columns)Multi-scale statistics (1–10 min), desaturation events (the ≥ 3 % criterion of the AASM 2012 rules, Berry et al., 2012; the detector is ours, and implementations differ, Terrill, 2020), SpO₂ and pulse-rate band powers including the three PR bands of Vaquerizo-Villar et al. (2025), pulse-rate statistics on the 1-Hz device rate (the mean, SD and successive-difference features that paper names; not HRV in the Task Force (1996) sense, and only after the RR-interval features of Redmond & Heneghan, 2006), and movement statistics after Cole et al. (1992) and Sadeh et al. (1994) — analogues of their inputs, not their scoring algorithms — each with ±2/±10/±30-epoch context. A literature check of 2026-10-30 re-attributed every term to what its source actually defines; the term-by-term verdicts, the terms retired (a Cole–Kripke-weighted window, 5-min VLF, posture turns) and the quantities added (a ceiling-baseline event detector shared with OxyDex, cardiopulmonary coupling with the parameters of Thomas et al., 2005, and per-epoch signal-quality fractions after the scorability idea of Ganglberger et al., 2024) are in docs/STAGE-LAB-FORMULAS.md.
Pulse-dynamics bases (pdx, brief §31, added 2026-10-20): 35 quantities of the pulse-rate and SpO₂ series that a linear formula cannot derive from the oxy1 statistics — lag-1/5/10 autocorrelation, DFA α₁/α₂, sample and permutation entropy, turning-point rate, Teager energy, Higuchi dimension, SD1/SD2, the HF spectral peak and its drift, pulse surges and the time since the last surge, SpO₂ step, desaturation duration and burden, resaturation slope, SpO₂–pulse cross-correlation and lag, the pulse response after movement, and per-channel missingness — each raw and at ±2, ±10, ±30 epochs. Night-level constants (nl, 8 columns: pulse median/IQR/trend, SpO₂ median/5th percentile, ODI-3, motion fraction, time in bed) bypass the per-night normalisation and were the input of the night-level formula arm (§39), which never ran; the §46 rework superseded it.
Each unit's expected range, pass line and reading rule were written in briefs/STAGE-LAB-2026-09-27-BRIEF.md before the unit ran (§§5–20); measured numbers were appended beside them, including every failed expectation. The gate for all units: pooled κ ≥ 0.415, half the human inter-scorer κ (0.829). Agreement is Cohen’s κ over the four nominal classes (Cohen, 1960), computed against each cohort’s own scored labels. Plant P1: labels shifted by half a night must collapse κ below half its value, or the run is void. Folds are a hash of the subject key (SHHS1/SHHS2 visits of one person share a fold); Challenge 2018 and ISRUC are never in any fit.
Values are copied from the bench summaries and readouts under lab-cache/ (brief §§29–50), never typed from memory. Tables 2–5 are pre-§46 data; Table 6 is the §46 re-run, reported beside them and never pooled with them. The control's numbers are the nine-cohort five-fold CV (v30 B1); the stack's are all five folds (CRF Viterbi for κ4, the saved context-layer posteriors for κ3). "Blind" = never fitted.
| learner | features | pooled κ4 | pooled κ3 | Challenge (blind) | ISRUC | SHHS-1 | SHHS-2 | MESA | MrOS | brief § |
|---|---|---|---|---|---|---|---|---|---|---|
| trees (six-cohort pool, v18) | oxy1 | 0.507 | — | — | — | — | — | — | — | 17 |
| control (sequence), v30 B1 | oxy1 | 0.711 | 0.794 | 0.573 | 0.418 | 0.676 | 0.727 | 0.735 | 0.725 | 30 |
| control + pdx terms, v31 S1 | oxy1 + pdx | 0.716 | 0.798 | — | — | — | — | — | — | 31 |
| literature stack, CRF (L0) | oxy1 | 0.482 | 0.543 | 0.316 | 0.292 | 0.450 | 0.519 | 0.537 | 0.490 | 31 |
| stack + pulse-dynamics terms (L1) | oxy1 + pdx | 0.558 | 0.630 | 0.375 | 0.284 | 0.532 | 0.593 | 0.597 | 0.568 | 31 |
| stack, every column a line term (L2) | oxy1 + pdx | 0.570 | 0.643 | 0.392 | 0.324 | 0.543 | 0.603 | 0.612 | 0.579 | 31 |
| proprietary comparator (published) | ring | — | — | 0.390 | — | — | — | — | — | 1 |
| stack + label-free per-night adapters predicted from night statistics (v32 F2) | oxy1 + pdx | 0.597 | 0.673 | 0.407 | 0.311 | 0.568 | 0.621 | 0.629 | 0.608 | 32 |
| stack + EM self-adaptation (v32 F1) | oxy1 + pdx | 0.553 | 0.629 | 0.366 | 0.270 | 0.522 | 0.584 | 0.595 | 0.569 | 32 |
| night-level formula (v37F) | oxy1 + pdx + nl | not run: its chain failed on 2026-10-22/23 (v32, then v33); superseded by the §46 rework and the §47 normalisations (Table 6) | 39 | |||||||
| step | Δκ pooled | where it showed | brief § |
|---|---|---|---|
| +4 646 CFS + MrOS nights, control | +0.009 [+0.008, +0.010] (expected +0.01 to +0.03) | Challenge blind +0.019; new cohorts scored blind within 0.02 of in-pool | 30 |
| pulse-dynamics terms, stack | +0.079 [+0.078, +0.081] paired (expected +0.005 to +0.02); fit stride itself −0.002 | every cohort; Challenge blind +0.059 | 31 |
| every column as a line term, stack | +0.013 [+0.013, +0.014] paired (expected ≤ 0) | capacity still buys a little | 31 |
| the same terms, control | +0.005 (expected within ±0.005) | the network derives them itself | 31 |
| four-class → three-class readout (W / NREM / REM) | +0.08 to +0.09 on every model | errors split between wake/REM and light/deep as in the literature | 38a |
| holding out one NSRR cohort (LOCO), control | −0.006 (MESA), −0.020 (MrOS), −0.026 (CFS), −0.045 (SHHS-1) | reproduces the published < 3 % except the 1990s cohort | 38b |
| oracle per-night intercepts + slopes, stack | +0.25 (0.366 → 0.616); +0.16 on MESA | the upper bound | 32, 40 |
| per-night adapters predicted label-free from night statistics (v32 F2) | +0.041 [+0.040, +0.043] paired (expected +0.03 to +0.08); EM self-adaptation −0.005 | Challenge blind 0.375 → 0.407, past the proprietary 0.390 | 32 |
| idea | expected | measured | verdict |
|---|---|---|---|
| explicit-duration HSMM decoding | + | 0.394 vs 0.398; −0.03 as a decoder on the stack | durations are not the wall (§13, §32) |
| distillation from the control into the stack | +0.00 to +0.03 | −0.05 (§15), −0.022 (§19) | a linear student loses label sharpness; not repeated |
| second-order "bridge" terms | +0.02 to +0.04 | −0.008 at the CRF | how terms integrate, not which (§22) |
| class-balanced loss | + | no gain (§21b, §26) | κ already penalises majority bias |
| fitting the stack with the blind cohorts' labels | + | 0.470 vs 0.495 | harms (§19d) |
| predicting the per-night adapters from the night (level, spread, shape, memory), 52-term basis, MESA | recovery 0.10–0.30 | 0.04 (night level), 0.14 (night statistics), 0.20 with the control's own posterior summaries | under-read: the full basis on nine cohorts recovers +0.041 (§32 F2); the diagnostic's one-cohort, 52-term reading is the negative result, not the method |
| the same person's adapter from another night, years apart | +0.05 to +0.10 | −0.061 (MrOS, 7 y), −0.032 (SHHS, 5 y); label-free EM −0.08 to −0.11 | a this-night effect, not a trait (§41) |
| user bed/wake times as labels for the per-night intercepts | +0.02 to +0.05 | −0.004; +0.027 with per-term scales | marginal, parked (§42) |
| data volume alone | +0.01 to +0.03 for +50 % nights | +0.009 | saturating at this architecture (§30) |
| training on sister clinics (STAGES leave-one-clinic-out, five largest) | +0.02 to +0.06 vs the same clinic blind | −0.018 to +0.018; control blind on STAGES 0.533 (expected 0.60–0.66) | the shift is per clinic, not per study (§43) |
| posture terms in the ECG line | ≥ +0.010 | +0.0009 [+0.0001, +0.0017] | dropped (§46.7 read 1) |
| crop augmentation | blind ≥ +0.02, pool ≥ −0.005 | ECG net DREAMT +0.009 [−0.001, +0.019]; wrist net pool −0.006 | not adopted (§46.7 read 4) |
| motion harmonisation, actigraph vs wrist accelerometer | per-stage effect r > +0.8 | r +0.45 (still-run) | failed (§46.7 read 3) |
| distillation, third time (four formula lines) | ≥ +0.01 | −0.0003 to −0.0038 | not adopted (§46.7 read 5) |
| CORAL per-night covariance alignment | 0 to +0.02 | −0.019 pool; −0.006 with the rank transform (rank alone +0.014, adopted) | rejected (§47) |
| ECG → PPG transfer at the HRV level (Radha et al. 2021) | DREAMT ≥ +0.03 | +0.015 [−0.013, +0.040]; −0.082 vs the existing wrist net | not confirmed (§48) |
| STNF's 0–29 s scoring-grid offset as the cause of its deficit | (diagnostic) | κ by offset bin 0.36–0.40, no trend; one-epoch shift ≤ 0.005 | not the cause; grids aligned anyway (§52.8) |
| set | model | pre-stated band | κ | reading | brief § |
|---|---|---|---|---|---|
| STAGES, 13 clinics (1 702 scored nights) | control, pool-trained, blind on every clinic | ≥ 0.65 generalises like a cohort · 0.55–0.65 half the Challenge gap · < 0.55 Challenge-like; expected 0.60–0.66 | 0.533 (0.594) | Challenge-like. Eleven clinics 0.559–0.686; STLK 0.364 and STNF 0.411 carry the deficit | 43 |
| STAGES, five largest clinics | control, pool + the other 12 clinics → held-out clinic | L − S0 > +0.05 sister clinics repair it · +0.02 to +0.05 partial · < +0.02 per-clinic shift; expected +0.02 to +0.06 | STNF 0.393 · GSDV 0.652 · MSTR 0.662 · STLK 0.361 · MSQW 0.623 | L − S0 −0.018 to +0.018: the shift is per clinic | 43 |
| STAGES, 13 clinics | wide formula (L2 recipe), blind | ≥ 0.50 generalises · 0.40–0.50 half the control's drop · < 0.40 Challenge-like; expected 0.44–0.52 | 0.443–0.514 at eleven clinics; STLK 0.166, STNF 0.307, BOGN 0.314 | in the middle band except the same outlier clinics | 43 |
| DREAMT (97–98 nights, wrist wearable + PSG) | oximetry control (O) on the E4 wrist pulse | within ±0.05 of its Challenge blind 0.573 | 0.412 | −0.16: outside the band; a wrist pulse estimate, not an oximeter's | 36 |
| DREAMT | ECG net (E) · ECG + breathing net (R) | within ±0.05 of the pool CV − 0.12 | 0.500 · 0.546 | no fall with AHI (E 0.486 / 0.516 / 0.515, R 0.522 / 0.576 / 0.568 by tertile) | 36 |
| DREAMT | formula (F) · formula with wrist adapters (F2w) | within ±0.05 of its Challenge blind; F ≥ 0.45 would be wearable-grade | 0.222 · 0.302 | below the band; no wearable-grade formula | 36 |
| DREAMT | wearable-only net (W1: PPG pulse + motion + pulse dynamics, no SpO₂) | ≥ 0.45 wearable-grade · 0.35–0.45 the wrist costs the difference · < 0.35 unusable; expected 0.38–0.48 | 0.414 (0.446) | middle band: the wrist costs the difference | 45 |
| MESA + CFS + eight STAGES clinics (679 fold-0 nights) | oximetry net on the PPG-derived pulse (W0) | W0 − device pulse within ±0.02 as good · −0.02 to −0.06 the detector costs that much; expected −0.01 to −0.04 | 0.639 (0.707); paired on 456 MESA + CFS nights 0.729 vs 0.691 | +0.038 (CI not recorded): the waveform pulse is not worse than the device's rate | 45 |
| Dreem DOD-O (56 nights, five-scorer consensus) | ECG net | consensus − single-scorer > +0.05 / ±0.05 / < −0.05; expected +0.02 to +0.06 | 0.681 (0.739); per-night median 0.693, p10 0.534, none under 0.2 | +0.143 against Challenge's 0.538. That reference is the in-pool CV row (no blind H1 arm), so the difference holds the consensus and the population together | 44 |
| nine STAGES sites, LOCKED (880 nights) | the final recipe, one run | to be written into the brief, with the recipe hash, before release | PENDING (v53) | cross-site claim only: the nine sites were consulted once, in §43, on pre-§46 data, so they are not unseen (§52.6) | 52.6 |
| third-party corpus (external) | stack | to be stated before the run | PENDING | — |
The §46 rework. An audit of every cohort's format against every tool found label, motion and posture inconsistencies, so every line was re-run on corrected data under a written protocol (brief §46). Its numbers are new data. They are reported beside the older ones, never pooled with them: on the same nights the ECG + breathing net moved −0.0067 [−0.0076, −0.0058] against v35 and the wrist net −0.0046 [−0.024, +0.015] against v40. A pre-stated reproduction (v49) re-extracted 20 MESA nights and re-ran two fold-0 arms from the snapshot code. Features were byte-identical and the posteriors identical (max |Δ| 0), so it passed. Challenge stayed blind in every v46 line (a control with it in the training pool, §49, is not for publication).
| line | learner | inputs | κ4 (nights) | Challenge | DREAMT | SHHS-1 | MESA | MrOS | brief § |
|---|---|---|---|---|---|---|---|---|---|
| ECG | net R0 | ECG HRV + its deltas | 0.622 (15 784) | 0.547 | 0.505 | 0.638 | 0.685 | 0.554 | 46 |
| ECG | net R1 | R0 + breathing + posture | 0.702 | 0.574 | 0.547 | 0.683 | 0.744 | 0.689 | 46 |
| ECG | net R2 | R1 without posture | 0.701 | 0.589 | 0.543 | 0.683 | 0.744 | 0.684 | 46 |
| ECG | net R1a | R1 + crop augmentation | 0.708 | 0.586 | 0.556 | 0.690 | 0.748 | 0.692 | 46 |
| ECG | formula FE | ECG + breathing terms | 0.438 | 0.252 | 0.263 | 0.427 | 0.486 | 0.418 | 46 |
| oximetry | net O | SpO₂ + pulse | 0.705 (15 777) | 0.573 | 0.428 | 0.677 | 0.735 | 0.725 | 46 |
| oximetry | formula F (v32 lineage, predicted adapters) | oxy1 + pdx | 0.581 | 0.374 | 0.242 | 0.551 | 0.606 | 0.604 | 46 |
| oximetry | formula, rank-normalised terms (N2, fold 0) | oxy1 + pdx | 0.562 (4 022) | 0.382 | — | 0.561 | 0.617 | 0.614 | 47 |
| wrist | net W1 | PPG pulse + motion + pulse dynamics, no SpO₂ | 0.658 (3 008) | — | 0.409 | — | 0.709 | — | 46 |
| wrist | net T1 (ECG-pretrained HRV, fine-tuned on PPG) | PPG HRV | 0.646 (3 073) | — | 0.318 | — | 0.697 | — | 48 |
| PPG | formula P1 | SpO₂ + PPG pulse terms | 0.535 (2 125) | — | 0.276 | — | 0.539 | — | 46 |
| PPG | formula P0 | PPG pulse terms only | 0.488 | — | 0.216 | — | 0.492 | — | 46 |
| oximetry | formula + knots · coupling · worst-cohort fitting (v51) | oxy1 + pdx | PENDING | 50 |
On corrected data the nets hold their place: oximetry 0.705 and ECG + breathing 0.702 over all nights, and both at about 0.57 on blind Challenge. Posture adds nothing (+0.0009), so the ECG line drops it. No formula passes even the lowest ship band blind. The oximetry formula reads 0.374 on Challenge and 0.242 on DREAMT, and the PPG formulas 0.22–0.28 on DREAMT. Ranking each term within its night (N2) gains +0.014 in the pool and on Challenge, and was adopted. The pre-§46 formula's blind 0.392–0.407 (Table 2) is not comparable: it is the same cohort read on different data.
Table 6 was read from lab-cache/v46-reads.txt, which git never held. The scorer
behind that readout is re-runnable, so every line of the table was scored again over the same saved posteriors, and the
numbers below are that run's own output. It re-scored
CLAIM oximArmsReScored = 11 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#claims/armsReScored arms, and
CLAIM oximArmsReproducing = 9 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#claims/armsReproducingThePublishedLine arms
reproduce the October readout to every digit it prints, pooled and per cohort: the oximetry net at
CLAIM oximNetKappa4 = 0.705 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/O/kappa4 kappa over
CLAIM oximNetNights = 15777 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/O/nights nights, with
CLAIM oximNetBlindChallenge = 0.573 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/O/byCohort/challenge/kappa4 kappa on blind Challenge;
the ECG + breathing net at CLAIM ecgNetKappa4 = 0.702 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/R1/kappa4 kappa and its
no-posture twin at CLAIM ecgNetNoPostureKappa4 = 0.701 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/R2/kappa4 kappa;
the ECG formula at CLAIM ecgFormulaKappa4 = 0.438 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/FEu/kappa4 kappa;
the oximetry formula at CLAIM oximFormulaKappa4 = 0.581 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/Fu/kappa4 kappa with
CLAIM oximFormulaBlindChallenge = 0.374 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/Fu/byCohort/challenge/kappa4 kappa blind, under the
lowest ship band of 0.42; and the PPG formulas at
CLAIM ppgFormulaP1Kappa4 = 0.535 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/P1u/kappa4 kappa and
CLAIM ppgFormulaP0Kappa4 = 0.488 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/P0u/kappa4 kappa.
Two arms no longer reproduce, and the reason is absence. The wrist-only nets W1 and W1a read CLAIM wristNetKappa4 = 0.662 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/W1/kappa4 kappa and CLAIM wristNetCropKappa4 = 0.656 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/W1a/kappa4 kappa today, against the CLAIM wristNetKappa4Published = 0.658 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/W1/published/kappa4 kappa and 0.652 of the row above. The cause is not a method change: CLAIM wristNightsLost = 44 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/W1/nightsLostSincePublished nights of the 3 008 posterior files are absent from the tree, every one of them in the STAGES STNF clinic, which falls to CLAIM wristStnfNights = 369 FROM analysis/published-numbers/oximeter-sleep-staging-2026-11-25.json#result/arms/W1/byCohort/stnf/nights nights from the 413 the run scored. Both numbers stand side by side and neither is corrected: a re-score over fewer nights is a different population, not a better estimate of the same one. The two W1 figures of Table 6 and of §2 are therefore the October run's, and this paragraph is the only place a wrist κ binds to a record.
The nine cohorts are governed research data, so the posterior tree is not committed and no night is named here; the record carries pooled and per-cohort aggregates only, with the scorer's own digest beside them. A re-score can therefore flag that record and never clear it in CI. Table 6's DREAMT column for the ECG lines is scored separately from these eleven arms and is not re-scored here.
(i) Where the gap lives. The control beats the stack by 0.15 pooled and 0.18 blind. The oracle of §32 locates most of it: with each night's own intercepts and per-term slopes the stack reaches 0.616, within 0.1 of the control, and its 9 % of failed nights (κ < 0.2) vanish. The three-class readout (§38a) says the remaining errors are not dominated by one boundary — the gain from collapsing light and deep is the same +0.08–0.09 on every model, as in Korkalainen et al. (2020).
(ii) What label-free calibration recovers. A second formula predicting each night's adapters from its label-free statistics recovers +0.041 of the oracle's +0.25 on the full basis (v32 F2), inside its pre-stated +0.03 to +0.08; on the pre-§46 data that put the stack at 0.407 on blind Challenge, above the 0.390 the proprietary comparator reports on its own sealed set, though still under the lowest ship band. The rest is not reachable label-free: the retrofit diagnostic on a 52-term basis read only 14 % (§40); the same person's adapter from a visit years earlier is worse than none (§41); and a user's bed and wake times reach +0.03 at most (§42). Distillation from the control lost twice before that (§15, §19). The calibration is a this-night quantity that only labels on the night supply. The sequence control already reads the whole night (a bidirectional GRU over the full recording) and sits at 0.711, the lower edge of the 0.726–0.779 that Vaquerizo-Villar et al. (2025) report with a 12-hour U-Net on the same two signals; the remaining gap to that result is small and not an architecture-class difference, and more nights alone do not close it (+0.009 for +50 %, §30). For the formula the gap to the control is this calibration; for the control the published band is within reach of volume, tuning and the padded 12-hour input.
(iii) Terms, not capacity. The stack's long plateau at 0.49–0.50 ended when the pulse-dynamics bases were added (+0.075 against a pre-stated +0.005 to +0.02), while the control gained +0.005 from the same bases. A ceiling the control does not share is a feature problem. The bases did not make the formula shippable: its blind κ stayed under the lowest ship band (0.42) before the rework, and on the corrected data it is 0.374 on Challenge and 0.242 on DREAMT (Table 6).
(iv) Site, not cohort. Holding out an NSRR cohort costs 0.006–0.026 (0.045 for the 1990s SHHS-1), reproducing the published "< 3 %" leave-one-cohort-out drop; the Challenge gap is 0.14, the same drop Sridhar et al. (2020) crossed (0.66 → 0.55). STAGES' thirteen clinics (§43) answered whether sister sites repair it: they do not. The control scored 0.533 blind over STAGES, and training on the other twelve clinics moved a held-out clinic by −0.018 to +0.018. Two clinics (STLK, STNF) carry the deficit, and a 0–29 s scoring-grid offset at STNF is not the cause (§52.8). The shift is per clinic: device, scorers or population. A five-scorer consensus reference reads the ECG net at 0.681 (DOD-O, §44), so part of every single-scorer blind number is the reference's own noise.
(v) What can ship. The stack's coefficients are results of the analysis and publishable under the NSRR agreement; the control's weights are trained on NSRR data and remain a user-loaded, unshipped artefact. For a night without a PSG oximeter (§§45–48): the pulse rate derived from the PPG waveform is not worse than the device's own rate (+0.038 paired). A wearable-only net reaches 0.658 in the pool but 0.41 on DREAMT's wrist nights, in the band where the wrist costs the difference. Transfer from ECG pre-training does not close that gap (+0.015, CI including 0). On the §46 data no formula yet passes a ship band blind, which is what v51's three switches and the v52 rebuild are for.
# features (one tag per feature set; a changed layout never mixes with an older cache)
node tools/stage-lab.mjs features --harmonize --blocks spo2,pulse,motion --tag oxy1 --cohort <c> --dir <dir> --cache <cache> --workers 4
# trees and control on identical subject-grouped folds
node tools/stage-lab.mjs bench --cache <cache> --cohorts <ten> --features oxy1 --group-subjects --model gbdt --fold <f>
python seqnet.py --cache <cache> --cohorts <ten> --features oxy1 --group-subjects --fold <f> --save-proba <dir>
# literature stack (label-fitted, signed, distilled, bridge) and the residual search
python litstack.py --cache <cache> --cohorts <ten> --features oxy1 --group-subjects --fold <f> [--signed] [--distill <dir>] [--bridge]
python symreg.py --cache <cache> --control <dir> --stack <dir> --out <dir>
# v31: pulse-dynamics bases; v37F: night-level constants; v40: pulse from the PPG waveform
node tools/stage-lab.mjs features --harmonize --blocks pdx --tag pdx --cohort <c> --dir <dir> --cache <cache>
node tools/stage-lab.mjs features --blocks nightlevel --tag nl --cohort <c> --dir <dir> --cache <cache>
node tools/stage-lab.mjs features --harmonize --blocks spo2,pulse,motion --tag oxy1p --pulse-source ppg --cohort <c> --dir <dir> --cache <cache>
python litstack.py --cache <cache> --cohorts <nine>,challenge --features oxy1+pdx --stride 32 --extra-terms pdx.pr,pdx.spo2,pdx.x,pdx.q,pdx.t --group-subjects --fold <f>
# leave-one-cohort-out and the three-class readout
python seqnet.py --cache <cache> --cohorts <eight> --train-cohorts <eight> --test-cohorts <held-out> --features oxy1 --fold 0 --save-proba <dir>
python threeclass.py <cache> <proba-dir> <tag>
stage-lab.mjs on the same epochs.tepna.verdict/1 with the pre-stated criterion embedded.With 14 695 nights (≈ 14 million epochs) the night-bootstrap 95 % CI on pooled κ is ±0.004, and a paired difference between two models on the same nights resolves to ±0.001 (measured: +0.0093 [+0.0083, +0.0103], brief §30), so any difference ≥ 0.01 between learners on the same folds is resolvable; the pre-stated reading rules use 0.01 as the smallest difference worth a claim. The blind cohorts (994 and 127 nights) resolve ≈ ±0.015 and ±0.04 respectively; DREAMT (97–100 nights) and DOD-O (56) resolve no better than ±0.04, so on them a paired difference under about 0.03 is a CI through zero, as in §§46–48. From v51 on, CIs are by subject-cluster bootstrap (§52.4), wider than the night bootstrap where subjects contribute several nights.