Literature DB >> 33490905

Integrating old and new complexity measures toward automated seizure detection from long-term video EEG recordings.

Manuel Ruiz Marín1,2, Irene Villegas Martínez3,2, Germán Rodríguez Bermúdez4, Maurizio Porfiri1,5.   

Abstract

Automated seizure detection in long-term video-EEG recordings is far from being integrated into common clinical practice. Here, we leverage classical and state-of-the-art complexity measures to robustly and automatically detect seizures from scalp recordings. Brain activity is scored through eight features, encompassing traditional time domain and novel measures of recurrence. A binary classification algorithm tailored to treat unbalanced dataset is used to determine whether a time window is ictal or non-ictal from its features. The application of the algorithm on a cohort of ten adult patients with focal refractory epilepsy indicates sensitivity, specificity, and accuracy of 90%, along with a true alarm rate of 95% and less than four false alarms per day. The proposed approach emphasizes ictal patterns against noisy background without the need of data preprocessing. Finally, we benchmark our approach against previous studies on two publicly available datasets, demonstrating the good performance of our algorithm.
© 2020 The Authors.

Entities:  

Keywords:  Algorithms; Clinical Neuroscience; Computer Application in Medicine; Computer-Aided Diagnosis Method; Techniques in Neuroscience

Year:  2020        PMID: 33490905      PMCID: PMC7811137          DOI: 10.1016/j.isci.2020.101997

Source DB:  PubMed          Journal:  iScience        ISSN: 2589-0042


Introduction

Epilepsy is a common and chronic group of neurological disorders. Worldwide, more than 65 million people of all age have epilepsy, affecting individuals (Devinsky et al., 2018). Despite optimal medication management, about 30% of persons with epilepsy (PWE) will continue to have uncontrolled seizures and will eventually need a presurgical evaluation in an epilepsy monitoring unit (Kwan et al., 2010; Sisodiya, 2007). Electroencephalography (EEG) is an essential tool in the evaluation, diagnosis, and management of epilepsy (Rao and Lowenstein, 2015). The International League Against Epilepsy recommends long-term video-EEG monitoring (LEM) in PWE, when there is diagnostic uncertainty in the classification of seizure type or epilepsy syndrome, quantification of seizures, and evaluation of electroclinical seizure characteristics prior to an epilepsy surgery (Velis et al., 2007) Whether measurements are conducted on the scalp or intracranially, the recordings of LEM can last from 24 h to 78 days (Ryvlin et al., 2014) Visual scanning of LEM recordings by expert epileptologists is the conventional approach to seizure detection. EEG manifestations of epileptic events can take various forms, including desynchronization, decrease in amplitude, appearance of moderate or high amplitude rhythmic activity at frequencies ranging from 1 to 50 Hz, presence of high amplitude electromyogram (EMG) obscuring the EEG, and irregular paroxysmal activity (Fisher et al., 2014a). The complexity of these phenomena constitutes a significant hurdle to manual analysis of LEM recordings, which could often lead to errors even when conducted by highly trained physicians (Wilson et al., 2003). These errors are exacerbated in the analysis of noisy scalp data, which are, however, the most common, due to obvious challenges in implanting electrodes in the brain. Automatic seizure detection systems offer a promising alternative to efficiently and accurately analyze LEM recordings (Baumgartner and Koren, 2018). Many attempts have been made to automatize LEM readings (Saini and Dutta, 2017; Sharmila and Geethanjali, 2019). Since the first algorithm for seizure detection proposed by Gotman (1982), several research teams have tried to reach the holy grail, that is, to detect every seizure in LEM recordings and minimize the number of false alarms that would slow down the physician, instead of easing his task. The simplest class of detection algorithms uses intuitive time-domain features to create some discriminating statistics between seizure and “non-seizure” epochs. Mean, variance, mode, median, and skewness are some of the common statistics that are employed in seizure detection, along with amplitude difference and time separation between minima and maxima (Alotaiby et al., 2014). Although easy to interpret, these features alone are not sufficient to decipher brain activity. Measures of complexity from time-series analysis could complement classical, statistically based features toward improved detection of seizures (Kannathal et al., 2005). Information theory, fractal analysis, and symbolic representations have been leveraged to establish a range of powerful measures of complexity for LEM recordings (Saini and Dutta, 2017). For example, the theoretic notion of fractal dimension has been found to have a precise clinical application in the quantification of rhythmic patterns during an epileptic seizure (Wang et al., 2013). Despite the multitude of automated computer-aided detection algorithms published in the past decades, why are epileptologists still relying on visual scanning when it comes to seizure detection? (1) Existing algorithms are typically validated on the dataset by the University of Bonn (Andrzejak et al., 2001). These data are from intracranial recordings, where artifacts are virtually nonexistent compared with scalp data. In addition, the dataset only includes selected segments of ictal activity, excluding non-ictal recordings from the same patient. Validating an algorithm on this dataset prior to testing on real scalp data may lead to not only high sensitivity but also an unacceptably high number of false alarms (Hopfengärtner et al., 2014). As a result, prudence is commonly warranted in transitioning from the validation on the database of the University of Bonn to clinical practice. (2) EEG signals are highly complex, nonlinear, and non-stationary processes (Cohen, 2017). Most of the existing approaches utilize pre-processing techniques to remove artifacts, which may come at the expense of masking true brain activity and adding confounding effects (de Cheveigné and Nelken, 2019). For example, the method proposed by Fürbass et al. (2015) in the EpiScan study analyzes digital LEM recordings in intervals of a quarter-second and utilizes dedicated low-pass, high-pass, and notch filters to process their data. The EpiScan algorithm was lately implemented for commercial purposes into the Encevis software. Similar filtering techniques are applied in the Reveal algorithm by Wilson et al. (2004), which is behind the Persyst software. (3) When confronted with everyday clinical practice, experimental models and commercialized software do not perform as well as promised. Gonzalez-Otalura et al. have recently reported a detection of only 53% of seizures by Persyst 12, Persyst 13, and Gotman in a sample of 1,478 ambulatory prolonged EEG studies (González-Otárula et al., 2019). As a result, existing algorithms are far from replacing manual interpretation of LEM recordings by epileptologists. Here, we seek to address this issue through a methodology that integrates a range of EEG-specific features, from traditional statistics in the time domain to state-of-the-art complexity measures. Along with the computation of several time-domain characteristics, we introduce an alternative approach toward recurrence quantification. Such an approach combines classical and symbolic recurrence to mitigate measurement noise that is known to plague classical recurrence analysis and avoid crude coarsening due to the limited alphabet of a symbolic representation (Caballero Pintado et al., 2018; Porfiri and Ruiz Marín, 2019). Using this notion of -symbolic recurrence, we construct a recurrence network, whose topological characteristics are utilized to enhance the discrimination between ictal and non-ictal activity from scalp LEM. Overall, brain activity from LEM recordings is scored through eight features, encompassing time-domain statistics (standard deviation, mean absolute deviation, skewness coefficient, fractal dimension, and area of the second-order difference plot) and measures of recurrence (mean degree, betweenness centrality, and closeness of -symbolic recurrence networks). By applying an algorithm for binary classification (RUSBoost algorithm (Seiffert et al., 2009)), on this range of features (evaluated on small time segments), we explore the possibility of automatic detection of seizures in scalp LEM recordings, without the need of any pre-processing. More specifically, the classification algorithm is first trained using a fraction of manually analyzed LEM recordings by clinical experts, and then it is tested on the remaining fraction of the dataset, without clinical supervision (Figure 1).
Figure 1

