Automated Sleep Staging in Epilepsy Using Deep Learning on Standard Electroencephalogram and Wearable Data
Open Access
- 3 April 2025
- journal article
- Published by Wiley in Journal of Sleep Research
- Vol. 34 (5) , e70061
Abstract
Automated sleep staging on wearable data could improve our understanding and management of epilepsy. This study evaluated sleep scoring by a deep learning model on 223 night‐sleep recordings from 50 patients measured in the hospital with an electroencephalogram (EEG) and a wearable device. The model scored the sleep stage of every 30‐s epoch on the EEG and wearable data, and we compared the output with a clinical expert on 20 nights, each for a different patient. The Bland–Altman analysis examined differences in the automated staging in both modalities, and using mixed‐effect models, we explored sleep differences between patients with and without seizures. Overall, we found moderate accuracy and Cohen's kappa on the model scoring of standard EEG (0.73 and 0.59) and the wearable (0.61 and 0.43) versus the clinical expert. F1 scores also varied between patients and the modalities. The sensitivity varied by sleep stage and was very low for stage N1. Moreover, sleep staging on the wearable data underestimated the duration of most sleep macrostructure parameters except N2. On the other hand, patients with seizures during the hospital admission slept more each night (6.37, 95% confidence interval [CI] 5.86–7.87) compared with patients without seizures (5.68, 95% CI 5.24–6.13), p = 0.001, but also spent more time in stage N2. In conclusion, wearable EEG and accelerometry could monitor sleep in patients with epilepsy, and our approach can help automate the analysis. However, further steps are essential to improve the model performance before clinical implementation. Trial Registration: The SeizeIT2 trial was registered in clinicaltrials.gov, NCT04284072Keywords
Funding Information
- EIT Health (21263)
- Agentschap Innoveren en Ondernemen (A19/TT/1549)
- Bijzonder Onderzoeksfonds UGent (C24/18/097)
- Fonds Wetenschappelijk Onderzoek (1SC2921N)
This publication has 40 references indexed in Scilit:
- Subclinical epileptiform activity and sleep disturbances in Alzheimer's diseaseBrain and Behavior, 2023
- Rapid eye movement sleep reduction in patients with epilepsy: A systematic review and meta-analysisSeizure: European Journal of Epilepsy, 2022
- Seizure likelihood varies with day-to-day variations in sleep duration in patients with refractory focal epilepsy: A longitudinal electroencephalography investigationeClinicalMedicine, 2021
- Seizure Cycles in Focal EpilepsyJAMA Neurology, 2021
- Sleep Disruption in Epilepsy: Ictal and Interictal Epileptic Activity MatterAnnals of Neurology, 2020
- Insufficient Sleep, Electroencephalogram Activation, and Seizure Risk: Re‐Evaluating the EvidenceAnnals of Neurology, 2020
- Seizure modulation by sleep and sleep stateBrain Research, 2019
- Linear Mixed-Effects Model2012
- Continuous EEG-based dynamic markers for sleep depth and phasic eventsJournal of Neuroscience Methods, 2012
- Reduction of Rapid Eye Movement Sleep by Diurnal and Nocturnal Seizures in Temporal Lobe EpilepsyArchives of Neurology, 2000