| Literature DB >> 35271005 |
Ravi Ambati1, Shanker Raja2, Majed Al-Hameed2, Titus John1, Youness Arjoune1, Raj Shekhar1.
Abstract
Epileptic focal seizures can be localized in the brain using tracer injections during or immediately after the incidence of a seizure. A real-time automated seizure detection system with minimal latency can help time the injection properly to find the seizure origin accurately. Reliable real-time seizure detection systems have not been clinically reported yet. We developed an anomaly detection-based automated seizure detection system, using scalp-electroencephalogram (EEG) data, which can be trained using a few seizure sessions, and implemented it on commercially available hardware with parallel, neuromorphic architecture-the NeuroStack. We extracted nonlinear, statistical, and discrete wavelet decomposition features, and we developed a graphical user interface and traditional feature selection methods to select the most discriminative features. We investigated Reduced Coulomb Energy (RCE) networks and K-Nearest Neighbors (k-NN) for its several advantages, such as fast learning no local minima problem. We obtained a maximum sensitivity of 91.14%±1.77% and a specificity of 98.77%±0.57% with 5 s epoch duration. The system's latency was 12 s, which is within most seizure event windows, which last for an average duration of 60 s. Our results showed that the CD feature consumes large computation resources and excluding it can reduce the latency to 3.6 s but at the cost of lower performance 80% sensitivity and 97% specificity. We demonstrated that the proposed methodology achieves a high specificity and an acceptable sensitivity within a short delay. Our results indicated also that individual-based RCE are superior to population-based RCE. The proposed RCE networks has been compared to SVM and ANN as a baseline for comparison as they are the most common machine learning seizure detection methods. SVM and ANN-based systems were trained on the same data as RCE and K-NN with features optimized specifically for them. RCE nets are superior to SVM and ANN. The proposed model also achieves comparable performance to the state-of-the-art deep learning techniques while not requiring a sizeable database, which is often expensive to build. These numbers indicate that the system is viable as a trigger mechanism for tracer injection.Entities:
Keywords: anomaly detection; correlation dimension; discrete wavelet-decomposition; electroencephalogram; machine learning; neuromorphic computing; sample entropy; seizure detection
Mesh:
Year: 2022 PMID: 35271005 PMCID: PMC8914704 DOI: 10.3390/s22051852
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
State-of-the-art seizure detection techniques.
| Seizure Detection Approach | Model | Structure | Metrics | Comments |
|---|---|---|---|---|
| Support Vector Machine [ | Selective Search Algorithm + SVM/ Genetic algorithm + SVM | Achieves an accuracy of 99% | Method explored double-density discrete wavelet transform (DD-DWT); designing GA objective function can be difficult | |
| Random Forest [ | Random Forest + grid search | Achieves true probability of serious epilepsy 98% | Grid search takes a large amount of training time to traverse all the grid parameters | |
| Machine Learning | K-Neighrest Neighbor and Genetic Algorithms [ | Hilbert transform | The average accuracy of our proposed scheme is as high as 91.33% | No latency reported |
| Neural Networks [ | multilayer perceptron neural network with single hidden layer of 10 neurons | Yields sensitivity, specificity, and a false detection rate of 97.1%, 97.8%, and 1 h | The method is not fully automated | |
| ANN+SVM [ | 5-level Db4 discrete wavelet transform, GA-based feature selection and ANN/SVM classifiers | Achieves | No latency reported | |
| Unsupervised ML | XGBoost [ | 4597 EEG files train, 1013 EEGs validation, and 1026 EEG files test | XGBoost-based method achieved sensitivity and false alarm/24 h of 20.00% and 15.59, respectively, in the test set | XGBoost has the potential of improvement, but requires adding more training data |
| 2D-CNN [ | 2D deep CNN architecture | Specificity of 90% | ||
| VGGNet [ | Lightweight VGGNet trained on Global MIC | Achieves a sensitivity and Specificity of 90% | Require a sizable dataset | |
| Deep Learning | Deep Learning +LSTM [ | CNN | Achieves sensitivity and specificity of 98% | |
| CNN [ | CNN | Achieves sensitivity and specificity of 64.96% | Accuracies of time domain signals are significantly decreased compared to frequency domain signals | |
| Wavelet-Based Method | Wavelet-based [ | Wavelet Transform + SVM | Achieves a sensitivity of 94.46% and a specificity of 95.26% with a false detection rate of 0.58/h | None |
| Wavelet + SVM [ | Wavelet + SVM | A specificity of 100%, sensitivity of 97.2% and an accuracy of 98.6% were obtained. | None | |
| Non-ML methods | ICON Method [ | Inferring connection networks used with CHB-MIT scalp EEG database ( | Sensitivity of 93.6% and false positive rate of 0.16 per hour | Method is hard to generalize |
Figure 1Distribution of (top) EEG sessions and (bottom) seizure duration (in tens of seconds) per session among all individuals.
Figure 2Training and testing pipeline.
Coefficients of signals obtained from six levels of discrete wavelet decomposition and the frequency range represented by each set of coefficients.
| Coefficients | Frequency Range (Hz) |
|---|---|
| 1st level detail (D1) | [125, 250] |
| 2nd level detail (D2) | [62.5, 125] |
| 3rd level detail (D3) | [31.25, 62.5] |
| 4th level detail (D4) | [15.625, 31.25] |
| 5th level detail (D5) | [7.8125, 15.625] |
| 6th level detail (D6) | [3.90625, 7.8125] |
| 6th level approximation (A6) | [0, 3.90625] |
Figure 3Features as visualized by epoch viewer tool. The plots in the top row correspond to seizures and the bottom row plots correspond to normal data. It can be seen that the second feature does not vary much between seizures and normal data. The behavior persisted across different session and individuals, and therefore the second feature was removed from consideration.
Figure 4Evolution of the decision space for k-NN network with . All the input examples are saved in memory and the decision space is determined by the k-nearest neighbors.
Figure 5Evolution of the decision space for an RCE network with distance measure in 2-D space. Note how the decision space is divide into three regions and how it is modified with the presence of a different class nearby.
Figure 6Feature importance calculated using chi-squared, mutual information, and ANOVA F-Value from left to right. The columns represent the relative importance of features for each patient. The importance is represented on a scale from green to red, green being the most important and red the least important.
Composition of different feature sets.
| Feature Set | Composition |
|---|---|
| ANOVA-F | |
| Chi-squared | RMS (D4, D3, D2), MA (D4, D3, D2, D1) |
| SVM RFE | |
| k-NN RFE | |
| RCE RFE |
Performance of RCE network with different “Unknown” resolution strategies.
| Resolution Strategy | Sensitivity (%) | Specificity (%) |
|---|---|---|
| Assign to Seizure class | 88.59 ± 7.23 | 69.18 ± 15.78 |
| Assign to Normal class | 66.23 ± 17.09 | 91.51 ± 9.47 |
| Use population k-NN | 80.16 ± 4.50 | 97.17 ± 1.02 |
Performance (sensitivity/specificity) of k-NN and RCE networks for a different number of nearest neighbors (k).
| # Nearest Neighbors ( | k-NN | RCE |
|---|---|---|
| 1 | 57.56/84.65 | 80.16/97.17 |
| 2 | 57.56/84.65 | 80.16/97.17 |
| 3 | 45.46/91.06 | 77.91/97.20 |
| 4 | 47.60/90.95 | 80.44/97.43 |
| 5 | 37.86/92.13 | 80.15/96.99 |
| 6 | 40.12/91.81 | 81.61/97.22 |
| 7 | 31.85/94.58 | 79.59/97.30 |
Comparison of single and two-stage SVM and ANN classifiers with the SVM RFE feature set.
| Type | Sensitivity (%) | Specificity (%) |
|---|---|---|
| Single-stage SVM | 90.90 ± 8.09 | 78.03 ± 12.82 |
| Two-stage SVM | 80.17 ± 10.91 | 93.03 ± 2.91 |
| Single-stage ANN | 60.60 ± 20.78 | 85.90 ± 18.08 |
| Two-stage ANN | 88.62 ± 10.90 | 81.41 ± 16.78 |
Comparison of single and two-stage SVM and ANN classifiers with SVM RFE feature set (metric format: Sensitivity (%)/Specificity (%)).
| Feature Set | SVM | ANN | k-NN | RCE |
|---|---|---|---|---|
| ANOVA | 78.56/93.28 | 90.97/78.90 | 54.81/72.27 | 74.32/98.38 |
| Chi-sq | 85.68/81.64 | 90.18/80.75 | 48.15/77.74 | 76.14/95.16 |
| SVM RFE | 80.17/93.03 | 88.62/81.47 | 54.05/73.79 | 75.47/96.03 |
| k-NN RFE | 85.44/81.93 | 76.77/82.20 | 57.56/84.65 | 74.20/88.32 |
| RCE RFE | 87.94/82.36 | 85.22/75.51 | 55.47/70.36 | 80.16/97.17 |
Figure 7Performance of the RCE system with incremental feature vector sizes, starting with the most important features. Only 16 channels were used so the feature vector did not exceed 256 bytes.
Performance (sensitivity/specificity rounded to the nearest integer) of different classifiers with varying number of EEG sessions used for training.
| # Training Sessions | SVM | ANN | k-NN | RCE |
|---|---|---|---|---|
| 1 | 52/93 | 45/79 | 55/71 | 75/89 |
| 2 | 70/88 | 72/77 | 53/80 | 77/93 |
|
| 80/93 | 89/81 | 58/85 | 80/97 |
Performance of individual-based RCE classifier system (over a subset of individuals) for different epoch durations.
| Epoch Duration (s) | Sensitivity (%) | Specificity (%) |
|---|---|---|
| 1 | 79.78 ± 1.05 | 97.16 ± 0.30 |
| 2 | 80.44 ± 1.34 | 97.32 ± 0.38 |
| 3 | 81.32 ± 1.83 | 97.25 ± 0.47 |
| 4 | 83.11 ± 1.97 | 97.62 ± 0.57 |
| 5 | 91.14 ± 1.77 | 98.77 ± 0.57 |
| 6 | 87.34 ± 2.61 | 98.08 ± 0.64 |
| 7 | 86.25 ± 1.90 | 97.33 ± 0.81 |
Optimal performance of different classifiers with individual- and population-based training.
| System | Sensitivity (%) | Specificity (%) |
|---|---|---|
| Individual-based RCE | 80.16 ± 4.50 | 97.17 ± 1.02 |
| Individual-based k-NN | 57.56 ± 16.46 | 84.65 ± 14.60 |
| Individual-based ANN | 88.62 ± 10.90 | 81.41 ± 16.78 |
| Individual-based SVM | 80.17 ± 10.91 | 93.03 ± 2.91 |
| Population-based RCE | 42.89 ± 38.80 | 86.70 ± 12.55 |
| Population-based k-NN | 61.73 ± 23.09 | 67.44 ± 23.52 |
| Population-based ANN | 81.42 ± 6.69 | 32.57 ± 19.49 |
| Population-based SVM | 66.27 ± 32.44 | 72.70 ± 22.18 |
Performance comparison between the state of the art techniques and proposed methods.
| Methods | Approach | Sensitivity (%) | Specificity(%) | Accuracy (%) | Delay (s) |
|---|---|---|---|---|---|
| [ | ML | NA | NA | 93.82 | N/A |
| [ | DL + LSTM | 98.72 | 98.86 | 98.79 | N/A |
| [ | 2D CNN | 90.0 | 91.05 | 98.05 | N/A |
| Proposed Method 1 | RCE with multi-features | 91.14 | 98.77 | - | 11 s |
| Proposed Method 2 | RCE-without | 80.116 | 97.17 | - | 3.6 s |