Sketch of the proposed algorithm for automated seizure detection during training and testing

For a Figure360 author presentation of this figure, see https://doi.org/10.1016/j.isci.2020.101997.

The algorithm takes as input the LEM recording signal and partitions it into non-overlapping windows. For each window, it extracts eight features (descriptive statistics and complexity measures) that are used for classification by the RUSBoost algorithm. During training, clinical supervision is needed to determine the onset and ending of a seizure for 80% of the data. During testing, no clinical supervision is required, and the trained model is employed to classify the remaining 20% of the data, within 5-fold cross-validation.

Sketch of the proposed algorithm for automated seizure detection during training and testing For a Figure360 author presentation of this figure, see https://doi.org/10.1016/j.isci.2020.101997. The algorithm takes as input the LEM recording signal and partitions it into non-overlapping windows. For each window, it extracts eight features (descriptive statistics and complexity measures) that are used for classification by the RUSBoost algorithm. During training, clinical supervision is needed to determine the onset and ending of a seizure for 80% of the data. During testing, no clinical supervision is required, and the trained model is employed to classify the remaining 20% of the data, within 5-fold cross-validation.

Results

To demonstrate the performance of the detection algorithm, we examined a total of ten LEM recordings, from three men and seven women (age: 25–53 years, mean: 37.5 years; Table 1) with refractory focal epilepsy from our original database. Each patient in the cohort suffered from at least one epileptic seizure during the 24-h monitoring comprising the dataset.
Table 1

Clinical data and seizure description of LEM recordings

PatientEpileptic syndromeSemiology of seizures during LEMDuration (seconds)Localization/lateralization at onsetSeizure onset
1Structural epilepsy. Left mesial hippocampal sclerosisSeizure 1: focal unaware to bilateral TC95Mesial and anterior left temporalSharp rhythmic activity
Seizure 2: focal unaware with non-motor onset (cognitive)44Mesial and anterior left temporalSharp rhythmic activity
2Structural epilepsy. Right mesial hippocampal sclerosisSeizure 1: focal unaware with non-motor onset (cognitive)57Right temporalLow-voltage fast activity
Seizure 2: focal unaware with motor onset (automatisms)65Right temporalLow-voltage fast activity
Seizure 3: focal unaware with motor onset (automatisms)74Right temporalLow-voltage fast activity
Seizure 4: focal unaware with non-motor onset (cognitive)46Right temporalLow-voltage fast activity
3Structural epilepsy. Right mesial hippocampal sclerosisFocal unaware with motor onset (automatisms)68Anterior right temporalSharp rhythmic activity
4Structural epilepsy. Left mesial hippocampal sclerosisSeizure 1: focal unaware with motor onset (automatisms)74Anterior left temporalLow-frequency high-amplitude rhythmic spikes
Seizure 2: focal unaware with motor onset (automatisms)64Left temporalLow-frequency high-amplitude rhythmic spikes
Seizure 3: focal unaware with motor onset (automatisms)51Left temporalSpike-and-wave activity
5Structural epilepsy. Right mesial hippocampal sclerosisFocal unaware to bilateral TC487Anterior and mesial right temporalSharp rhythmic activity
6Structural epilepsy. Left mesial hippocampal sclerosisSeizure 1: subclinical33Mesial left temporalSharp rhythmic activity
Seizure 2: focal unaware with non-motor onset (cognitive)47Left temporalSharp rhythmic activity
7Epilepsy of unknown originSeizure 1: focal unaware with non-motor onset (cognitive)65Left front-otemporalLow-voltage fast activity
Seizure 2: focal unaware to bilateral TC88Left fronto-temporalLow-voltage fast activity
8Structural epilepsy. Cortical dysplasia right temporal lobeSeizure 1: focal unaware seizure with non-motor onset (behavior arrest)78Right temporalLow-voltage fast activity
Seizure 2: focal unaware to bilateral TC121Anterior and mesial right temporalLow-voltage fast activity
9Structural epilepsy. Left mesial hippocampal sclerosisSeizure 1: focal unaware with motor onset (automatisms)70Left temporalLow-voltage fast activity
Seizure 2: focal unaware with motor onset (automatisms)69Left temporalLow-voltage fast activity
Seizure 3: focal unaware with motor onset (automatisms)108Mesial left temporalLow-voltage fast activity
10Epilepsy of unknown originSeizure 1: subclinical24Right temporalSharp rhythmic activity
Seizure 2: focal aware with non-motor onset (behavior arrest)36Right temporalSharp rhythmic activity
Seizure 3: focal aware with non-motor onset (behavior arrest)37Right temporalSharp rhythmic activity
Seizure 4: focal unaware to bilateral TC214Posterior right temporalSharp rhythmic activity

