1
|
Wang Z, Hu Y, Xin Q, Jin G, Zhao Y, Zhou W, Liu G. EEG-Based Seizure Detection Using Dual-Branch CNN-ViT Network Integrating Phase and Power Spectrograms. Brain Sci 2025; 15:509. [PMID: 40426681 PMCID: PMC12109824 DOI: 10.3390/brainsci15050509] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/06/2025] [Revised: 05/09/2025] [Accepted: 05/14/2025] [Indexed: 05/29/2025] Open
Abstract
Background/Objectives: Epilepsy is a common neurological disorder with pathological mechanisms closely associated with the spatiotemporal dynamic characteristics of electroencephalogram (EEG) signals. Although significant progress has been made in epileptic seizure detection methods using time-frequency analysis, current research still faces challenges in terms of an insufficient utilization of phase information. Methods: In this study, we propose an effective epileptic seizure detection framework based on continuous wavelet transform (CWT) and a hybrid network consisting of convolutional neural network (CNN) and vision transformer (ViT). First, the raw EEG signals are processed by the CWT. Then, the phase spectrogram and power spectrogram of the EEG are generated, and they are sent into the designed CNN and ViT branches of the network to extract more discriminative EEG features. Finally, the features output from the two branches are fused and fed into the classification network to obtain the detection results. Results: Experimental results on the CHB-MIT public dataset and our SH-SDU clinical dataset show that the proposed framework achieves sensitivities of 98.09% and 89.02%, specificities of 98.21% and 95.46%, and average accuracies of 98.45% and 94.66%, respectively. Furthermore, we compared the spectral characteristics of CWT with other time-frequency transforms within the hybrid architecture, demonstrating the advantages of the CWT-based CNN-ViT architecture. Conclusions: These results highlight the outstanding epileptic seizure detection performance of the proposed framework and its significant clinical feasibility.
Collapse
Affiliation(s)
- Zhuohan Wang
- School of Integrated Circuits, Shandong University, Jinan 250199, China; (Z.W.); (Y.H.); (Q.X.)
| | - Yaoqi Hu
- School of Integrated Circuits, Shandong University, Jinan 250199, China; (Z.W.); (Y.H.); (Q.X.)
| | - Qingyue Xin
- School of Integrated Circuits, Shandong University, Jinan 250199, China; (Z.W.); (Y.H.); (Q.X.)
| | - Guanghao Jin
- Institute of Computer Science, Ludwig Maximilian University of Munich, 80539 Munich, Germany;
| | - Yazhou Zhao
- Department of Biomedical Engineering, New York University, New York, NY 10012, USA;
| | - Weidong Zhou
- School of Integrated Circuits, Shandong University, Jinan 250199, China; (Z.W.); (Y.H.); (Q.X.)
- Shenzhen Research Institute, Shandong University, Shenzhen 518000, China
| | - Guoyang Liu
- School of Integrated Circuits, Shandong University, Jinan 250199, China; (Z.W.); (Y.H.); (Q.X.)
- Shenzhen Research Institute, Shandong University, Shenzhen 518000, China
- Yunnan Research Institute, Shandong University, Yunnan 650000, China
| |
Collapse
|
2
|
Ficici C, Telatar Z, Erogul O, Kocak O. Temporal Lobe Epilepsy Focus Detection Based on the Correlation Between Brain MR Images and EEG Recordings with a Decision Tree. Diagnostics (Basel) 2024; 14:2509. [PMID: 39594175 PMCID: PMC11592879 DOI: 10.3390/diagnostics14222509] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 09/10/2024] [Revised: 10/30/2024] [Accepted: 11/02/2024] [Indexed: 11/28/2024] Open
Abstract
BACKGROUND/OBJECTIVES In this study, a medical decision support system is presented to assist physicians in epileptic focus detection by correlating MRI and EEG data of temporal lobe epilepsy patients. METHODS By exploiting the asymmetry in the hippocampus in MRI images and using voxel-based morphometry analysis, gray matter reduction in the temporal and limbic lobes is detected, and epileptic focus prediction is realized. In addition, an epileptic focus is also determined by calculating the asymmetry score from EEG channels. Finally, epileptic focus detection was performed by associating MRI and EEG data with a decision tree. RESULTS The results obtained from the proposed algorithm provide 100% overlap with the physician's finding on the EEG data. CONCLUSIONS MRI and EEG correlation in epileptic focus detection was improved compared with physicians. The proposed algorithm can be used as a medical decision support system for epilepsy diagnosis, treatment, and surgery planning.
Collapse
Affiliation(s)
- Cansel Ficici
- Department of Electrical and Electronics Engineering, Ankara University, 06830 Ankara, Turkey
| | - Ziya Telatar
- Department of Biomedical Engineering, Başkent University, 06790 Ankara, Turkey; (Z.T.); (O.K.)
| | - Osman Erogul
- Department of Biomedical Engineering, TOBB University of Economics and Technology, 06560 Ankara, Turkey;
| | - Onur Kocak
- Department of Biomedical Engineering, Başkent University, 06790 Ankara, Turkey; (Z.T.); (O.K.)
| |
Collapse
|
3
|
Hinchliffe CHL, Yogarajah M, Elkommos S, Tang H, Abasolo D. Nonictal electroencephalographic measures for the diagnosis of functional seizures. Epilepsia 2024; 65:3293-3302. [PMID: 39253981 DOI: 10.1111/epi.18110] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/20/2023] [Revised: 08/20/2024] [Accepted: 08/20/2024] [Indexed: 09/11/2024]
Abstract
OBJECTIVE Functional seizures (FS) look like epileptic seizures but are characterized by a lack of epileptic activity in the brain. Approximately one in five referrals to epilepsy clinics are diagnosed with this condition. FS are diagnosed by recording a seizure using video-electroencephalography (EEG), from which an expert inspects the semiology and the EEG. However, this method can be expensive and inaccessible and can present significant patient burden. No single biomarker has been found to diagnose FS. However, the current limitations in FS diagnosis could be improved with machine learning to classify signal features extracted from EEG, thus providing a potentially very useful aid to clinicians. METHODS The current study has investigated the use of seizure-free EEG signals with machine learning to identify subjects with FS from those with epilepsy. The dataset included interictal and preictal EEG recordings from 48 subjects with FS (mean age = 34.76 ± 10.55 years, 14 males) and 29 subjects with epilepsy (mean age = 38.95 ± 13.93 years, 18 males) from which various statistical, temporal, and spectral features from the five EEG frequency bands were extracted then analyzed with threshold accuracy, five machine learning classifiers, and two feature importance approaches. RESULTS The highest classification accuracy reported from thresholding was 60.67%. However, the temporal features were the best performing, with the highest balanced accuracy reported by the machine learning models: 95.71% with all frequency bands combined and a support vector machine classifier. SIGNIFICANCE Machine learning was much more effective than using individual features and could be a powerful aid in FS diagnosis. Furthermore, combining the frequency bands improved the accuracy of the classifiers in most cases, and the lowest performing EEG bands were consistently delta and gamma.
Collapse
Affiliation(s)
- Chloe H L Hinchliffe
- Centre for Biomedical Engineering, School of Mechanical Engineering Sciences, University of Surrey, Guildford, UK
- Translational and Clinical Research Institute, Newcastle University, The Catalyst, Newcastle Upon Tyne, UK
| | - Mahinda Yogarajah
- Department of Clinical and Experimental Epilepsy, Institute of Neurology, University College London, National Hospital for Neurology and Neurosurgery, University College London Hospital, Epilepsy Society, London, UK
- Neurosciences Research Centre, St. George's University of London, London, UK
- Atkinson Morley Regional Neuroscience Centre, St. George's Hospital, London, UK
| | - Samia Elkommos
- Atkinson Morley Regional Neuroscience Centre, St. George's Hospital, London, UK
- School of Neuroscience, Institute of Psychiatry, Psychology, and Neuroscience, King's College London, London, UK
| | - Hongying Tang
- Department of Computer Science, University of Surrey, Guildford, UK
| | - Daniel Abasolo
- Centre for Biomedical Engineering, School of Mechanical Engineering Sciences, University of Surrey, Guildford, UK
| |
Collapse
|
4
|
Liu G, Tian L, Wen Y, Yu W, Zhou W. Cosine convolutional neural network and its application for seizure detection. Neural Netw 2024; 174:106267. [PMID: 38555723 DOI: 10.1016/j.neunet.2024.106267] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 09/19/2023] [Revised: 02/23/2024] [Accepted: 03/22/2024] [Indexed: 04/02/2024]
Abstract
Traditional convolutional neural networks (CNNs) often suffer from high memory consumption and redundancy in their kernel representations, leading to overfitting problems and limiting their application in real-time, low-power scenarios such as seizure detection systems. In this work, a novel cosine convolutional neural network (CosCNN), which replaces traditional kernels with the robust cosine kernel modulated by only two learnable factors, is presented, and its effectiveness is validated on the tasks of seizure detection. Meanwhile, based on the cosine lookup table and KL-divergence, an effective post-training quantization algorithm is proposed for CosCNN hardware implementation. With quantization, CosCNN can achieve a nearly 75% reduction in the memory cost with almost no accuracy loss. Moreover, we design a configurable cosine convolution accelerator on Field Programmable Gate Array (FPGA) and deploy the quantized CosCNN on Zedboard, proving the proposed seizure detection system can operate in real-time and low-power scenarios. Extensive experiments and comparisons were conducted using two publicly available epileptic EEG databases, the Bonn database and the CHB-MIT database. The results highlight the performance superiority of the CosCNN over traditional CNNs as well as other seizure detection methods.
Collapse
Affiliation(s)
- Guoyang Liu
- School of Integrated Circuits, Shandong University, Jinan 250100, China
| | - Lan Tian
- School of Integrated Circuits, Shandong University, Jinan 250100, China
| | - Yiming Wen
- School of Integrated Circuits, Shandong University, Jinan 250100, China
| | - Weize Yu
- School of Integrated Circuits, Shandong University, Jinan 250100, China
| | - Weidong Zhou
- School of Integrated Circuits, Shandong University, Jinan 250100, China.
| |
Collapse
|
5
|
Wang B, Xu Y, Peng S, Wang H, Li F. Detection Method of Epileptic Seizures Using a Neural Network Model Based on Multimodal Dual-Stream Networks. SENSORS (BASEL, SWITZERLAND) 2024; 24:3360. [PMID: 38894151 PMCID: PMC11174829 DOI: 10.3390/s24113360] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 04/30/2024] [Revised: 05/17/2024] [Accepted: 05/18/2024] [Indexed: 06/21/2024]
Abstract
Epilepsy is a common neurological disorder, and its diagnosis mainly relies on the analysis of electroencephalogram (EEG) signals. However, the raw EEG signals contain limited recognizable features, and in order to increase the recognizable features in the input of the network, the differential features of the signals, the amplitude spectrum and the phase spectrum in the frequency domain are extracted to form a two-dimensional feature vector. In order to solve the problem of recognizing multimodal features, a neural network model based on a multimodal dual-stream network is proposed, which uses a mixture of one-dimensional convolution, two-dimensional convolution and LSTM neural networks to extract the spatial features of the EEG two-dimensional vectors and the temporal features of the signals, respectively, and combines the advantages of the two networks, using the hybrid neural network to extract both the temporal and spatial features of the signals at the same time. In addition, a channel attention module was used to focus the model on features related to seizures. Finally, multiple sets of experiments were conducted on the Bonn and New Delhi data sets, and the highest accuracy rates of 99.69% and 97.5% were obtained on the test set, respectively, verifying the superiority of the proposed model in the task of epileptic seizure detection.
Collapse
Affiliation(s)
- Baiyang Wang
- School of Information Science and Engineering, Shandong University, Qingdao 266237, China; (B.W.)
| | - Yidong Xu
- School of Information Science and Engineering, Shandong University, Qingdao 266237, China; (B.W.)
| | - Siyu Peng
- School of Information Engineering, Changji University, Changji Hui Autonomous Prefecture, Changji 831100, China
| | - Hongjun Wang
- School of Information Science and Engineering, Shandong University, Qingdao 266237, China; (B.W.)
| | - Fang Li
- School of Information Engineering, Changji University, Changji Hui Autonomous Prefecture, Changji 831100, China
| |
Collapse
|
6
|
Ficici C, Telatar Z, Kocak O, Erogul O. Identification of TLE Focus from EEG Signals by Using Deep Learning Approach. Diagnostics (Basel) 2023; 13:2261. [PMID: 37443655 DOI: 10.3390/diagnostics13132261] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 05/20/2023] [Revised: 06/29/2023] [Accepted: 06/30/2023] [Indexed: 07/15/2023] Open
Abstract
Temporal lobe epilepsy, a neurological disease that causes seizures as a result of excessive neural activities in the brain, is the most common type of focal seizure, accounting for 30-35% of all epilepsies. Detection of epilepsy and localization of epileptic focus are essential for treatment planning and epilepsy surgery. Currently, epileptic focus is decided by expert physician by examining the EEG records and determining EEG channel where epileptic patterns begins and continues intensely during seizure. Examination of long EEG recordings is very time-consuming process, requires attention and decision can vary depending on physician. In this study, to assist physicians in detecting epileptic focus side from EEG recordings, a novel deep learning-based computer-aided diagnosis system is presented. In the proposed framework, ictal epochs are detected using long short-term memory network fed with EEG subband features obtained by discrete wavelet transform, and then, epileptic focus identification is realized by using asymmetry score. This algorithm was tested on EEG database obtained from the Ankara University hospital. Experimental results showed ictal and interictal epochs were classified with accuracy of 86.84%, sensitivity of 86.96% and specificity of 89.68% on Ankara University hospital dataset, and 96.67% success rate was obtained on Bonn EEG dataset. In addition, epileptic focus was identified with accuracy of 96.10%, sensitivity of 100% and specificity of 93.80% by using the proposed deep learning-based algorithm and university hospital dataset. These results showed that proposed method can be used properly in clinical applications, epilepsy treatment and surgical planning as a medical decision support system.
Collapse
Affiliation(s)
- Cansel Ficici
- Department of Electrical and Electronics Engineering, Ankara University, 06830 Ankara, Turkey
| | - Ziya Telatar
- Department of Biomedical Engineering, Başkent University, 06790 Ankara, Turkey
| | - Onur Kocak
- Department of Biomedical Engineering, Başkent University, 06790 Ankara, Turkey
| | - Osman Erogul
- Department of Biomedical Engineering, TOBB University of Economics and Technology, 06560 Ankara, Turkey
| |
Collapse
|
7
|
Jiang L, He J, Pan H, Wu D, Jiang T, Liu J. Seizure detection algorithm based on improved functional brain network structure feature extraction. Biomed Signal Process Control 2023. [DOI: 10.1016/j.bspc.2022.104053] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/15/2022]
|