A Deep Learning Approach for Epilepsy Seizure Identification Using Electroencephalogram Signals: A Preliminary Study



Deep Learning, Electroencephalogram, Epilepsy, Seizure


Epilepsy is a neurological disease that affects around 50 million people of all ages worldwide. In this study, five deep learning networks were compared to determine the best performance in seizure detection using electroencephalogram raw signals from the TUH EEG Seizure Corpus database. The methodology included three strategies for reducing the high computational cost of training a time series data: Extracting epileptic features from patient signals by concatenating all seizure events into a shorter single one, selecting signals of duration greater than 180 seconds, and generating two randomized groups based on patient and non-patient (control) signals for larger and shorter supervised training-validation processes. Finally, the models were evaluated using two groups, one is formed of patient-control data and the other using only patient data. The results showed that a simple LSTM-based network, a hybrid one and the reported ChronoNet achieved the best metric performance for a binary classification, with up to 71.50 % of sensibility and 83.70 % of specificity for a patient-control detection; and up to 56.60 % of sensibility and 95.90 % of specificity for a patient-specific detection. In conclusion, deep learning-based models might automate seizure detection in order to improve epilepsy diagnosis and accelerate early treatments using electroencephalogram signals.


Download data is not yet available.

Author Biographies

Sergio Jácobo-Zavaleta, Universidad Nacional de Trujillo

He received his Bachelor’s Degree in Mechatronics Engineering (2019) from the Universidad Nacional de Trujillo, Peru. His research interests include design of clinical robots and biomedical applications based on Artificial Intelligence using Machine Learning.

Jorge Zavaleta, State University of Rio de Janeiro

He received the Ph.D in Systems and Computer Engineering Federal University of Rio de Janeiro (UFRJ) in 2017. He received the title of Master in Computer Science from the Federal University of Rio Grande do Sul (UFRGS) in 1997. He received the title of Licentiate in Mathematics from the Universidad National de Trujillo (UNT) in 1998 and received a bachelor’s degree in Physical and Mathematical Sciences from the UNT in 1992. Professor of Computing and currently a researcher of postdoctoral at the State University of Rio de Janeiro (UERJ) in the project CAPES-Telemedecine and Medical Data Analysis. He is interested in topics research related to Data Science, Artificial Intelligence and Machine Learning.


W. H. Organization, “Epilepsy.” [Online]. Available at https://www.who. int/news-room/fact-sheets/detail/epilepsy, 2022.

R. S. Fisher, W. v. E. Boas, W. Blume, C. Elger, P. Genton, P. Lee, and J. Engel, “Epileptic Seizures and Epilepsy: Definitions Proposed by the International League Against Epilepsy (ILAE) and the International Bureau for Epilepsy (IBE),” Epilepsia, vol. 46, pp. 470–472, Apr. 2005.

C. E. Elger and C. Hoppe, “Diagnostic challenges in epilepsy: Seizure under-reporting and seizure detection,” The Lancet Neurology, vol. 17, pp. 279–288, Mar. 2018.

W. H. Organization, Epilepsy: A Public Health Imperative. No. WHO/MSD/MER/19.2, World Health Organization, 2019.

M. Bosak, A. Słowik, R. Kacorzyk, and W. Turaj, “Implementation of the new ILAE classification of epilepsies into clinical practice — A cohort study,” Epilepsy & Behavior, vol. 96, pp. 28–32, July 2019.

J. Cloyd, W. Hauser, A. Towne, R. Ramsay, R. Mattson, F. Gilliam, and T. Walczak, “Epidemiological and medical aspects of epilepsy in the elderly,” Epilepsy Research, vol. 68, pp. 39–48, Jan. 2006.

J. Falco-Walter, “Epilepsy—Definition, Classification, Pathophysiology, and Epidemiology,” Seminars in Neurology, vol. 40, pp. 617–623, Dec. 2020.

O. Devinsky, T. Spruill, D. Thurman, and D. Friedman, “Recognizing and preventing epilepsy-related mortality: A call for action,” Neurology, vol. 86, pp. 779–786, Feb. 2016.