Scalp EEG was recorded at a sampling rate of 256 Hz, with 19 electrodes placed according to the international 10–20 system, using a 64-channel system Nicolet™EEG NicOne. EEG was recorded from the following electrode positions: Fp1, Fp2, F7, F3, Fz, F4, F8, T3, C3, Cz, C4, T4, T5, P3, Pz, P4, T6, O1, and O2 and a reference electrode (Z). The classification of seizure onset was based on Perucca et al. (2014).

TC: tonic-clonic. LEM: long-term video EEG monitoring.

Clinical data and seizure description of LEM recordings Scalp EEG was recorded at a sampling rate of 256 Hz, with 19 electrodes placed according to the international 10–20 system, using a 64-channel system Nicolet™EEG NicOne. EEG was recorded from the following electrode positions: Fp1, Fp2, F7, F3, Fz, F4, F8, T3, C3, Cz, C4, T4, T5, P3, Pz, P4, T6, O1, and O2 and a reference electrode (Z). The classification of seizure onset was based on Perucca et al. (2014). TC: tonic-clonic. LEM: long-term video EEG monitoring. Upon completing the study of our original dataset, we benchmarked our approach against published results, by focusing on two publicly available databases: the University of Bonn (UB) dataset and Temple University Hospital EEG Seizure Corpus (TUSZ). The former dataset offers the possibility to test our algorithm on intracranial data, whereas the second contributes to improved validation on surface recordings.

The detection algorithm yields about 90% accuracy, specificity, and sensitivity

Results of the application of our detection algorithm to LEM recordings of the ten patients in Table 1 using 5-fold cross-validation are summarized in Table 2. For each patient, we report sensitivity, specificity, accuracy, true alarm rate (TAR), and false alarm rate (FAR) for the clinically selected channel, according to the clinical profiles in Table 1. All these metrics were assessed from ground-truth data compiled by two clinical experts, on each of the 100-observation windows of 0.391 s that comprised the recording. Ground-truth data were provided by the experts in terms of the inception and the end of a seizure, such that a window was considered to be ictal if at least 50% of its observations pertained to a seizure.
Table 2

Sensitivity, specificity, accuracy, true alarm rate (TAR), and false alarm rate (FAR) per hour for 5-fold cross-validation analysis of 24-h LEM recordings of 10 different patients.

PatientChannelSensitivitySpecificityAccuracyTARFAR/h
1T391.57%90.61%90.61%100%0.38
2T492.57%93.60%93.59%100%0.42
3F893.68%88.00%88.00%100%0.21
4T392.96%97.93%97.92%100%0.00
5F890.46%95.29%95.27%100%0.08
6T388.78%89.73%89.73%100%0.04
7F790.26%97.00%96.99%100%0.00
8F866.01%96.45%96.36%100%0.25
9T384.18%88.40%88.39%100%0.00
10T485.96%90.25%90.24%75%0.04

The algorithm is implemented on a specific, single channel for each of the patient, based on clinical considerations in Table 1.

Sensitivity, specificity, accuracy, true alarm rate (TAR), and false alarm rate (FAR) per hour for 5-fold cross-validation analysis of 24-h LEM recordings of 10 different patients. The algorithm is implemented on a specific, single channel for each of the patient, based on clinical considerations in Table 1. By comparing the output of the classifier to ground-truth, we scored the number of true positives, false positives, true negatives, and false negatives. A true positive is an ictal window that is correctly classified as part of a seizure by the algorithm, whereas a false positive is a non-ictal window that is erroneously classified as part of a seizure. Likewise, a true negative is a non-ictal window that is classified to be outside of a seizure, and a false negative is an ictal window that is classified to be outside of a seizure. Sensitivity measures the ratio between the number of true positives and the total number of positives in ground-truth (true positives and false negatives). A sensitivity of 100% indicates that the detection algorithm has no false negatives, such that it can correctly detect every ictal window to be part of a seizure. Table 2 shows sensitivity values that are above 90% for most of the patients. For one patient (patient 8), we determined a modest sensitivity of 66%. Specificity quantifies the ratio between the number of true negatives and the total number of negatives in ground-truth (true negatives and false positives). A specificity of 100% identifies the case in which the algorithm has no false positives, whereby it never classifies a non-ictal window as part of a seizure. Table 2 confirms the reliability of the algorithm, whose specificity was as high as 98% and never below 88%. Accuracy scores the overall predictive power of the algorithm, as the ratio between the total number of correctly classified windows (sum of the number of true positives and true negatives) and the total number of windows. Results from this metric are consistent with specificity and sensitivity, ranging from 88% to 98%.

