- 1School of Computer Science and Technology, Shandong Jianzhu University, Jinan, China
- 2School of Mathematics Science, Liaocheng University, Liaocheng, China
- 3School of Information, Yancheng Institute of Technology, Yancheng, China
There are increasing epilepsy patients suffering from the pain of seizure onsets, and effective prediction of seizures could improve their quality of life. To obtain high sensitivity for epileptic seizure prediction, current studies generally need complex feature extraction operations, which heavily depends on the artificial experience (or domain knowledge) and is highly subjective. To address these issues, in this paper we propose an end-to-end epileptic seizure prediction approach based on the long short-term memory network (LSTM). In the new method, only the gamma band of raw electroencephalography (EEG) signals is extracted as network input directly for seizure prediction, thus avoiding subjective and expensive feature design process. Despite its simplicity, the proposed method achieves the mean sensitivity of 91.76% and false prediction rate (FPR) of 0.29/h on Children’s Hospital Boston-MIT (CHB-MIT) scalp EEG Database, respectively, when identifying the preictal stage from the EEG signals. Furthermore, different from traditional methods that only consider the classification of preictal and interictal EEG, we introduce the postictal stage as an extra class in the proposed method. As a result, the performance of seizure prediction is further improved, obtaining a higher sensitivity of 92.17% and a low FPR of 0.27/h. The mean warning time is 44.46 min, which suggests that sufficient time is reserved for patients to take intervention measures by this prediction method.
1. Introduction
Epilepsy is a kind of chronic disease caused by the transient abnormal discharge of brain neurons, which leads to temporary brain dysfunction (Jordans et al., 2017). The epileptic seizures are long-term recurrent and unexpected, which could seriously damage the physical and mental health of patients. There are four main stages of an epileptic seizure, including preictal, ictal, postictal, and interictal period. Normally, patients are in the interictal state, from which if preictal phase could be identified, an imminent seizure may be avoided by medical treatment (Usman et al., 2019; Maimaiti et al., 2022).
Electroencephalography (EEG) is an important diagnostic indicator for epileptic seizures, but it is difficult to observe a significant change before a sudden onset of epilepsy from EEG signals. Therefore, the current prediction algorithms mainly focused on classification of preictal EEG and interictal EEG. It is found that EEG tends to exhibit some kinds of complex and patient-specific patterns before seizures (Herkes et al., 1993; Mormann et al., 2007). In time domain, significant differences of some statistical measures such as variance, skewness and kurtosis between preictal EEG and interictal EEG have been reported in several seizure prediction studies (Mormann et al., 2005; Aarabi et al., 2009). In the frequency domain, EEG spectral band power has been proved to be effective in classification, and has been successfully applied in prediction. In addition, connectivity measures of functional brain network based on graph theory (Rubinov and Sporns, 2010; Tsiouris et al., 2018), and some non-linear dynamical parameters such as correlation dimension (Lehnertz et al., 2001), dynamic similarity index (Quyen et al., 1999), correlation entropy and Lyapunov exponent were also extracted as features (Aarabi and He, 2017; Xu et al., 2022). However, some features have high computational complexity and lack of reproducibility and reliability (Mormann et al., 2005; Elger and Lehnertz, 2007; Assi et al., 2017; Sánchez-Hernández et al., 2022; Assali et al., 2023). Furthermore, the accuracy of these prediction algorithms needs to be improved. Usman et al. concluded that Support Vector Machines (SVM) and Convolutional Neural Networks (CNN) achieved better classification performance by comparing the results of seizure prediction approaches proposed before 2019 (Usman et al., 2019). As a popular deep learning algorithm, CNN, improved CNN and Gashis-transformer are designed for image processing (Chen et al., 2021; Zhang et al., 2021; Li et al., 2022). However, it fails to directly deal with EEG signals that are non-linear and non-stationary time series. Therefore, Truong et al. (2018) converted EEG into time-frequency graph by Short-Time Fourier Transform (STFT) as the input of CNN and obtained a sensitivity of 81.4%. CNN in this approach, however, only learns time-frequency information of EEG, which could not fully describe preictal and interictal EEG patterns. Recently, another deep learning model Long Short-Term Memory (LSTM) network has started to attract attention in seizure prediction. Because LSTM is superior in processing temporal information of brain activity, Tsiouris et al. (2018) input 643 commonly used EEG features into a LSTM network for prediction and reached 99.63% sensitivity when 1-h preictal window was used. However, deep neural networks applied in seizure prediction, regardless of CNN or LSTM, mainly play a role in classifier. If the features of preictal patterns could not be comprehensively extracted, the classification performance will be affected.
In addition, current prediction algorithms, which mainly focused on classification of preictal EEG and interictal EEG, ignored the analysis of postictal EEG. Postictal phase is a transitional period in which the brain returns to an interictal state from a seizure and it is different from the interictal phase (Büyükakr et al., 2020). Unfortunately, there is no general criterion for dividing the preictal, interictal, and postictal phase. If the postictal period is predefined for a short time, the next period of EEG may be classified as preictal state by current binary classification algorithms, which will cause false alarm in practical application. If the specified time period of postictal phase is too long, the next incoming epileptic seizure may be ignored. Consequently, the identification of a postictal state also needs to be taken into account for the prediction method. Teixeira C. et al. (2014) and Bandarabadi et al. (2015) took two classes (preictal and non-preictal period) into account for seizure prediction. Specifically, non-preictal period includes ictal, postictal, and interictal states. Furthermore, their research also considered four classes (preictal, ictal, postictal, and interictal period) to predict seizures (Teixeira C. A. et al., 2014; Direito et al., 2017). These are more reasonable than using only preictal and interictal periods.
In this paper, the filtered EEG signals are directly input into LSTM to learn deep features, which results in an end-to-end seizure prediction approach. It could not only preserve the epileptic-related information in EEG signals as much as possible, but also reduce the complexity of the manual feature extraction/design. Moreover, the identification of postictal state is taken into account in this study. Despite its simplicity, the proposed method tends to achieve encouraging performance in seizure prediction.
The remainder of the work is organized as follows. In section “2. Materials and methods,” we introduce the information of database used in this paper and the proposed scheme, respectively. In addition, performance evaluation and seizure prediction are shown in this section. In section “3. Results,” we present experiments results. In section “4. Discussion,” we discuss different seizure prediction methods in the same data set. Finally, we conclude this paper in section “5. Conclusion.”
2. Materials and methods
2.1. EEG dataset
The Children’s Hospital Boston-MIT (CHB-MIT) scalp EEG Database (Shoeb, 2010) is the only open dataset with long-term continuous scalp EEG recordings which have been applied by many studies for evaluation of seizure prediction algorithms (Zandi et al., 2010; Myers et al., 2016; Khan et al., 2017; Detti et al., 2018; Usman et al., 2021). The EEG data were collected from 22 pediatric subjects including 5 males and 17 females. All EEG signals were sampled at the rate of 256 Hz and most of them were recorded by 23 electrodes with bipolar montage according to International 10–20 System. The start and end time of each seizure were manually annotated by clinical experts with visual inspection. More detailed description could be found on www.physionet.org.
Some seizures which are very close in time were excluded, because this study only focuses on prediction of leading seizures that occur more than 60 min after the previous seizure. There is no gold standard for defining the length of four stages (preictal, ictal, postictal, and interictal stage). In order to avoid any potential contamination between interictal and preictal EEG signals, interictal EEG recordings are selected from at least 5 h after an epileptic seizure and 3 h before the next seizure. The preictal period covered 1 h prior to each leading seizure. Ictal state is annotated by clinical experts. The period within 1 h after the ictal phase is defined as a postictal phase. Based on these considerations and definitions, 13 patients have sufficient data for analysis of preictal and interictal state, which are shown in Table 1. Sufficient postictal EEG could only be obtained from 7 out of the 13 subjects.
2.2. Methods
2.2.1. Pre-processing
All the raw EEG signals are split into samples by a 5-s time window without any overlap. In order to test the minimum time prediction window (MTPW), EEG data is also segmented by a variable window with the length varies from 5 to 150 s (i.e., the number of samples included in each segment is the window length divided by five.). Samples containing significant EMG interference were directly removed. Five standard EEG frequency bands [i.e., δ (0-4 Hz), θ (4-8 Hz), α (8-13 Hz), β (13-30 Hz), and γ (30-128 Hz)] were extracted by finite impulse response (FIR) band-pass filter.
2.2.2. Classification
The filtered EEG data of each frequency band is directly input into LSTM for seizure prediction. First, we only consider the preictal and interictal EEG as previous studies that also use the CHB-MIT dataset, so that we can compare their prediction performance easily. Then, the postictal period, as the third class, is included in the classification task to predict seizures. Both the binary and multiple classification tasks use the same method framework, as shown in Figure 1.
As aforementioned, we utilize LSTM model to classify considering its advantage in memory function. Concretely, as a modified Recurrent Neural Network (RNN), LSTM solves the problems of gradient explosion, gradient vanishing and the long-term dependence to some extent by introducing gate mechanism (input gate, forget gate and output gate) and cell state (Malhotra et al., 2015; Hefron et al., 2017). The forget gate determines how much of the information stored in the previous cell state needs to be deleted. The input gate decides what new information is stored in current cell state. The output gate determines what information is to be output from the cell state. The transmission of information across the cell state that contains long-term and short-term memory allows the LSTM to learn about the temporal dependence of the sequence.
The LSTM network architecture is shown in Figure 1. It is constructed with input layer, LSTM layer, dropout layer, fully connected layer, SoftMax layer and classification layer. The size of the input layer is 1280 × 23 (i.e., the length of EEG sequence × the number of channels), and the LSTM layer is composed of 128 memory units. The dropout layer inserted after LSTM with the probability of 0.5 is used to prevent overfitting and accelerate the training speed. The output size of a fully connected layer depends on the number of classes.
The data of each subject was divided into two parts. The first part, containing the first two seizures was used for the training set in order to optimize the parameters of the classifiers. The second part including the remaining seizures was used as the testing set. It is noted that the training aims to simulate a real-world situation where a predictor has to be developed based on the first two seizures in clinic environment. However, epileptic seizures can cause certain damage to the brain, which leads to the basic state of the pre-epileptic interictal phase and the post-epileptic interictal phase are different. Therefore, using the preictal and interictal EEG signals of the first two seizures may not predict the subsequent seizures. The EEG signals of the preictal and postictal state have certain similarity. Therefore, postictal state can be used as a new baseline for subsequent seizures. That is, the interictal and postictal state of the first two seizures can be used to predict subsequent seizures.
Due to the amount of interictal EEG is much larger than that of preictal EEG and postictal EEG, we randomly select samples from the interictal class with the same number as preictal or postictal samples, which mitigates the class imbalance problem. Since the available data is limited for deep learning, a 10-fold cross validation strategy was adopted during training to prevent the LSTM model from overfitting. Ten percent of the training data is randomly selected as a validation set to monitor the training process.
2.2.3. Performance evaluation and seizure prediction
In order to demonstrate the performance of this prediction method more comprehensively, results are provided by two ways described as follows.
2.2.3.1. Segment-based evaluation
All EEG samples for each subject are put together to test the performance of this prediction algorithm by using a 10-fold cross validation. Specifically, under optimal performance conditions, a segment would be predicted as preictal EEG if over half of the number of samples in this segment were classified as preictal in the classification of preictal and interictal EEG. Similarly, if more than 1/3 of the samples in a segment are identified as preictal when using the classification of preictal, postictal and interictal EEG, it is considered to be from the preictal phase.
For the classification of preictal and interictal EEG, the measures for evaluating seizure prediction performance are sensitivity and specificity which are defined by equation (1) and (2). The true positive (TP) is the number of correctly classified preictal segments, and true negative (TN) is the number of true interictal segments that are identified by classifier. Similarly, FP is false positive which is the number of EEG segments that are incorrectly identified as preictal segments and false negative (FN) is the number of preictal class predicted as interictal class. For multi-classification, the true positive rate (TPR) of each class is used as evaluation index.
2.2.3.2. Event-based evaluation and seizure prediction
Considering the limited seizures for each subject, we used leave-one-out cross-validation. Concretely, if the subject had N seizures, the (N − 1)seizures would be used for training and the remaining one would be used for testing. This round is done N times, and the final result of this subject is the average of N times. To improve the reliability of the prediction, a prediction window of 10 min was applied. According to experiential knowledge, if more than 70% of EEG samples during 10 min continuous recordings are identified as preictal, the warning alarm would be raised (Truong et al., 2018; Wei et al., 2019). The indexes used in this study are seizure occurrence period (SOP) and seizure prediction horizon (SPH) proposed by Maiwald et al. (2004) (see Figure 2). SPH is a predefined interval between the first alarm and the incoming seizure, which is also a period reserved for patients to take intervention measures. SOP is the period during which a seizure is expected to occur. Therefore, for a correct prediction, seizure would not occur during the SPH and must occur within the SOP. Otherwise, it’s a false alarm. There are no common criteria for the length of SOP and SPH, but the SPH should be long enough for intervention and the SOP should not be too long in case of patient’s anxiety. We also consider the sensitivity and specificity of the prediction algorithm at different time intervals to optimize the prediction accuracy and reduce false positives. So, we define the seizure prediction horizon (SPH) of 30 min and the seizure occurrence period (SOP) of 20 min to achieve better predictive performance.
Figure 2. Definition of the seizure occurrence period (SOP) and the seizure prediction horizon (SPH).
For event-based evaluation, sensitivity is defined as the number of correctly predicted seizures divided by the total number of seizures. False prediction rate (FPR) is quantified as the number of false alarms per hour. Warning time refers to the period of time before a seizure occurs when physiological changes in the nervous system reach a level that indicates a seizure may occur. In other words, the warning time is the interval between the first alarm and the incoming seizure onset.
To evaluate the statistical significance of the predictor, we also compare our seizure prediction performance with that of a random predictor. Given an FPR, the probability to raise an alarm in an SOP can be approximated by Schelter et al. (2006):
Therefore, the probability for predicting at least m of M independent seizures by chance is given as follows:
We calculate p for each subject using the FPR of that subject and the number of seizures (m) predicted by our method. If p is less than 0.05, we can conclude that our prediction method is significantly better than a random predictor at a significance level of 0.05.
3. Results
3.1. Classification of preictal and interictal EEG
3.1.1. Segment-based results
EEG samples of five frequency bands (δ, θ, α, β and γ) are input into LSTM, respectively, for seizure prediction. As is shown in Figure 3, the sensitivity and specificity of γ band is the highest, which indicates that it is more distinguishable between preictal state and interictal state in γband with this prediction method. Therefore, EEG signals in band γ were selected for prediction in this study.
The variation of mean sensitivity and mean specificity with increasing prediction window are shown in Figure 4 and the detailed results of each subject can be found in Table 2. It is illustrated that sensitivity and specificity are gradually improved with the increase of time window and reach a plateau after 120 s. Consequently, the MTPW of this prediction approach was 120 s under which the mean sensitivity could reach 100% and mean specificity was 98.38%.
3.1.2. Event-based results
For event-based evaluation, the proposed method achieved the sensitivity of 91.76% and FPR of 0.29/h on average, as presented by Table 3. Except for Subjects 10, 14, 20, the p-value indicates that our prediction method is significantly superior to a random predictor. For each patient, most seizures were successfully predicted and the warning time was more than 48 min. It indicated that there was enough time for patients to take intervention measures for the incoming seizure, because of the high sensitivity and timeliness of this approach.
3.2. Classification of preictal, interictal, and postictal EEG
In addition to preictal and interictal state, prediction method based on binary classification may be used in the postictal state when a seizure is failed to be predicted in practice, and the variation of event-based classification results with time after the ictal phase was tested. As is shown in Figure 5A, most of EEG samples in the first hour after ictal state (postictal state) are identified as preictal for 7 subjects, and then an increasing number of samples were classified as interictal with time. In four of the subjects (chb_01, chb_02, chb_05, and chb_10), more than 70% of the EEG samples on average were still identified as preictal in the third hour after the ictal phase. Accordingly, there would be many false alarms for a period after seizure onset.
Figure 5. (A) The variation of classification results with time after the ictal phase when LSTM was trained using only preictal and interictal EEG. The percentage of samples identified as preictal EEG for each subject was calculated with event-based classification. (B) The variation of classification results with time after the ictal phase when LSTM was trained using preictal, interictal and postictal EEG. The percentage of samples identified as preictal EEG for each subject was calculated with event-based classification.
For these reasons, a prediction method based on the classification of preictal, interictal and postictal EEG was proposed. The TPR of each class in segment-based evaluation with MTPW of 120 s and results of event-based evaluation are shown in Table 4. Except for Subject 1, it shows that our prediction method is significantly superior to a random predictor. The average TPR of preictal, interictal and postictal EEG were 98.64, 98.39, and 92.65%, respectively, which indicated that all three brain states could be identified by the proposed approach. The sensitivity for event-based evaluation was 92.17%, namely, almost all seizures could be correctly predicted with this method as well. Compared with results of the classification of preictal and interictal EEG, the number of EEG samples incorrectly predicted as preictal EEG decreases for all subjects after seizure onset, as displayed in Figure 5B. Meanwhile, FPR was 0.27/h (i.e., the average of chb_01, chb_02, chb_05, chb_07, chb_10, chb_22, and chb_23), and the mean warning time could achieve 44.46 min as well.
4. Discussion
As an important part of previous prediction algorithms, feature engineering is closely related to the accuracy of prediction. However, it is a challenging process of finding discriminative features for a preictal state from other seizure states. In our seizure prediction method, features are learned automatically by LSTM network instead of being searched manually. The two important network parameters, the number of memory units and dropout rate, have already been optimized by Tsiouris et al. (2018). It is verified that the classification accuracy improved with increasing number of memory units. Considering the limitations of computer hardware, the maximum number of memory units is chosen as 128. We have proved that dropout rate only has marginal effects on classification results within an appropriate range (<0.8) which is consisted with the results of Tsiouris et al. (2018). Although epileptic seizures have specific effects on different patients, the proposed method with optimized parameters could work well on all subjects, which indicates that the commonality of preictal EEG among all subjects is extracted and there is no need for specific parameter optimization in practical application. Significantly, postictal state is taken into account in this study, because the algorithm would be applied to postictal EEG if a seizure is failed to be predicted. Furthermore, the postictal period is specific for each patient, which could not be simply ignored by the prediction algorithm. The method presented in this study is easy to implement and has good reproducibility. It works well for the Children’s Hospital Boston-MIT EEG dataset.
For segment-based evaluation, the sensitivity of this prediction algorithm based on binary classification is the highest compared to previous studies, as shown in Table 2. Furthermore, the mean sensitivity and specificity could reach 97.55% and 94.29% even in 5 s prediction window and are improved to 100 and 98.38% with 120 s time window (see Table 2), which illustrates the good responsiveness of this method. For event-based evaluation, the sensitivity can reach 91.76% and the FPR is 0.29/h. When the testing set consists of interictal EEG and preictal EEG like other studies (Alotaiby et al., 2017; Truong et al., 2018; Tsiouris et al., 2018; Tang et al., 2020), the FPR can be reduced from 0.29/h to 0.27/h. As shown in Table 6, the performance of our method is better than that of most other studies. Concretely, the sensitivity of our proposed method is 10% higher than the approach presented by Truong et al. (2018). In addition, Tsiouris et al. (2018) achieved the best sensitivities for both segment-based and event-based evaluations. However, the parameters of LSTM were optimized for each subject, and authors also pointed out that the FPR could reach 0.14/h without LSTM architecture tuning individually. Additionally, it is controversial that the authors claimed EEG data from all subjects were applied, whereas 60 min of continuous preictal EEG before some seizures (non-leading seizures) could not be obtained from raw data. Similarly, Zhang and Parhi (2016) performed specific feature selection for each patient as well and had a low FPR of 0.05/h. These, however, require sufficient expertise and time to complete feature engineering when the predication methods are used for a new patient.
For clinical consideration, SPH should be long enough for patients to take measures to prevent the incoming seizures, while SOP should be as short as possible to relieve patients’ anxiety during waiting (Maiwald et al., 2004). In general, the warning time (i.e., the interval between the seizure and the warning alarm) must be long enough for intervention but not too long in case of anxiety. Some studies implicitly used the SPH of 0 min (i.e., if an alarm occurs during a preictal period, it is considered as a successful prediction), which could have overestimated the prediction performance. As shown in Table 3, the mean warning time of our method could reach 48 min, which means there is sufficient time for patients to take intervention measures. Furthermore, the time of alarm could be flexibly set according to the needs of patients in practical applications. For example, patients who are well cared for, could set a long prediction window to reduce anxiety and improve the reliability of prediction. Whereas, elderly patients who live alone with limited mobility should set a short prediction window to ensure adequate intervention time.
The prediction performance, to a certain extent, is improved by the classification of preictal, interictal, and postictal EEG prediction algorithm. In addition to all seizures being successfully predicted, FPR is also reduced. Because postictal EEG is involved in training, the number of postictal samples incorrectly predicted as preictal EEG decreases for all subjects, compared to the classification of preictal and interictal EEG algorithm (see Figure 5B). But the FPR of most subjects are higher in postictal period than interictal period. It suggests that there are certain similarities in gamma band between EEG modes before and after the same seizure. As illustrated in Figures 5A, B, the percentage of samples falsely identified as preictal EEG is high for subject chb_01, chb_05, and chb_10 in the first 3 h after seizures by using both prediction methods, hence it cannot exclude the possibility that the three patients may have a long recovery time after a seizure.
In some cases, such as a short interval between seizures, failing to predict or suppress the incoming seizure, postictal EEG would be included in the classification. Therefore, identification of postictal state needs to be taken into account. Meanwhile, as mentioned earlier, different subjects and even different seizures have specificity, it is necessary to carry out relevant research on adaptive division of different stages to predict seizures successfully. According to the comparison results of Tables 5, 6, LSTM deep learning is an effective technique for seizure prediction. CNN is typically used for image data, and SVM is typically used for classification tasks. LSTM is designed to overcome the vanishing gradient problem, which is a common issue in recurrent neural networks that can make it difficult to learn long-term dependencies in sequential data. In contrast, CNN and SVM are not designed specifically for sequential data, and may struggle to capture long-term dependencies. Since EEG data is long-term dependent data, LSTM-based prediction method is better than other methods. The prediction performance may be improved, if an adaptive extraction method for the interested frequency band could be introduced before input into LSTM, which could be another research direction in the future. In addition, due to the small number of subjects and seizures, only predictor development can be implemented on the CHB-MIT database. In order to meet the practical application requirements, we should refer to the proposal of Teixeira C. A. et al. (2014) to train the LSTM network using the data from the previous limited number of seizures, and then make predictions for the subsequent seizures. Therefore, it is necessary to verify the reliability of our proposed algorithm on a long-term database in the future work.
Table 5. Comparison of seizures prediction methods using CHB-MIT dataset for segment-based evaluation.
Table 6. Comparison of seizures prediction methods using CHB-MIT dataset for event-based evaluation.
5. Conclusion
Deep learning algorithms, in increasing studies, have demonstrated their abilities to deal with non-stationary and chaotic EEG signals, which open new opportunities for challenging medical applications like epileptic seizure prediction. In this study, an end-to-end seizure prediction approach based on LSTM is proposed to classify preictal, postictal and interictal EEG. Although it is simple, the prediction method provided high sensitivity and low FPR without complex feature engineering techniques. Additionally, by introducing the postictal stage into the classification task, the performance is further improved. In the future, we plan to test the proposed approach on a large amount of clinical data, and the adaptive division of different seizure stages needs to be further investigated.
Data availability statement
The original contributions presented in this study are included in the article/supplementary material, further inquiries can be directed to the corresponding authors.
Author contributions
ZY: software. LZ: supervision. XW: writing—original draft. TZ and LQ: writing—review and editing. All authors contributed to the article and approved the submitted version.
Funding
XW, ZY, LZ, TZ, and LQ were partly supported by the National Natural Science Foundation of China (Nos. 61976110, 62176112, and 11931008), Teaching reform project of Shandong Province (M2022101), and Natural Science Foundation of Shandong Province (No. ZR202102270451).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
Aarabi, A., Fazel-Rezai, R., and Aghakhani, Y. (2009). EEG seizure prediction: measures and challenges. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2009, 1864–1867.
Aarabi, A., and He, B. (2017). Seizure prediction in patients with focal hippocampal epilepsy. Clin. Neurophysiol. 128, 1299–1307.
Alotaiby, T. N., Alshebeili, S. A., Alotaibi, F. M., and Alrshoud, S. R. (2017). Epileptic seizure prediction using CSP and LDA for scalp EEG signals. Comput. Intell. Neurs. 2017, 1–11. doi: 10.1155/2017/1240323
Assali, I., Blaiech, A. G., Abdallah, A. B., Khalifa, K., Carrère, M., and Bedoui, M. (2023). CNN-based classification of epileptic states for seizure prediction using combined temporal and spectral features. Biomed. Signal Process. Control 82:104519.
Assi, E. B., Nguyen, D. K., Rihana, S., and Sawan, M. (2017). Towards accurate prediction of epileptic seizures: a review. Biome. Signal Process. Control 34, 144–157.
Bandarabadi, M., Teixeira, C., Rasekhi, J., and Dourado, A. (2015). Epileptic seizure prediction using relative spectral power features. Clin. Neurophysiol. 126, 237–248.
Büyükakr, B., Elmaz, F., and Mutlu, A. Y. (2020). Hilbert Vibration decomposition-based epileptic seizure prediction with neural network. Comput. Biol. Med. 119:103665. doi: 10.1016/j.compbiomed.2020.103665
Chen, H., Li, C., Wang, G., Li, X., Rahaman, M., Sun, H., et al. (2021). Gashis-transformer: a multi-scale visual transformer approach for gastric histopathology image classification. arXiv [preprints]. doi: 10.48550/arXiv.2104.14528
Cho, D., Min, B., Kim, J., and Lee, B. (2016). EEG-based prediction of epileptic seizures using phase synchronization elicited from noise-assisted multivariate empirical mode decomposition. IEEE Trans. Neural. Syst. Rehabil. Eng. 2016, 1–1.
Chu, H., Chung, C. K., Jeong, W., and Cho, K-H. (2017). Predicting epileptic seizures from scalp EEG based on attractor state analysis. Comput. Methods Programs Biomed. 143, 75–87.
Detti, P., Zmdl, G., Bruni, R., Pranzo, M., Sarnari, F., and Vatti, G. (2018). “A patient-specific approach for short-term epileptic seizures prediction through the analysis of EEG synchronization,” in IEEE transactions on biomedical engineering, Piscataway, NJ: IEEE. doi: 10.1109/TBME.2018.2874716
Direito, B., Teixeira, C., Sales, F., Castelo-Branco, M., and Dourado, A. (2017). A realistic seizure prediction study based on multiclass SVM. Int. J. Neural Syst. 27:1750006. doi: 10.1142/S012906571750006X
Elger, F., and Lehnertz, K. (2007). Seizure prediction: The long and winding road. Brain 130, 314–333.
Hefron, R. G., Borghetti, B. J., Christensen, J. C., and Schubert Kabban, C. M. (2017). Deep long short-term memory structures model temporal dependencies improving cognitive workload estimation. Pattern Recognit. Lett. 94, 96–104.
Herkes, G. K., Eadie, M. J., Sharbrough, F., and Moyer, T. (1993). Patterns of seizure occurrence in catamenial epilepsy. Epilepsy Res. 15, 47–52.
Jordans, M., Aldridge, L., Luitel, N. P., Baingana, F., and Kohrt, B. A. (2017). Evaluation of outcomes for psychosis and epilepsy treatment delivered by primary health care workers in Nepal: a cohort study. Int. J. Men. Health Syst. 11:70. doi: 10.1186/s13033-017-0177-8
Khan, H., Marcuse, L., Fields, M., Swann, K., and Yener, B. (2017). “Focal onset seizure prediction using convolutional networks,” in IEEE transactions on biomedical engineering, Piscataway, NJ: IEEE.
Lehnertz, K., Ralph, G., Andrzejak, J., Arnhold, T., Kreuz, F., Mormann, C., et al. (2001). Nonlinear EEG analysis in epilepsy: its possible use for interictal focus localization, seizure anticipation, and prevention. J. Clin. Neurophysiol. 18, 209–222. doi: 10.1097/00004691-200105000-00002
Li, X., Li, C., Rahaman, M. M., Sun, H., Li, X., Wu, J., et al. (2022). A comprehensive review of computer-aided whole-slide image analysis: from datasets to feature extraction, segmentation, classification and detection approaches. Artif. Intell. Rev. 55, 4809–4878.
Maimaiti, B., Meng, H., Lv, Y., Qiu, J., Zhu, Z., Xie, Y., et al. (2022). An overview of eeg-based machine learning methods in seizure prediction and opportunities for neurologists in this field. Neuroscience 481, 197–218. doi: 10.1016/j.neuroscience.2021.11.017
Maiwald, T., Winterhalder, M., Aschenbrenner-Scheibe, R., Voss, H. U., Schulze-Bonhage, A., and Timmer, J. (2004). Comparison of three nonlinear seizure prediction methods by means of the seizure prediction characteristic. Phys. D Nonlinear Phenomena 194, 357–368.
Malhotra, P., Vig, L., Shroff, G., and Agarwal, P. (2015). “Long short term memory networks for anomaly detection in time series,” in ESANN proceedings, Bruges, 89.
Mormann, F., Andrzejak, R., Elger, C., and Lehnertz, K. (2007). Seizure prediction: the long and winding road. Brain 130, 314–333.
Mormann, F., Kreuz, T., Rieke, C., Andrzejak, R. G., Kraskov, A., David, P., et al. (2005). On the predictability of epileptic seizures. Clin. Neurophysiol. 116, 569–587.
Myers, M. H., Akshay, P., Gahangir, H., Jcal, D., and Blaha, C. D. (2016). Seizure prediction and detection via phase and amplitude lock values. Front. Hum. Neurosci. 10:80. doi: 10.3389/fnhum.2016.00080
Quyen, M., Martinerie, J., Baulac, M., and Varela, F. (1999). Anticipating epileptic seizures in real time by a non-linear analysis of similarity between EEG recordings. Neuroreport 10:2149.
Rubinov, M., and Sporns, O. (2010). Complex network measures of brain connectivity: uses and interpretations. Neuroimage 52, 1059–1069.
Sánchez-Hernández, S. E., Salido-Ruiz, R. A., Torres-Ramos, S., and Román-Godínez, I. (2022). Evaluation of feature selection methods for classification of epileptic seizure EEG signals. Sensors 22:3066.
Schelter, B., Winterhalder, M., Maiwald, T., Brandt, A., Schad, A., Schulze-Bonhage, A., et al. (2006). Testing statistical significance of multivariate time series analysis techniques for epileptic seizure prediction. Chaos 16:013108.
Shoeb, A. (2010). Application of machine learning to epileptic seizure onset detection and treatment. DBLP. Available online at: http://hdl.handle.net/1721.1/54669
Tang, L., Xie, N., Zhao, M., and Wu, X. (2020). Seizure prediction using multi-view features and improved convolutional gated recurrent network. IEEE Access. 8, 172352–172361.
Teixeira, C., Favaro, G., Direito, B., Bandarabadi, M., Feldwisch-Drentrup, H., Ihle, M., et al. (2014). “Brainatic: a system for real-time epileptic seizure prediction,” in Brain-computer interface research, eds C. Guger, B. Allison, and E. Leuthardt (Berlin: Springer).
Teixeira, C. A., Direito, B., Bandarabadi, M., Le Van Quyen, M., Valderrama, M., and Schelter, B. (2014). Epileptic seizure predictors based on computational intelligence techniques: a comparative study with 278 patients. Comput. Methods Programs Biomed. 114, 324–336. doi: 10.1016/j.cmpb.2014.02.007
Truong, N., Nguyen, D., Kuhlmann, L., Bonyadi, M. R., Yang, J., Ippolito, S., et al. (2018). Convolutional neural networks for seizure prediction using intracranial and scalp electroencephalogram. Neural Netw. 105, 104–111.
Tsiouris, K, Pezoulas, V., Zervakis, M., Konitsiotis, S., Koutsouris, D., and Fotiadis, D. (2018). A long short-term memory deep learning network for the prediction of epileptic seizures using EEG signals. Comput. Biol. Med. 99, 24–37. doi: 10.1016/j.compbiomed.2018.05.019
Usman, S. M., Khalid, S., Akhtar, R., Bortolotto, Z., and Qiu, H. (2019). Using scalp EEG and intracranial EEG signals for predicting epileptic seizures: review of available methodologies. Seizure 71, 258–269. doi: 10.1016/j.seizure.2019.08.006
Usman, S. M., Khalid, S., and Bashir, Z. (2021). Epileptic seizure prediction using scalp electroencephalogram signals. Biocybern. Biomed. Eng. 41, 211–220.
Wei, X., Zhou, L., Zhang, Z., Chen, Z., and Zhou, Y. (2019). Early prediction of epileptic seizures using a long-term recurrent convolutional network. J. Neurosci. Methods 327:108395.
Xu, X., Lin, M., and Xu, T. (2022). Epilepsy seizures prediction based on nonlinear features of EEG signal and gradient boosting decision tree. Int. J. Environ. Res. Public Health 19:11326. doi: 10.3390/ijerph191811326
Zandi, A. S., Tafreshi, R., Javidan, M., and Dumont, G. A. (2010). “Predicting temporal lobe epileptic seizures based on zero-crossing interval analysis in scalp EEG.” in Proceedings of the annual international conference of the ieee engineering in medicine and biology society, (Oxford: IEEE Engineering in Medicine and Biology Society), 5537–5540.
Zhang, J., Li, C., Kosov, S., Grzegorzek, M., Shirahama, K., Jiang, T., et al. (2021). LCU-Net: a novel low-cost U-Net for environmental microorganism image segmentation. Pattern Recogn. 115:107885.
Zhang, S., Chen, D., Ranjan, R., Ke, H., and Zomaya, A. Y. (2020). A lightweight solution to epileptic seizure prediction based on EEG synchronization measurement. J. Supercomput. 77, 3914–3932. doi: 10.1007/s11227-020-03426-4
Keywords: EEG, gamma band, epileptic seizure prediction, long short-term memory network, deep learning
Citation: Wu X, Yang Z, Zhang T, Zhang L and Qiao L (2023) An end-to-end seizure prediction approach using long short-term memory network. Front. Hum. Neurosci. 17:1187794. doi: 10.3389/fnhum.2023.1187794
Received: 16 March 2023; Accepted: 02 May 2023;
Published: 18 May 2023.
Edited by:
Chen Li, Northeastern University, ChinaReviewed by:
Yanbei Liu, Tianjin Polytechnic University, ChinaBiao Jie, Anhui Normal University, China
Copyright © 2023 Wu, Yang, Zhang, Zhang and Qiao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Tinglin Zhang, enRseW95b0AxNjMuY29t; Limei Zhang, emhhbmdsaW1laTIyQHNkanp1LmVkdS5jbg==
†These authors have contributed equally to this work and share first authorship