A. Tanaka, N. Akamatsu, T. Shouzaki, T. Toyota, M. Yamano, M. Nakagawa, and S. Tsuji, “Clinical characteristics and treatment responses in new-onset epilepsy in the elderly,” Seizure, vol. 22, pp. 772–775, Nov. 2013.

W. A. Hauser, “An unparalleled assessment of the global burden of epilepsy,” The Lancet Neurology, vol. 18, pp. 322–324, Apr. 2019.

S. Ammar and M. Senouci, “Seizure detection with single-channel EEG using Extreme Learning Machine,” in 2016 17th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), (Sousse, Tunisia), pp. 776–779, IEEE, Dec. 2016.

P. Thodoroff, J. Pineau, and A. Lim, “Learning Robust Features using Deep Learning for Automatic Seizure Detection,” 2016.

A. Craik, Y. He, and J. L. Contreras-Vidal, “Deep learning for electroencephalogram (EEG) classification tasks: A review,” Journal of Neural Engineering, vol. 16, p. 031001, June 2019.

S. Ahufinger, P. Balugo, M. M. González, E. Pequeño, H. González, and P. Herrero, “A User-centered Smartphone Application for Wireless EEG and its Role in Epilepsy,” International Journal of Interactive Multimedia and Artificial Intelligence, vol. 5, no. 6, p. 43, 2019.

D. S. W. Ting, L. Carin, V. Dzau, and T. Y. Wong, “Digital technology and COVID-19,” Nature Medicine, vol. 26, pp. 459–461, Apr. 2020.

S. Hurtado, J. García-Nieto, A. Popov, and I. Navas-Delgado, “Human Activity Recognition From Sensorised Patient’s Data in Healthcare: A Streaming Deep Learning-Based Approach,” International Journal of Interactive Multimedia and Artificial Intelligence, vol. In Press, no. In Press, p. 1, 2022.

S. Afzal, M. Maqsood, U. Khan, I. Mehmood, H. Nawaz, F. Aadil, O.Y. Song, and Y. Nam, “Alzheimer Disease Detection Techniques and Methods: A Review,” International Journal of Interactive Multimedia and Artificial Intelligence, vol. 6, no. 7, p. 26, 2021.

S. Kiranyaz, T. Ince, M. Zabihi, and D. Ince, “Automated patientspecific classification of long-term Electroencephalography,” Journal of Biomedical Informatics, vol. 49, pp. 16–31, June 2014.

A. Shoeibi, M. Khodatars, N. Ghassemi, M. Jafari, P. Moridian, R. Alizadehsani, M. Panahiazar, F. Khozeimeh, A. Zare, H. Hosseini-Nejad, A. Khosravi, A. F. Atiya, D. Aminshahidi, S. Hussain, M. Rouhani, S. Nahavandi, and U. R. Acharya, “Epileptic Seizures Detection Using Deep Learning Techniques: A Review,” International Journal of Environmental Research and Public Health, vol. 18, p. 5780, May 2021.

B. Abbasi and D. M. Goldenholz, “Machine learning applications in epilepsy,” Epilepsia, vol. 60, pp. 2037–2047, Oct. 2019.

D. O. Nahmias, E. F. Civillico, and K. L. Kontson, “Deep learning and feature based medication classifications from EEG in a large clinical data set,” Scientific Reports, vol. 10, p. 14206, Dec. 2020.

K. P. Thanaraj, B. Parvathavarthini, U. J. Tanik, V. Rajinikanth, S. Kadry, and K. Kamalanand, “Implementation of Deep Neural Networks to Classify EEG Signals using Gramian Angular Summation Field for Epilepsy Diagnosis,” 2020.

I. Ullah, M. Hussain, E.-u.-H. Qazi, and H. Aboalsamh, “An automated system for epilepsy detection using EEG brain signals based on deep learning approach,” Expert Systems with Applications, vol. 107, pp. 61– 71, Oct. 2018.

L. Vidyaratne, A. Glandon, M. Alam, and K. M. Iftekharuddin, “Deep recurrent neural network for seizure detection,” in 2016 International Joint Conference on Neural Networks (IJCNN), (Vancouver, BC, Canada), pp. 1202–1207, IEEE, July 2016.