True alarm rate is about 95% and false alarms are less than four per day

Specificity, sensitivity, and accuracy were all scored by examining each window independent of the other, without clinical consideration of the typical duration of a seizure that may be far larger than 0.391 s. As a result, these measures could be affected by isolated misclassification, thereby providing an overly conservative picture of the performance of the detection algorithm toward its clinical use. Consistent with previous literature (Hopfengärtner et al., 2007; Hunyadi et al., 2012), we defined an alarm as a sequence of consecutive windows of at least in duration that are all classified as ictal. We joined instances of alarms, so that adjacent alarms are counted as the same one. TAR was calculated as the percentage of alarms that constitute a seizure in ground-truth, whereas FAR was assessed in terms of the number of events per hour to quantify the clinical burden of potentially verifying incorrect alarms. TAR was 100% for all the patients, except for one patient (patient 10), thereby leading to an average of 95%. Notably, the patient for which TAR was not perfect does not correspond to the one who had the lowest sensitivity (patient 8). FAR was 0.14 events per hour on average, corresponding to at most four false alarms per day. For some patients, no false alarms were ever recorded during that 24-h period. In the worst case, FAR was 0.42 events per hour, corresponding to 10 false alarms in a day.

The performance of the detection algorithm is marginally influenced by the selection of the channel and the patient's clinical characteristics

Although the results in Table 2 are based on LEM recordings from a specific, single channel, the performance of the detection algorithm was robust with respect to the selection of the channel (Figure 2). Specifically, we run the algorithm on any of the channels where a seizure was detected by the clinical experts in average montage and performed 5-fold cross-validation to compute sensitivity, specificity, and accuracy.
Figure 2

Sensitivity, specificity, and accuracy (in percent) for 5-fold cross-validation analysis of 24-h LEM recordings of 10 different patients, from different channels of the LEM recordings

For each patient and each metric, we report data from central (blue diamonds) electrodes and electrodes in the right (filled, red circles) or left (open, red circles) hemispheres, along with mean and standard deviation (black bars with whiskers).

Sensitivity, specificity, and accuracy (in percent) for 5-fold cross-validation analysis of 24-h LEM recordings of 10 different patients, from different channels of the LEM recordings For each patient and each metric, we report data from central (blue diamonds) electrodes and electrodes in the right (filled, red circles) or left (open, red circles) hemispheres, along with mean and standard deviation (black bars with whiskers). Results in Figure 2 demonstrate that the selection of the channel had a secondary influence on all the performance metrics, whereby the standard deviation was always about 5%. The channels with the lowest performance were those located in the frontopolar region, which are known to be more affected by artifacts (Hopfengärtner et al., 2007). The performance of the detection algorithm did not seem to be affected by the type of onset, whereby we recorded comparable performance metrics for different epileptic syndromes (mesial hippocampal sclerosis, cortical dysplasia, and unknown origin; Table 1), seizure semiology (focal aware, unaware, and bilateral tonic-clonic; Table 1), and type of onset (sharp rhythmic activity, low-voltage fast activity, and low-frequency high-amplitude rhythmic spikes; Table 1).

-symbolic recurrence networks can serve as a visualization aid for seizure detection

Figure 3 illustrates the time-evolution of the topology of a -symbolic recurrence network associated with a channel during a seizure. In the ictal window, the network contains many isolated nodes that contribute to low mean degree and closeness of the network, used as features by the RUSBoost algorithm. In the pre-ictal and post-ictal phases, the connectivity of the network increases and only one node remains isolated. Notably, these sharp changes in the topology of the network do not require a large number of observations, whereby 100 datapoints are sufficient to visually discriminate different phases of the seizure.
Figure 3

Visualization of a seizure through the topology of the ε-symbolic recurrence, constructed from 100 observations (0.391 s) from a single channel (T3)

For clarity, the network is overlaid with the EEG recordings to display the onset of the seizure, ictal organization, and seizure ending and post-ictal. The network is assembled using six symbols (embedding dimension m = 3) and proximity parameter ε = 10 μV; each color identifies symbolic recurrence to a different symbol. From the left to the right network, mean degree, betweenness centrality, and closeness are (11.04, 4.58, 1.37 × 10−3), (1.22, 4.55, 0.16 × 10−3), and (9.77, 3.82, 1.21 × 10−3).

Visualization of a seizure through the topology of the ε-symbolic recurrence, constructed from 100 observations (0.391 s) from a single channel (T3) For clarity, the network is overlaid with the EEG recordings to display the onset of the seizure, ictal organization, and seizure ending and post-ictal. The network is assembled using six symbols (embedding dimension m = 3) and proximity parameter ε = 10 μV; each color identifies symbolic recurrence to a different symbol. From the left to the right network, mean degree, betweenness centrality, and closeness are (11.04, 4.58, 1.37 × 10−3), (1.22, 4.55, 0.16 × 10−3), and (9.77, 3.82, 1.21 × 10−3).

The performance of the detection algorithm compares well with existing methods that need pre-processing

