Paperdoi:10.3390/s26227144
A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting
Sensors, 2026
TL;DR
Causal (no future data) wearable-EEG sleep staging on 128 BOAS recordings / 100 participants: 5-stage accuracy 0.830, macro-F1 0.704; a second layer forecasts W/N1→N2+ transitions within 60/90/120 s at AUROC 0.801/0.791/0.786 without PSG labels at inference; frozen replay on 3 Muse S Gen2 nights exposed cross-device limits.
Abstract
Reliable online sleep monitoring requires sleep-stage estimates and forecasts based only on information available at the time of prediction. This study developed a temporally causal two-layer framework for wearable electroencephalography (EEG) sleep staging and short-horizon sleep-transition forecasting. Using 128 Bitbrain Open Access Sleep (BOAS) recordings from 100 participants, the first layer (M0) performed five-stage sleep classification with causal signal processing and participant-isolated nested validation. The second layer (M1) used strictly cross-fitted histories of M0 stage probabilities to predict transitions from wake or N1 (W/N1) to N2, N3, or REM sleep (N2+) within 60, 90, or 120 s after each observed 30-s epoch. M1 eligibility was determined from M0-predicted stages during training and evaluation, without requiring polysomnography (PSG) stage labels at inference. M0 achieved 0.830 accuracy and 0.704 macro-F1. Under M0-predicted eligibility, M1 achieved AUROC values of 0.801, 0.791, and 0.786 at 60, 90, and 120 s, respectively; complementary PSG-conditioned evaluation yielded 0.814, 0.803, and 0.801. Prediction was stronger during wakefulness than N1, and the benefits of probability history were specific to the future-sleep task. Future-perturbation tests confirmed unchanged pre-boundary outputs under the tested conditions. A frozen M0 replay on three Muse S Gen2 nights further identified stage-specific limitations in cross-device transfer. These findings establish an auditable framework for temporally causal wearable EEG analysis and demonstrate the potential of short-horizon sleep-transition forecasting while identifying its current generalization boundaries.
Verbatim from the publisher's DOI record (opens in a new tab) · Publisher licence: https://creativecommons.org/licenses/by/4.0/
Results on ChatPPG leaderboards
All leaderboardsNo results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.
Tasks & signals
Tasks
Signals
Keywords
How it works
Cite this paper
Kang, Y., & Wang, Z. (2026). A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting. Sensors, 2026. https://doi.org/10.3390/s26227144
Kang, Yuting and Zhaohui Wang. 2026. "A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting." Sensors, 2026. https://doi.org/10.3390/s26227144.
Kang, Y. and Wang, Z. (2026) 'A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting', Sensors, 2026. doi: 10.3390/s26227144.
Kang, Yuting, and Zhaohui Wang "A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting." Sensors, 2026, 2026. https://doi.org/10.3390/s26227144.
Y. Kang and Z. Wang, "A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting," Sensors, 2026, 2026, doi: 10.3390/s26227144.
@article{kang2026temporally,
title = {{A Temporally Causal Two-Layer Framework for Wearable EEG Sleep Staging and Short-Horizon Sleep-Transition Forecasting}},
author = {Kang, Yuting and Wang, Zhaohui},
year = {2026},
journal = {Sensors, 2026},
doi = {10.3390/s26227144}
}Added to the ChatPPG research hub