Deep-EEG: An Optimized and Robust Framework and Method for EEG-Based Diagnosis of Epileptic Seizure
Abstract
:1. Introduction
2. Electroencephalogram (EEG)
2.1. Characteristic Nature of EEG Signals
2.2. EEG Signal Analysis and Classification
2.3. EEG Data Processing
- Pre-processing: Raw EEG is preprocessed to improve signal quality without loss of information. The raw EEG signals are first denoised by removing the artifacts using filters to make clean and relevant information available [23].
- Feature extraction: Brain disorders are characterized by certain patterns different from normal EEG signals. Therefore, feature extraction helps us describe the signals by the most relevant values, known as features [24].
- Classification: Classification, also known as feature translation, classifies the feature sets extracted from the signals into different classes representing normal or pathological conditions.
2.4. Artifacts in EEG
- Electromyogram: The skeletal muscle movements represented by electrical signals are known as electromyogram signals. During the acquisition of EEG signals, these signals interfere with the brain signals, causing contamination of the EEG data. EMGs have a high amplitude and a broad spectrum; even weak EMGs can cause interference in EEG recordings. Given the vulnerability of EEG signals to be contaminated by EMGs, it is very important to develop EMG correction tools [26]. During the preprocessing, these signals can be filtered using a 20–60-Hz Band Pass Filter.
- Eye movements: Eye movements and blinking cause interference in EEG signals. They distort the EEG signals, making the diagnosis of epileptic seizure a difficult job. They also reduce the signal-to-noise ratio (SNR) of EEG signals, thereby making the diagnosis of epilepsy more challenging [27]. Various methods have been proposed to correct the effects of eye movements. One is discarding the data corresponding to eye movements, and the other is filtering out the effect of ocular activity. This can be done by filtering the signals of eye movements through a Bandpass filter.
- White noise: There are other sources of interference that can be added up to and called by a common name, i.e., white noise. White noise includes instrumental noise, atmospheric noise, powerline interferences, and electrode resistance. These interferences are additive and generally have a Gaussian distribution.
3. Related Work
4. Description of EEG Dataset
5. Methodology
5.1. Dataset Preparation
5.2. Proposed Architecture
5.3. Bidirectional Long Short-Term Memory
5.4. Network Configuration
5.5. Performance Metrics for Evaluation
- Precision (predicted positive value): It is the ratio of total samples which are epileptic and are correctly classified as epileptic (true positive) to the total number of data instances, which is the sum of those correctly classified as epileptic (true positive) and falsely classified as epileptic (false positive). It is given by:
- Recall: It is also termed as the sensitivity and is expressed as the ratio of correctly predicted positive, i.e., (epileptic correctly classified as epileptic) and the sum of total instances correctly classified as positive (true positive) and instances correctly classified as negative (true negative).
- F1 score: Recall and precision are transformed into another metric called the F1-score, which represents a harmonic mean of both. The F1 score combines the values of precision and recall in a single metric. It is given by:
- Accuracy: It is the ratio of correctly predicted (true positive and true negative) examples to the total number of examples. It is given by:For binary classification, it is denoted as:
- Specificity: It is the ratio between true negative (TN) and the sum of true negative (TN) and false positive (FP). It determines the ability of the model to estimate healthy cases correctly. It is given by:
6. Results and Discussion
Loss Function and Optimization
7. Comparison with Other Methods
8. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Hussein, R.; Palangi, H.; Ward, R.K.; Wang, Z.J. Optimized deep neural network architecture for robust detection of epileptic seizures using EEG signals. Clin. Neurophysiol. 2019, 130, 25–37. [Google Scholar] [CrossRef] [PubMed]
- Abdelhamid, A.M.; Daoud, H.G.; Bayoumi, M. Epileptic seizure detection using deep convolutional autoencoder. In Proceedings of the 2018 IEEE International Workshop on Signal Processing Systems (SiPS), Cape Town, South Africa, 21–24 October 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 223–228. [Google Scholar]
- Shih, E.I.; Shoeb, A.H.; Guttag, J.V. Sensor selection for energy-efficient ambulatory medical monitoring. In Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services, Kraków, Poland, 22–25 June 2009; pp. 347–358. [Google Scholar]
- Acharya, U.R.; Sree, S.V.; Swapna, G.; Martis, R.J.; Suri, J.S. Automated EEG analysis of epilepsy: A review. Knowl. Based Syst. 2013, 45, 147–165. [Google Scholar] [CrossRef]
- World Health Organization; Global Campaign against Epilepsy; Programme for Neurological Diseases; Neuroscience (World Health Organization); International Bureau for Epilepsy; Department of Mental Health; Substance Abuse; International Bureau of Epilepsy and International League against Epilepsy. Atlas: Epilepsy Care in the World; World Health Organization: Geneva, Switzerland, 2005. [Google Scholar]
- Fisher, R.S.; Acevedo, C.; Arzimanoglou, A.; Bogacz, A.; Cross, J.H.; Elger, C.E.; Engel, J., Jr.; Forsgren, L.; French, J.A.; Glynn, M.; et al. ILAE Official Report: A practical clinical definition of epilepsy. Epilepsia 2014, 55, 475–482. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Rogers, G.R. Appleton and A. Marson 2009: Epilepsy: The facts, Oxford, UK: Oxford University Press. 186 pp,£ 9.99 paperback. ISBN: 9780199233687. Prim. Health Care Res. Dev. 2010, 11, 413. [Google Scholar] [CrossRef]
- Sun, M.; Wang, F.; Min, T.; Zang, T.; Wang, Y. Prediction for high-risk clinical symptoms of epilepsy based on deep learning algorithm. IEEE Access 2018, 6, 77596–77605. [Google Scholar] [CrossRef]
- Acharya, U.R.; Oh, S.L.; Hagiwara, Y.; Tan, J.H.; Adeli, H. Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput. Biol. Med. 2018, 100, 270–278. [Google Scholar] [CrossRef]
- Bao, F.S.; Lie, D.Y.C.; Zhang, Y. A new approach to automated epileptic diagnosis using EEG and probabilistic neural network. In Proceedings of the 20th IEEE International Conference on Tools with Artificial Intelligence (ICTAI ’08), Dayton, OH, USA, 3–5 November 2008; Volume 2, pp. 482–486. [Google Scholar]
- Dauwels, J.; Eskandar, E.; Cash, S. Localization of seizure onset area from intracranial non-seizure EEG by exploiting locally enhanced synchrony. In Proceedings of the 31st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC ’09), Minneapolis, MN, USA, 3–6 September 2009; pp. 2180–2183. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Identity mappings in deep residual networks. In European Conference on Computer Vision—ECCV 2016; Springer: Cham, Switzerland, 2016; pp. 630–645. [Google Scholar]
- Ahmad Mir, W.; Nissar, I. Contribution of application of deep learning approaches on biomedical data in the diagnosis of neurological disorders: A review on recent findings. In Proceedings of the Advances in Computational Intelligence, Security and Internet of Things: Second International Conference, ICCISIoT 2019, Agartala, India, 13–14 December 2019; Springer: Singapore, 2020; pp. 87–97. [Google Scholar]
- Adeli, H.; Ghosh-Dastidar, S.; Dadmehr, N. A spatio-temporal wavelet-chaos methodology for EEG-based diagnosis of Alzheimer’s disease. Neurosci. Lett. 2008, 444, 190–194. [Google Scholar] [CrossRef]
- Aarabi, A.; Fazel-Rezai, R.; Aghakhani, Y. EEG seizure prediction: Measures and challenges. In Proceedings of the 2009 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Minneapolis, MN, USA, 3–6 September 2009; pp. 1864–1867. [Google Scholar]
- Chandaka, S.; Chatterjee, A.; Munshi, S. Support vector machines employing cross-correlation for emotional speech recognition. Measurement 2009, 42, 611–618. [Google Scholar] [CrossRef]
- Erçelebi, E.; Subasi, A. Classification of EEG for epilepsy diagnosis in wavelet domain using artifical neural network and multi linear regression. In Proceedings of the 2006 IEEE 14th Signal Processing and Communications Applications, Antalya, Turkey, 17–19 April 2006. [Google Scholar]
- Truong, N.D.; Kuhlmann, L.; Bonyadi, M.R.; Yang, J.; Faulks, A.; Kavehei, O. Supervised learning in automatic channel selection for epileptic seizure detection. Expert Syst. Appl. 2017, 86, 199–207. [Google Scholar] [CrossRef]
- Fergus, P.; Hussain, A.; Hignett, D.; Al-Jumeily, D.; Abdel-Aziz, K.; Hamdan, H. A machine learning system for automated whole-brain seizure detection. Appl. Comput. Inform. 2016, 12, 70–89. [Google Scholar] [CrossRef] [Green Version]
- Abou-Khalil, B.; Misulis, K.E. Atlas of EEG & Seizure Semiology; Butterworth-Heinemann: Oxford, UK, 2006; Volume 1. [Google Scholar]
- Hazarika, N.; Chen, J.Z.; Tsoi, A.C.; Sergejew, A. Classification of EEG signals using the wavelet transform. Signal Process. 1997, 59, 61–72. [Google Scholar] [CrossRef]
- Koessler, L.; Maillard, L.; Benhadid, A.; Vignal, J.P.; Felblinger, J.; Vespignani, H.; Braun, M. Automated cortical projection of EEG sensors: Anatomical correlation via the international 10–10 system. NeuroImage 2009, 46, 64–72. [Google Scholar] [CrossRef]
- Sanei, S.; Chambers, J.A. Introduction to EEG. In EEG Signal Processing; John Wiley & Sons: Hoboken, NJ, USA, 2007; pp. 1–34. [Google Scholar]
- Schaul, N. The fundamental neural mechanisms of electroencephalography. Electroencephalogr. Clin. Neurophysiol. 1998, 106, 101–107. [Google Scholar] [CrossRef]
- Subasi, A.; Erçelebi, E. Classification of EEG signals using neural network and logistic regression. Comput. Methods Programs Biomed. 2005, 78, 87–99. [Google Scholar] [CrossRef]
- Kutlu, Y.; Kuntalp, M.; Kuntalp, D. Optimizing the performance of an MLP classifier for the automatic detection of epileptic spikes. Expert Syst. Appl. 2009, 36, 7567–7575. [Google Scholar] [CrossRef]
- Goyal, A.; Bochkovskiy, A.; Deng, J.; Koltun, V. Non-deep Networks. arXiv 2021, arXiv:2110.07641. [Google Scholar]
- Aarabi, A.; Grebe, R.; Wallois, F. A multistage knowledge-based system for EEG seizure detection in newborn infants. Clin. Neurophysiol. 2007, 118, 2781–2797. [Google Scholar] [CrossRef]
- Usman, S.M.; Khalid, S.; Bashir, S. A deep learning-based ensemble learning method for epileptic seizure prediction. Comput. Biol. Med. 2021, 136, 104710. [Google Scholar] [CrossRef]
- da Silva Lourenço, C.; Tjepkema-Cloostermans, M.C.; van Putten, M.J. Efficient use of clinical EEG data for deep learning in epilepsy. Clin. Neurophysiol. 2021, 132, 1234–1240. [Google Scholar] [CrossRef]
- Rashed-Al-Mahfuz, M.; Moni, M.A.; Uddin, S.; Alyami, S.A.; Summers, M.A.; Eapen, V. A deep convolutional neural network method to detect seizures and characteristic frequencies using epileptic electroencephalogram (EEG) data. IEEE J. Transl. Eng. Health Med. 2021, 9, 1–12. [Google Scholar] [CrossRef] [PubMed]
- Huang, J.; Xu, J.; Kang, L.; Zhang, T. Identifying epilepsy based on deep learning using DKI images. Front. Hum. Neurosci. 2020, 14, 590815. [Google Scholar] [CrossRef] [PubMed]
- Amin, S.U.; Alsulaiman, M.; Muhammad, G.; Mekhtiche, M.A.; Hossain, M.S. Deep Learning for EEG motor imagery classification based on multi-layer CNNs feature fusion. Future Gener. Comput. Syst. 2019, 101, 542–554. [Google Scholar] [CrossRef]
- Jana, R.; Mukherjee, I. Deep learning based efficient epileptic seizure prediction with EEG channel optimization. Biomed. Signal Process. Control 2021, 68, 102767. [Google Scholar] [CrossRef]
- Kiranyaz, S.; Ince, T.; Zabihi, M.; Ince, D. Automated patient-specific classification of long-term electroencephalography. J. Biomed. Inform. 2014, 49, 16–31. [Google Scholar] [CrossRef]
- Fergus, P.; Hignett, D.; Hussain, A.; Al-Jumeily, D.; Abdel-Aziz, K. Automatic epileptic seizure detection using scalp EEG and advanced artificial intelligence techniques. BioMed Res. Int. 2015, 2015, 986736. [Google Scholar] [CrossRef]
- Siami-Namini, S.; Tavakoli, N.; Namin, A.S. The performance of LSTM and BiLSTM in forecasting time series. In Proceedings of the 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, CA, USA, 9–12 December 2019; pp. 3285–3292. [Google Scholar]
- Croft, R.J.; Barry, R.J. Removal of ocular artifact from the EEG: A review. Neurophysiol. Clin. Clin. Neurophysiol. 2000, 30, 5–19. [Google Scholar] [CrossRef]
- Shoeb, A.H. Application of Machine Learning to Epileptic Seizure Onset Detection and Treatment. Doctoral Dissertation, Massachusetts Institute of Technology, Cambridge, MA, USA, 2009. [Google Scholar]
- Nissar, I.; Mir, W.A.; Shaikh, T.A. Machine Learning Approaches for Detection and Diagnosis of Parkinson’s Disease-A Review. In Proceedings of the 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India, 19–20 March 2021; IEEE: Piscataway, NJ, USA, 2021; Volume 1, pp. 898–905. [Google Scholar]
- Huang, Z.; Xu, W.; Yu, K. Bidirectional LSTM-CRF models for sequence tagging. arXiv 2015, arXiv:1508.01991. [Google Scholar]
- Mir, W.A.; Nissar, I.; Rizvi, D.R.; Masood, S.; Hussain, A. Deep Learning-based model for the detection of Parkinson’s disease using voice data. In Proceedings of the 2022 First International Conference on Artificial Intelligence Trends and Pattern Recognition (ICAITPR), Hyderabad, India, 10–12 March 2022; pp. 1–6. [Google Scholar]
- Ke, H.; Chen, D.; Li, X.; Tang, Y.; Shah, T.; Ranjan, R. Towards brainbig data classification: Epileptic EEG identification with a lightweight VGGNeton global MIC. IEEE Access 2018, 6, 14722–14733. [Google Scholar] [CrossRef]
- Aarabi, A.; Fazel-Rezai, R.; Aghakhani, Y. A fuzzy rule-based system for epileptic seizure detection in intracranial EEG. Clin. Neurophysiol. 2009, 120, 1648–1657. [Google Scholar] [CrossRef]
- Subasi, A. EEG signal classification using wavelet feature extraction and a mixture of expert model. Expert Syst. Appl. 2007, 32, 1084–1093. [Google Scholar] [CrossRef]
- Chandaka, S.; Chatterjee, A.; Munshi, S. Cross-correlation aided support vector machine classifier for classification of EEG signals. Expert Syst. Appl. 2009, 36, 1329–1336. [Google Scholar] [CrossRef]
- Yuan, Q.; Zhou, W.; Li, S.; Cai, D. Epileptic EEG classification based on extreme learning machine and nonlinear features. Epilepsy Res. 2011, 96, 29–38. [Google Scholar] [CrossRef]
- Yuan, Q.; Zhou, W.; Zhang, J.; Li, S.; Cai, D.; Zeng, Y. EEG classification approach based on the extreme learning machine and wavelet transform. Clin. EEG Neurosci. 2012, 43, 127–132. [Google Scholar] [CrossRef]
- Hossain, M.S.; Amin, S.U.; Alsulaiman, M.; Muhammad, G. Applying Deep Learning for Epilepsy Seizure Detection and Brain Mapping Visualization. ACM Trans. Multimed. Comput. Commun. Appl. 2019, 15, 1–17. [Google Scholar] [CrossRef]
Predicted | |||
Negative(N) | Positive(P) | ||
Actual | Negative | 723 | 1 |
Positive | 4 | 1772 |
Model | Accuracy | Sensitivity | Precision | Specificity | F1 Score | |
---|---|---|---|---|---|---|
1 s | DCAE + MLP | 97.3 | 97.5 | 98.7 | 98.5 | 97.6 |
DCAE + LSTM | 98.1 | 97.6 | 98.5 | 98.6 | 98.1 | |
DCNN + MLP | 96.2 | 97.8 | 98.7 | 98.5 | 98.2 | |
DCAE + ESD Bi-LSTM | 98.9 | 98.3 | 98.8 | 98.7 | 98.5 | |
2 s | DCAE + MLP | 98.5 | 98.4 | 98.4 | 98.5 | 98.6 |
DCAE + LSTM | 98.6 | 97.6 | 98.6 | 98.6 | 98.4 | |
DCNN + MLP | 97.7 | 97.8 | 97.7 | 97.7 | 97.6 | |
DCAE + ESD Bi-LSTM | 99.2 | 99.1 | 99.3 | 99.1 | 98.8 | |
4 s | DCAE + MLP | 98.5 | 98.4 | 98.4 | 98.4 | 98.5 |
DCAE + LSTM | 98.7 | 98.7 | 98.9 | 98.9 | 98.9 | |
DCNN + MLP | 98.1 | 97.9 | 97.9 | 97.8 | 97.8 | |
DCAE + ESD Bi-LSTM | 99.8 | 99.7 | 99.8 | 99.9 | 99.6 |
Method | Year | Classifier | Sensitivity (%) | F1 Score (%) | Accuracy (%) |
---|---|---|---|---|---|
Ke et al., [43] | 2018 | MIC + VGGNET | 98.1 | NA | 98.5 |
Aarabi et al., [44] | 2006 | BNN | 91.00 | 95.00 | 93.00 |
Subasi, [45] | 2007 | ME | 95.00 | 94.00 | 94.50 |
Chandaka et al., [46] | 2009 | SVM | 92.00 | 93.00 | 95.96 |
Yuan et al., [47] | 2011 | ELM | 92.50 | 96.00 | 96.50 |
Zhou et al., [48] | 2018 | SLFN | NA | NA | 96.5 |
M. Shamim Hossain et al., [49] | 2019 | Deep CNN | 95.65 | 91.65 | 90.00 |
Proposed method | 2022 | DCAE-ESD-Bi-STM | 99.8 | 99.7 | 99.8 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Mir, W.A.; Anjum, M.; Izharuddin; Shahab, S. Deep-EEG: An Optimized and Robust Framework and Method for EEG-Based Diagnosis of Epileptic Seizure. Diagnostics 2023, 13, 773. https://doi.org/10.3390/diagnostics13040773
Mir WA, Anjum M, Izharuddin, Shahab S. Deep-EEG: An Optimized and Robust Framework and Method for EEG-Based Diagnosis of Epileptic Seizure. Diagnostics. 2023; 13(4):773. https://doi.org/10.3390/diagnostics13040773
Chicago/Turabian StyleMir, Waseem Ahmad, Mohd Anjum, Izharuddin, and Sana Shahab. 2023. "Deep-EEG: An Optimized and Robust Framework and Method for EEG-Based Diagnosis of Epileptic Seizure" Diagnostics 13, no. 4: 773. https://doi.org/10.3390/diagnostics13040773
APA StyleMir, W. A., Anjum, M., Izharuddin, & Shahab, S. (2023). Deep-EEG: An Optimized and Robust Framework and Method for EEG-Based Diagnosis of Epileptic Seizure. Diagnostics, 13(4), 773. https://doi.org/10.3390/diagnostics13040773