Results of the application of our algorithm to the UB dataset are presented in Table 3; in the analysis, subsets Z, O, N, and F are regarded as interictal and subset S as ictal recording. Predictably, the use of intracranial recordings systematically improves sensitivity, specificity, accuracy, and FAR with respect to our original dataset in Table 2. Even though our approach does not require any form of data preprocessing, its performance is highly comparable to other methods that rely on Gaussian or band-pass filtering. In order to enhance the evaluation of the algorithm, we also tested its performance on surface LEM recordings from TUSZ. Results presented in Table 3 indicate that our algorithm outperforms other FAR and has sensitivity, specificity, and accuracy comparable to the best ones. Only one method (Raghu et al., 2020) leads to an appreciably higher sensitivity than our approach. However, in addition to filtering, the methodology presented therein requires an independent component analysis (multichannel-based), which further hinders its real-time use in seizure detection. Likewise, only one study reports a specificity superior to ours (Golmohammadi et al., 2017), but this comes at an unacceptable value of sensitivity that would hinder clinical use of the algorithm.
Table 3

Comparison of our detection algorithm against existing methods using the University of Bonn (UB) database and Temple University Hospital Seizure Corpus (TUSZ)

WorkPatients/subsetsWindow lengthPreprocessingSensitivitySpecificityAccuracyFAR/h
UB dataset

Tiwari et al. (2017)ZONF-S100 samplesGaussian filters93.10%83.90%88.50%n. r.
Samiee et al. (2015)ZONF-S173 samplesn. r.98.30%91.60%96.90%n. r.
Diykh et al., (2017)ZONF-S384 samplesBand-pass filter 0.3–40 Hz97%98%97.90%0.04
Li et al., (2018)ZONF-S1 secondBand-pass filter 0.53–40 Hz93%90%91%n. r.
This studyZONF-S100 samplesNone94.48%97.88%97.20%0

TUSZ

Ayodele et al., (2020)291 secondn. r.78.35%n. r.n. r.0.9
Golmohammadi et al., (2017)24621 secondn. r.30.83%91.49%n. r.0.25
Raghu et al., (2020)3161 secondNotch filter + band-pass filter (0.5–40 Hz) + ICA95.50%n. r.n. r.0.49
Tsiouris et al., (2018)231 secondBand extraction (1–13 Hz)84.92%n. r.n. r.3.46
This study13100 samplesNone86.64%87.04%87.15%0.14

Performance is presented in terms of sensitivity, specificity, accuracy, and false alarm rate (FAR) per hour. Results from our algorithm are displayed in italic to ease legibility.

n. r.: not reported. ICA: independent component analysis.

Comparison of our detection algorithm against existing methods using the University of Bonn (UB) database and Temple University Hospital Seizure Corpus (TUSZ) Performance is presented in terms of sensitivity, specificity, accuracy, and false alarm rate (FAR) per hour. Results from our algorithm are displayed in italic to ease legibility. n. r.: not reported. ICA: independent component analysis.

Discussion

In this work, we present a robust algorithm for epileptic seizure detection that yields high accuracy with non-filtered scalp LEM recordings. We tested the algorithm on a new dataset of ten adult patients with different epileptic syndromes, seizure semiology, and type of onset. For focal seizures, our results indicate sensitivity, specificity, and accuracy of about 90%, true alarm rate of 95%, and selectivity (measured as false alarm rate, FAR, per hour) of 0.14, in a 19-electrode common average montage. The selection of the channel has a marginal influence on the performance, which can vary by at most 5%. This could be explained by the type of seizures included in the analysis of our own dataset: unaware focal seizures or focal evolving to tonic-clonic. In both cases, changes on the EEG can be revealed in every channel, because of the generalized propagation of the seizure. In addition, we benchmarked our algorithm on two publicly available datasets that have been used by other researchers to evaluate the performance of their algorithms. Whether the dataset comes from intracranial or surface electrodes, our algorithm offers a valuable alternative to existing methods that require data preprocessing, thereby opening the door to real-time seizure detection. Overall, the improved performance of our approach with respect to the state of knowledge is based on the integration of a range of EEG-specific features, from traditional statistics in the time-domain to unique -symbolic recurrence measures.

Sensitivity

Our detection algorithm is characterized by a high seizure detection performance, whereby we registered a sensitivity of more than 90% in at least 60% of the recordings from our dataset. Interestingly, the algorithm performed equally well across the entire spectrum of seizure patterns. Both focal and bilateral tonic-clonic seizures were successfully detected, independent of their type of onset. Even low-voltage fast-activity patterns, which have been found to be difficult to detect through other methods (Meier et al., 2008; Hopfengärtner et al., 2014; Bomela et al., 2020), did not challenge the application of our algorithm. Just as the algorithm performance was not affected by the seizure pattern, it did not vary across epileptic syndromes or etiologies. The accuracy of the detection was equivalent for temporal mesial sclerosis, cortical dysplasia, and unknown origin. Specifically, we documented sensitivity values that were generally above 90% except for one patient, for whom it dropped to 66%. The reduced performance for this individual was likely due to the uniqueness of one of the seizures that was suffered by this patient (discontinuous discharge). Our method is trained to thoroughly recognize ictal patterns, characterized by the progressive reduction of the connectivity of the -symbolic recurrence network, along with sustained variations in the local growth of the time series. This specific seizure seemed to fade twice during the recording, and its pattern varied between its onsets. Although the algorithm was able to detect this seizure, some of the epochs during the event were not correctly classified as positive, thereby reducing the sensitivity. The sensitivity of our algorithm compares very well with other studies on LEM recordings in adults. Following the lead of early studies by Gotman (1982), Gotman (1990), and Gabor et al. (1996), 15 years ago Wilson et al. (2004) introduced the Reveal algorithm, which was tested on a total of 1,049 h of EEG containing 672 seizures. The authors employed an eight-channel bipolar montage and a moving window to identify background, seizures, and offset sections, demonstrating a sensitivity of 76%. In the last 15 years, other groups, including Hartmann et al. (2011), Kelly et al. (2010), and Hopfengärtner et al. (2007), have put forward alternative algorithms, with sensitivity ranging from 79.5% (IdentEvent) to 90.9% (BESA).

