BioMedical Engineering OnLine (Oct 2019)

Automatic sleep stage classification based on subcutaneous EEG in patients with epilepsy

  • Sirin W. Gangstad,
  • Kaare B. Mikkelsen,
  • Preben Kidmose,
  • Yousef R. Tabar,
  • Sigge Weisdorf,
  • Maja H. Lauritzen,
  • Martin C. Hemmsen,
  • Lars K. Hansen,
  • Troels W. Kjaer,
  • Jonas Duun-Henriksen

DOI
https://doi.org/10.1186/s12938-019-0725-3
Journal volume & issue
Vol. 18, no. 1
pp. 1 – 17

Abstract

Read online

Abstract Background The interplay between sleep structure and seizure probability has previously been studied using electroencephalography (EEG). Combining sleep assessment and detection of epileptic activity in ultralong-term EEG could potentially optimize seizure treatment and sleep quality of patients with epilepsy. However, the current gold standard polysomnography (PSG) limits sleep recording to a few nights. A novel subcutaneous device was developed to record ultralong-term EEG, and has been shown to measure events of clinical relevance for patients with epilepsy. We investigated whether subcutaneous EEG recordings can also be used to automatically assess the sleep architecture of epilepsy patients. Method Four adult inpatients with probable or definite temporal lobe epilepsy were monitored simultaneously with long-term video scalp EEG (LTV EEG) and subcutaneous EEG. In total, 11 nights with concurrent recordings were obtained. The sleep EEG in the two modalities was scored independently by a trained expert according to the American Academy of Sleep Medicine (AASM) rules. By using the sleep stage labels from the LTV EEG as ground truth, an automatic sleep stage classifier based on 30 descriptive features computed from the subcutaneous EEG was trained and tested. Results An average Cohen’s kappa of $$\kappa = 0.78\pm 0.02$$ κ=0.78±0.02 was achieved using patient specific leave-one-night-out cross validation. When merging all sleep stages into a single class and thereby evaluating an awake–sleep classifier, we achieved a sensitivity of 94.8% and a specificity of 96.6%. Compared to manually labeled video-EEG, the model underestimated total sleep time and sleep efficiency by 8.6 and 1.8 min, respectively, and overestimated wakefulness after sleep onset by 13.6 min. Conclusion This proof-of-concept study shows that it is possible to automatically sleep score patients with epilepsy based on two-channel subcutaneous EEG. The results are comparable with the methods currently used in clinical practice. In contrast to comparable studies with wearable EEG devices, several nights were recorded per patient, allowing for the training of patient specific algorithms that can account for the individual brain dynamics of each patient. Clinical trial registered at ClinicalTrial.gov on 19 October 2016 (ID:NCT02946151).

Keywords