M. Golmohammadi, S. Ziyabari, V. Shah, S. L. de Diego, I. Obeid, and J. Picone, “Deep Architectures for Automated Seizure Detection in Scalp EEGs,” 2017.

S. S. Talathi, “Deep Recurrent Neural Networks for seizure detection and early seizure detection systems,” 2017.

X. Chen, J. Ji, T. Ji, and P. Li, “Cost-Sensitive Deep Active Learning for Epileptic Seizure Detection,” in Proceedings of the 2018 ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics, (Washington DC USA), pp. 226–235, ACM, Aug. 2018.

R. Hussein, H. Palangi, R. Ward, and Z. J. Wang, “Epileptic Seizure Detection: A Deep Learning Approach,” 2018.

K. Fukumori, H. T. Thu Nguyen, N. Yoshida, and T. Tanaka, “Fully Data-driven Convolutional Filters with Deep Learning Models for Epileptic Spike Detection,” in ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), (Brighton, United Kingdom), pp. 2772–2776, IEEE, May 2019.

X. Yao, Q. Cheng, and G.-Q. Zhang, “Automated Classification of Seizures against Nonseizures: A Deep Learning Approach,” 2019.

S. Roy, I. Kiral-Kornek, and S. Harrer, “Deep Learning Enabled Automatic Abnormal EEG Identification,” in 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), (Honolulu, HI), pp. 2756–2759, IEEE, July 2018.

S. Roy, I. Kiral-Kornek, and S. Harrer, “ChronoNet: A Deep Recurrent Neural Network for Abnormal EEG Identification,” 2018.

M. Geng, W. Zhou, G. Liu, C. Li, and Y. Zhang, “Epileptic Seizure Detection Based on Stockwell Transform and Bidirectional Long ShortTerm Memory,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 28, pp. 573–580, Mar. 2020.

A. Verma and R. R. Janghel, “Epileptic Seizure Detection Using Deep Recurrent Neural Networks in EEG Signals,” in Advances in Biomedical Engineering and Technology, pp. 189–198, Singapore: Springer Singapore, 2021.

V. Shah, E. von Weltin, S. Lopez, J. R. McHugh, L. Veloso, M. Golmohammadi, I. Obeid, and J. Picone, “The Temple University Hospital Seizure Detection Corpus,” Frontiers in Neuroinformatics, vol. 12, p. 83, Nov. 2018.

I. Obeid and J. Picone, “The Temple University Hospital EEG Data Corpus,” Frontiers in Neuroscience, vol. 10, May 2016.

C. Spampinato, S. Palazzo, I. Kavasidis, D. Giordano, N. Souly, and M. Shah, “Deep Learning Human Mind for Automated Visual Classification,” in 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), (Honolulu, HI), pp. 4503–4511, IEEE, July 2017.

N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, vol. 15, no. 56, pp. 1929–1958, 2014.

C. B. Swisher, C. R. White, B. E. Mace, K. E. Dombrowski, A. M. Husain, B. J. Kolls, R. R. Radtke, T. T. Tran, and S. R. Sinha, “Diagnostic Accuracy of Electrographic Seizure Detection by Neurophysiologists and Non-Neurophysiologists in the Adult ICU Using a Panel of Quantitative EEG Trends:,” Journal of Clinical Neurophysiology, vol. 32, pp. 324–330, Aug. 2015.

K. Lee, H. Jeong, S. Kim, D. Yang, H.-C. Kang, and E. Choi, “RealTime Seizure Detection using EEG: A Comprehensive Comparison of Recent Approaches under a Realistic Setting,” Mar. 2022.



How to Cite

Jácobo-Zavaleta, S. ., & Zavaleta, J. (2023). A Deep Learning Approach for Epilepsy Seizure Identification Using Electroencephalogram Signals: A Preliminary Study . IEEE Latin America Transactions, 21(3), 419–426. Retrieved from https://latamt.ieeer9.org/index.php/transactions/article/view/7300