True alarm rate

Sensitivity alone cannot be used as a metric of the accuracy of the detection algorithm. The same value of sensitivity may correspond to vastly different scenarios, in which the algorithm perfectly detects all the windows of a seizure and miss entire seizures, or it captures almost all the windows in any seizure. The second scenario bears a higher practical relevance toward automated seizure detection. Although there is not an official minimum time duration to define a seizure, we chose a time duration of 10 s, which also allows to discriminate between sharp artifacts and meaningful subclinical epileptic discharges. This definition was based on the following grounding. First, several previous studies have used an analogous definition (Hopfengärtner et al., 2007; Hunyadi et al., 2012), thereby facilitating comparisons between methods. Second, although a single generalized spike associated with a myoclonic jerk could be considered a very brief seizure, semiologically relevant events usually last more than 20 s (Fisher et al., 2014b). Finally, most artifacts last less than 10 s (Schindler et al., 2001). Twenty-three of the 24 seizures in our original database were correctly detected by the algorithm in cross-validation analysis. The only event that was missed by the algorithm was very short in duration and limited to only two channels, wavering on the edge of temporal intermittent rhythmic delta activity and subclinical seizure. This finding is of great practical importance, whereby the usefulness of an automated seizure detection algorithm depends on its capacity to discriminate every significant seizure during LEM recordings, and, ideally, to not miss any of them. In the study by González-Otárula et al. (2019), it is reported that almost 50% of seizures can be missed by automated detection algorithms (Persyst and Gotman Event Detection), thereby questioning the added value of automated approaches in comparison with visual analysis by clinical experts. Similar evidence regarding the possibility of missing several seizures using existing approaches has been widely documented in the technical literature. For example, Kamitaki et al. (2019) also found that the Persyst software detected 80 out of 105 seizures in a study with 38 patients, and Rommens et al. (2018) reported a 19.7% of missed seizures by Encevis EpiScan and BESA Epilepsy in a sample of 115 patients with 188 recorded seizures.

Selectivity

The high sensitivity and excellent seizure detection rate were accompanied by a low false alarm rate. Working with our original dataset, the average FAR of our detection algorithm was of 0.14 events per hour (that is, less than four per day), which is in the range of the lowest FAR reported in the technical literature (Baumgartner and Koren, 2018). Just as high detection rate is required for a truly automated detection process, a low FAR is essential to minimize the clinical burden required for verifying the alarm and, potentially, act on it. The integration of several features of the time series in the detection algorithm allows to faithfully classify windows of short duration, which is critical to recognize chewing and EMG artifacts without data manipulations or ad-hoc filtering. With only 100 observations (0.391 s) per window, our algorithm generates a comprehensive representation of brain activity, upon which to detect seizures. Chewing is a rhythmic artifact, which can be a potential confounder for seizures. By affording the analysis of small windows, we successfully discriminated between a continuous rhythmic ictal pattern and a discontinuous, although repetitive, chewing pattern. The EMG artifact, instead, has a wide spectral distribution that perturbs all the classic EEG bands. In particular, EMG considerably overlaps with beta activity in the 15–30 Hz range but may be as low as 2 Hz (similar to chewing), making the widely used alpha band also vulnerable to muscle artifacts (de Cheveigné and Nelken, 2019). Previous automated seizure detection algorithms involve high and low band pass filters (Baumgartner and Koren 2018), which can lead to a loss of information. Our algorithm analyzes brain activity without succumbing to the need of artifact removal methods or, more importantly, filtering (Islam et al., 2016; Urigüen and Garcia-Zapirain, 2015)

Benchmarking on publicly available datasets

