| Literature DB >> 28460602 |
Anneleen Dereymaeker1, Kirubin Pillay2, Jan Vervisch3, Sabine Van Huffel4,5, Gunnar Naulaers1, Katrien Jansen3, Maarten De Vos6.
Abstract
Sleep state development in preterm neonates can provide crucial information regarding functional brain maturation and give insight into neurological well being. However, visual labeling of sleep stages from EEG requires expertise and is very time consuming, prompting the need for an automated procedure. We present a robust method for automated detection of preterm sleep from EEG, over a wide postmenstrual age ([Formula: see text] age) range, focusing first on Quiet Sleep (QS) as an initial marker for sleep assessment. Our algorithm, CLuster-based Adaptive Sleep Staging (CLASS), detects QS if it remains relatively more discontinuous than non-QS over PMA. CLASS was optimized on a training set of 34 recordings aged 27-42 weeks PMA, and performance then assessed on a distinct test set of 55 recordings of the same age range. Results were compared to visual QS labeling from two independent raters (with inter-rater agreement [Formula: see text]), using Sensitivity, Specificity, Detection Factor ([Formula: see text] of visual QS periods correctly detected by CLASS) and Misclassification Factor ([Formula: see text] of CLASS-detected QS periods that are misclassified). CLASS performance proved optimal across recordings at 31-38 weeks (median [Formula: see text], median MF 0-0.25, median Sensitivity 0.93-1.0, and median Specificity 0.80-0.91 across this age range), with minimal misclassifications at 35-36 weeks (median [Formula: see text]). To illustrate the potential of CLASS in facilitating clinical research, normal maturational trends over PMA were derived from CLASS-estimated QS periods, visual QS estimates, and nonstate specific periods (containing QS and non-QS) in the EEG recording. CLASS QS trends agreed with those from visual QS, with both showing stronger correlations than nonstate specific trends. This highlights the benefit of automated QS detection for exploring brain maturation.Entities:
Keywords: CLASS; EEG; automated sleep detection; brain maturation; preterm neonate; quiet sleep
Mesh:
Year: 2017 PMID: 28460602 PMCID: PMC6342251 DOI: 10.1142/S012906571750023X
Source DB: PubMed Journal: Int J Neural Syst ISSN: 0129-0657 Impact factor: 5.866
Fig. 1Histogram of the total number of EEG recordings used in the study, ordered by PMA. There are a total of 89 recordings ranging from 27 to 42 weeks PMA.
Fig. 2(Color online) (a) Flowchart of the stages of EEG processing by CLASS. (b) Illustration of the Adaptive Segmentation (ASG) stage for a 100 s period of EEG in a single channel. Red line denote the ASG segment boundaries. (c) Illustration of a Cluster-Time Profile for a 2 h epoch of EEG from a single channel. Features are extracted from each segment defined by ASG and then clustered and the corresponding segment cluster labels are then plotted over time for each sample. (d) The average cluster-time profile determined by taking the mean profile across all channels. Regions of increasing cluster fluctuation (shaded) correspond to higher EEG discontinuity and QS periods. (e) De-trended signal after subtraction of the average channel from its running mean. (f) The square of the zeroed signal with the signal envelope shown by a red curve. (g) The signal envelope of a complete 4 h EEG recording, with the mean threshold to estimate the QS periods shown in red. Here, the 4 h signal envelope is formed by stitching the signal envelope processed for every 2 h epoch of EEG. The first 2 h of the stitched envelope shown in this figure correspond to the envelope derived in (f). (h) The QS periods as estimated by CLASS after thresholding with the mean of the signal envelope. Estimated QS periods are shaded. (i) The shaded QS periods as visually estimated by the clinician using the full PSG recording.
Fig. 3Illustration of the ASR method. (a) Top: A 30-min epoch of bandpass filtered (1–40 Hz) EEG in a single channel, before ASR is applied. High power artifacts are shaded. Bottom: The bandpass filtered signal after ASR is applied. The same shaded artifacts are now reduced while surrounding clean periods of the signal remain intact. (b) Illustration of the cleaning procedure of ASR on the EEG recording. Reconstruction metrics are calculated within the sliding window S in order to clean the sample of data along the dotted line denoted by s. As the sliding window moves sample-by-sample across the recording, the metrics are updated and the new sample s is cleaned.
CLASS parameters that are tuned by perturbation analysis.
| Parameter | CLASS stage | Definition | Tuned value |
|---|---|---|---|
| ASR | Threshold for separating the artifact and artifact-free subspaces in the EEG. | 10 | |
| ASG | Length of the contiguous windows that slide across the EEG. Used to detect large amplitude and frequency changes in the signal for identifying adaptive segment boundaries. | 0.7s | |
| ASG | The step shift size of the sliding contiguous windows. | 9 samples | |
| ASG | The weighting used to determine the joint contributions of the frequency and amplitude measures from which adaptive segment boundaries are determined. | 10 | |
| ASG | Minimum height between peaks in the combined amplitude and frequency signal, for defining an adaptive segment boundary. | 100 | |
| ASG | Minimum allowable distance between successive adaptive segment boundaries. | 25 samples | |
| Feature Extraction and Clustering | Number of clusters for grouping the features used to define the cluster-time profiles. | 12 clusters | |
| QS classification | Window length of moving average filter to determine a running mean of the cluster-time profile, for de-trending the signal. | 500 samples | |
| QS classification | Window length of moving average filter to smoothen the cluster-time profile signal for QS classification. | 35,000 samples |
Note: CLASS: Cluster-based Adaptive Sleep Staging (automated QS detection algorithm); ASR: Artifact Subspace Reconstruction; ASG: Adaptive Segmentation; QS: Quiet Sleep.
denotes CLASS-sensitive parameters which caused large changes to the performance of the algorithm, when fluctuated.
Fig. 4Assessing the performance of CLASS on a test set of 55 recordings aged 27–42 weeks PMA. (a) ROC of CLASS performance by varying the detection threshold while keeping all other optimized parameters constant. ROC curves for each recording in the test set (in gray) are shown, and resulting median ROC curve (in black). The AUC of the median ROC curve is also presented. (b) CLASS performance with respect to PMA denoting Sensitivity (Sens), Specificity (Spec), DF and MF. DF and MF denote Detection Factor and Misclassification Factor measures, respectively. DF measures the proportion of visually labeled QS periods correctly detected by CLASS, while MF measures the proportion of CLASS-detected periods that do not correspond to the visual QS periods (i.e. are misclassifications). Error bars denote the medians and IQRs.
Comparing CLASS performance at different stages of the algorithm, using Sensitivity (Sens), Specificity (Spec), DF and MF.
| Algorithm | Median Sens (IQR) | Median Spec (IQR) | Median DF (IQR) | Median MF (IQR) | Median AUC (IQR) |
|---|---|---|---|---|---|
| CLASS | 0.97 (0.92–1.0) | 0.82 (0.71–0.88) | 1.0 (1.0–1.0) | 0.25 (0–0.5) | 0.98 (0.92–0.99) |
| CLASS-noASR | 0.81 (0.61–0.95) | 0.74 (0.65–0.83) | 1.0 (0.62–1.0) | 0.40 (0.25–0.65) | 0.85 (0.71–0.96) |
| CLASS-USG1 | 1.0 (0.94–1.0) | 0.76 (0.67–0.82) | 1.0 (1.0–1.0) | 0.33 (0–0.44) | 0.96 (0.91–0.99) |
| CLASS-USG5 | 0.92 (0.87–0.98) | 0.79 (0.68–0.87) | 1.0 (1.0–1.0) | 0.33 (0.036–0.54) | 0.95 (0.89–0.97) |
| CLASS-SD | 0.95 (0.90–1.0) | 0.84 (0.73–0.90) | 1.0 (1.0–1.0) | 0.20 (0–0.44) | 0.97 (0.93–0.99) |
| SAT% | 0.54 (0.33–0.66) | 0.50 (0.47–0.54) | 0.50 (0.33–0.74) | 0.87 (0.80–0.92) | 0.48 (0.39–0.58) |
Note: ‘CLASS’ above denotes the algorithm in its entirety. This is compared to CLASS without ASR, with uniform segmentation of 1 s (USG 1) and 5 s (USG 5) (instead of ASG) and final classification using standard deviation alone (SD) (instead of multiple features and clustering).
Denotes significant differences between values at each stage and CLASS in its entirety, at p < 0.05 using the paired t-test. IQR: interquartile range.
Regression results for mean burst percentage (Burst%) and mean relative spectral power in delta, theta, and beta frequency bands. The log-transform of results are shown for CLASS QS estimates and visually labelled estimates from the clinician, as well as for non-state specific EEG epochs, for 31–38 week PMA range (optimal CLASS performance). For each measure, the slope (or b-coefficient, b), standard error (SE) of b, 95% confidence interval (CI), and p < 0.05 significance is presented. In case of quadratic correlations, coefficients b1 and b2 of the equation are provided (y = a + b1x + b2x2). The alpha band power showed no significant correlations, and was therefore omitted from this table.
| CLASS QS estimates | Visual QS estimates | Non-state specific EEG | |
|---|---|---|---|
| Log Burst% | |||
| Log relative delta power | |||
| Log relative theta power | |||
| Log relative beta power |