The majority of automated seizure detection algorithms was tested on the intracranial dataset on adults by the University of Bonn (Andrzejak et al., 2001), scalp EEG data from children by the Massachusetts Institute of Technology (Fergus et al., 2015; Bomela et al., 2020), and, to a lesser extent, scalp data from adults from Temple University Hospital (Shah et al., 2018; Obeid and Picone, 2018). It is generally recognized that EEG signals differ with age (Sheth, 2019), therefore it can be difficult to extrapolate the results obtained in a children's dataset to an adult population. Hence, we benchmarked our approach against datasets from the University of Bonn and Temple University Hospital. We demonstrated comparable or even superior performance to other methods on publicly available datasets, with the very same parameters utilized in the earlier implementation of the algorithm on our original dataset. Specifically, we analyzed five subsets of intracranial recordings from the University of Bonn dataset (Z, O, N, and F, against S) and scalp recordings from 13 patients from the Temple University Hospital Seizure Corpus. Predictably, for the intracranial dataset, our algorithm performs even better than on our original dataset, reaching a sensitivity of approximately 94%, a specificity of 98%, accuracy of 97%, and no false alarms. This performance compares very well with existing methodologies (Tiwari et al., 2017; Samiee et al., 2015; Diykh et al., 2017; Li et al., 2018), which require data preprocessing for artifact removal, in the form of Gaussian or band-pass filters. With respect to the dataset by Temple University Hospital, we report sensitivity, specificity, and accuracy close to 87% and 0.14 false alarms per hour. These performance values are highly comparable to those attained during the analysis of our dataset, thereby supporting the robustness and reliability of our algorithm in the detection of seizures from LEM scalp recordings. Compared with other algorithms that were benchmarked against this dataset (Ayodele et al., 2020; Golmohammadi et al., 2017; Raghu et al., 2020) our approach offers the best false alarm rate and its sensitivity, specificity, and accuracy are in line with the best available methods. Once again, in contrast with the literature, our algorithm does not require data preprocessing, thereby favoring real-time applications. Existing methods are typically tailored to a specific set of scalp or intracranial recordings, characterized by its own unique features. The ability to successfully detect seizures across three different datasets, spanning intracranial and scalp recordings, is a key strength of our algorithm. Importantly, this is achieved without any parameter tuning, whereby the same window length, proximity parameter, and embedding dimension are used across all datasets. In general, we recommend the validation of new methods to mirror a similar approach, without exclusively focusing on one database over another. Prudence is particularly warranted when working with the popular database from the University of Bonn, where artifacts are virtually nonexistent and only selected segments of ictal activity are included. It is tenable that validation on this single dataset may lead to high sensitivity, but it ultimately results in an unacceptably high number of false alarms in clinical practice that uses scalp data.

A step forward in the state-of-the-art on automated seizure detection

The introduction of -symbolic recurrence in combination with other complexity measures, associated with fractal dimension and Poincaré plot, holds promise in automated seizure detection. Although classical, -recurrence analysis has been pursued in previous studies on epilepsy (Acharya et al., 2011), its application suffers from two main limitations. First, measurement noise can add arbitrariness to the analysis, by challenging the selection of the -neighborhood that must be chosen to balance between the need to minimize the effect of measurement noise in LEM recordings and the need to detect the seizure. Second, all recurrences are equivalently treated, without bookkeeping details about the local pattern of the LEM recording, which can be informative of the seizure. A symbolic analysis can address both these issues by examining each LEM recording as a sequence of symbols, which robustly encode information about the local pattern. However, a symbolic approach alone (Caballero-Pintado et al., 2018) can create shortcuts in the recurrence analysis that could mask the inference of brain activity from EEG data. Assessing recurrence with both the symbolic approach and traditional -neighborhood obviates this shortcoming, leading to meaningful network representations of brain activity. The notion of -symbolic recurrence is a contribution of this study. Other seizure detection algorithms, based on a continuous representation of the EEG recordings, need to renounce part of the data in the interest of gaining accuracy (Meier et al., 2008; Kelly et al., 2010; Hartmann et al., 2011). Anchoring our approach in asymbolic representation of the dataset mitigates this need, whereby our algorithm works on a complete dataset. Converting the huge amount of information encoded in an EEG epoch into a coarse grain representation is similar to what epileptologists routinely do through visual inspection (Petras et al., 2019). Human brain can recognize a rhythmic activity hiding below mild EMG or chewing artifact, due to our ability to extract important information from noisy environments (DiCarlo et al., 2012). Our algorithm mirrors this very step through sequence of symbols that encapsulate salient dynamics of EEG signals, without confounds from measurement noise. Upon -symbolic recurrence, we can construct colored network representations that could assist in the visualization of epileptic seizures by epileptologists. Nodes in the network are associated with the time instants in the recording, links correspond to recurrence, and the coloring labels the specific recurrent pattern. By monitoring the density of the links in the network and their color, the epileptologist could visualize the brain activity during a seizure, which will progressively destroy the links in the network. Ultimately, it is possible to witness how the seizure starts, organizes, and ends, only by inspecting images. To the best of our knowledge, none of the current systems offers such a transparent visual aid to the study of seizures. Although digital EEG trend analysis and quantitative EEG with color-coded graphs have been performed in intensive care monitoring for seizure and status epilepticus detection, they are not easy to interpret and have relatively low sensitivity (Haider et al., 2016). A visual aid, easier to “read” than EEG graphoelements, could be of great help to avoid misinterpretations and eventual disagreements between electroencephalographers. In addition, complexity measures such as Katz's fractal dimension contribute to seizure recognition by scoring the regularity and divergence of signals (Litt and Echauz, 2002), which are indicators of rhythmic patterns (Wang et al., 2013). Even though features based on Poincaré maps are not commonly part of the toolbox of seizure detection algorithms, they offer valuable insight into brain activity that was included in our approach. Recently, Kusmakar et al. (2017) reported on the successful use of Poincaré plots in seizure detection through accelerometry, but their successful use on LEM recordings was yet to be demonstrated. Sustained variations in the local growth of the time series are often seen as a hallmark of ictal activity, mostly in focal seizures, thereby providing a plausible explanation for the remarkable performance of features based on Poincaré maps in our method. Overall, this array of dynamic features offered a rich representation of brain activity during seizures, on which the RUSBoost algorithm was successful in performing classification. Although previous studies have documented the successful use of black-box classifiers, such as support vector machine (SVM) or K-nearest neighbors (KNN) (Baumgartner and Koren, 2018), the unique nature of LEM recordings called for an alternative approach. Not only are these EEG epochs high dimensional but also they are characterized by an imbalanced distribution, with very few windows containing seizures and the vast majority pertaining to non-ictal activity. The RUSBoost algorithm is a hybrid approach that uses a combination of sampling and boosting, whereby it performs random undersampling of the majority class before building an ensemble of classifiers (Seiffert et al., 2009). RUSBoost algorithm has been successfully used for sleep apnea detection in polysomnography (Veauthier et al., 2019), and recent studies offer further backing to its use in seizure detection, through direct comparison with black-box classifiers (SVM or KNN) (Solaija et al., 2018).

Limitations of the study

Our study has several limitations. First, we analyzed a small sample of patients, as the study was designed in a proof-of-concept fashion. Some measures and methods implemented in our algorithm had never been used in seizure detection, thereby calling for further testing before transition to a larger dataset—our next step. Although working with a small group of patients, we avoided overfitting by utilizing 5-fold cross-validation, a well-known method that overcomes small dataset limitations and provides accurate estimations regarding performance (Abbasi and Goldenholz, 2019). Second, we only included focal seizures in training and testing. Adding generalized seizures in such a small database would have confounded the detection algorithm instead of reaching a satisfying training. Now that the algorithm performance has been validated in the study of focal seizures, we intend to broaden the spectrum to other types of ictal events, as well as a larger range of epileptic syndromes. Finally, although a single-channel-based approach similar to ours is widely accepted (Baumgartner and Koren 2018), it is prone to some unavoidable artifacts, especially in a common average montage, such as electrode artifacts. This class of artifacts was entirely responsible for the very small number of false alarms in our study; we believe that the combination of different montages would resolve this issue. In forthcoming efforts, we intend to generate a universal multi-classifier to distinguish between focal and generalized seizures (developing phase). By adding interactions between channels to the analysis and including different montages, we could tackle propagation and synchronization in seizure evolution. By expanding on our -symbolic approach, we foresee the possibility of creating global recurrence network of the epileptogenic zone, which could empower automated diagnosis and help elucidate how epileptic brain works.

Resource availability

Lead contact

Further information and requests for resources should be directed to and will be fulfilled by the Lead Contact, Irene Villegas (irene.villegas@carm.es).

Materials availability

This study did not generate new materials associated to this paper.

Data and code availability

The automated detection algorithm is available for download at https://github.com/ManuelRuizMarin/Classification-Algorithm. Datasets are stored at the I.V.M.’s home institution and could be provided upon request.

Methods

All methods can be found in the accompanying Transparent Methods supplemental file.
  54 in total

1.  Assessment of a scalp EEG-based automated seizure detection system.

Authors:  K M Kelly; D S Shiau; R T Kern; J H Chien; M C K Yang; K A Yandora; J P Valeriano; J J Halford; J C Sackellares
Journal:  Clin Neurophysiol       Date:  2010-05-14       Impact factor: 3.708

Review 2.  EEG artifact removal-state-of-the-art and guidelines.

Authors:  Jose Antonio Urigüen; Begoña Garcia-Zapirain
Journal:  J Neural Eng       Date:  2015-04-02       Impact factor: 5.379

Review 3.  Methods for artifact detection and removal from scalp EEG: A review.

Authors:  Md Kafiul Islam; Amir Rastegarnia; Zhi Yang
Journal:  Neurophysiol Clin       Date:  2016-10-15       Impact factor: 3.734

Review 4.  An extensive review on development of EEG-based computer-aided diagnosis systems for epilepsy detection.

Authors:  Jagriti Saini; Maitreyee Dutta
Journal:  Network       Date:  2017-05-24       Impact factor: 1.273

5.  Prospective multi-center study of an automatic online seizure detection system for epilepsy monitoring units.

Authors:  F Fürbass; P Ossenblok; M Hartmann; H Perko; A M Skupch; G Lindinger; L Elezi; E Pataraia; A J Colon; C Baumgartner; T Kluge
Journal:  Clin Neurophysiol       Date:  2014-10-02       Impact factor: 3.708

6.  Definition of drug resistant epilepsy: consensus proposal by the ad hoc Task Force of the ILAE Commission on Therapeutic Strategies.

Authors:  Patrick Kwan; Alexis Arzimanoglou; Anne T Berg; Martin J Brodie; W Allen Hauser; Gary Mathern; Solomon L Moshé; Emilio Perucca; Samuel Wiebe; Jacqueline French
Journal:  Epilepsia       Date:  2009-11-03       Impact factor: 5.864

7.  Detecting epileptic seizures in long-term human EEG: a new approach to automatic online and real-time detection and classification of polymorphic seizure patterns.

Authors:  Ralph Meier; Heike Dittrich; Andreas Schulze-Bonhage; Ad Aertsen
Journal:  J Clin Neurophysiol       Date:  2008-06       Impact factor: 2.177

8.  Seizure detection: correlation of human experts.

Authors:  Scott B Wilson; Mark L Scheuer; Cheryl Plummer; Bryan Young; Steve Pacia
Journal:  Clin Neurophysiol       Date:  2003-11       Impact factor: 3.708

9.  Automatic epileptic seizure detection using scalp EEG and advanced artificial intelligence techniques.

Authors:  Paul Fergus; David Hignett; Abir Hussain; Dhiya Al-Jumeily; Khaled Abdel-Aziz
Journal:  Biomed Res Int       Date:  2015-01-29       Impact factor: 3.411

10.  Detection of epileptic seizure based on entropy analysis of short-term EEG.

Authors:  Peng Li; Chandan Karmakar; John Yearwood; Svetha Venkatesh; Marimuthu Palaniswami; Changchun Liu
Journal:  PLoS One       Date:  2018-03-15       Impact factor: 3.240

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.